Abstract
While Large Language Models (LLMs) are traditionally trained using Maximum Likelihood Estimation (MLE), this approach relies exclusively on the logarithmic score—a "local" strictly proper scoring rule. This paper explores the application of "non-local" strictly proper scoring rules, such as the Brier and Spherical scores, to language generation. By adapting these rules for token-level prediction, we demonstrate that fine-tuning existing models with alternative losses can significantly improve performance in translation, summarization, and reasoning tasks. Notably, fine-tuning LLaMA-7B with these alternative scores results in a >3 BLEU point improvement in translation and enhanced calibration across various benchmarks.
Introduction
The standard paradigm for training Large Language Models (LLMs) involves minimizing the logarithmic score, commonly referred to as cross-entropy loss. In the framework of decision theory, the logarithmic score is a "strictly proper scoring rule," meaning a model achieves its optimal score if and only if its predicted distribution matches the true underlying probability distribution.
However, the logarithmic score is uniquely "local," meaning it only considers the probability assigned to the ground-truth token. Other strictly proper scoring rules, such as the Brier (quadratic) or Spherical scores, are "non-local" because they account for the entire predicted probability distribution. Historically, these non-local rules have been avoided in natural language processing due to the exponentially large sample space of sequences, which makes global calculation mathematically intractable. This research investigates whether breaking the monopoly of the logarithmic score can provide superior optimization dynamics for language generation.
Methodology
To make non-local scoring rules computationally feasible, the authors propose a strategy centered on token-level distribution and specialized regularization.
Token-Level Decomposition
Instead of calculating a score for an entire sequence, the researchers distribute the scoring rule at the token level. By decomposing the sequence into autoregressive conditional probabilities, the sample space is reduced from the set of all possible sentences to the size of the model's vocabulary (typically ~32,000 tokens). This reduction makes the calculation of Brier and Spherical scores computationally manageable during training.
Score Smoothing and Masked Log-Score
Standard label smoothing is specifically tailored for logarithmic loss. The authors generalize this into "score smoothing," allowing non-local rules to benefit from similar regularization. Additionally, they identify a challenge: Brier and Spherical scores can exhibit "flat" gradients near the optimum, which may weaken the enforcement of smoothing. To counteract this, they introduce a Masked Logarithmic Score term. This term specifically penalizes "under-smooth" labels, providing the necessary gradient pressure to ensure the model learns a well-regularized distribution.
Experimental Setup
The approach was evaluated across several domains and model scales:
- Machine Translation: WMT14 (En-De, En-Fr) and the TED bilingual dataset (10 language pairs).
- Summarization: CNN/DailyMail abstractive summarization.
- Large Language Models: Instruction fine-tuning of LLaMA-7B and LLaMA-13B using the Alpaca dataset.
- Open-Ended Evaluation: MT-bench for multi-turn conversation and reasoning capabilities.
Key Insights
The Fine-tuning Advantage
A critical finding is the distinction between training from scratch and fine-tuning. When training from scratch, the logarithmic score remains superior due to its larger gradients, which facilitate faster initial convergence. However, non-local scores excel during the fine-tuning phase. The authors hypothesize that after a model has been pre-trained with MLE, switching to Brier or Spherical scores allows the model to escape local minima and find a more optimal global state.
Task-Specific Strengths
Different scoring rules appear to emphasize different model capabilities. While MLE-trained models perform well in creative writing and roleplay, models fine-tuned with Brier or Spherical scores demonstrate superior performance in extraction and reasoning tasks. Furthermore, because these are strictly proper rules, they naturally encourage better model calibration—ensuring that the model's confidence levels more accurately reflect its actual accuracy.
Results
The empirical results demonstrate substantial gains over standard MLE fine-tuning:
- Translation: LLaMA-7B fine-tuned with the Brier score showed an average improvement of 3.73 BLEU points across four WMT22 tasks.
- Summarization: The Spherical score led to a 3.49 ROUGE-1 point increase on the CNN/DailyMail dataset.
- Scalability: These benefits were consistent when scaling to LLaMA-13B, suggesting the methodology is robust to model size.
- Reasoning: On MT-Bench, alternative scores outperformed the baseline in reasoning and extraction categories, though they showed a slight decrease in creative writing performance.
Conclusion and Future Work
This research demonstrates that the logarithmic score is not the only viable path for training high-performance LLMs. By utilizing non-local strictly proper scoring rules during fine-tuning, researchers can achieve significant gains in accuracy and calibration. Future work will focus on optimizing hyperparameters specifically for these alternative scores and exploring hybrid training regimes that combine the fast convergence of MLE with the superior refinement of non-local scoring rules. Additionally, these rules may provide a new foundation for evaluating model calibration beyond simple perplexity metrics.
Summary updated