C4
255 papers · 682 extracted observations · language modeling · language · Markdown · CSV · JSON API
Comparable Cohort Timeline (proposed/measured methods; excludes quoted baselines)
Proposed/measured results matching split=val.
Click any point on the timeline to inspect method, protocol, and paper.
| # | Method | Score ↓ | Year | Protocol / Settings | Paper & Evidence |
|---|---|---|---|---|---|
| 1 | MatLM-S SOTA frontier | 2.987 | 2024-01-01 | params=850M · model-size=850M · granularity=S · 850M model-size comparison; S is the smallest nested granularity; development set. | MatFormer: Nested Transformer for Elastic InferenceSource quoteLoss │ 3.017 │ 2.987 │ 2.971 │ 2.934 │ 2.91 │ 2.886 │ 2.84 │ 2.843 |
| 2 | LLaMA-2-13B, 3-bit, Soft Prompt (+1 variant) | 6.75 | 2024-01-01 | params=13B · prompt=Soft Prompt · backbone=LLaMA-2-13B · quantization=3-bit GPTQ · 3-bit GPTQ-compressed model; Soft Prompt recovery; validation PPL on C4. | Soft Prompt Recovers Compressed LLMs, TransferablySource quote6.75 |
| 3 | LLaMA-7B, 50% sparsity + 4-bit quantization, with learned prompt SOTA frontier (+1 variant) | 7.38 | 2023-05-01 | params=7B · prompt=learned · backbone=LLaMA-7B · sparsity=50% · quantization=4-bit · Joint 50% sparsity and 4-bit quantization; prompt learned on the C4 training set. | Compress, Then Prompt: Improving Accuracy-Efficiency Trade-off of LLM Inference with Transferable PromptSource quote\begin{tabular}[c]{@{}c@{}}50% + 4-bit\\(w./ prompt) │ 7.38 │ 7.31 │ 10.64 |
| 4 | ReALLM (10% training) | 7.59 | 2025-01-01 | params=13B · LLaMA2-13B; 2 bits, rank r=64, bucket d=4; validation dataset, sequence length 2048; … | ReALLM: a general framework for LLM compression and fine-tuningSource quote\texttt{ReALLM}\ (10% training) │ 2 │ 64 │ 4 │ 7.59 │ 5.99 |
| 5 | Fairy2i-W3-LR3 | 7.85 | 2025-12-01 | params=7B · backbone=LLaMA-2 7B · quantization=2-bit · training-data=30B RedPajama tokens · LLaMA-2 7B; 2-bit as listed in the results row; C4 validation; Fairy2i QAT continues … | Fairy2i: Training Complex LLMs from Real LLMs with All Parameters in {± 1, ± i}Source quote\method{}-W3-LR3 │ 2 │ 7.85 │ 72.73 │ 39.76 │ 53.33 │ 76.17 │ 68.03 │ 62.00 |
| 6 | NeUQI§ (+1 variant) | 9.81 | 2026-01-01 | params=7B · LLaMA 2 7B, 2-bit quantization, group size 128; lightweight distillation, approximate… | NeUQI: Near-Optimal Uniform Quantization Parameter Initialization for Low-Bit LLMsSource quote9.81 |
| 7 | NeUQI (+1 variant) | 9.97 | 2025-05-01 | params=72B · backbone=Qwen 2.5 72B · group-size=128 · quantization=2-bit group-wise · Qwen 2.5 72B; 2-bit group-wise quantization, group size 128; perplexity evaluated on … | NeUQI: Near-Optimal Uniform Quantization Parameter InitializationSource quoteNeUQI │ 6.63 │ 9.97 │ 51.88 │ 81.61 │ 59.23 │ 79.87 │ 75.69 │ 69.66 |
| 8 | DiPaCo 16×16 (P=256) (+4 variants) | 11.38 | 2024-03-01 | params=150M parameters · resolution=16x16 · Early stopping; evaluation may reroute every 64 tokens; path size 150M parameters. | DiPaCo: Distributed Path CompositionSource quote64 │ 11.38 |
| 9 | APOLLO (+1 variant) | 13.02 | 2024-12-01 | rank=256 · steps=150K · params=7B · backbone=LLaMA 7B · 150K-step result (150K column); APOLLO uses rank 256. Table reports validation perple… | APOLLO: SGD-like Memory, AdamW-level PerformanceSource quote\texttt{APOLLO}\xspace │ 1.6G │ 17.55 │ 14.39 │ 13.23 │ 13.02 |
| 10 | Adam + MoLS (+5 variants) | 13.45 | 2026-05-01 | params=1.3B · backbone=LLaMA-1.3B · Full-rank pre-training of LLaMA-1.3B on C4; 13.1B training tokens. Pre-training uses … | Revealing Modular Gradient Noise Imbalance in LLMs: Calibrating Adam via Signal-to-Noise RatioSource quote\brow Adam+\bf{\texttt{MoLS}\xspace} │ ~\bf{28.48} │ \bf{21.94} │ \bf{16.41} │ \bf{13.45} |
| 11 | Fine-grained SMoE | 13.97 | 2024-11-01 | 100,000 training steps; no shared expert; models matched in parameters and computatio… | MH-MoE: Multi-Head Mixture-of-ExpertsSource quoteFine-grained SMoE │ 10.74 │ 9.38 │ 13.97 |
| 12 | FRUGAL, ρ=0.25 (+2 variants) | 14.79 | 2025-01-01 | rho=0.25 · params=350M · backbone=LLaMA 350M · Pre-training on C4; 24B training tokens and 240k iterations. | FRUGAL: Memory-Efficient Optimization by Reducing State Overhead for Scalable TrainingSource quote\texttt{FRUGAL},\;\rho=0.25 │ 23.59 │ 18.60 │ 14.79 |
| 13 | MoRE-Qwen (+1 variant) | 15.57 | 2026-01-01 | params=114M · backbone=Qwen · 114M parameters; validation PPL. The Qwen3MoE and Mixtral comparisons are not FLOPs-m… | MoRE: Mixture of Reused ExpertsSource quoteMoRE-Qwen │ 15.57 |
| 14 | PLUMAGE-S/MP (+2 variants) | 16.29 | 2025-05-01 | rank=512 · params=1B · tokens=26.2B · Appendix table comparison; 1B configuration: rank/hidden 512/2048, 26.2B tokens seen,… | PLUMAGE: Probabilistic Low rank Unbiased Min Variance Gradient Estimator for Efficient Large Model TrainingSource quote\mathrm{PLUMAGE-S/MP} │ 28.73 │ 21.81 │ 16.29 |
| 15 | AdafacDiag w/ momentum | 17.21 | 2026-01-01 | params=350M · backbone=LLaMA · training-tokens=6.4B · Reported for the LLaMA model trained on C4; the table column specifies 350M parameter… | Improving Adaptive Moment Optimization via Preconditioner DiagonalizationSource quote\textcolor{blue}{AdafacDiag} w/ momentum (ours) │ 28.91 │ 22.54 │ 17.21 |
| 16 | GNMR + Δ-GNMR (α=1.5, β=1.3) (+1 variant) | 18.84 | 2026-06-01 | params=350M · backbone=LLaMA-2 · model-size=350M · thresholds=α=1.5, β=1.3 · training-tokens=6.4B · activation-quantization=4/8-bit · Reported at 6.4B training tokens; activation quantization. The table’s GNMR + Δ-GNMR … | GNMR: Runtime Stability Control for Low-Precision Large Language Model TrainingSource quote2.2B tokens │ 6.4B tokens ADAPT │ N.A. │ N.A. │ 215.10 │ 88.97 \\\multirow{3}{*}{\text{GNMR} + \Delta\text{-GNMR}} │ 1.5 │ 1.3 │ 24.66 │ 18.84 |
| 17 | LORENZA (+1 variant) | 18.87 | 2025-01-01 | params=350M · LLaMA 350M pre-training; 6.4B training tokens; rank 256 / d_model 1024; NVIDIA H200. | Lorenza: Enhancing Generalization in Low-Rank Gradient LLM Training via Efficient Zeroth-Order Adaptive SAMSource quoteLORENZA │ 34.29 (0.24G) │ 24.92 (0.53G) │ 18.87 (1.24G) |
| 18 | LittleBit (0.10 BPW) | 18.88 | 2025-01-01 | model=Llama2-13B · params=13B · quantization=0.10 BPW · Validation-set perplexity; lower is better. | LittleBit: Ultra Low-Bit Quantization via Latent FactorizationSource quoteLittleBit │ 0.10 │ 18.88 │ 87.59 |
| 19 | NeuroTrails | 20.7 | 2025-05-01 | params=350M · backbone=LLaMA-350M · Validation perplexity on C4; the summary table does not specify the NeuroTrails confi… | NeuroTrails: Training with Dynamic Sparse Heads as the Key to Effective EnsemblingSource quoteNeuroTrails │ 78.1 │ 20.7 |
| 20 | FIRE | 21.24 | 2024-01-01 | model_size=base · long_context_tuning=none · evaluation_sequence_length=8192 · pretraining_sequence_length=2048 · Base model; pretrained on C4 with sequence length 2048 and evaluated at sequence leng… | Functional Interpolation for Relative Positions improves Long Context TransformersSource quoteThe results are shown in Fig. \ref{fig:teaser_lm_ppl}, \ref{fig:lm_ppl}, \ │ \ref{fig:lm_ppl_base_arxiv_gitub}. We first notice that FIRE consistently achieves lower perplexity across different model sizes, validation sequence lengths, and datasets. In comparison to existing approaches, the performance gain is particularly significant for validation sequences that are longer than training sequences (out-of-distribution sequence lengths), showing better length generalization behavior. For example, for base models trained on sequence length 2048 and evaluated on sequence length 8192, FIRE outperforms the best baseline method, Kerple, by 2.28 points (21.24 v.s. 23.52 perplexity). Methods such as RoPE achieve strong performance for in-distribution sequence lengths, but their performances quickly degrade with longer inputs. |
| 21 | ReLoRA (low-rank pre-training) | 22.48 | 2024-01-01 | params=250M · parameters=250M · training-tokens=6.8B · 250M model; 6.8B training tokens. ReLoRA wraps attention and fully connected paramete… | ReLoRA: High-Rank Training Through Low-Rank UpdatesSource quoteLow-rank pre-training with \methodname{} │ 38.28 │ 25.04 │ 22.48 │ 22.48 |
| 22 | AlphaDecay (+1 variant) | 22.66 | 2025-01-01 | params=135M · backbone=LLaMa-135M · optimizer=AdamW · weight-decay=0.1 · LLaMa-135M pre-training with AdamW; weight decay 0.1 | AlphaDecay: Module-wise Weight Decay for Heavy-Tailed Balancing in LLMsSource quote\texttt{AlphaDecay} │ 31.20 │ 31.65 │ 32.45 │ 22.66 │ 23.04 │ 23.98 } \label{table:Additional experiments:AdamW} |
| 23 | GaLore-SARA-Adam (+1 variant) | 23.08 | 2025-01-01 | params=130M · backbone=LLaMA 130M · training-tokens=3B · LLaMA 130M; 3B tokens | Breaking the Frozen Subspace: Importance Sampling for Low-Rank Optimization in LLM PretrainingSource quoteGaLore-SARA-Adam │ 30.47 │ 23.08 |
| 24 | E-SPA with normalised skips and layer normalization SOTA frontier (+1 variant) | 24 | 2023-01-01 | skip-configuration=normalised · layer-normalization=enabled · training-iterations=50K · After 50K iterations. | Deep Transformers without Shortcuts: Modifying Self-attention for Faithful Signal PropagationSource quoteE-SPA{} │ Normalised │ 24.0 │ 24.7 |
| 25 | 41M Transformer LM, 5 layers (+1 variant) | 28.8 | 2024-01-01 | layers=5 · params=41M · 41M size class; C4 validation perplexity for the model at the listed depth. | The Impact of Depth on Compositional Generalization in Transformer Language ModelsSource quote5 │ \bfseries 28.8 │ 63.4 │ 82.5 │ 76.8 │ \bfseries 89.9 |
| 26 | AdaSVD | 239.18 | 2026-01-01 | params=7B · adaComp=enabled · backbone=LLaMA-2-7B · compression-ratio=60% · calibration-samples=256 · LLaMA-2-7B; target compression ratio 60%; adaComp enabled; 256 randomly selected Wiki… | AdaSVD: Singular Value Decomposition with Adaptive Mechanisms for Large Multimodal ModelsSource quote\texttt{AdaSVD} │ 60% │ \ding{51} │ 50.33 │ 1,216.95 │ 239.18 |
Regimepre-training (45)pretraining (29)fine-tuned (19)post-training-quantization (8)quantized (8)inference (6)
Showing 28 of 28 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 2026 | ReCoVer-3D proposed | effective throughput (tokens per second per alive GPU) | 2.23× | pre-training · model=7B LLaMA-style · params=7B · backbone=LLaMA-style · comparison=checkpoint-and-restart · parallelism=3D · grad-accumulation=8 | ReCoVer: Resilient LLM Pre-Training System via Fault-Tolerant Collective and Versatile WorkloadSource quoteL4: Pre-training large language models on massive GPU clusters has made hardware faults routine rather than rare, driving the need for resilient training systems. Yet existing frameworks either focus on specific parallelism schemes or risk drifting away from a failure-free training trajectory. We propose ReCoVer\xspace, a resilient LLM pre-training system that upholds a single invariant: each iteration keeps the number of microbatches constant, ensuring per-iteration gradients remain stochastically equivalent to a failure-free run. The framework is organized as three decoupled protocol layers: (1) Fault-tolerant collectives that isolate faults from propagating across replicas; (2) in-step fine-grained recovery that preserves intra-iteration progress and prevents gradient corruption; (3) versatile-workload policy that dynamically redistributes microbatch quotas across the survivors. The design is parallelism-agnostic, integrating directly with both 3D parallelism and Hybrid Sharded Data Parallel (HSDP) as a drop-in substrate. We evaluate our implementation on end-to-end pre-training tasks for up to 512 GPUs, ReCoVer\xspace successfully preserves the training trajectory from a failure-free reference despite of 256 GPUs lost spread across the run. For comparison with checkpoint-and-restart baselines, ReCoVer\xspace demonstrates 2.23× higher effective throughput after successive failures. This advantage results in ReCoVer\xspace processing 74.9% more tokens at 234 GPU-hours, with the gap widening as the training prolongs~\footnote{Under review, code will be open-sourced afterwards.}. |
| 2026 | Gemma3 1B A4W1 SCQ128 proposed | C4 accuracy | 0.4068 | pre-training · params=6.5B · backbone=Gemma3 1B · sparsity=dense · context-length=512 · weight-precision=W1 · activation-precision=A4 | Robust Training of Neural Networks at Arbitrary Precision and SparsitySource quoteL288: Our analysis identifies two critical results: First, for any given computational budget, an asymmetric bit allocation that prioritizes activation precision remains the superior strategy. Second, and most notably, introducing 2:4 sparsity to the A4W1 model simultaneously cuts the computational cost in half while also increasing model accuracy (from 0.4068 to 0.4080). This outcome confirms that the most effective path to efficiency is through the synergistic combination of our core denoising transform, asymmetric bit allocation, sub-channel quantization, and structured sparsity. |
| 2026 | Gemma3 1B A4W1 SCQ128 S(2:4) proposed | C4 accuracy | 0.4080 | pre-training · params=6.5B · backbone=Gemma3 1B · sparsity=2:4 · context-length=512 · weight-precision=W1 · activation-precision=A4 | Robust Training of Neural Networks at Arbitrary Precision and SparsitySource quoteL288: Our analysis identifies two critical results: First, for any given computational budget, an asymmetric bit allocation that prioritizes activation precision remains the superior strategy. Second, and most notably, introducing 2:4 sparsity to the A4W1 model simultaneously cuts the computational cost in half while also increasing model accuracy (from 0.4068 to 0.4080). This outcome confirms that the most effective path to efficiency is through the synergistic combination of our core denoising transform, asymmetric bit allocation, sub-channel quantization, and structured sparsity. |
| 2026 | Gemma3 4B A4W1 SCQ128 S(2:4) proposed | C4 accuracy | 0.4517 | pre-training · params=26B · backbone=Gemma3 4B · sparsity=2:4 · training-tokens=26B · weight-precision=W1 · activation-precision=A4 | Robust Training of Neural Networks at Arbitrary Precision and SparsitySource quoteL295: Our results, visualized in Figure 4, demonstrate that a larger model aggressively quantized with our method can be superior to a smaller model, even one at higher precision. The Gemma3 4B model, quantized to A4W1 with 2:4 sparsity, achieves higher accuracy (0.4517) than both the BF16 |
| 2026 | Gemma3 1B A4W4 SCQ128 proposed | C4 accuracy | 0.4443 | pre-training · params=26B · backbone=Gemma3 1B · training-tokens=26B · weight-precision=W4 · activation-precision=A4 | Robust Training of Neural Networks at Arbitrary Precision and SparsitySource quoteL296: Gemma3 1B (0.4494) and the quantized A4W4 Gemma3 1B (0.4443). The energy efficiency analysis reveals an even clearer advantage: the sparse, quantized 4B model is not only more accurate than a quantized 1B model but achieves this with a significantly lower total computational cost. |
| 2026 | PRAC proposed | PPL | 15.41 | pre-training · rank=r1=r2=floor(0.3n) linear; floor(0.2n) nonlinear · model=LLaMA-1B · params=1B · backbone=LLaMA-1B · batch_size=128 · sequence_length=256 | PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient TrainingSource quoteL289: 15.41 │ 60.48 │ -36% |
| 2026 | PRAC proposed | MEM | 60.48 | pre-training · rank=r1=r2=floor(0.3n) linear; floor(0.2n) nonlinear · model=LLaMA-1B · params=1B · backbone=LLaMA-1B · batch_size=128 · sequence_length=256 | PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient TrainingSource quoteL289: 15.41 │ 60.48 │ -36% |
| 2025 | GaLore + FSDP proposed | Memory per GPU | 72.84GB | pre-training · rank=one-quarter full rank · params=8B · backbone=Llama3 8B · gpu_count=2 · optimizer=Adam · sequence_length=2048 | GaLore 2: Large-Scale LLM Pre-Training by Gradient Low-Rank ProjectionSource quoteL104: Llama3 8B │ 2048 │ GaLore + FSDP │ 72.84GB |
| 2025 | RSO proposed | Memory (GB) | 54.81 GB | pre-training · model=LLaMA-7B · steps=50K · params=7B · backbone=LLaMA-7B · hardware=8× A800 GPUs · batch-size=16 · measurement=per-device memory | A Memory Efficient Randomized Subspace Optimization Method for Training Large Language ModelsSource quoteL497: RSO │ 54.81 │ 64 │ 15.99 |
| 2025 | RSO proposed | Perplexity | 15.99 | pre-training · model=LLaMA-7B · steps=50K · params=7B · backbone=LLaMA-7B · hardware=8× A800 GPUs · batch-size=16 | A Memory Efficient Randomized Subspace Optimization Method for Training Large Language ModelsSource quoteL497: RSO │ 54.81 │ 64 │ 15.99 |
| 2025 | SubTrack++ proposed | Evaluation loss | 3.37 | pre-training · steps=100k · params=7B · backbone=Llama-7B | SubTrack++ : Gradient Subspace Tracking for Scalable LLM TrainingSource quoteL273: Figure \ref{fig:modular} demonstrates the pre-training of a 1B-parameter Llama model across several baselines. SubTrack++ has the fastest convergence in both training steps and wall-time, highlighting the effectiveness of geometry-aware optimization in improving performance and reducing resource consumption. To further assess its generalization in longer training regimes and larger models, we extend training to 100k steps and compare SubTrack++ with GaLore. As shown in Figure \ref{fig:7b-long}, SubTrack++ converges substantially faster, achieving an evaluation loss of 3.37 (a significant improvement over the 10k-step setting), while GaLore reaches 4.64 under the same conditions. |
| 2025 | EcoSpa proposed | # Mem. | 3.88 GB | pre-training · params=1B · backbone=LLaMA-1B | EcoSpa: Efficient Transformer Training with Coupled SparsitySource quoteL196: EcoSpa │ 15.60 │ 40.3h │ 933.94 │ 3.88 │ 35211.27 |
| 2025 | LOST proposed | Validation perplexity | 16.48 | split: val · pre-training · steps=40K · params=7B · backbone=LLaMA-7B · batch_size=8 | LOST: Low-rank and Sparse Pre-training for Large Language ModelsSource quoteL357: LOST │ 8 │ 62.15 │ \bf 24.41 │ \bf 16.48 │ \bf 14.01 │ \bf 12.93 │ \bf 12.80 |
| 2025 | 8-bit LOST proposed | Validation perplexity | 17.59 | split: val · pre-training · steps=40K · params=7B · backbone=LLaMA-7B · optimizer=8-bit Adam · batch_size=8 | LOST: Low-rank and Sparse Pre-training for Large Language ModelsSource quoteL358: 8-bit LOST │ 8 │ 50.19 │ 24.67 │ 17.59 │ 15.16 │ \multicolumn{2}{c}{N/A} |
| 2025 | 8-bit LOST proposed | Actual memory footprint per GPU | 50.19 G | split: val · pre-training · steps=40K · params=7B · backbone=LLaMA-7B · optimizer=8-bit Adam · batch_size=8 | LOST: Low-rank and Sparse Pre-training for Large Language ModelsSource quoteL358: 8-bit LOST │ 8 │ 50.19 │ 24.67 │ 17.59 │ 15.16 │ \multicolumn{2}{c}{N/A} |
| 2025 | MISA proposed | Perplexity | 22.11 | split: val · pre-training · params=350M · backbone=LLaMA2-350M · training-tokens=2.7B | MISA: Memory-Efficient LLMs Optimization with Module-wise Importance SamplingSource quoteL98: \item[E2.] Pre-training. We trained the LLaMA2 130M and 350M variant \citep{lialin2023relora} on the C4 dataset \citep{raffel2020exploring}. In 350M model training, MISA achieved a perplexity of 22.11 after 2.7B training tokens, significantly outperforming GaLore’s 24.34 \citep{zhao2024galore} , and approaching Adam’s 21.3. |
| 2025 | Adam+SGG proposed | Validation perplexity (PPL) | 14.30 | split: val · pre-training · params=1B · backbone=LLaMA-1B · sequence-length=256 · training-tokens=13.1B · batch-size-tokens=131000 | Taming LLMs by Scaling Learning Rates with Gradient GroupingSource quoteL491: \brow Adam+\bf{SGG} │ \bf{Ours} │ 30.31 │ 0.36G │ 22.18 │ 0.76G │ 17.28 │ 2.06G │ 14.30 │ 7.80G |
| 2024 | 8-bit GradNormLoRP (r=1024) proposed | memory | 15.29GB | pre-training · rank=1024 · params=7B · tokens=10.5B · backbone=LLaMA 7B · precision=8-bit · training-steps=80K | Gradient Weight-normalized Low-rank Projection for Efficient LLM TrainingSource quoteL306: Scaling to 7B models is crucial for demonstrating GradNormLoRP's effectiveness in practical LLM pre-training. We evaluate GradNormLoRP on an LLaMA 7B architecture, which has an embedding size of 4096 and 32 layers. The model is trained for 80K steps with 10.5B tokens, using 8-node parallel training on 32 A100 GPUs. Due to computational constraints, we compare 8-bit GradNormLoRP (r = 1024) with 8-bit Adam, performing a single trial without hyperparameter tuning. As shown in Table~\ref{table:2-spr}, 8-bit GradNormLoRP not only has a lower memory footprint but also achieves better performance metrics. Specifically, 8-bit GradNormLoRP requires 15.29GB of memory, significantly less than the 18.36GB and 26.47GB required by 8-bit GaLore and 8-bit Adam, respectively. |
| 2024 | 8-bit GradNormLoRP (r=1024) proposed | validation perplexity | 15.41 | split: val · pre-training · rank=1024 · params=7B · tokens=10.5B · backbone=LLaMA 7B · precision=8-bit · training-steps=80K | Gradient Weight-normalized Low-rank Projection for Efficient LLM TrainingSource quoteL307: In terms of validation perplexity, 8-bit GradNormLoRP consistently outperforms other methods across training steps, achieving lower perplexity with higher ranks. At 20K steps, 8-bit GradNormLoRP reaches a perplexity of 19.33, compared to 20.19 for 8-bit GaLore and 20.65 for 8-bit Adam. This trend persists at 40K, 60K, and 80K steps, where 8-bit GradNormLoRP achieves 15.41 perplexity, outperforming 8-bit GaLore (16.08) and 8-bit Adam (16.24). Its superior performance stems from efficient low-rank adaptation during gradient projection, optimizing memory usage and enhancing training efficiency, making it a highly effective solution for pre-training LLMs with improved hardware utilization. |
| 2024 | SOAP proposed | Number of iterations (reduction) | 25\% | pre-training · params=360m · batch-size=256k tokens · model-size=360M · target-loss=2.842 · preconditioning-frequency=80 | SOAP: Improving and Stabilizing Shampoo using Adam for Language ModelingSource quoteL301: In~\Cref{fig:bsz} (right), we present the optimal runs for each optimizer (including Shampoo) at the smallest batch size we consider: 256k. SOAP outperforms both Shampoo and AdamW, reducing the number of iterations by 25% compared to AdamW, and by approximately 10% compared to Shampoo. Furthermore, in~\Cref{fig:prec_overhead} (right, bottom), we demonstrate that SOAP also achieves a wall-clock time improvement of \geq 15% over AdamW and around 10% over Shampoo. We note that these results are a preliminary analysis for smaller batch size runs. Our approach of keeping the product of batch size and preconditioning frequency constant may not be optimal, and a better trade-off could likely be found. Furthermore, SOAP’s overhead could potentially be reduced by performing L and R updates in lower precision (instead of fp32). Finally, the diminished efficiency gains of second-order methods at smaller batch sizes are consistent with prior findings~\citep{nqm,ishikawa2024when}. |
| 2024 | 8-bit GaLore proposed | Memory Cost | 5.63 | pre-training · model=LLaMA 1B · params=1B · optimizer=8-bit GaLore · layer-wise=enabled · token-batch-size=256 | GaLore: Memory-Efficient LLM Training by Gradient Low-Rank ProjectionSource quoteL1011: 8-bit GaLore\xspace{} │ 256 │ 5.63 │ 1019.63 │ 5.13 |
| 2024 | OpenDiLoCo, 4 workers, 500 local steps proposed | All-reduce bottleneck share of training time | 6.9\% | pre-training · params=1.1B · workers=4 · local-steps=500 · gradient-precision=FP16 | OpenDiLoCo: An Open-Source Framework for Globally Distributed Low-Communication TrainingSource quoteL207: Nevertheless, due to the significant reduction in communication time, the all-reduce bottleneck only accounts for 6.9% of the training time, minimally impacting the overall training speed. |
| 2024 | autoregressive LM, 85M proposed | log₂(B*) (fitted critical batch size) | 9.54 | pre-training · alpha=1 · params=85M · setting=Chinchilla · batch-size=256 · backbone-size=85M · context-length=512 | How Does Critical Batch Size Scale in Pre-training?Source quoteL620: 85M │ 1293.83 │ 2834258.08 │ 1 │ 9.54 |
| 2024 | autoregressive LM, 151M proposed | log₂(B*) (fitted critical batch size) | 9.90 | pre-training · alpha=1 · params=151M · setting=Chinchilla · batch-size=256 · backbone-size=151M · context-length=512 | How Does Critical Batch Size Scale in Pre-training?Source quoteL621: 151M │ 1752.42 │ 5677478.78 │ 1 │ 9.90 |
| 2024 | autoregressive LM, 302M proposed | log₂(B*) (fitted critical batch size) | 10.44 | pre-training · alpha=1 · params=302M · setting=Chinchilla · batch-size=256 · backbone-size=302M · context-length=512 | How Does Critical Batch Size Scale in Pre-training?Source quoteL622: 302M │ 2095.35 │ 11383269.89 │ 1 │ 10.44 |
| 2024 | autoregressive LM, 604M proposed | log₂(B*) (fitted critical batch size) | 10.88 | pre-training · alpha=1 · params=604M · setting=Chinchilla · batch-size=256 · backbone-size=604M · context-length=512 | How Does Critical Batch Size Scale in Pre-training?Source quoteL623: 604M │ 2459.93 │ 19449688.59 │ 1 │ 10.88 |
| 2024 | autoregressive LM, 1.2B proposed | log₂(B*) (fitted critical batch size) | 11.31 | pre-training · alpha=1 · params=1.2B · setting=Chinchilla · batch-size=256 · backbone-size=1.2B · context-length=512 | How Does Critical Batch Size Scale in Pre-training?Source quoteL624: 1.2B │ 3897.31 │ 43381130.22 │ 1 │ 11.31 |
| 2023 | nanoT5 T5-Base (248M parameters) proposed | pre-training time | 16 hours | pre-training · model=T5-Base · params=248M · hardware=single GPU | nanoT5: A PyTorch Framework for Pre-training and Fine-tuning T5-style Models with Limited ResourcesSource quoteL10: Recognizing this gap, we introduce nanoT5, a resource-efficient, open-source PyTorch framework designed for the pre-training and fine-tuning of T5 models. Inspired by pioneering efforts such as nanoGPT \cite{karpathy2021nanogpt} and Cramming \cite{Geiping2022CrammingTA}, nanoT5 uniquely concentrates on enhancing the training pipeline specifically for T5 encoder-decoder models. Our framework includes optimized configurations and scripts, enabling researchers to pre-train a T5-Base model with 248M parameters on a single GPU in just 16 hours. Every facet, from data preprocessing and model architecture to the learning rate schedule, has been tuned for both efficiency and adaptability. With nanoT5, users can seamlessly initiate model pre-training within minutes of accessing our GitHub repository. |