Parallel Scaling Law for Language Models

Mouxiang Chen, Binyuan Hui, Zeyu Cui, Jiaxi Yang, Dayiheng Liu +3 more
5/15/2025
cs.LGcs.CL

No official code found. Best implementation: QwenLM/ParScale (480 stars, last commit 2025-05-17).

Abstract

It is commonly believed that scaling language models should commit a significant space or time cost, by increasing the parameters (parameter scaling) or output tokens (inference-time scaling). We introduce the third and more inference-efficient scaling paradigm: increasing the model's parallel computation during both training and inference time. We apply $P$ diverse and learnable transformations to the input, execute forward passes of the model in parallel, and dynamically aggregate the $P$ outputs. This method, namely parallel scaling (ParScale), scales parallel computation by reusing existing parameters and can be applied to any model structure, optimization procedure, data, or task. We theoretically propose a new scaling law and validate it through large-scale pre-training, which shows that a model with $P$ parallel streams is similar to scaling the parameters by $O(\log P)$ while showing superior inference efficiency. For example, ParScale can use up to 22$\times$ less memory increase and 6$\times$ less latency increase compared to parameter scaling that achieves the same performance improvement. It can also recycle an off-the-shelf pre-trained model into a parallelly scaled one by post-training on a small amount of tokens, further reducing the training budget. The new scaling law we discovered potentially facilitates the deployment of more powerful models in low-resource scenarios, and provides an alternative perspective for the role of computation in machine learning.

View on arXivView PDF

Code Implementations(1)

QwenLM/ParScaleCommunity100%

Parallel Scaling Law for Language Model — Beyond Parameter and Inference Time Scaling

48025PythonMay 15, 20251 years ago
large-language-modelsllmmachine-learningscaling-law

Cite this paper

@article{chen2025parallel,
  title  = {Parallel Scaling Law for Language Models},
  author = {Mouxiang Chen and Binyuan Hui and Zeyu Cui and Jiaxi Yang and Dayiheng Liu and Jianling Sun and Junyang Lin and Zhongxin Liu},
  year   = {2025},
  eprint = {2505.10475},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.10475v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.10475.svg)](https://codeofpaper.com/paper/2505.10475)

Discussion