Explore the research collection
5 entries · Follow this search
- Paper
Optimizing Large Language Model Training Using FP4 Quantization
First from-scratch FP4 LLM pretraining: Differentiable Gradient Estimator (DGE, k=5) corrects E2M1 weight grads vs STE, and Outlier Clamping and Compensation (OCC, α=0.99 plus a ~2% sparse residual) keeps activations from collapsing. Mixed-precision W4A4 GeMM simulated on H100 FP8 cores with token-wise activation and channel-wise weight scaling. LLaMA-2 1.3B/7B/13B on 100B DCLM tokens: train loss 2.55/2.17/1.97 vs BF16 2.49/2.07/1.88; zero-shot avg 53.13/54.42/54.95 vs 53.23/53.87/54.44. Direct W4A4 diverges. ICML 2025. Framework https://aka.ms/MS.AMP (Azure/MS-AMP).
- Paper
Compute as Teacher: Turning Inference Compute Into Reference-Free Supervision
CaT aggregates G=8 policy rollouts into a pseudo-reference (synthesis via a frozen anchor) then derives rewards: answer-match in verifiable domains, self-proposed binary rubrics scored by an LLM judge in non-verifiable ones. On HealthBench, relative gains up to +30% vs the initial policy and self-proposed rubrics match physician rubrics; on MATH-500 up to +33%. Trained policy matches or exceeds inference-time synthesis at 9× less test-time compute. Gemma 3 4B / Qwen 3 4B / Llama 3.1 8B. No official code on abs.
- Paper
Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting
Treats forgetting as local Hessian curvature along the fine-tuning direction. SAM, larger peak LR, and shorter WSD annealing each improve the learning–forgetting Pareto frontier even when they do not lower base pretraining loss. OLMo-60M / 192B tokens: SAM cuts StarCoder forgetting ~80% at matched FT loss; gap widens with token budget. Late-only SAM during WSD decay (~10% of steps) recovers much of full-SAM robustness. OLMo-2-1B mid-train 50B tokens: SAM vs OLMo recipe reduces forgetting 31% after MetaMath SFT and 40% after 4-bit NF4 quantization despite a slightly weaker base (42.9 vs 43.2 avg). Hessian analysis: SAM and large peak LR lower fine-tuning-directional sharpness. No official code on abs.
- Paper
OPUS: Towards Efficient and Principled Data Selection in Large Language Model Pre-training in Every Iteration
OPUS (Optimizer-induced Projected Utility Selection) linearizes AdamW/Muon one-step updates, sketches ghost outer-product gradients with CountSketch, and Boltzmann-samples a batch aligned with a Bench-Proxy retrieved from the corpus. Scoring overhead 4.7% vs naive 3.5×. GPT-2 XL Muon FineWeb 30B: avg 41.75 vs random 40.29, beating 60B random (41.29) and static filters. FineWeb-Edu: OPUS on score-3 beats baselines trained on score 4+5 (XL 44.99). Qwen3-8B-Base CPT on SciencePedia: 0.5B tokens beats 3B full CPT. Code https://github.com/gszfwsb/OPUS.
- Paper
One LR Doesn't Fit All: Heavy-Tail Guided Layerwise Learning Rates for LLMs
Uniform LR ignores Transformer heterogeneity. LLR fits a power-law to each layer's weight-correlation ESD (PL_Alpha_Hill) and maps weaker heavy tails (embeddings/FFN) to larger LRs and stronger tails (attention) to smaller ones, with embedding pinned at the upper bound, a soft LR switch, and updates only in the first 20% of tokens. Transfers the uniform baseline's near-optimal global LR. LLaMa-1B FineWeb: zero-shot avg 47.09→49.02; 3B 48.58→50.61; up to 1.5x token speedup. Beats LARS/LAMB/Sharpness/TempBalance/AlphaDecay; also helps Muon and GPT-nano. Code https://github.com/hed-ucas/Layer-wise-Learning-Rate.