arXiv:2610.29688cs.CVOct 2026

Manuscript Offprint

arXiv:2610.29688

Rethinking Post-hoc Debiasing of Large Pretrained Models

Divyaansh Mertia, Chirag Bhutra, Himanshu Shekhar, Shubham Bagwari, Pratik Mazumder

Abstract

Large pretrained models such as CLIP are widely used as frozen feature extractors. However, their embeddings inherit spurious correlations from training data, introducing bias into the features. A growing body of research has sought to address this issue through post hoc debiasing, leaving the backbone untouched. We discover that despite differing mechanisms, these methods require the bias feature to be identified and expressed in text. This dependency is not innocuous. In this work, we experimentally demonstrate that this requirement incurs an unforeseen penalty in certain scenarios. For example, on the UrbanCars benchmark, having two co-occurring bias attributes, the recent methods underperform a vanilla classifier on biased frozen-backbone features, and even providing ground-truth bias identities does not close the gap. We show that the pattern that such methods seek is readily observable in the frozen geometry. Specifically, cross-class training pairs placed closest together by the frozen encoder almost always share a spurious attribute, regardless of the bias type, without requiring access to the bias labels. Based on this, we propose a novel approach to identify such pairs and learn a single linear map that transforms the features to perform post-hoc debiasing. The proposed approach achieves competitive performance across all datasets without access to bias attribute annotations or any LLMs.

1. Introduction

Large pretrained models such as CLIP [12] are widely used as frozen feature extractors. While classifiers built on the embeddings of such models reach high average accuracy on multiple tasks, they often fail on a predictable subset of inputs. The root cause of these failures stems from the data distributions at both the pretraining and downstream stages. Since foundational models are trained on massive, uncurated web corpora, their learned feature spaces inherently capture and encode various naturally occurring ‘spurious correlations’ [9, 15–18, 20]. Consequently, when a spurious attribute strongly co-occurs with the class label, classifiers exploit this shortcut, making the model biased toward that attribute, e.g., with a majority of white dog and black cat images, the classifier exploits this color shortcut over complex class-defining features. Such classifiers will fail at test time, if this spurious correlation breaks.

Post-hoc debiasing methods address this issue by adapting the learned representation while keeping the pretrained backbone frozen [1, 2, 10]. Despite differing implementations, they all require the spurious attribute to be identified beforehand. Earlier methods relied on practitioners to specify the spurious attribute and construct descriptive text prompts [2], while recent works use LLMs to propose candidate bias attributes based solely on class names and generate controlled scene descriptions. These are used to suppress the corresponding text-aligned direction in the embedding space [1, 10]. While this shift is typically framed as a transition toward unsupervised debiasing, it is more appropriately just a change of oracle. This fundamental dependency on external attribute specification makes these methods incapable of detecting or correcting a misidentified bias.

This reliance on text-based attribute identification introduces a critical failure mode when datasets contain complex or co-occurring shortcuts. While LLM-driven methods succeed when a single spurious attribute aligns cleanly with broad world knowledge, they struggle with multiple or non-intuitive attributes. On the UrbanCars benchmark [7], which features two simultaneous spurious attributes (background and co-occurring object), methods that obtain their attribute from a language model perform worse than an undebiased linear classifier trained on the frozen embeddings. PRISM [10] reaches only 3.23% worst-group accuracy with a trained linear head, compared to 38.71% for the undebiased baseline.

One might hypothesize that this failure stems merely from imprecise LLM-generated descriptions. To test this hypothesis, we perform an oracle experiment by supplying ground-truth description of the spurious attributes to these

∗^{*}These authors contributed equally.

methods (Sec. 4.2). The accuracy improves but remains below the undebiased baseline. This demonstrates that external bias identification is necessary for such methods but insufficient: suppressing multiple text-guided subspaces can remove essential class-discriminative semantics, damaging the representation more than the shortcuts it removes. Thus, prompt refinement cannot resolve this fundamental trade-off.

To overcome these limitations, we propose an alternative paradigm that operates directly on an intrinsic geometric signature of bias rather than on bias attribute specifications. We define a sample as bias-aligned if its spurious attribute agrees with the dominant spurious-label correlation in the training data, and bias-conflicting if it violates it. Consequently, a cross-class pair sharing the same spurious attribute necessarily consists of one bias-aligned and one bias-conflicting sample, a configuration we term a bias-sharing pair. We observe that in a biased frozen feature space, cross-class pairs exhibiting high cosine similarity are bias-sharing. Spurious correlation thus manifests geometrically as a localized blur along identifiable cross-class sample pairs. Detecting these pairs requires no text prompts or attribute supervision, only class labels and pairwise similarity. By pulling apart these confusable cross-class pairs while maintaining the intra-class cohesion, we learn a single metric transformation W∈Rd×d\mathbf{W} \in \mathbb{R}^{d \times d} over the frozen embeddings. Because this geometric criterion relies strictly on feature similarity, it isolates and separates bias-sharing pairs agnostic to the number or nature of underlying shortcuts.

Our proposed framework requires no bias attribute annotations, language models, auxiliary biased models, or backpropagation through the backbone. Across extensive evaluations, our approach achieves 81.18% worst-joint accuracy on UrbanCars (compared to 61.29% for the best competing method) while simultaneously improving overall accuracy. On BAR, our method delivers state-of-the-art worst-group accuracy across all bias-conflicting ratios. Finally, on BFFHQ, our performance scales dynamically with the availability of conflicting samples, outperforming static prompt-based baselines as conflicting data increases. The contributions of this work are as follows:

• We empirically demonstrate that post-hoc debiasing methods that obtain the spurious attribute from a language model fail on multi-shortcut datasets, performing worse than an undebiased linear classifier, and that supplying ground-truth text prompts does not close the gap.

• We identify an intrinsic geometric signature of spurious correlation in frozen embedding spaces where cross-class feature pairs with high similarity are overwhelmingly bias-sharing and show it can be detected purely from pairwise cosine similarity.

• We introduce an annotation-free post-hoc debiasing approach that does not rely on external attribute descriptions or language models.

• We evaluate the proposed approach across diverse multimodal and vision-only backbones (including CLIP[12], SigLIP[19], and DINOv3[14]), achieving state-of-the-art worst-group performance on the multi-shortcut benchmark and competitive performance across single-shortcut benchmarks.