TL;DR
Researchers have developed a "patch-level" training method that cuts the computational cost of training Large Language Models (LLMs) by 50% without sacrificing performance. By aggregating multiple tokens into higher-density "patches" for the bulk of the training process, the model learns more efficiently before a final "token-level" phase aligns it for standard inference.
The Problem: The High Cost of Sparse Information
The "Next Token Prediction" paradigm is the gold standard for training LLMs, but it is incredibly expensive. The computational cost ($C$) is roughly proportional to the number of parameters ($N$) and the number of training units ($D$), expressed as $C \approx 6ND$. While many researchers focus on reducing model size ($N$) through compression, this paper targets the training data volume ($D$).
The authors argue that standard token-level training is inefficient because information in natural language is sparsely distributed. Each individual token often carries very little information, yet the model must expend full computational effort to process every single one. This leads to "sparse activation," where only a small fraction of the model's parameters are effectively updated at each step.
Methods: Introducing PatchTrain
To address this inefficiency, the authors introduce PatchTrain, a two-stage training strategy designed to increase information density and reduce computational overhead.
- Patch-level Training: Multiple consecutive tokens (e.g., $K=4$) are aggregated into a single "patch." The patch embedding is simply the average of its constituent token embeddings. The model is trained to predict the next patch (all $K$ tokens simultaneously) using a single output head. This allows the model to process the same amount of text using $1/K$ of the sequence length, drastically reducing FLOPs.
- Token-level Training: After processing a fraction ($\lambda$) of the data in patches, the model switches to standard token-level training on the remaining data. This phase acts as an "alignment" step, ensuring the model can handle the standard autoregressive inference mode used in deployment.
Crucially, the authors found that keeping the architecture identical between stages—rather than adding specialized "patch heads"—was vital for a smooth transfer of knowledge.
Key Insights
- Increased Information Density: By grouping tokens, the model is forced to process more information per step. This leads to higher neuron activation rates. In standard training, many neurons remain underutilized; patching effectively "wakes up" more of the model's capacity.
- The Regularization Effect: Surprisingly, patch-level training often resulted in better zero-shot performance than the baseline. The authors hypothesize that patching acts as a form of regularization, forcing the model to capture long-range dependencies more effectively because the "distance" between concepts is reduced.
- The "Anchor" Principle: For knowledge transfer to work, at least one end of the model (input or output) must remain consistent with the final token-level task. Trying to optimize the architecture specifically for patches actually hurt the final token-level performance.
Key Results
The models were trained on The Pile (a 360-billion token dataset) and evaluated across various zero-shot benchmarks (MMLU, HellaSwag, PIQA, etc.) and instruction-following tasks (MT-Bench).
- 50% Cost Reduction: Using a patch size of $K=4$ and a split of $\lambda=2/3$ (training two-thirds of the data in patches), the authors achieved a 0.5x reduction in total training cost.
- Performance Parity: Across models ranging from 370M to 2.7B parameters, PatchTrain matched or slightly exceeded the baseline's average zero-shot accuracy (averaging a +0.5% gain across benchmarks).
- Instruction Following: After fine-tuning on Alpaca, PatchTrain models showed instruction-following abilities comparable to models trained entirely at the token level.
Limitations and Future Work
While the results are impressive up to 2.7B parameters, testing on "frontier" scales (e.g., 70B+ parameters) is necessary to confirm these scaling laws hold. Additionally, the optimal patch size ($K$) and data fraction ($\lambda$) likely depend on the specific dataset and model size, requiring further hyperparameter tuning. Finally, the authors suggest this "patch-then-align" strategy could be extended beyond text to other modalities like speech and video, where information density is even lower and the potential for compression is higher.
Summary updated