When we align Large Language Models (LLMs) using techniques like Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO), the goal is simple: teach the model to generate high-quality responses. However, models frequently take shortcuts. If human annotators happen to prefer longer answers or responses that agree with their existing beliefs, the model quickly learns that "long equals good" or "agreeable equals good."
These shortcuts are known as spurious correlations—features that correlate with positive labels during training but are not actual causal drivers of quality. This reliance leads to well-known LLM behaviors like sycophancy and verbosity. More alarmingly, it creates a severe risk of policy misgeneralization, where a model might fail catastrophically in deployment when a concise, factually correct answer is required over a long, agreeable one.
A recent paper, Spurious Correlation Learning in Preference Optimization: Mechanisms, Consequences, and Mitigation via Tie Training, provides a rigorous mathematical explanation for why this happens and introduces a principled solution to fix it.
The Mechanics of "Cheating"
Until now, our understanding of these alignment failures was mostly anecdotal. By analyzing log-linear policies under a linearization regime, the researchers derived closed-form solutions for the "equilibrium" of the DPO objective, revealing that spurious learning is a structural flaw, not just a byproduct of noisy data.
The authors identified two primary channels through which models learn these spurious features:
- Mean Spurious Bias: This occurs when spurious features are asymmetrically distributed in the training data (e.g., the preferred answers in the dataset are consistently longer).
- Correlation Leakage: This happens when spurious features correlate with causal ones in the training data, causing the model to "leak" the weight intended for actual quality into the spurious feature.
The "More Data" Fallacy
One of the most striking insights from the theoretical analysis is that spurious learning is irreducible. If your training distribution contains these biases, simply scaling up the number of samples ($n \to \infty$) will not eliminate the model's reliance on spurious features. Instead, the model will just become more confident in its "cheat." Because this is a structural equilibrium of the DPO objective, if the data has a bias, the math dictates that the model must learn it.
The Solution: Tie Training
If more data isn't the answer, how do we stop models from learning these shortcuts? The authors propose Tie Training.
Instead of only showing the model pairs where one response is strictly better than the other, tie training augments the dataset with "ties"—pairs of responses that have equal utility (quality) but differ in their spurious features (e.g., one is long, one is short). By assigning these ties random preference labels, the method injects "curvature" into the optimization landscape specifically along the spurious directions.
Ties act as negative evidence. By showing the model two responses that are equally good but differ in length, the model is forced to realize that length is not a reliable predictor of quality. This effectively regularizes the model, forcing it to ignore irrelevant features without degrading its ability to learn true causal features.
Experimental Validation
The researchers validated their theory across three levels of complexity, proving that the mechanics of spurious learning—and the benefits of tie training—persist from simple math to complex LLMs:
- Linear Models: Using synthetic Gaussian features, the learned spurious parameters almost perfectly matched the authors' closed-form mathematical predictions.
- Neural Networks: In tests using latent variables mixed through a random MLP, standard DPO reached an "adversarial accuracy" plateau, failing when spurious correlations were reversed. Tie training broke this plateau, improving robustness from roughly 25% to 70%.
- LLM Synthetic Hotel Benchmark: The authors introduced a new benchmark training a Llama-3 model on hotel preferences. Causal features included price, distance, and rating, while spurious features included street number and building age. Under standard DPO, accuracy dropped to 64% when spurious correlations were reversed (an adversarial shift). However, Informative Tie Training (Tie-I) maintained high in-distribution accuracy (92%) while boosting adversarial robustness to an impressive 86.7%.
Limitations and the Path Forward
While the results are promising, the paper notes a few limitations. Much of the formal mathematical proof relies on a linearization of the DPO objective (assuming score differences are relatively small). While the qualitative results clearly hold for deep neural networks and LLMs, the exact quantitative bounds might shift in more "saturated" regimes where the model is highly confident.
Furthermore, constructing ties at scale presents a practical challenge. In this study, ties were constructed using known spurious features or synthetic generators. In real-world RLHF pipelines, identifying what constitutes a "tie" for a human evaluator is difficult and expensive. Future work will need to focus on automated ways to identify candidate axes for ties (like formatting or style) and scalable algorithms to generate these equal-utility pairs during the alignment process.
Ultimately, this research proves that we cannot simply brute-force our way out of sycophancy with more data. By understanding the structural flaws in preference optimization, techniques like tie training offer a mathematically sound path toward more robust and genuinely aligned AI systems.
Summary updated