Abstract
Large Language Models (LLMs) often struggle with out-of-domain (OOD) generalization due to overfitting on domain-specific features. This paper introduces "Doge Tickets"—sparse sub-networks composed of "domain-general" parameters identified through a novel scoring system that penalizes high variance in parameter importance across training domains. By pruning domain-specific noise, Doge Tickets achieve superior OOD performance and efficiency compared to full models and standard sparse sub-networks.
Introduction: The Challenge of Learning Variance
Modern LLMs, such as BERT, are significantly over-parameterized. While this provides immense expressive power, it also introduces high learning variance. When trained on multi-source data (e.g., reviews for "Digital Music" vs. "Automotive"), certain neurons become highly specialized to specific domains, while others remain universally useful.
As shown in Figure 1, activation statistics reveal that some neurons exhibit high variance across domains (domain-specific), while others maintain consistent activation (domain-general). When these models are applied to unseen domains, domain-specific parameters act as noise, degrading performance. The goal of this work is to uncover the domain-general core of the model.
Methodology: The Doge Ticket Pipeline
The authors extend the Lottery Ticket Hypothesis (LTH), which posits that dense networks contain sparse sub-networks capable of matching the full model's performance. However, standard LTH focuses on expressiveness rather than invariance. The Doge Ticket approach introduces a variance penalty to identify parameters that are both important and stable across domains.
The Four-Stage Process:
- Finetuning: The full model is trained on multiple source domains.
- Scoring: A "domain-general score" is calculated for each module (Attention heads and Feed-Forward blocks). The score is defined as the Mean Expressiveness across domains minus the Variance across domains, scaled by a coefficient $\lambda$.
- Pruning: Structured pruning removes modules with the lowest scores—those that are either unimportant or overly domain-specific.
- Rewinding & Retraining: Remaining parameters are reset to their original pre-trained values and retrained as a sparse sub-network.
Key Insights: Variance as a Penalty
The researchers categorized parameters into four types based on mean importance and variance. They found that standard "Winning Tickets" often include HMHV (High Mean, High Variance) parameters—those critical for one domain but detrimental to others. In contrast, "Doge Tickets" prioritize HMLV (High Mean, Low Variance) parameters, which represent the true workhorses of generalization. By treating variance as a penalty, the model is forced to rely on features that are invariant across the training distribution.
Key Results
Doge Tickets were evaluated on benchmarks including AMAZON (sentiment), MNLI (inference), and ONTONOTES (NER). The results demonstrate a consistent advantage for the sparse sub-networks.
As illustrated in Figure 5, Doge Tickets consistently outperform full BERT models, standard Winning Tickets, and Invariant Risk Minimization (IRM). Key findings include:
- Accuracy Gains: On AMAZON datasets, Doge Tickets improved OOD accuracy by 1.2% to 2.6% over base BERT.
- Scalability: The method remains effective when scaled to BERT-large, suggesting that domain-general sub-networks are a fundamental architectural property.
- Optimal Sparsity: Peak performance was typically achieved at approximately 15% sparsity, confirming that reducing parameter count can actually enhance generalization.
Conclusion
Doge Tickets provide a robust framework for improving OOD generalization in LLMs. By leveraging structured pruning as a form of architectural regularization, this method uncovers the invariant parameters necessary for universal performance. Future work will explore applying this philosophy to unsupervised and multi-task learning scenarios.
Summary updated