NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

What Can Labels Alone Audit and Edit in Frozen Representations?

Yirong Xiang, Yibo ZhouNeurIPS 2026

TL;DR

When you adapt frozen embeddings from a pretrained model using only task labels, you might hope to cleanly slice away background noise from true meaning—but mathematically, labels alone can’t see that boundary. This paper proves that labels only identify a "posterior quotient" (the bare minimum needed to predict the label) and introduces a safe, two-stage recipe: lock in that core task signal first, and only edit the leftovers if your data passes strict stability checks.

What Problem Does This Paper Address?

Modern machine learning runs on frozen representations. Instead of retraining massive vision or language encoders from scratch, we extract static embeddings ($X$) and adapt them downstream using task labels ($Y$). Practitioners often try to perform surgery on these embeddings—editing out spurious correlations, background clutter, or sensitive attributes—even when they don't have explicit annotations ($E$) for what those background nuisances actually are.

Before inventing another representation-editing algorithm, the authors ask a fundamental question of observability: if you only have $(X, Y)$, what does nature actually allow you to see? Unlike robustness methods that rely on known environments or concept labels, this paper maps out the strict mathematical limits of what labels alone can audit and safely delete.

Methods

The authors introduce a "quotient-first" principle, instantiated for linear subspaces via Dual-Moment Decomposition (DMD). While the underlying mathematical building blocks borrow from classical supervised dimension reduction (like Linear Discriminant Analysis, or LDA), the novelty lies in their strict, identifiability-driven ordering:

Figure 1: Quotient-first auditing and protected residual deletion. DMD is fit using (X, Y ) only. Attribute or environment labels E, when available, are used only for post hoc evaluation and controlled support analyses.
  • Stage 1 (Protect the Quotient): Estimate the primary task-relevant subspace ($\widehat{U}$) by looking at how average embeddings shift across classes ($\operatorname{Cov}(\mathbb{E}[X|Y])$).
  • Project & Protect: Project out $\widehat{U}$ from the data so that any subsequent surgery cannot accidentally lobotomize task performance.
  • Stage 2 (Protected Residual Deletion): Look at the second moments—how class covariances vary inside the remaining orthogonal space—and delete the top-$q$ directions. Crucially, this stage is gated by practical diagnostics: if subgroup sample support is thin or the subspace wobbles across data splits, you skip Stage 2 entirely.

Datasets

No new benchmarks are introduced. Instead, the authors evaluate frozen representations extracted from existing datasets (using environment/attribute labels strictly for post-hoc grading, never for fitting):

  • Vision: CelebA, Waterbirds, and PACS (using ResNet-18 and CLIP ViT-B/32 backbones, plus OpenCLIP ViT-L/14 on Waterbirds).
  • Language: CivilComments (using BGE-large-en-v1.5 sentence-encoder and decoder-only language-model representations).

Key Insights and Ideas

  • Labels don't separate "meaning" from "background": Mathematically, $(X, Y)$ only identifies the posterior quotient—an equivalence class grouping inputs that yield the exact same label probabilities $P(Y|X)$. Inside those groups, assigning variation to "semantics" versus "nuisance" is observationally ambiguous.
  • Raw covariance editing is a trap: Trying to clean up representations by editing class-conditional covariance without protecting the first-moment quotient mixes semantic signals into your deletion target. You end up reducing nuisance leakage at the cost of wrecking your classifier.
  • An inherent statistical asymmetry: Stage 1 relies on class means, making it sample-efficient and rock-solid. Stage 2 relies on covariance concentration and sensitive eigenvalue gaps, meaning it is easily derailed by small subgroup sample counts.

Key Results

Stage 1 proves to be a remarkably compact, nearly lossless semantic anchor (essentially tying with classical LDA). On CelebA with CLIP features, a 1D Stage-1 surrogate achieves 0.929 accuracy compared to 0.926 for the full representation, vastly outperforming unsupervised PCA (0.516).

Figure 2: Fixed-rank residual editing at q = 8. Points show mean performance over 10 outer seeds; error bars are omitted when visually negligible. In all three panels, the horizontal axis is environment leakage reduction. Quotient-first editing is substantially cleaner than raw covariance and generic projection-matched baselines on CelebA/CLIP, Waterbirds/CLIP, and PACS/R18. LDA-first is numerically almost identical to DMD and is omitted for readability.

When removing $q=8$ residual dimensions in Stage 2, quotient-first protection yields a much cleaner tradeoff between reducing environment leakage ($\Delta\text{Leak}$) and preserving task accuracy ($\Delta\text{Acc}$):

  • Waterbirds / CLIP: DMD cuts environment leakage by 0.085 while slightly improving task accuracy (+0.005). Raw covariance editing cuts leakage by 0.077 but craters task accuracy by -0.088.
  • CelebA / CLIP: DMD reduces leakage by 0.033 with 0.000 accuracy loss (and 0.831 oracle purity), whereas raw covariance and PCA-first drop task accuracy by -0.026 (with ~0.26 purity).
  • Beyond Vision: On CivilComments (BGE-large), DMD beats raw covariance in task accuracy retention by +0.0539 at the same editing budget.
  • Stabilizing Stage 2: Bagging (averaging projectors across reruns) shrinks Stage-2 subspace instability to 0.61–0.66 of its single-run distance.

Limitations and Future Work

DMD is deliberately restricted to linear subspaces and second-order statistics (means and covariances). If nuisance information is tangled up in nonlinear geometry or higher-order moments, DMD won't catch it—meaning lower probe leakage is not a formal certificate of complete erasure. Furthermore, the theory assumes a static, frozen checkpoint and doesn't model how representations shift during end-to-end fine-tuning. Scaling to massive datasets (like ImageNet) via matrix-free eigensolvers, designing tighter automated abstention gates, and exploring richer nonlinear residual families are left for future work.

Summary updated

BibTeX
@inproceedings{xiang2026what,
  author = {Yirong Xiang and Yibo Zhou},
  title = {{What Can Labels Alone Audit and Edit in Frozen Representations?}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=5rXQteakrg},
}
Figure