Don't Force the Fit: Bounded Log-Likelihood Loss for Enhanced Reasoning in Large Language Models
Feng Zhao, Hong Zhang, Yu Yang, Ruilin Zhao, Guandong Xu
Overview
Standard supervised fine-tuning (SFT) for large language models relies universally on token-level cross-entropy loss, operating under the assumption that the expert demonstration represents an exact target sequence where every single token mismatch constitutes an error. However, complex reasoning tasks invalidate this premise. Multiple distinct logical pathways can arrive at the exact same correct answer using different syntactic structures, phrasing, or intermediate steps. When SFT penalizes a model for deviating from a single reference path's surface-level wording, it forces the network to memorize stylistic artifacts rather than internalize core reasoning capabilities. This paper investigates the flaws of rigid token-level fitting and introduces BL loss (Bounded Log-Likelihood loss), a parameter-free, smooth objective that softly reduces the contribution of low-confidence tokens.

Key moments
- 0:00 Introduction and limitations of standard token-level cross-entropy
- 1:55 Masking experiment showing low-confidence tokens can hurt performance
- 3:10 Introduction of the Bounded Log-Likelihood (BL) loss function
- 4:00 Theoretical derivation from Taylor series and log-odds perspectives
- 5:09 Main experimental results on mathematical reasoning benchmarks
- 6:26 Ablation studies comparing BL loss with learning rate and training variations
- 7:19 Evaluation across different training data scales and domains
- 9:00 Conclusion and key takeaways on reasoning SFT
Don't Force the Fit: Bounded Log-Likelihood Loss for Enhanced Reasoning in Large Language Models
Speakers: Feng Zhao; Hong Zhang; Yu Yang; Ruilin Zhao; Guandong Xu
Conference: ICML
YouTube: https://slideslive.com/39083561
Overview
Standard supervised fine-tuning (SFT) for large language models relies universally on token-level cross-entropy loss, operating under the assumption that the expert demonstration represents an exact target sequence where every single token mismatch constitutes an error. However, complex reasoning tasks invalidate this premise. Multiple distinct logical pathways can arrive at the exact same correct answer using different syntactic structures, phrasing, or intermediate steps. When SFT penalizes a model for deviating from a single reference path's surface-level wording, it forces the network to memorize stylistic artifacts rather than internalize core reasoning capabilities. This paper investigates the flaws of rigid token-level fitting and introduces BL loss (Bounded Log-Likelihood loss), a parameter-free, smooth objective that softly reduces the contribution of low-confidence tokens.
Presented at the ICML conference by Feng Zhao and colleagues, this work addresses a fundamental limitation in modern post-training pipelines. By analyzing the base model's probability distributions over reasoning demonstrations, the authors reveal that standard cross-entropy assigns disproportionately massive gradients to a long-tail of low-probability tokens—tokens that empirical word cloud statistics show correspond primarily to wording, formatting, and stylistic variations rather than substantive logic. Replacing standard SFT with BL loss yields consistent performance gains across mathematical reasoning, code generation, and general reasoning benchmarks, proving that effective alignment is not about forcing models to fit every token equally, but about prioritizing robust supervisory signals.
Background
▶ Watch: Introduction and limitations of standard token-level cross-entropy (0:00)
The standard paradigm for post-training large language models heavily relies on supervised fine-tuning using token-level cross-entropy loss. While this objective successfully aligns base models with general instruction-following formats, it introduces severe bottlenecks when applied to multi-step reasoning tasks like mathematics, programming, and symbolic logic. In a standard SFT setup, the loss function treats every token in a reference sequence with equal weight, assuming any deviation from the target string is an erroneous prediction.
This rigid requirement creates a false penalty structure. In mathematical derivation or algorithmic synthesis, two completely valid reasoning paths (e.g., Path A and Path B) can successfully deduce the correct final answer ($S = 5$) while employing different intermediate expressions. Standard cross-entropy penalizes a model whenever its generated tokens diverge from the reference sequence's specific wording, forcing the network to overfit to superficial stylistic choices. Consequently, training dynamics become heavily skewed by low-probability tokens that appear in the long-tail of the distribution, pouring massive gradient updates into formatting markers and stylistic quirks rather than core logical deduction.
Key Findings
▶ Watch: Introduction of the Bounded Log-Likelihood (BL) loss function (3:10)
The authors diagnose the failure modes of standard SFT through an initial probability distribution analysis and a targeted masking experiment. Key discoveries include:
- Long-Tail Gradient Distortion: Base model probability distributions on reasoning demonstrations exhibit a clear long-tail pattern where most tokens are high-probability, but a small subset falls into a low-probability tail. Despite their sparsity, cross-entropy assigns vastly larger gradients to these low-probability tokens, creating intense and often counterproductive training pressure.
- Surface-Level Noise: Word cloud statistics demonstrate that tokens in the low-probability tail correlate heavily with wording, formatting, and stylistic expressions rather than underlying reasoning processes.
- Diagnostic Masking Efficacy: Removing tokens with model probabilities below a manually chosen threshold directly from the training loss improves performance on both hard reasoning tasks (such as MATH-V and AMC) and general tasks. This proves that not every token should be fit equally, and reducing the influence of low-confidence tokens enhances reasoning capabilities.
- Scale-Invariant Improvements: BL loss consistently outperforms standard SFT across model scales ranging from 1.5 billion to 8 billion parameters, with performance margins widening significantly on competition-level mathematical reasoning tasks.
- Data-Efficiency: When training data is constrained (tested from 10,000 to 100,000 samples), BL loss achieves significantly higher accuracy than standard SFT even in low-data regimes, while maintaining a stable performance gap as dataset size scales up.
Technical Deep Dive
▶ Watch: Main experimental results on mathematical reasoning benchmarks (5:09)
To move past the limitations of hard threshold masking—which relies on arbitrary cutoff values and abruptly strips tokens from the objective—the authors formulate BL loss, a smooth, parameter-free alternative derived from two distinct theoretical perspectives.
Mathematical Formulation
For a target token probability $P$, the BL loss is defined as:
$$\mathcal{L}_{BL} = \log(2 - P)$$
This objective softly down-weights the influence of low-confidence tokens while maintaining a continuous and differentiable loss landscape.
Theoretical Derivations
- Taylor Series Regularization: Standard cross-entropy loss can be rewritten and expanded via a Taylor series, yielding entirely positive series terms where penalties continuously accumulate for low-probability tokens. BL loss introduces an alternating series into the regularization, bounding this penalty accumulation to a logarithmic form ($\log(1 + \epsilon)$, mathematically equivalent to $\log(2 - P)$).
- Log-Odds Decoupling: The authors analyze a $\beta$-balanced objective where $\beta$ controls the trade-off between target promotion and complement suppression. As $\beta$ approaches zero, this balanced objective reduces precisely to the BL loss form of $\log(2 - P)$, confirming that bounded log-likelihood represents an optimal equilibrium point for target token reinforcement.
Empirical sweeps over the hyperparameter $\beta$ confirm that setting $\beta \approx 0$ (yielding the pure BL loss formulation) achieves peak performance across all evaluated reasoning benchmarks, whereas increasing $\beta$ leads to performance degradation.
Experimental Setup & Results
▶ Watch: Ablation studies comparing BL loss with learning rate and training variations (6:26)
The evaluation spans multiple domains, model scales, and data regimes to validate the universality of BL loss.
- Model Architectures: Evaluated across model scales spanning from 1.5 billion to 8 billion parameters.
- Benchmarks: Tested on mathematical reasoning tasks (including competition-level benchmarks like MATH-V and AMC), code generation, and general reasoning datasets.
- Baseline Comparisons: Standard SFT with token-level cross-entropy, NEFT (Noisy Embedding Fine-Tuning), along with rigorous ablations testing lower learning rates, gradient clipping, and extended training epochs (2 epochs).
- Data Scaling Regimes: Training dataset sizes varied systematically from 10,000 to 100,000 samples.
Headline Results
- Math Reasoning: BL loss achieves superior overall math performance across every tested model scale. On hard competition-level math tasks, the performance advantage of BL loss is even more pronounced, completely avoiding the performance degradation that standard SFT exhibits when forced to overfit difficult problems.
- Ablation Findings: Lowering the learning rate hurts performance (ruling out the hypothesis that BL loss simply acts as a smaller update size), gradient clipping cannot match BL loss performance, and training for extra epochs falls far short of BL's gains. This confirms the improvement stems from selective, confidence-aware updates rather than mere regularization intensity.
- Cross-Domain Generalization: Beyond mathematics, BL loss delivers consistent performance boosts on code generation and general reasoning tasks, proving it is a domain-agnostic improvement to token-level training signals.
Practical Implications
▶ Watch: Conclusion and key takeaways on reasoning SFT (9:00)
For infrastructure teams, model builders, and deployment engineers, BL loss offers a frictionless drop-in replacement for standard cross-entropy loss during the supervised fine-tuning phase. Because the formulation is fully parameter-free ($\log(2 - P)$), it introduces zero hyperparameter tuning overhead, requires no architectural modifications, and adds no computational overhead to the training loop.
Practitioners training models on reasoning-heavy domains (such as mathematical problem-solving, automated code synthesis, and multi-step logic chains) can immediately adopt BL loss to mitigate the risk of style overfitting. The technique is particularly valuable in data-constrained environments—delivering strong performance with as few as 10,000 training samples—while remaining robust and effective as datasets scale to 100,000+ samples. By filtering out the corrupting gradient pressure of low-probability formatting tokens, model deployers can achieve higher reasoning accuracy without increasing compute budgets or expanding training datasets.
Key Takeaways
- Flawed Assumptions in SFT: Treating every token in a reasoning demonstration as an absolute target forces models to overfit on stylistic wording and formatting rather than true logical deduction.
- Long-Tail Distortion: Low-probability tokens in reasoning datasets consume a disproportionately large share of cross-entropy gradient updates despite often representing non-essential surface variations.
- The BL Loss Solution: Bounded Log-Likelihood loss ($\mathcal{L}_{BL} = \log(2 - P)$) provides a parameter-free, smooth objective that softly down-weights low-confidence tokens.
- Universal Reasoning Gains: BL loss consistently outperforms standard SFT across model scales (1.5B to 8B parameters), data scales (10k to 100k samples), and task domains (math, code, and general reasoning).
- Plug-and-Play Simplicity: Requiring no architectural changes or complex hyperparameter sweeps, BL loss serves as an immediate, drop-in replacement for cross-entropy in any reasoning-focused SFT pipeline.
About the Speaker(s)
Authors: Feng Zhao, Hong Zhang, Yu Yang, Ruilin Zhao, Guandong Xu.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026