The Pile · Language Modeling

45 papers · 125 extracted observations · language modeling · language · Markdown · CSV · JSON API

Also indexed as: the-pile

Comparable Cohort Timeline (proposed/measured methods; excludes quoted baselines & ablations)

Language Modeling: proposed/measured results on val (including papers where val split is standard/implicit).

-2.616.635.855.0202220242026Decay (proposed decaying fast weights): 14.6 (2022)DoReMi (280M->8B): 1.41 (2023)Transformer (355M): 9.1 (2023)SLM (Table 3 row label): 18.2 (2024)VcLLM: 51.0 (2024)MUDDFormer: 10.77 (2025)ICM-Fusion: 7.51 (2026)
Click any point on the timeline to inspect method, protocol, and paper.

Showing 46 of 46 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2026CoRM proposedvalidation loss1.921Language Modeling · split: val · params=182M · routing=Top-1 · model-size=182M · training-steps=60000Beyond Magnitude: Contrastive Routing for Modular Mixture-of-Experts
Source quote
L454: CoRM │ 1.921 │ 6.83 │ 1.868 │ 6.48 │ 1.762 │ 5.82
2026aggregated-LLD (random-init NanoGPT) proposedKL divergence from the target model4.07 bits/byteLanguage Modeling · base-model=random-init NanoGPT · target-model=CodeNanoGPT · training-steps=10000Domain Mixture Design via Log-Likelihood Differences for Aligning Language Models with a Target Model
Source quote
L258: The results are shown in Fig.~\ref{fig:gpt2-distill}. When random-init NanoGPT is used as the base model, the KL divergence from the target model at the final training step is 4.39, 4.07, 2.65, and 2.13 bits/byte for uniform, aggregated-LLD, distill w/o CE, and distill w/ CE, respectively. When pretrained NanoGPT is used as the base model, the corresponding values are 2.59, 1.96, 1.56, and 0.99 bits/byte. Although knowledge distillation achieves the smallest KL divergence, aggregated-LLD consistently outperforms the uniform setting. These results suggest that, while the proposed method is not intended to replace distillation, it can achieve a meaningful degree of distributional alignment under weaker supervision using only pre-estimated domain weights. The proposed method is therefore a useful alternative in settings where distillation is not feasible.
2026aggregated-LLD (pretrained NanoGPT) proposedKL divergence from the target model1.96 bits/byteLanguage Modeling · base-model=pretrained NanoGPT · target-model=CodeNanoGPT · training-steps=10000Domain Mixture Design via Log-Likelihood Differences for Aligning Language Models with a Target Model
Source quote
L258: The results are shown in Fig.~\ref{fig:gpt2-distill}. When random-init NanoGPT is used as the base model, the KL divergence from the target model at the final training step is 4.39, 4.07, 2.65, and 2.13 bits/byte for uniform, aggregated-LLD, distill w/o CE, and distill w/ CE, respectively. When pretrained NanoGPT is used as the base model, the corresponding values are 2.59, 1.96, 1.56, and 0.99 bits/byte. Although knowledge distillation achieves the smallest KL divergence, aggregated-LLD consistently outperforms the uniform setting. These results suggest that, while the proposed method is not intended to replace distillation, it can achieve a meaningful degree of distributional alignment under weaker supervision using only pre-estimated domain weights. The proposed method is therefore a useful alternative in settings where distillation is not feasible.
2026TACO proposedVal Loss2.395784Language Modeling · split: val · fine-tuned · params=350M · model=GPT-350M · tensor-parallelism=TP=8 · training-iterations=10000TACO: Efficient Communication Compression of Intermediate Tensors for Scalable Tensor-Parallel LLM Training
Source quote
L342: TACO │ 2.395784 │ 2.351210 │ +0.25 % │ +0.28 %
2026TACO proposedTest Loss2.351210Language Modeling · split: test · fine-tuned · params=350M · model=GPT-350M · tensor-parallelism=TP=8 · training-iterations=10000TACO: Efficient Communication Compression of Intermediate Tensors for Scalable Tensor-Parallel LLM Training
Source quote
L342: TACO │ 2.395784 │ 2.351210 │ +0.25 % │ +0.28 %
2026D^3 (Llama-based 1.1B) proposedPPL (↓)2.53Language Modeling · split: val · pre-training · backbone=Llama-based 1.1B · params=100B · training-tokens=100BD$^3$: Dynamic Directional Graph-Constrained Data Scheduling for LLM Training
Source quote
L754: Ours │ D^3 │ 2.53 {\textcolor{red}{-4.1%}} │ 32.8 {\textcolor{red}{+3.1%}} │ 68.9 {\textcolor{green!60!black}{-0.4%}} │ 33.1 {\textcolor{red}{+9.6%}} │ 71.2 {\textcolor{red}{+7.1%}} │ 53.4 {\textcolor{green!60!black}{-0.4%}} │ 51.88 {\textcolor{red}{+3.9%}}
2025Evolutionary-search subnetwork, Bin 3 proposedFLOP savings factor5.16×Language Modeling · pretraining · params=10B · bin=3 · training-tokens=10BWhere to Begin: Efficient Pretraining via Subnetwork Selection and Distillation
Source quote
L950: \textcolor{black}{3} │ \textcolor{black}{5.16×}
2025Bin-3 extracted subnetwork proposedValidation perplexity11.204Language Modeling · split: val · pretraining · params=100B · backbone=Bin-3 extracted subnetwork · training-tokens=100BWhere to Begin: Efficient Pretraining via Subnetwork Selection and Distillation
Source quote
L1328: In addition to being more compute-efficient, the extracted model also attains a lower final validation perplexity. The baseline Pythia-2.8B reaches a perplexity of 11.397, while our model achieves 11.204.}
2025DUO proposedFinal validation loss ↓1.7535Language Modeling · split: val · compressed · params=6.7B · model=GPT-6.7B · gradient_bits=4 · training_tokens=80B · weight_compression_bits=4DUO: No Compromise to Accuracy Degradation
Source quote
L357: 1.7535
2025DUO proposedFinal validation loss ↓1.7572Language Modeling · split: val · compressed · params=6.7B · model=GPT-6.7B · variant=DUO-G1 · gradient_bits=1 · training_tokens=80BDUO: No Compromise to Accuracy Degradation
Source quote
L368: 1.7572
2025DUO proposedFinal validation loss ↓1.7550Language Modeling · split: val · params=6.7B · model=GPT-6.7B · training_tokens=80B · gradient_communication=0-bit; high-precision ReduceScatterDUO: No Compromise to Accuracy Degradation
Source quote
L374: 1.7550
2025LFT trained with flow matching (LFT-SFM) proposedKL divergence of LM logits0.407Language Modeling · params=410M · backbone=Pythia-410MLatent Flow Transformer
Source quote
L9: On the Pythia-410M model, LFT trained with flow matching compresses 6 of 24 layers and outperforms directly skipping 2 layers (KL Divergence of LM logits at 0.407 vs. 0.529), demonstrating the feasibility of this design. When trained with FW, LFT further distills 12 layers into one while reducing the KL to 0.736 surpassing that from skipping 3 layers (0.932), significantly narrowing the gap between autoregressive and flow-based generation paradigms.
2025LFT trained with Flow Walking (LFT-FW) proposedKL divergence of LM logits0.736Language Modeling · params=410M · backbone=Pythia-410M · compression=12 layers into 1Latent Flow Transformer
Source quote
L9: On the Pythia-410M model, LFT trained with flow matching compresses 6 of 24 layers and outperforms directly skipping 2 layers (KL Divergence of LM logits at 0.407 vs. 0.529), demonstrating the feasibility of this design. When trained with FW, LFT further distills 12 layers into one while reducing the KL to 0.736 surpassing that from skipping 3 layers (0.932), significantly narrowing the gap between autoregressive and flow-based generation paradigms.
2025ICM-Fusion proposedPPL7.51Language Modeling · fine-tuned · backbone=Llama 3ICM-Fusion: In-Context Meta-Optimized LoRA Fusion for Multi-Task Adaptation
Source quote
L284: 8.57 │ 0.61 │ 7.51 │ 0.50
2025ICM-Fusion proposedBPC0.50Language Modeling · fine-tuned · backbone=Llama 3ICM-Fusion: In-Context Meta-Optimized LoRA Fusion for Multi-Task Adaptation
Source quote
L284: 8.57 │ 0.61 │ 7.51 │ 0.50
2025MUDDFormer proposedppl10.77Language Modeling · split: val · params=405MMUDDFormer: Breaking Residual Bottlenecks in Transformers via Multiway Dynamic Dense Connections
Source quote
L433: Transformer++ │ 11.68 │ MUDDFormer │ \B{10.77}
2025Proposed multiplicative scaling law for forgetting proposed non-standard sliceBootstrapped Mean Relative Error (MRE)0.40%Language Modeling · fine-tuned · bootstrap-samples=128Scaling Laws for Forgetting during Finetuning with Pretraining Data Injection
Source quote
L311: Note that the value \mathcal{L}-pt^0 is exactly what the original scaling law papers try to estimate~\citep{kaplan2020scaling,DBLP:journals/corr/abs-2203-15556}. We propose a multiplicative law where D (\beta) is on the numerator with \beta>0, since increasing the finetuning dataset size leads to more iterations to reach the bottom of the U-curve, which results in a model that drifts further from the base model and a higher pretraining loss. We use a factor (1+Bp) in front of the N parameter. It accounts for the fact that a fraction p of the parameters are allocated to the pretraining task rather than the finetuning one, and they are B times more efficient in this context. Typically, we observe B\gg 1 since the features of the pretrained model are already aligned with the pretraining task, which translates into more efficient parameter allocation. Coefficients are given in \autoref{tab:scaling_laws_comparison}. Since fine-tuning is performed with a learning rate slightly higher than the terminal LR of pretraining, the value of \mathcal{L}-pt^0 corresponds to the rewarmed pretrained model, i.e, the model pretrained with the LR used for fine-tuning, and not the terminal LR of the cosine scheduling. Differences are highlighted in~\autoref{tab:lrrewarmed}. The average Bootstrapped MRE across domains is \bm{0.40%}.
2025Proposed forgetting scaling law proposed non-standard sliceMean Relative Error (MRE)0.83%Language Modeling · fine-tuned · params=334M parameters · fit-max-model-size=334M parameters · extrapolation-setup=B · prediction-model-sizes=Large, XL · fit-max-finetuning-tokens=3000K · prediction-finetuning-tokens=9000K, 30000KScaling Laws for Forgetting during Finetuning with Pretraining Data Injection
Source quote
L376: \multirow{2}{*}{B} │ Large, XL │ \multirow{2}{*}{2.01%} │ \multirow{2}{*}{0.83%}
2024SIFT (λ′=0.01) proposed non-standard slicePercentage of bits per byte relative to the base model (lower is better)73.5%Language Modeling · split: test · fine-tuned · iterations=50 · lambda-prime=0.01Efficiently Learning at Test-Time: Active Fine-Tuning of LLMs
Source quote
L1518: All │ 112.9\reso{0.9} │ 78.5\reso{0.6} │ 76.7\reso{0.6} │ 73.5\reso{0.6} │ 73.2\reso{0.7} │ 74.3\reso{0.7} │ 74.9\reso{0.7} │ 85.6\reso{0.8} │ 129.8\reso{1.2} │ \raisebox{-1pt}{\vline height 7pt} │ 78.3\reso{0.5} │ 133.3\reso{1.2} │ \downres{5.4}
2024SIFT test-time fine-tuning of Phi-3 (3.8B, LoRA) proposedBits per byte (lower is better)0.595 bits per byteLanguage Modeling · split: test · fine-tuned · params=3.8B · backbone=Phi-3 3.8B · fine-tuning=LoRA · test-set-subset=0.1% · selected-examples=50Efficiently Learning at Test-Time: Active Fine-Tuning of LLMs
Source quote
L828: The leading base model Gemma-2~\citep[27B,][]{team2024gemma}, which is 7× larger and more recent than Phi-3, achieves 0.629 bits per byte, whereas our test-time fine-tuned Phi-3 achieves 0.595 bits per byte.
2024DGA dist. reweighting (N=23, k=262k) proposed non-standard sliceavg. Pile loss2.76Language Modeling · split: val · params=750M · N=23 · subset=22-domain average · model-size=750M · training-data=MMLU_aDynamic Gradient Alignment for Online Data Mixing
Source quote
L450: DGA dist. reweighting (N=23, k=262k) │ 2.74 │ 28.0 % │ 2.76
2024SLM proposed non-standard sliceSpec. PPL19.31Language Modeling · fine-tuned · params=1M · subset=macro-average · pretraining-cost=100 GPUh · specialization-tokens=1MSpecialized Language Models with Cheap Inference from Limited Domain Data
Source quote
L480: SLM │ 100 │ 798k │ 8 │ 20.51 │ 33.74 │ 19.31 │ 15.61 │ 12.37
2024SLM-pn proposed non-standard sliceSpec. PPL18.57Language Modeling · fine-tuned · params=1M · subset=macro-average · pretraining-cost=100 GPUh · specialization-tokens=1MSpecialized Language Models with Cheap Inference from Limited Domain Data
Source quote
L482: SLM-pn │ 100 │ 195k │ 8 │ 18.90 │ 33.44 │ 18.57 │ 15.58 │ 12.53
2024SLM proposed non-standard sliceSpec. PPL18.22Language Modeling · fine-tuned · params=1M · subset=macro-average · pretraining-cost=400 GPUh · specialization-tokens=1MSpecialized Language Models with Cheap Inference from Limited Domain Data
Source quote
L490: SLM │ 400 │ 3195k │ 8 │ 19.17 │ 36.61 │ 18.22 │ 14.80 │ 12.00
2024SLM-pn proposed non-standard sliceSpec. PPL17.17Language Modeling · fine-tuned · params=1M · subset=macro-average · pretraining-cost=400 GPUh · specialization-tokens=1MSpecialized Language Models with Cheap Inference from Limited Domain Data
Source quote
L492: SLM-pn │ 400 │ 780k │ 8 │ 16.90 │ 32.54 │ 17.17 │ 14.48 │ 11.86
2024FFN-Wider GPT w/ CEA proposedAverage Pile score-4.685Language Modeling · split: val · hidden-size=768 · pretraining-performance=alignedHow does Architecture Influence the Base Capabilities of Pre-trained Language Models? A Case Study Based on FFN-Wider and MoE Transformers
Source quote
L723: Average │ -4.706 │ \ \ -4.728 │ -4.685 │ -3.878 │ \ \ -3.911 │ -3.882
2024FFN-Wider GPT proposedAverage Pile score-4.728Language Modeling · split: val · hidden-size=768 · pretraining-performance=alignedHow does Architecture Influence the Base Capabilities of Pre-trained Language Models? A Case Study Based on FFN-Wider and MoE Transformers
Source quote
L723: Average │ -4.706 │ \ \ -4.728 │ -4.685 │ -3.878 │ \ \ -3.911 │ -3.882
2024DEPT-GLOB proposedValidation perplexity (↓)31.6Language Modeling · split: val · continued-pretraining · layers=24DEPT: Decoupled Embeddings for Pre-training Language Models
Source quote
L207: \textbf{\texttt{ACT}\xspace} │ - \textbf{\texttt{GLOB}\xspace} │ 4.8 │ 25.7 │ 38.2 │ 17.3 │ 5.4 │ 47.7 │ 25.7 │ 14.7 │ 68.3 │ 32.7 │ 9.9 │ 20 │ 14 │ 32.2 │ 46.5 │ 39.8 │ 94.8 │ 31.6
2024SLM (Table 3 row label) proposedperplexity18.2Language Modeling · params=1M · pretraining-budget=<650 GPUh · specialization-tokens=1MProjected Language Models: A Large Model Pre-Segmented Into Smaller Ones
Source quote
L116: 18.2
2024VcLLM proposedvalidation perplexity51.0Language Modeling · split: val · params=160M · model=Pythia 160M · warm-up=none · precision=FP16 · gradient-bits=2.6VcLLM: Video Codecs are Secretly Tensor Codecs
Source quote
L350: as they require a warm-up period for the initial 15% of training iterations where gradients remain uncompressed. Empirically, 1-bit Adam achieves a validation perplexity of 54.6, while 1-bit LAMB reaches 79.0. VcLLM, however, achieves 51.0 with an average of only 2.6 bits, close to that of 48.2 for uncompressed training. To further explore the limits of our method, we introduce two variants with lower bit-widths. Our method can compress the gradients to 1.4 bits with a 54.8 perplexity, which is comparable to the best baseline using an average of 3.5 bits. When we further reduce the bit-width to 0.8 bits, our method converges early with a 78.7 validation perplexity, performing on par with the 1-bit LAMB baseline but at a much lower bit-width. This demonstrates the versatility of our method, as it can trade off between compression ratios and trained model quality across a wide range of bit-widths. Moreover, it is important to note that 1-bit Adam and 1-bit LAMB replace the widely adopted Adam optimizer, resulting in significant instability during training, as evidenced by large fluctuations in training loss. In contrast, VcLLM does not make any assumptions about the training progress, eliminates the need for a warm-up period, and maintains stability throughout training.
2024KFAC proposedPerplexity on sampled Pile test set17.24Language Modeling · split: test · fine-tuned · params=350M · lambda=1e6 · method=LoRA · backbone=OPT-350M · regularization=KFACBayesian Parameter-Efficient Fine-Tuning for Overcoming Catastrophic Forgetting
Source quote
L228: \mathbf{10 (6)} │ 84.21% │ 17.24
2024GPT2-small no-LN v4 (1200 steps) proposedcross-entropy loss2.900Language Modeling · fine-tuned · steps=1200 · backbone=GPT2-small · layer-norm=removedYou can remove GPT2's LayerNorm by fine-tuning
Source quote
L230: no-LN v4 (1200 steps\footnotemark[1]) │ 3.000 │ 2.900 │ 29.51%
2023Avg-K (g=64) proposed non-standard slicePerplexity14.80Language Modeling · split: out-of-domain · subset=22-domain average · block-size=64Towards A Unified View of Sparse Feed-Forward Network in Pretraining Large Language Model
Source quote
L835: Average │ 16.96 │ 15.75 │ 15.35 │ 16.45 │ 15.19 │ 16.44 │ 14.91 │ 14.80
2023Avg-K (g=4096) proposed non-standard slicePerplexity16.44Language Modeling · split: out-of-domain · subset=22-domain average · block-size=4096 · load-balancing-loss=disabledTowards A Unified View of Sparse Feed-Forward Network in Pretraining Large Language Model
Source quote
L835: Average │ 16.96 │ 15.75 │ 15.35 │ 16.45 │ 15.19 │ 16.44 │ 14.91 │ 14.80
2023Avg-K (g=256) proposed non-standard slicePerplexity14.91Language Modeling · split: out-of-domain · subset=22-domain average · block-size=256Towards A Unified View of Sparse Feed-Forward Network in Pretraining Large Language Model
Source quote
L835: Average │ 16.96 │ 15.75 │ 15.35 │ 16.45 │ 15.19 │ 16.44 │ 14.91 │ 14.80
2023DoReMi (280M->8B) proposedlog-perplexity1.41Language Modeling · params=8B · proxy-params=280MDoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretraining
Source quote
L404: Pile-CC │ 1.64 │ 1.51 │ 1.48 │ 1.41 │ 1.55
2023MIM-2.7B proposed non-standard sliceperplexity9.24Language Modeling · params=2.7BMeet in the Middle: A New Pre-training Paradigm
Source quote
L419: MIM-2.7B │ 11.17 │ 9.54 │ 11.35 │ 8.76 │ 9.24
2023Cerebras-GPT (13B) proposedPile test xent1.572 nats/tokenLanguage Modeling · split: test · params=13B · training-flops=2.3e22Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Cluster
Source quote
L656: 13B │ 2.3e22 │ 1.572 │ 0.513 │ 0.766 │ 0.646 │ 0.696 │ 0.714 │ 0.367 │ 0.286 │ 0.570
2023Cerebras-GPT (590M, μP) proposedPile test xent2.155 nats/tokenLanguage Modeling · split: test · params=590M · training-flops=6.1e19 · parameterization=μPCerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Cluster
Source quote
L660: 590M │ 6.1e19 │ 2.155 │ 0.295 │ 0.644 │ 0.517 │ 0.362 │ 0.470 │ 0.194 │ 0.172 │ 0.379
2022MegaBlocks dMoE-XS proposedtraining time required to reach a given validation loss1.38×Language Modeling · split: val · experts=64 · routing=top-1 · hardware=8 A100 SXM4 80GB GPUs · comparison=Tutel MoEMegaBlocks: Efficient Sparse Training with Mixture-of-Experts
Source quote
L276: \caption{MegaBlocks dMoEs, Tutel MoEs and Megatron-LM Transformers Trained on The Pile. Even with the most efficient capacity\_factor for each MoE, MegaBlocks reduces the training time required to reach a given validation loss by 1.38×, 1.37× and 1.18× for MoE-XS, MoE-Small and MoE-Medium respectively. In addition to these speedups, our approach reduces the cost of using MoEs by decreasing the number of hyperparameters that need to be re-tuned for each model and task.}
2022MegaBlocks dMoE-Small proposedtraining time required to reach a given validation loss1.37×Language Modeling · split: val · experts=64 · routing=top-1 · hardware=8 A100 SXM4 80GB GPUs · comparison=Tutel MoEMegaBlocks: Efficient Sparse Training with Mixture-of-Experts
Source quote
L276: \caption{MegaBlocks dMoEs, Tutel MoEs and Megatron-LM Transformers Trained on The Pile. Even with the most efficient capacity\_factor for each MoE, MegaBlocks reduces the training time required to reach a given validation loss by 1.38×, 1.37× and 1.18× for MoE-XS, MoE-Small and MoE-Medium respectively. In addition to these speedups, our approach reduces the cost of using MoEs by decreasing the number of hyperparameters that need to be re-tuned for each model and task.}
2022MegaBlocks dMoE-Medium proposedtraining time required to reach a given validation loss1.18×Language Modeling · split: val · experts=64 · routing=top-1 · hardware=8 A100 SXM4 80GB GPUs · comparison=Tutel MoEMegaBlocks: Efficient Sparse Training with Mixture-of-Experts
Source quote
L276: \caption{MegaBlocks dMoEs, Tutel MoEs and Megatron-LM Transformers Trained on The Pile. Even with the most efficient capacity\_factor for each MoE, MegaBlocks reduces the training time required to reach a given validation loss by 1.38×, 1.37× and 1.18× for MoE-XS, MoE-Small and MoE-Medium respectively. In addition to these speedups, our approach reduces the cost of using MoEs by decreasing the number of hyperparameters that need to be re-tuned for each model and task.}
2022Decay (proposed decaying fast weights) proposedPPL14.6Language Modeling · split: val · fine-tuned · backbone=GPT-2 · recurrent-state-size=32Fine-Tuning Pre-trained Transformers into Decaying Fast Weights
Source quote
L127: 14.6
20217.5B Retro proposed non-standard slicebits-per-bytes0.653Language Modeling · split: test · params=7.5B · subset=books3Improving Language Models by Retrieving from Trillions of Tokens
Source quote
L1033: books3 │ 0.792 │ 0.802 │ 0.835 │ 0.706 │ 0.653
2021Ours dense 6.7B proposed non-standard slicePerplexity10.05Language Modeling · params=6.7B · subset=average across subsets · training-tokens=300BEfficient Large Scale Language Modeling with Mixtures of Experts
Source quote
L419: Average │ 21.23 │ 15.47 │ 12.36 │ 10.97 │ 10.05 │ 9.39 │ 13.97 │ 11.40 │ 10.28 │ 9.11
2021Ours MoE 1.1T proposed non-standard slicePerplexity9.11Language Modeling · params=1.1T · subset=average across subsets · training-tokens=300BEfficient Large Scale Language Modeling with Mixtures of Experts
Source quote
L419: Average │ 21.23 │ 15.47 │ 12.36 │ 10.97 │ 10.05 │ 9.39 │ 13.97 │ 11.40 │ 10.28 │ 9.11