Scaling Laws Meet Model Architecture: Toward Inference-Efficient LLMs
Scaling the number of parameters and the size of training data has proven to be an effective strategy for improving large language model (LLM) performance. Yet, as these models grow increasingly powerful and widely deployed, the cost of inference has become a pressing concern. Despite its importance, the tradeoff between model accuracy and inference efficiency remains underexplored. In this work, we examine how key architectural factors, hidden size, the allocation of parameters between MLP and attention (mlp-to-attention ratio), and groupedquery attention (GQA), influence both inference cost and accuracy. We introduce a conditional scaling law that augments the Chinchilla framework with architectural information, along with a search framework for identifying architectures that are simultaneously inference-efficient and accurate. To validate our approach, we train more than 200 models spanning 80M to 3B parameters and 8B to 100B training tokens, and fit the proposed conditional scaling law. Our results show that the conditional scaling law reliably predicts optimal architectural choices and that the resulting models outperform existing open-source baselines. Under the same training budget, optimized architectures achieve up to 2.1% higher accuracy and 42% greater inference throughput compared to LLaMA-3.2.
However, as the field advances, it has become increasingly clear that focusing exclusively on training overlooks the practical challenges of deploying these models at scale Chien et al. (2023); Wu et al. (2024); Muhamed et al. (2023). A major limitation of existing scaling laws is their omission of inference costs, which constitute the dominant expense in deploying large models in real-world applications Sardana et al. (2023); Park et al. (2024). Moreover, the growing use of LLMs in reasoning systems highlights the need for scaling laws that account for inference costs Snell et al. (2024); Brown et al. (2024); Luo et al. (2024); Qi et al. (2024); Guan et al. (2025). Therefore, we ask the following question:
Can we explicitly capture the trade-off between inference efficiency and accuracy of large language models?
To address this question, a recent study Sardana et al. (2023) proposed scaling laws that incorporate the total FLOPs from both training and inference.
Lines of inquiry this paper opens 24
Research framings built by reading the notes related to this paper — the questions it feeds into.
How does decomposing complex reasoning into subtasks affect performance and safety? How should recommendation systems balance model complexity, coverage, and concept drift? Does test-time compute efficiency reduce model scaling requirements?- How does inference compute substitution affect the training parameter scaling trade-off?
- How do conditional scaling laws incorporate hardware into architecture choices?
- Does trading model size for inference steps improve overall efficiency scaling?
- What deployment tradeoffs emerge between single-pass and multi-pass inference adaptation?
- Does diffusion's control advantage come from speed gains or from architectural differences?
- Can architecture changes and early stopping combine to close the diffusion inference gap?
- Why do scaling laws fail to predict optimal architectures at small parameter counts?
- Can scaling predictions become reliable if improvements are continuous not sudden?
- Does the optimal model size depend on what capabilities you actually need?
- Why does depth outperform width for sub-billion parameter models?
- How does the Ladder of Scales approach reduce search costs across model sizes?
- Why do scaling laws show capability saturation at specific thresholds?
- Can depth scaling and breadth scaling unlock independent capability axes?
- Do small models show different parameter efficiency patterns than large models?
- Do autonomous architecture discoveries follow predictable scaling laws like human research?
- What scaling laws govern autonomous architecture discovery in AI systems?