Inference-Optimal Scaling for Language Models

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 145 papers64 conceptsfrozen 2026-10-04

For years, the "physics" of large language models was governed by the Chinchilla scaling laws. In their seminal work, Jordan Hoffmann and colleagues at DeepMind established that to minimize training loss for a given compute budget, model size and training data should scale in equal proportions. This "compute-optimal" heuristic—roughly 20 tokens per parameter—became the industry standard.

However, a new wave of research argues that Chinchilla optimality is a narrow lens that ignores the reality of production: inference is not free. For models serving millions of users, the cost of deployment eventually dwarfs the cost of training. This realization has shifted the research frontier toward Inference-Optimal Scaling, where the goal is to minimize the total lifecycle cost of a model.

The Lifecycle Compute Equation

The core intuition behind this shift is simple. If you plan to use a model for a massive number of queries, it is economically rational to spend more on training to make the model smaller and faster. Nikhil Sardana and Jonathan Frankle formalize this in Beyond Chinchilla-Optimal: Accounting for Inference in Language Model Scaling Laws. They propose that the objective function should not be training compute, but Total Compute:

$$C_{total} = C_{training} + (V \times C_{inference})$$

where $V$ is the expected inference volume (total tokens generated over the model's lifetime). As $V$ increases, the optimal model size $N$ decreases, and the optimal training duration $D$ increases. In other words, for high-demand applications, we should "over-train" smaller models far beyond the Chinchilla point.

Over-training as an Efficiency Lever

Traditional scaling laws suggest that training a small model on "too much" data yields diminishing returns. However, Samir Yitzhak Gadre and Mitchell Wortsman demonstrate in Language models scale reliably with over-training and on downstream tasks that models continue to improve predictably even when trained on 300x more compute than the Chinchilla-optimal point.

This "over-training" regime is what allows models like Mistral 7B and MiniCPM to punch far above their weight class. By investing heavily in the training phase, Albert Q. Jiang and Guillaume Lample created a 7B model that rivals much larger architectures, significantly reducing the "inference tax" for every downstream user.

Architecture-Aware Scaling

Inference efficiency isn't just about parameter counts; it's about how those parameters are arranged. Song Bian and Shivaram Venkataraman argue in Scaling Laws Meet Model Architecture: Toward Inference-Efficient LLMs that we need conditional scaling laws.

Their research shows that architectural hyperparameters—such as the ratio of MLP to attention layers or the hidden dimension size—dramatically impact inference latency. By co-optimizing these "shape" parameters alongside data volume, they developed Morph-1B, which achieves nearly 2x faster inference than standard baselines without losing accuracy. This suggests that the "optimal" model is not just a point on a curve of $N$ and $D$, but a specific geometric configuration tailored for hardware throughput.

The Mixture-of-Experts Paradox

Mixture-of-Experts (MoE) models present a unique challenge to this framework. MoEs allow for massive parameter counts with low training compute, but they often hit a "memory wall" during inference. Longfei Yun and Hao Zhang note in Toward Inference-optimal Mixture-of-Expert Large Language Models that the configuration that minimizes training loss is rarely the one that minimizes serving cost.

To solve this, Jia Liu introduces the concept of Efficiency Leverage (EL) in Towards Greater Leverage: Scaling Laws for Efficient Mixture-of-Experts Language Models. EL quantifies the compute-saving bonus of MoEs, revealing that this leverage actually amplifies as models scale. This provides a roadmap for designing MoEs that are not just easy to train, but economically viable to serve at scale.

From Training to Test-Time Scaling

As models evolve into reasoning agents, the definition of "inference compute" is expanding. Austin Ellis‐Mohr and Anuj K. Nayak suggest in A Theory of Inference Compute Scaling that we are entering an era where models "think" longer at test-time.

This introduces a new trade-off: do we spend compute on pre-training (to make the model smarter), fine-tuning (to make it more specialized), or inference-time search (to let it reason)? The emerging consensus across these papers is that the "best" model is no longer the one with the lowest validation loss, but the one that achieves the target accuracy for the lowest total energy and financial cost across its entire operational lifespan.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_inference_optimal_scaling_for_language_m_dd0ccc09,
  title = {Inference-Optimal Scaling for Language Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/inference-optimal-scaling-for-language-models/rdr_dd0ccc092e3d4d17aad3bb9597d5c224},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-04},
}

This exact version (version 1, frozen text):

@misc{lacuna_inference_optimal_scaling_for_language_m_dd0ccc09_v1,
  title = {Inference-Optimal Scaling for Language Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/inference-optimal-scaling-for-language-models/rdr_dd0ccc092e3d4d17aad3bb9597d5c224/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-04},
}