NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Compute Optimal Scaling of Skills: Knowledge vs Reasoning

Nicholas Roberts, Niladri S. Chatterji, Sharan Narang, Mike Lewis, Dieuwke Hupkes

Introduction

The Chinchilla scaling laws established a foundational recipe for training Large Language Models (LLMs), suggesting a "one-size-fits-all" balance between model parameters and training tokens for a given compute budget. However, these laws are typically derived from aggregate validation loss, which averages performance across diverse datasets. This paper challenges the universality of these laws, investigating whether specific skills—specifically Knowledge and Reasoning—exhibit distinct scaling behaviors.

Methodology: Skill-Specific Scaling

The researchers conducted an extensive empirical study across nine compute scales, ranging from $6 \times 10^{18}$ to $3 \times 10^{21}$ FLOPs, with models spanning 40M to 8B parameters. To isolate skill-specific effects, they employed "IsoFLOP analysis," plotting performance curves for various model/data combinations at fixed compute budgets to identify the Compute Optima (CO) for specific tasks.

Coding was utilized as a proxy for reasoning to provide a clear, formal metric. The study also included "datamix ablations," where the proportions of code and knowledge-heavy documents were varied to test the robustness of the scaling laws against training data composition.

Key Insights: Capacity-Hungry vs. Data-Hungry Skills

The central finding is that scaling laws are indeed skill-dependent. The authors categorize skills into two regimes:

  1. Capacity-Hungry: Knowledge-based tasks (e.g., TriviaQA, MMLU) require more parameters to store a vast "lookup table" of facts. These tasks prefer larger models even at the expense of seeing fewer tokens.
  2. Data-Hungry: Reasoning-based tasks (e.g., Coding) benefit more from increased training data. These tasks prefer smaller models trained on more tokens to master underlying logic and syntax.
IsoFLOP analysis for Knowledge and Code skills, showing the divergence in compute-optimal parameter counts and the resulting data-hungry vs. capacity-hungry regions.

The "Crossover Point" and Validation Bias

A critical observation is the "crossover point"—the specific data ratio where the compute-optimal parameter counts for both skills align. In this study, alignment occurred when code data was approximately 2.1 times more prevalent than knowledge data.

Furthermore, the paper highlights the danger of "validation set bias." If a developer optimizes a model based on a validation set that does not match the desired skill mix (e.g., using a general web-text set for a coding model), the estimated optimal parameter count can be inaccurate by nearly 50%.

Impact of Data Composition

The sensitivity of these optima to the training mix is significant. At the smallest compute scale tested, the optimal parameter count for a single skill varied by over 30% depending on the pretraining datamix. As shown in the figure below, the red crosses (optima) shift significantly as the percentage of specific data types changes.

Sensitivity of compute-optimal parameter counts to the pretraining data composition for both Code and Knowledge tasks.

Results and Persistence at Scale

The divergence between skills is not a low-compute artifact. While the gap narrows slightly as total compute increases, it remains substantial (over 10%) even at $3 \times 10^{21}$ FLOPs. Knowledge tasks consistently demand larger models than standard aggregate performance estimators (APEs) suggest, while code tasks consistently favor more data.

Conclusion and Future Directions

This research suggests that "memorizing" facts is fundamentally more parameter-intensive than "learning rules." Future LLM development should move away from universal scaling laws toward skill-aware optimization. While this study focused on Code vs. Knowledge, future work should explore other domains like multi-step mathematics or safety alignment, and investigate the curvature of IsoFLOP curves to determine which skills are most sensitive to sub-optimal scaling decisions.

Summary updated

BibTeX
@inproceedings{roberts2025compute,
  author = {Nicholas Roberts and Niladri S. Chatterji and Sharan Narang and Mike Lewis and Dieuwke Hupkes},
  title = {{Compute Optimal Scaling of Skills: Knowledge vs Reasoning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.findings-acl.688},
}
Figure