UNMASK: Discovering and Causally Verifying Spurious Shortcuts in Text Classifiers

Hugging Face Daily Papers Papers

Summary

UNMASK is an automated pipeline for discovering and causally verifying spurious shortcuts in text classifiers, enabling mitigation without human annotations and improving robustness on benchmarks.

Neural language models trained on large crowdsourced corpora frequently exploit spurious surface patterns tied to target labels without true linguistic or causal relevance, boosting benchmark performance while failing on adversarial or out-of-distribution inputs. Existing approaches either require manual specification of the feature vocabulary or automate discovery only partially, leaving the gap between dataset-level correlation and model-level exploitation unaddressed. We present U N M ASK, a fully automated pipeline that discovers, causally verifies, and mitigates spurious correlations in text classifiers without additional human annotation. Given unlabeled training examples, U N M ASK generates candidate surface patterns as executable boolean expressions, filters them through a statistical validation protocol with independent replication, and establishes causal model dependence via verified counterfactual interventions. Causally confirmed features then serve as annotation-free group definitions for Deep Feature Reweighting, eliminating the group labels that standard DFR requires. Applied to BERT and RoBERTa trained on MNLI, our pipeline independently rediscovers established lexical-overlap and negation biases, verifying 9 of 10 features on BERT and 6 on RoBERTa, and improving HANS accuracy by up to 12.58 pp. On CivilComments-WILDS, programmatic groups match the 70.1% worst- group accuracy of hand-labeled DFR (Kirichenko et al., 2023) without demographic annotation. We further demonstrate that the discovery and validation stages generalize to reward model preference data, surfacing interpretable spurious correlations in RewardBench2.
Original Article
View Cached Full Text

Cached at: 08/17/26, 11:45 AM

Paper page - UNMASK: Discovering and Causally Verifying Spurious Shortcuts in Text Classifiers

Source: https://huggingface.co/papers/2608.09209

Abstract

UNMASK automatically discovers and mitigates spurious correlations in text classifiers via causal verification and group-based reweighting without manual annotations.

Neural language models trained on large crowdsourced corpora frequently exploit spurious surface patterns tied to target labels without true linguistic or causal relevance, boosting benchmark performance while failing on adversarial or out-of-distribution inputs. Existing approaches either require manual specification of the feature vocabulary or automate discovery only partially, leaving the gap between dataset-level correlation and model-level exploitation unaddressed. We present U N M ASK, a fully automated pipeline that discovers, causally verifies, and mitigatesspurious correlationsintext classifierswithout additional human annotation. Given unlabeled training examples, U N M ASK generates candidate surface patterns as executableboolean expressions, filters them through a statistical validation protocol with independent replication, and establishes causal model dependence via verifiedcounterfactual interventions. Causally confirmed features then serve as annotation-free group definitions forDeep Feature Reweighting, eliminating the group labels that standard DFR requires. Applied toBERTandRoBERTatrained onMNLI, our pipeline independently rediscovers established lexical-overlap and negation biases, verifying 9 of 10 features onBERTand 6 onRoBERTa, and improvingHANSaccuracy by up to 12.58 pp. OnCivilComments-WILDS, programmatic groups match the 70.1% worst- group accuracy of hand-labeled DFR (Kirichenko et al., 2023) without demographic annotation. We further demonstrate that the discovery and validation stages generalize toreward modelpreference data, surfacing interpretablespurious correlationsinRewardBench2.

View arXiv pageView PDFAdd to collection

Get this paper in your agent:

hf papers read 2608\.09209

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2608.09209 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2608.09209 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2608.09209 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

Trigger-Invariant Contrastive Unlearning for Backdoor Removal

arXiv cs.LG

The paper proposes Trigger-Invariant Contrastive Unlearning (TICU), a framework that removes textual backdoors from NLP models by enforcing prediction and representation invariance across clean and trigger-inserted counterfactual pairs, while preserving clean-task performance.

Suppressing the Shortcut Hidden Behind the Gains of VideoLLM Fine-Tuning

Hugging Face Daily Papers

The paper proposes VETO, a method that suppresses shortcut learning in VideoLLMs during supervised fine-tuning by projecting SFT updates onto the orthogonal complement of the text-only activation subspace, improving out-of-distribution video reasoning across seven VideoLLMs and six benchmarks.