Abstract
Deep learning models often achieve high performance by exploiting spurious correlations—surface-level features that correlate with labels in training data but fail to generalize to real-world scenarios. We introduce Influence Tuning, a training method that incorporates model interpretability directly into the optimization loop. By using instance attribution to identify when a model relies on "cheating" features, we can penalize biased logic during training. Our results on the MSGS and TextLen benchmarks demonstrate that Influence Tuning significantly improves out-of-distribution robustness and aligns model rationales with ground-truth task logic.
Introduction
Deep learning models are notorious for being "right for the wrong reasons." In Natural Language Processing (NLP), a model might achieve high accuracy on a dataset not because it understands linguistic structure, but because it has latched onto spurious correlations (confounds). For example, if positive sentiment is accidentally correlated with a specific word like "film" in a training set, the model may incorrectly classify any sentence containing that word as positive. While interpretability tools exist to detect these biases post-hoc, Influence Tuning seeks to use these insights as a proactive training signal to guide the model toward better logic.
Methodology
Influence Tuning alternates between standard label-based training and a specialized "influence" phase designed to demote reliance on confounding features.
Instance Attribution and Influence Loss
The core mechanism relies on influence functions, which calculate how much a specific training example ($z_{trn}$) contributes to a model's prediction on a new probing point ($z_{prb}$). The researchers define a "plausible" interpretation: if two training examples have the same ground-truth label but different spurious features, the model should find them equally influential.
The Influence Loss ($J$) penalizes the model when it is disproportionately influenced by examples containing spurious features. To ensure computational efficiency, the authors utilize a Gradient Cosine approach to approximate these influences and propose Embedding Tuning—a variant that only updates the final projection layer to deconfound the model without the cost of full-parameter finetuning.
Experimental Results
The method was evaluated on two controlled benchmarks: TextLen (predicting sentence length with biased sentiment prefixes) and MSGS (Mixed Signals Generalization Set).
Influence Tuning significantly outperformed standard finetuning and traditional adversarial training on out-of-distribution (OOD) test sets. On MSGS, standard finetuning achieved 75.33% accuracy, while Influence Tuning reached 88.23%.
Impact on Model Rationale
A key metric introduced is the Confound Influence Difference (CID), which measures the gap in influence between confounding and non-confounding examples.
As illustrated in Figure 6, Influence Tuning successfully drives the CID toward zero, indicating that the model's internal logic has become more balanced and less reliant on spurious prefixes compared to standard finetuning.
Discussion and Limitations
While effective, Influence Tuning currently requires prior knowledge of potential confounds to set up the necessary influence pairs. Additionally, calculating the second-order gradients (Hessians) required for exact influence is computationally expensive, though the authors' first-order approximations and Embedding Tuning mitigate this significantly. Future work may involve applying this framework to mitigate social biases (e.g., gender or race) in toxicity detection and sentiment analysis, where human feedback can help define what constitutes a "plausible" rationale.
Summary updated