Abstract
Traditional scaling of large language models (LLMs) primarily relies on increasing parameter counts or extending inference-time reasoning chains. While effective, these methods impose significant burdens on memory and latency, respectively. This paper introduces ParScale (Parallel Scaling), a novel paradigm that scales model performance by executing multiple parallel forward passes through shared weights using distinct learned prefixes. We demonstrate that increasing the number of parallel streams $P$ follows a predictable scaling law, where performance gains are proportional to $O(\log P)$ of the parameter count. Empirically, ParScale achieves performance parity with significantly larger models while requiring up to 22x less memory overhead, offering a highly efficient alternative for deploying capable models on resource-constrained hardware.
1. Introduction
The evolution of large language models has been governed by scaling laws that link performance to parameter count, dataset size, and training compute. However, as models grow, the hardware requirements for deployment become prohibitive. Current scaling strategies face a dichotomy: parameter scaling increases memory footprint, making edge deployment difficult, while inference-time scaling (e.g., chain-of-thought) increases latency.
We propose ParScale, a method that leverages the underutilized compute capacity of modern GPUs during the memory-bandwidth-bound decoding process. By reusing the same model weights across multiple parallel streams, ParScale provides a "third way" to scale LLMs that optimizes for both memory efficiency and reasoning capabilities.
2. The ParScale Framework
ParScale is inspired by the concept of Classifier-Free Guidance but adapted for efficient architectural scaling. The framework consists of three primary components:
2.1 Input Transformation and Prefix Tuning
To ensure that parallel streams do not produce redundant computations, the input is duplicated into $P$ streams. Each stream is assigned a unique, learnable "soft prompt" or prefix. These prefixes act as diverse starting points, nudging the shared weights to process the input through slightly different internal representations.
2.2 Parallel Forward Pass
The LLM processes all $P$ streams simultaneously. Because the weights are shared, the memory overhead remains nearly constant regardless of $P$. Modern GPUs, which are often bottlenecked by memory bandwidth during standard auto-regressive decoding, can handle these additional parallel computations with minimal impact on total latency.
2.3 Dynamic Aggregation
The outputs from the $P$ streams are aggregated using a lightweight Multi-Layer Perceptron (MLP). This aggregator learns to dynamically weight the predictions of each stream, producing a final probability distribution for the next token.
2.4 Two-Stage Training
Training $P$ streams from scratch is computationally expensive. To mitigate this, we employ a two-stage training strategy: the model is first trained using standard methods for 98% of the total tokens. ParScale is only enabled during the final 2% of training, where the prefix and aggregator weights are optimized alongside the base model.
3. The Parallel Scaling Law
Our research establishes a new empirical scaling law: scaling parallel computation by $P$ streams is equivalent to scaling the model's parameter count by a factor of $O(\log P)$. This logarithmic relationship suggests diminishing returns as $P$ becomes very large, but provides substantial gains in the $P=2$ to $P=16$ range.
A key insight from our analysis is the functional division between parameters and compute. We observed that while parameter count is strongly correlated with a model's ability to store and retrieve factual knowledge (memorization), parallel compute (ParScale) primarily enhances the model's ability to process complex logic and mathematical structures (reasoning).
4. Experimental Results
We evaluated ParScale across various benchmarks, including coding (HumanEval, MBPP), mathematics (GSM8K, MATH), and general knowledge (MMLU).
4.1 Efficiency Gains
For a 1.6B parameter model, scaling to $P=8$ achieved performance comparable to much larger models. Crucially, this was achieved with:
- 22x less memory increase compared to traditional parameter scaling.
- 6x less latency increase at a batch size of 1.
4.2 Downstream Performance
In a production-scale run on 1 trillion tokens, a 1.8B model utilizing $P=8$ showed:
- A 34% relative improvement on the GSM8K math benchmark.
- A 23% relative improvement on the MMLU benchmark.
Furthermore, ParScale proved effective as a post-training enhancement. By applying Parameter-Efficient Fine-Tuning (PEFT) to a pre-trained Qwen-2.5 (3B) model, we observed significant performance jumps without retraining the entire base model.
5. Discussion and Limitations
While ParScale offers a compelling efficiency profile, it is not without challenges. The primary limitation is the increased training cost, as each training step becomes roughly $P$ times more compute-intensive. While our two-stage strategy reduces this burden, the optimal transition point between stages requires further investigation. Additionally, the theoretical underpinnings of why stream diversity scales logarithmically remain an area for future mathematical exploration.
6. Conclusion
ParScale introduces a viable method for scaling LLM reasoning capabilities without the linear memory costs associated with parameter scaling. By shifting the scaling bottleneck from memory to compute, ParScale enables the deployment of high-performance reasoning models on consumer-grade hardware. Future work will explore the synergy between ParScale and Mixture-of-Experts (MoE) architectures, potentially creating models that are both parameter-efficient and compute-dense.
Summary updated