Bridging Explainability and Embeddings: BEE Aware of Spuriousness

Cristian Daniel Păduraru, Antonio Bărbălau, Radu Filipescu, Andrei Liviu Nicolicioiu, Elena Burceanu
10/24/2024
2 citations
cs.AIcs.LG

Official code: bit-ml/bee (2 stars, Python, Apache-2.0, last commit 2026-02-11).

Abstract

Current methods for detecting spurious correlations rely on analyzing dataset statistics or error patterns, leaving many harmful shortcuts invisible when counterexamples are absent. We introduce BEE (Bridging Explainability and Embeddings), a framework that shifts the focus from model predictions to the weight space, and to the embedding geometry underlying decisions.

Show full abstract

By analyzing how fine-tuning perturbs pretrained representations, BEE uncovers spurious correlations that remain hidden from conventional evaluation pipelines. We use linear probing as a transparent diagnostic lens, revealing spurious features that not only persist after full fine-tuning but also transfer across diverse state-of-the-art models. Our experiments cover numerous datasets and domains: vision (Waterbirds, CelebA, ImageNet-1k), language (CivilComments, MIMIC-CXR medical notes), and multiple embedding families (CLIP, CLIP-DataComp.XL, mGTE, BLIP2, SigLIP2). BEE consistently exposes spurious correlations: from concepts that slash the ImageNet accuracy by up to 95%, to clinical shortcuts in MIMIC-CXR notes that induce dangerous false negatives. Together, these results position BEE as a general and principled tool for diagnosing spurious correlations in weight space, enabling principled dataset auditing and more trustworthy foundation models. The source code is publicly available at https://github.com/bit-ml/bee.

View on arXivView PDF

Code Implementations(1)

bit-ml/beeOfficial100%
Apache-2.0

Official repository for “Bridging Explainability and Embeddings: BEE Aware of Spuriousness” (ICLR 2026)

20PythonFeb 10, 20269 months agoApache-2.0

Similar Papers

Cite this paper

@article{pduraru2024bridging,
  title  = {Bridging Explainability and Embeddings: BEE Aware of Spuriousness},
  author = {Cristian Daniel Păduraru and Antonio Bărbălau and Radu Filipescu and Andrei Liviu Nicolicioiu and Elena Burceanu},
  year   = {2024},
  eprint = {2410.18970},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.18970v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.18970.svg)](https://codeofpaper.com/paper/2410.18970)

Discussion