Sy-FAR: Symmetry-based Fair Adversarial Robustness
Haneen Najjar, Eyal Ronen, Mahmood Sharif
TL;DR
Sy-FAR tackles fairness in adversarial robustness by enforcing symmetry in misclassification patterns between class pairs. It introduces a differentiable symmetry regularizer based on a soft confusion matrix $C$, with a pairwise asymmetry penalty that promotes $C_{ij} ightarrow C_{ji}$, and integrates it into adversarial training via $\mathcal{L} = \lambda_{clean}\mathcal{L}_{CE}(x,y) + \lambda_{adv}\mathcal{L}_{CE}(x^{adv},y) + \lambda_{sym}\mathcal{L}_{sym}(C)$. The key theoretical result shows that class-level symmetry implies subgroup symmetry, enabling fair robustness across arbitrary groupings without explicit group information. Empirically, Sy-FAR achieves stronger source-class and target-class fairness, improves robustness, and runs faster with lower variance than FAAL and SpecNorm across five datasets and three architectures, including realistic eyeglass and face-mask attacks; it also demonstrates substantial improvements in subgroup fairness. These findings support symmetry as a principled, scalable approach to fair adversarial training with practical significance for safety-critical vision systems.
Abstract
Security-critical machine-learning (ML) systems, such as face-recognition systems, are susceptible to adversarial examples, including real-world physically realizable attacks. Various means to boost ML's adversarial robustness have been proposed; however, they typically induce unfair robustness: It is often easier to attack from certain classes or groups than from others. Several techniques have been developed to improve adversarial robustness while seeking perfect fairness between classes. Yet, prior work has focused on settings where security and fairness are less critical. Our insight is that achieving perfect parity in realistic fairness-critical tasks, such as face recognition, is often infeasible -- some classes may be highly similar, leading to more misclassifications between them. Instead, we suggest that seeking symmetry -- i.e., attacks from class $i$ to $j$ would be as successful as from $j$ to $i$ -- is more tractable. Intuitively, symmetry is a desirable because class resemblance is a symmetric relation in most domains. Additionally, as we prove theoretically, symmetry between individuals induces symmetry between any set of sub-groups, in contrast to other fairness notions where group-fairness is often elusive. We develop Sy-FAR, a technique to encourage symmetry while also optimizing adversarial robustness and extensively evaluate it using five datasets, with three model architectures, including against targeted and untargeted realistic attacks. The results show Sy-FAR significantly improves fair adversarial robustness compared to state-of-the-art methods. Moreover, we find that Sy-FAR is faster and more consistent across runs. Notably, Sy-FAR also ameliorates another type of unfairness we discover in this work -- target classes that adversarial examples are likely to be classified into become significantly less vulnerable after inducing symmetry.
