arXiv:2610.06846cs.AIOct 2026

Manuscript Offprint

arXiv:2610.06846

BiasFlow: Geometric Monitoring and Backbone Regularization for Spurious Feature Reliance

Haojin Deng, Zhiping Lin, Yimin Yang

Haojin Deng, Zhiping Lin, and Yimin Yang

Abstract—Worst-group accuracy (WGA) evaluates a trained predictor but does not characterize how its frozen backbone behaves when a new head is learned. We introduce BiasFlow, a hook-based toolkit for monitoring class-attribute centroid alignment (IBMI), within-class centroid separation (W-IBMI), and feature-projection sensitivity. IBMI is confounded by class-attribute correlation and is not a measure of causal feature reliance. We pair these diagnostics with BiasFlow Regularization (BFR), a supervised, composable class-conditional centroid-alignment penalty. W-IBMI verifies the quantity BFR optimizes; it is scale dependent and does not independently establish attribute removal. Across the reported small-scale benchmarks, adding BFR improves or preserves mean WGA, with gains up to +26.0 pp on UrbanCars. The principal independent stress test freezes CelebA-Std backbones and trains fresh heads on biased data: BFR+GroupDRO improves WGA from 40.7% to 64.1%, while Male probe accuracy decreases from 92.5% to 72.2%. Attribute information remains recoverable, and cross-task results are mixed. A controlled synthetic-watermark ImageNet experiment additionally improves watermark-shift accuracy by +23.0 pp under matched training. These results support evaluating centroid geometry and resistance to biased head retraining alongside WGA, within the tested protocols.

Index Terms—Spurious correlations, debiasing, representation learning, geometric probing, worst-group accuracy, backbone regularization, feature space analysis, deep learning.

I. INTRODUCTION

Spurious correlations can arise when a target label co-occurs with a task-irrelevant attribute in the training data. Empirical Risk Minimization (ERM) may exploit such correlations and fail when they change [1]. This problem occurs in facial attribute recognition [2] and visual group-shift benchmarks [3].

Over the past several years, the community has developed a rich family of debiasing methods aimed at minimizing spurious reliance while preserving overall model performance. Loss-reweighting strategies such as LfF [4] and JTT [5], head-retraining approaches such as DFR [6], adversarial discoverers such as DebiAN [7], and group-robust optimizers such as GroupDRO [3] have all reported substantial improvements on the standard evaluation benchmark: Worst-Group Accuracy (WGA), the minimum accuracy over evaluated

True Target: Blond / Not -Blond Baseline

Figure

Spurious: Male / Female

BFR

ERM

GroupDRO

Blond, Female

Blond, Male

Not-Blond, Female

Not-Blond, Male

Fig. 1. t-SNE of CelebA-Std ResNet-18 features, seed 1 (Blond Hair target, Male attribute). Baseline and BFR panels illustrate different within-class subgroup layouts. BFR reduces the targeted centroid discrepancy; two-dimensional mixing does not establish concept erasure or causal feature use.

groups defined by the cross-product of class and spurious attribute.

WGA is the minimum accuracy over predefined evaluation groups; it does not summarize confidence margins, representation geometry, or the behavior of a subsequently trained classifier. Models with different representations can have the same WGA. DFR [6] demonstrates that a group-balanced head can improve WGA while its input backbone is held fixed. This is a useful strategy, not evidence that the original classifier necessarily uses every attribute encoded by its backbone. We ask the narrower question of whether a frozen representation remains susceptible to a new head trained under the original biased distribution, consistent with the distinction between representation and classifier studied in [8], [1].

We introduce BiasFlow to inspect this distinction through geometric measurements and head-retraining stress tests. The Inter-class Bias-alignment Metric Index (IBMI) measures centroid alignment with a pooled, user-specified attribute direction. Because class composition contributes to that direction, a high IBMI can occur even without

This work was supported in part by the Natural Sciences and Engineering Research Council of Canada (NSERC) Discovery Grant Program under Grant RGPIN-2025-06527, in part by the NSERC Alliance Program under Grant ALLRP 583061-23, and in part by the Western Research Award.

H. Deng is with the Department of Electrical and Computer Engineering, Western University, London, Canada.

Z. Lin is with the School of Electrical and Electronic Engineering, Nanyang Technological University, Singapore.

Y. Yang is with the Department of Electrical and Computer Engineering, Western University, London, Canada, and also with the Vector Institute, Toronto, Canada.

within-class attribute separation. We therefore interpret IBMI as an observational summary, not proof of reliance or contamination. DFR preserves its own first-stage backbone during head retraining; equality with a separately trained ERM run requires identical checkpoint and probe conditions, which the audit does not enforce. The projection probe defines signed group accuracy changes, but the retained figure plots unsigned AblGap. Its nonnegative bars establish neither exploitation nor interference.

The independent stress test is particularly informative on CelebA-Std 1^{1}. GroupDRO achieves 86.3% end-to-end WGA, but a fresh head trained on the standard biased data over its frozen backbone obtains 40.7%, close to ERM's 40.0% (Table IX). Male probe accuracy is 92.5%. These are distinct observations: a new biased head performs poorly, and a separate probe can recover the attribute. Neither establishes that GroupDRO's original head uses Male causally.

Our intervention is deliberately restricted to the first moments of class-conditional attribute groups. BiasFlow Regularization (BFR) penalizes the distance between their feature centroids during backbone training. It belongs to the established family of conditional representation-alignment methods [9][9], [10][10], [11][11]; its role here is a simple composable intervention paired with geometric monitoring and a frozen-backbone evaluation. Equal centroids do not imply equal feature distributions or attribute erasure.

BFR reduces the objective-aligned W-IBMI statistic in most configurations (Table IV). More independently, BFR+GroupDRO yields 64.1% biased-head WGA and 72.2% Male probe accuracy, compared with 40.7% and 92.5% without BFR. The former tests resistance to biased head retraining; the latter measures recoverability under the specified probe. Figure 1 illustrates within-class subgroup mixing in a two-dimensional visualization, which should not be interpreted as proof of complete distribution alignment.

Our contributions are summarized as follows:

• Geometric monitoring with explicit scope. BiasFlow reports pooled centroid alignment, class-conditional centroid separation, and projection sensitivity. We specify class-composition and scale limitations, and distinguish the unsigned AblGap from signed group accuracy drops. These summaries complement WGA; they do not certify fairness, causal reliance, or concept removal.

• Composable supervised centroid regularization. BFR applies class-conditional centroid alignment to the evaluated training objectives. We retain the reported WGA results, including the near-neutral Waterbirds JTT case, and distinguish supervised comparisons from gains over methods without training-time attribute labels. We do not claim that conditional alignment itself is new or that BFR outperforms unevaluated representation-level methods.

• Frozen-backbone stress testing. Fresh biased heads on CelebA-Std provide the primary independent evidence: GroupDRO's backbone supports 40.7% WGA, versus 64.1% for BFR+GroupDRO. Appendix experiments report continued ERM training, Smiling transfer, and alternative attribute probes, including negative outcomes. A separate controlled synthetic-watermark study tests a large-scale nuisance intervention under matched training.

References (27)