In one sentence. A small, meaning-preserving edit can either break a prediction (robustness) or make two similar people get different answers (individual fairness); existing evaluations check the two separately and miss the cases where one breaks while the other holds. Robust Individual Fairness (RIF) is a unified notion that jointly characterizes robustness and individual fairness under semantic-preserving perturbations, and RIFair is a black-box framework whose decoupled substitution strategy exposes the robustness and fairness violations induced by superficial lexical variation.


Perturbations and "similar individuals" are usually defined by geometric neighbourhoods (an Lp ball, cosine similarity). In NLP that proxy is unreliable: China → Guangzhou is close in embedding space yet changes the truth conditions of a sentence. We instead ground equivalence in truth-conditional semantics and operationalise it with bidirectional entailment from an NLI model:

With this filter we define the two sets RIF quantifies over — the similar instances I(v) (equivalent once the sensitive tokens 𝒜 are masked by M) and the admissible perturbations Δadm (meaning-preserving token substitutions):

Two assumptions make the ground truth usable as the target: A1 (label invariance) — admissible edits do not change y; A2 (semantic filter) — an edit is admissible only if it passes the bidirectional entailment check.
With the two sets in place, RIF is one inequality over both of them. A classifier satisfies ε-RIF on an instance v if, for every similar counterpart v′ ∈ I(v) and every admissible edit δ ∈ Δadm, the prediction error on both sides stays within ε of the ground truth:


RIFair builds similar pairs by masking sensitive tokens, constructs a meaning-preserving perturbation space with a Generate–Filter pipeline, ranks tokens by occlusion saliency, and searches decoupled substitutions on the two sides of a pair to minimise a signed objective whose sign pattern selects the target quadrant.







Decoupled search exposes 2.3× more Robust Biased and 3.0× more Unrobust Biased violations than a coupled attack, and entailment-constrained pairs keep their meaning (Seq = 0.978, LLM-judge 4.60/5) where cosine-constrained ones drift.
@inproceedings{li2026perturbation,
title = {Perturbation Effects on Robustness and Individual Fairness},
author = {Li, Xuran and Xue, Hao and Wu, Peng and Ma, Xingjun and Zhang, Zhen and Chen, Huaming and Salim, Flora D.},
booktitle = {Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2 (KDD '26)},
year = {2026}, publisher = {ACM}, doi = {10.1145/3770855.3817848}
}