Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Models Know Their Shortcuts: Deployment-Time Shortcut Mitigation

About

Pretrained text encoders are prone to shortcut learning, relying on token-label correlations that fail once the distribution shifts in deployment. Existing shortcut mitigation methods mainly operate at training time and assume access to training data, training dynamics, or shortcut annotations, which are hardly available during deployment, where only the converged model remains. We show that this model alone suffices to mitigate shortcuts during deployment: a biased model internalizes a signal of its learned shortcuts that can be captured via unsupervised gradient-based attribution. We further prove that deployment-time mitigation is information-theoretically upper-bounded by training-time mitigation. Nevertheless, exploiting this gradient signal, our proposed unsupervised deployment-time shortcut mitigation framework for pretrained text encoders, Shortcut Guardrail, recovers substantial performance under shortcut distribution shift, matching or outperforming training-time baselines across sentiment classification, toxicity detection, and natural language inference.

Jiayi Li, Shijie Tang, G\"un Kaynar, Shiyi Du, Carl Kingsford• 2026

Related benchmarks

TaskDatasetResultRank
Sentiment ClassificationSST2 (test)
Accuracy91.9
233
Natural Language InferenceMultiNLI (test)--
81
Toxicity DetectionCivilComments (test)
WGA74.8
14
Emotion ClassificationGoEmo-ST
Accuracy62.7
5
Natural Language InferenceMultiNLI controlled shortcut injection
Accuracy32.3
5
Sentiment AnalysisYelp-ST
Accuracy48.8
5
Sentiment AnalysisYelp-Syn
Accuracy53
5
Text ClassificationCivilComments controlled shortcut injection
Accuracy57.2
5
Natural Language InferenceMultiNLI reconstructed with controlled shortcut injection (test)
MSTPS0.381
5
Emotion ClassificationGoEmo-Syn
Accuracy60.7
5
Showing 10 of 15 rows

Other info

Follow for update