Stack
Papers I’ve read
36 papers, each with notes.

Pick a paper · ← → ↑ ↓ to move · Enter opens
References
[01]Jan 15, 2026llm · nlp
Attention Is All You Need
Vaswani et al., NeurIPS 2017
The transformer architecture dispenses with recurrence and convolutions entirely, relying solely on attention mechanisms — a deceptively simple idea that reshaped the entire field.
Notes on Attention Is All You Need
- What it does
- Proposes the Transformer — a sequence-to-sequence architecture built entirely on self-attention, with no RNNs or CNNs. Encoder and decoder stacks of multi-head attention + feedforward layers, connected by residual paths and layer norms.
- Why it matters
- It became the backbone of BERT, GPT, and virtually every modern LLM. By removing recurrence, training became fully parallelizable — making it practical to scale to massive datasets and model sizes.
- How it works
- Multi-head self-attention lets each token attend to all others simultaneously. Positional encodings inject sequence order. The encoder maps inputs to a continuous representation; the decoder generates outputs autoregressively attending to both.
- Key result
- SOTA BLEU on WMT'14 English-German and English-French translation, trained in a fraction of the time of prior RNN/CNN models. The quality-to-compute tradeoff was just different enough to shift the whole paradigm.
[02]Feb 17, 2026llm · survey
Language Models are Few-Shot Learners
Brown et al., NeurIPS 2020
GPT-3 demonstrates that scale alone unlocks emergent few-shot behavior — raising more questions about what "learning" really means than it actually answers.
Notes on Language Models are Few-Shot Learners
- What it does
- Trains GPT-3 (175B parameters) on a massive diverse text corpus and evaluates it in zero-, one-, and few-shot settings — where "few-shot" means in-context examples in the prompt, no gradient updates.
- Why it matters
- Demonstrated that large-scale pretraining alone produces a model capable of adapting to arbitrary tasks via prompting. Spawned the prompt engineering era and raised deep questions about generalization, memorization, and what in-context learning actually is.
- How it works
- Standard autoregressive LM training on ~300B tokens from Common Crawl, WebText, Books, and Wikipedia. Evaluation is purely inference-time: condition on k examples (k=0,1,few) and score the model's completion. No fine-tuning whatsoever.
- Key result
- Few-shot GPT-3 matches or beats fine-tuned SOTA on SuperGLUE tasks. Performance scales smoothly and predictably with model size, context length, and data — the scaling laws paper companion made this quantitative.
[03]Jul 2024llm · survey
The Llama 3 Herd of Models
Dubey et al., arXiv 2024
Meta's comprehensive report on Llama 3 — covering pretraining data pipeline, architecture decisions, the full post-training stack, and safety work across 8B, 70B, and 405B scales.
Notes on The Llama 3 Herd of Models
- What it does
- Meta's report on Llama 3, a family of open models with native multilingual, coding, reasoning and tool-use support.
- Why it matters
- The most detailed public account of how a frontier-scale open model is built, from data and scaling to post-training and safety.
- How it works
- Uses a standard dense Transformer up to 405B parameters with a 128K-token context, then post-trains it. Image, video and speech are added compositionally.
- Key result
- The 405B model performs comparably to leading models such as GPT-4 on many tasks. Llama Guard 3 is released for input and output safety.
[04]Dec 2024llm
DeepSeek-V3 Technical Report
DeepSeek-AI, arXiv 2024
A 671B mixture-of-experts model (37B active) that matches leading closed models on 2.788M H800 GPU hours.
Notes on DeepSeek-V3 Technical Report
- What it does
- Presents DeepSeek-V3, a mixture-of-experts language model with 671B total parameters, of which 37B are active per token.
- Why it matters
- Shows an open model can match leading closed models while keeping training cheap and stable.
- How it works
- Combines Multi-head Latent Attention and DeepSeekMoE with load balancing that needs no auxiliary loss, plus a multi-token prediction objective. Pretrained on 14.8T tokens, then SFT and RL.
- Key result
- Beats other open models and is comparable to leading closed ones, using 2.788M H800 GPU hours with no irrecoverable loss spikes.
[05]Mar 2022llm · theory
Training Compute-Optimal Large Language Models
Hoffmann et al., arXiv 2022
Shows most LLMs are severely undertrained — optimal compute allocation requires scaling data proportionally with model size, yielding the Chinchilla recipe: 70B params, 1.4T tokens.
Notes on Training Compute-Optimal Large Language Models
- What it does
- Asks how to split a fixed compute budget between model size and training tokens.
- Why it matters
- Shows large LLMs of the time were significantly undertrained, because they grew parameters while keeping training data roughly fixed.
- How it works
- Trains over 400 models, from 70M to over 16B parameters on 5–500B tokens, and finds that parameters and tokens should scale in equal proportion.
- Key result
- Chinchilla (70B, about 4× more data) uses the same compute as Gopher (280B) yet beats Gopher, GPT-3, Jurassic-1 and MT-NLG, reaching 67.5% on MMLU.
Read the paper: Training Compute-Optimal Large Language Models
[06]Feb 10, 2026ml · theory
Invariant Risk Minimization
Arjovsky et al., arXiv 2019
Proposes learning data representations where the optimal classifier is invariant across training environments — a principled approach to OOD generalization that fundamentally challenged ERM assumptions.
Notes on Invariant Risk Minimization
- What it does
- Introduces IRM, a learning paradigm that finds a feature representation Φ such that the optimal classifier on top of Φ is the same across all training environments. This forces the model to rely on causal, not spurious, features.
- Why it matters
- ERM (standard training) exploits any correlation in the training data, including spurious ones that don't hold at test time. IRM is a principled attempt to do causal learning from observational data — directly relevant to robustness and fairness.
- How it works
- Bi-level optimization: minimize ERM loss while also penalizing the gradient of a fixed dummy classifier (a scalar 1.0 on Φ). If the gradient is nonzero, it means the classifier isn't optimal everywhere — a sign of non-invariance. IRMv1 relaxes this as a penalty term.
- Key result
- Recovers causal features on ColoredMNIST (a spurious-correlation benchmark) where ERM completely fails. However, real-world results (e.g., WILDS benchmarks) are mixed, and later work showed IRM underperforms ERM in many practical settings. Important caveat.
[07]Jan 22, 2026llm · security
A Watermark for Large Language Models
Kirchenbauer et al., ICML 2023
Embeds a statistical signal into LLM outputs by partitioning the vocabulary into "green" and "red" lists at each token step — elegant in its simplicity, and surprisingly robust to paraphrasing attacks.
Notes on A Watermark for Large Language Models
- What it does
- Introduces a practical watermarking scheme for LLM-generated text. At generation time, the model is biased to favor tokens from a "green list" derived by hashing the previous token. A z-test on the green-token fraction detects the watermark.
- Why it matters
- Provides the first practical, model-agnostic method to detect AI-generated text without model access. Directly relevant to AI misuse, academic integrity, and provenance tracking. Sparked a whole subfield.
- How it works
- Before sampling each token, they hash the previous token ID to seed a PRNG, then partition the vocab into a green list (50%) and red list. At generation, logits for green tokens get a soft boost δ. Detection is a one-sided z-test on green-token proportion.
- Key result
- >95% detection power on sequences of 200+ tokens with a false positive rate near 0.01%, and less than 1% perplexity degradation. The watermark survives moderate paraphrasing, which was the surprising part.
[08]Feb 3, 2026llm · distillation
Distilling Step-by-Step!
Hsieh et al., ACL Findings 2023
Uses chain-of-thought rationales from large models as a supervision signal for smaller ones — a clever way to transfer reasoning capabilities, not just final answers.
Notes on Distilling Step-by-Step!
- What it does
- A knowledge distillation framework where a large teacher LLM generates chain-of-thought rationales that then serve as auxiliary supervision for a small student model. The student learns to predict both the label and the reasoning chain.
- Why it matters
- Shows that a 770M-parameter model trained this way outperforms a 540B teacher (PaLM) on several benchmarks — using orders of magnitude less data than standard fine-tuning. Challenges the assumption that task performance requires scale.
- How it works
- Multi-task learning: the student has one head predicting the label, another predicting the rationale. Both losses are optimized together. The teacher (PaLM 540B) provides rationales via few-shot prompting at dataset construction time, not at inference.
- Key result
- Outperforms standard fine-tuning and distillation baselines across NLI, commonsense QA, and arithmetic tasks, with significantly less labeled data. The rationale supervision is the differentiating factor — labels alone don't close the gap.
[09]Dec 2024llm · distillation
Phi-4 Technical Report
Abdin et al. (Microsoft Research), arXiv 2024
A 14B model built around data quality and synthetic data that beats its GPT-4 teacher on STEM questions.
Notes on Phi-4 Technical Report
- What it does
- Introduces phi-4, a 14B-parameter language model trained with a central focus on data quality and with synthetic data used throughout training.
- Why it matters
- Shows that careful data and post-training can let a small model beat its GPT-4 teacher on STEM question answering, going beyond simple distillation.
- How it works
- Keeps the phi-3 architecture almost unchanged. Pretraining covers about 10T tokens, 40% of them synthetic, followed by SFT and two DPO stages, one using Pivotal Token Search.
- Key result
- Scores 56.1 on GPQA and 80.4 on MATH, ahead of GPT-4o (50.6 and 74.6) and Llama-3.3-70B (49.1 and 66.3).
[10]Apr 2024llm
MiniCPM: Unveiling the Potential of Small Language Models
Hu et al., arXiv 2024
A family of sub-3B models from Tsinghua/ModelBest using scaling-law-guided training decisions — showing the 1-2B regime can be highly competitive with careful hyperparameter and data choices.
Notes on MiniCPM: Unveiling the Potential of Small Language Models
- What it does
- Introduces MiniCPM, small language models with 1.2B and 2.4B non-embedding parameters, plus DPO, MoE and 128K-context variants.
- Why it matters
- Shows that small models can be trained carefully enough to stay efficient and cheap while still being competitive.
- How it works
- Picks settings through small-scale 'model wind tunnel' experiments and uses a Warmup-Stable-Decay learning-rate schedule, which allows continued training and cheaper scaling-law studies.
- Key result
- Performs on par with 7B–13B LLMs, and finds a compute-optimal data-to-model ratio well above Chinchilla's.
Read the paper: MiniCPM: Unveiling the Potential of Small Language Models
[11]Mar 2024llm
ORPO: Monolithic Preference Optimization without Reference Model
Hong et al., arXiv 2024
Eliminates the reference model from preference optimization by incorporating an odds-ratio penalty directly into the SFT loss — a cleaner, cheaper alternative to DPO and PPO.
Notes on ORPO: Monolithic Preference Optimization without Reference Model
- What it does
- Proposes ORPO, which aligns a model to preferences during supervised fine-tuning, with no reference model and no separate alignment stage.
- Why it matters
- Turns the usual SFT-then-RLHF/DPO pipeline into one step, which removes a stage and the cost of a reference model.
- How it works
- Adds a small odds-ratio penalty to the SFT loss that pushes the model away from rejected responses and toward chosen ones.
- Key result
- Mistral-7B tuned with ORPO on UltraFeedback alone reaches 12.20% on AlpacaEval 2.0, 66.19% on IFEval and 7.32 on MT-Bench.
Read the paper: ORPO: Monolithic Preference Optimization without Reference Model
[12]Jun 2023llm · distillation
Textbooks Are All You Need
Gunasekar et al., arXiv 2023
Trains phi-1, a 1.3B code model, on filtered “textbook-quality” web data plus synthetic textbooks, showing data quality can stand in for scale.
Notes on Textbooks Are All You Need
- What it does
- Trains phi-1, a 1.3B-parameter code model, on 'textbook quality' web data plus synthetic textbooks and exercises generated with GPT-3.5.
- Why it matters
- Shows that data quality can stand in for scale: a small model trained briefly on few tokens rivals much larger code models.
- How it works
- Uses about 6B tokens of filtered web data and about 1B tokens of synthetic data, trained for 4 days on 8 A100s, then finetuned on coding exercises.
- Key result
- phi-1 scores 50.6% pass@1 on HumanEval and 55.5% on MBPP. A 350M version, phi-1-small, reaches 45% on HumanEval.
[13]Feb 2025llm
SmolLM2 Technical Report
Ben Allal et al., arXiv 2025
An open, fully documented recipe for SmolLM2-1.7B, showing careful staging of training data drives small-model quality.
Notes on SmolLM2 Technical Report
- What it does
- Describes how Hugging Face trained SmolLM2, a 1.7B-parameter language model, and releases the model along with every dataset built for it.
- Why it matters
- It is an open, fully documented recipe for a strong small model. It shows that careful choice and staging of training data drives small-model performance.
- How it works
- Overtrains on about 11 trillion tokens in stages, mixing web text with math, code and instruction data. Mixing rates are tuned between stages. New datasets FineMath, Stack-Edu and SmolTalk fill gaps.
- Key result
- SmolLM2-1.7B outperforms recent small models such as Qwen2.5-1.5B and Llama3.2-1B.
[14]Sep 2024llm
OLMoE: Open Mixture-of-Experts Language Models
Muennighoff et al., arXiv 2024
A fully open-sourced sparse MoE language model — releasing weights, training data, and code — establishing a transparency benchmark for mixture-of-experts research.
Notes on OLMoE: Open Mixture-of-Experts Language Models
- What it does
- Releases OLMoE-1B-7B, a sparse mixture-of-experts language model, fully open: weights, training data, code and logs.
- Why it matters
- MoE models were mostly closed. An open one lets others study routing, expert design and training choices.
- How it works
- Each layer has 64 small experts and 8 are active per token: 6.9B parameters in total, about 1.3B used per token. Pretrained on about 5T tokens, then instruction-tuned.
- Key result
- Outperforms models with similar active parameters, and its instruct version beats larger ones such as Llama2-13B-Chat and DeepSeekMoE-16B.
Read the paper: OLMoE: Open Mixture-of-Experts Language Models
[15]Sep 2023llm · theory
Language Modeling Is Compression
Delétang et al., arXiv 2023
Treats LLMs as lossless compressors: a text-trained model compresses images and audio better than PNG and FLAC.
Notes on Language Modeling Is Compression
- What it does
- Evaluates large language models as lossless compressors, using the known equivalence between good prediction and good compression.
- Why it matters
- The compression view sheds light on scaling laws, tokenization and in-context learning, and shows LLMs are general-purpose predictors beyond text.
- How it works
- Feeds model predictions into arithmetic coding to compress data. In reverse, any compressor such as gzip can be turned into a generative model.
- Key result
- Chinchilla 70B, trained mostly on text, compresses ImageNet patches to 43.4% of raw size, beating PNG (58.5%), and LibriSpeech to 16.4%, beating FLAC (30.3%).
[16]Apr 2024llm
Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrence
Peng et al., arXiv 2024
Extends RWKV with matrix-valued hidden states and dynamic recurrence gating, closing much of the quality gap with transformers while preserving linear-time inference.
Notes on Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrence
- What it does
- Introduces Eagle (RWKV-5) and Finch (RWKV-6), successors to RWKV-4: recurrent language models that aim to match transformers.
- Why it matters
- They make RNNs more expressive while keeping RNN-style inference, meaning constant memory per token and no growing KV cache.
- How it works
- Eagle uses multi-headed matrix-valued states. Finch adds dynamic recurrence: decay and token-shift computed from the input through small LoRA-style functions.
- Key result
- Eagle 0.46B–7.5B and Finch 1.6B–3.1B were trained on a new 1.12T-token multilingual corpus. Eagle-7B averages 58.2 on multilingual benchmarks, ahead of Mistral-7B's 55.5.
Read the paper: Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrence
[17]Nov 2024llm
Hymba: A Hybrid-head Architecture for Small Language Models
Dong et al. (NVIDIA), arXiv 2024
Combines Mamba state-space heads with attention heads in the same layer, achieving strong performance with a lower memory footprint than pure-attention models at small scales.
Notes on Hymba: A Hybrid-head Architecture for Small Language Models
- What it does
- Introduces Hymba, a family of small language models in which every layer runs attention heads and state-space (Mamba-style) heads side by side.
- Why it matters
- Attention recalls details precisely but its cache is memory-hungry; state-space models summarise context cheaply. Combining both gives small models strong accuracy with a much smaller memory footprint.
- How it works
- Attention and SSM heads process the same input in parallel. Learnable meta tokens prepended to prompts store key information; cross-layer KV sharing and partial sliding-window attention shrink the cache.
- Key result
- Hymba-1.5B-Base beats all public models under 2B parameters and even Llama-3.2-3B, with 1.32% higher average accuracy, an 11.67x smaller cache and 3.49x higher throughput.
Read the paper: Hymba: A Hybrid-head Architecture for Small Language Models
[18]Apr 2024llm
OpenELM: An Efficient Language Model Family
Mehta et al., arXiv 2024
Apple’s fully open model family whose layers each get their own width (layer-wise scaling), released with the whole training framework.
Notes on OpenELM: An Efficient Language Model Family
- What it does
- Apple's open language model family, released with the full training and evaluation framework, logs, checkpoints and configs, not just weights.
- Why it matters
- Earlier releases typically gave only weights and inference code, trained on private data. OpenELM can be reproduced end to end on public data and includes MLX conversion for Apple devices.
- How it works
- Layer-wise scaling gives each transformer layer its own number of attention heads and FFN width, instead of making every layer the same size.
- Key result
- At about 1B parameters, 2.36% more accurate than OLMo with half the pre-training tokens.
[19]Jan 2026llm
Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models
Cheng et al., arXiv 2026
Adds an N-gram lookup memory (Engram) alongside mixture-of-experts, a second axis of sparsity that beats an equal-compute MoE.
Notes on Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models
- What it does
- Proposes Engram, a conditional-memory module that adds constant-time lookup of modernized N-gram embeddings alongside Mixture-of-Experts computation.
- Why it matters
- Transformers have no built-in way to look up knowledge and imitate retrieval through computation. Static memory gives sparsity a second axis besides MoE.
- How it works
- Static patterns are fetched by N-gram lookup, so the backbone can spend compute on reasoning. A U-shaped scaling law sets how sparse capacity is split between MoE and memory.
- Key result
- A 27B Engram model beats an MoE baseline with equal parameters and FLOPs (MMLU +3.4, BBH +5.0, HumanEval +3.0). Multi-Query NIAH rises from 84.2 to 97.0.
[20]2025llm
DeepSeek-V3.2-Exp: Boosting Long-Context Efficiency with DeepSeek Sparse Attention
DeepSeek-AI, 2025
Extends DeepSeek-V3 with sparse attention patterns that enable efficient long-context processing, reducing KV cache memory and compute without proportional quality losses.
Notes on DeepSeek-V3.2-Exp: Boosting Long-Context Efficiency with DeepSeek Sparse Attention
- What it does
- Adds DeepSeek Sparse Attention (DSA) to DeepSeek-V3.1-Terminus through continued training; this is the only architecture change.
- Why it matters
- Long contexts make attention expensive. DSA cuts the cost of long-context training and inference while benchmark scores stay roughly the same.
- How it works
- A small 'lightning indexer' that can run in FP8 scores the earlier tokens, and each query attends only to its top-k (2048) key-value entries. The indexer is warmed up first, then the model is trained sparse.
- Key result
- Core attention drops from O(L²) to O(Lk). Per-token serving cost falls at long positions, with no substantial benchmark drop versus V3.1-Terminus.
Read the paper: DeepSeek-V3.2-Exp: Boosting Long-Context Efficiency with DeepSeek Sparse Attention
[21]Feb 2024llm
MobiLlama: Towards Accurate and Lightweight Fully Transparent GPT
Thawakar et al., arXiv 2024
A fully open 0.5B model for on-device use that shares one feed-forward block across all layers to cut parameters.
Notes on MobiLlama: Towards Accurate and Lightweight Fully Transparent GPT
- What it does
- Releases MobiLlama, a 0.5B open small language model built for on-device use, with data pipeline, training code, weights, 300+ checkpoints and evaluation code.
- Why it matters
- Phones and edge devices need low memory, low energy and fast responses. The paper argues a 'less is more' approach can still give accurate models.
- How it works
- Starts from a 1.2B, 22-layer base and shares one feed-forward block across all layers, cutting trainable parameters by about 60%.
- Key result
- Averages 46.00 across nine benchmarks, ahead of similar-size small models such as Pythia-410M (43.57).
Read the paper: MobiLlama: Towards Accurate and Lightweight Fully Transparent GPT
[22]Jul 2025llm · theory
Scaling Laws for Optimal Data Mixtures
Shukor et al., arXiv 2025
Scaling laws that predict loss from model size, tokens and mixture weights, so a few small runs can pick the data mixture for a large one.
Notes on Scaling Laws for Optimal Data Mixtures
- What it does
- Fits scaling laws that predict loss from model size, training tokens and domain mixture weights, then uses them to pick the best mixture for a given compute budget.
- Why it matters
- Choosing a data mixture by trial and error is too expensive at scale. A few small runs can stand in for a costly sweep.
- How it works
- Extends the Chinchilla loss law with mixture-weight terms. An additive version gives one fixed best mixture. A joint version lets the best mixture shift with model size and tokens.
- Key result
- Laws fit on 412M–1.4B language models predicted losses at 3B and 7B. A 7B model trained on a law-chosen mixture scored 37 on MMLU, against 25–32 for the baselines.
[23]Jun 2024llm · ml
Data Curation via Joint Example Selection Further Accelerates Multimodal Learning (JEST)
Evans et al., arXiv 2024
Scores training examples by their joint utility for an entire mini-batch rather than individually, enabling more efficient pretraining convergence with substantially less data.
Notes on Data Curation via Joint Example Selection Further Accelerates Multimodal Learning (JEST)
- What it does
- Picks training data a whole batch at a time, not example by example, for image-text contrastive pretraining.
- Why it matters
- Data curation becomes a training lever like model size or compute: a small, well-curated reference set can steer learning on a large web dataset.
- How it works
- Scores sub-batches by learnability (learner loss minus a pretrained reference model's loss), samples them chunk by chunk from a larger super-batch, and scores cheaply at low resolution (Flexi-JEST).
- Key result
- Surpasses state-of-the-art models with up to 13x fewer training iterations and 10x less computation.
[24]Oct 2025llm
Front-Loading Reasoning: The Synergy between Pretraining and Post-Training Data
Akter et al. (NVIDIA), arXiv 2025
Adding reasoning data during pretraining builds gains that later fine-tuning can’t fully recreate.
Notes on Front-Loading Reasoning: The Synergy between Pretraining and Post-Training Data
- What it does
- Tests whether reasoning data should go into pretraining or wait until post-training, varying its scale, diversity and quality at each stage.
- Why it matters
- Reasoning data is usually saved for post-training; this shows adding it early builds gains that later SFT cannot fully replicate, even with more data.
- How it works
- Pretrains an 8B hybrid Mamba-attention model from scratch on 1T tokens with different reasoning mixes, then applies matched SFT (and RL) to compare.
- Key result
- Front-loading reasoning gives a 19% average gain. Pretraining rewards diversity (11%), SFT rewards quality (15%), and naively scaling SFT data can erase the early gains.
Read the paper: Front-Loading Reasoning: The Synergy between Pretraining and Post-Training Data
[25]Feb 14, 2026statistics · theory
Sequential Change-Point Detection via Online Convex Optimization
Hazan et al., 2023
Frames change-point detection as an online learning problem, achieving near-optimal detection delay with clean regret-style guarantees — a refreshing new lens on a classical statistics problem.
Notes on Sequential Change-Point Detection via Online Convex Optimization
- What it does
- Reformulates sequential change-point detection as an instance of online convex optimization (OCO). The CUSUM statistic emerges naturally from an online mirror descent update, allowing regret analysis to bound detection delay.
- Why it matters
- Classical CUSUM theory requires parametric assumptions (known pre/post distributions). OCO framing enables data-adaptive, nonparametric detection with rigorous delay guarantees — a cleaner theoretical foundation for modern applications.
- How it works
- Define a loss function tied to the log-likelihood ratio. Run online mirror descent on this sequence of losses. Show that the cumulative loss until a stopping rule triggers has O(log T) regret relative to the optimal fixed-threshold strategy.
- Key result
- Near-optimal expected detection delay under Gaussian mean shift, matching the Lorden lower bound up to log factors. The connection to OCO also gives a clean modular way to plug in different divergences or loss structures.
[26]Jul 2025llm
FlexOLMo: Open Language Models for Flexible Data Use
Shi et al., arXiv 2025
A mixture-of-experts model whose experts are trained separately by data owners and can be switched on or off at inference.
Notes on FlexOLMo: Open Language Models for Flexible Data Use
- What it does
- Introduces FlexOlmo, a mixture-of-experts model family in which each expert is trained separately on its own dataset and merged later without joint training.
- Why it matters
- Data owners can contribute without sharing raw data, and users can include or exclude a data source at inference time without retraining. This suits regulated or sensitive data.
- How it works
- Experts trained independently are combined through domain-informed routing. Training uses FlexMix, which is public data plus seven domain-specific sets.
- Key result
- Tested at up to 37B total parameters (20B active) on 31 tasks: an average 41% relative improvement, and 10.1% better than earlier model-merging methods.
Read the paper: FlexOLMo: Open Language Models for Flexible Data Use
[27]2025llm · theory · survey
On the Slow Death of Scaling
Hooker, SSRN 2025
An essay arguing that more training compute no longer reliably buys better AI, and that cheaper methods drive much of the progress.
Notes on On the Slow Death of Scaling
- What it does
- An essay that questions the long-held belief that scaling training compute reliably buys better AI.
- Why it matters
- Argues the link between compute and performance is uncertain and shifting, and that faith in scale has sidelined academia and concentrated research in a few labs.
- How it works
- Points to methods that add little compute but large gains (instruction tuning, distillation, chain-of-thought, preference training, RAG). Scaling laws predict pre-training loss but not downstream tasks.
- Key result
- Smaller models such as Llama-3 8B and Aya 23 8B outperform Falcon 180B and BLOOM 176B. Hooker expects future gains from inference-time compute, synthetic data and better interfaces.
[28]Oct 2025llm
Midtraining Bridges Pretraining and Posttraining Distributions
Liu et al., arXiv 2025
Explains when a midtraining phase helps: most for domains far from web text, like code and math.
Notes on Midtraining Bridges Pretraining and Posttraining Distributions
- What it does
- Studies midtraining, an intermediate phase that mixes specialized data with general pretraining data, and asks why it helps.
- Why it matters
- Midtraining is common in practice but poorly understood; this explains when it pays off and how to schedule it.
- How it works
- Pretrains Pythia models (70M–1B) on C4, adds code, math or instruction mixes partway through, then finetunes and measures both target loss and forgetting.
- Key result
- Gains are largest for domains far from web text, like code and math. Midtraining beats continued pretraining on specialized data alone, in-domain and on forgetting.
Read the paper: Midtraining Bridges Pretraining and Posttraining Distributions
[29]Feb 2025llm
Topic Over Source: The Key to Effective Data Mixing for Language Models Pre-training
Peng et al., arXiv 2025
Grouping pretraining data by topic instead of by source gives consistently better data mixtures.
Notes on Topic Over Source: The Key to Effective Data Mixing for Language Models Pre-training
- What it does
- Groups pretraining data by topic instead of by source (web, books, code and so on), then compares how well data-mixing methods work with each grouping.
- Why it matters
- Most mixing work tunes weights over data sources. Splitting data by topic is a cheap change that gives every existing mixing method a better starting point.
- How it works
- SlimPajama is clustered, the clusters are summarised with GPT-4o, and a BERT classifier sorts the data into 12 topics. RegMix, DoReMi, temperature sampling and a manual mix then run on both groupings.
- Key result
- Topic-based mixing beat source-based mixing with all four methods on 1.3B models, by about 0.5–0.9 points of average accuracy across 9 tasks. With RegMix at 3.3B, the gap was about 0.8 points.
Read the paper: Topic Over Source: The Key to Effective Data Mixing for Language Models Pre-training
[30]Nov 2025llm
Sample-Efficient Language Modeling with Linear Attention and Lightweight Enhancements
Haller et al., arXiv 2025
A linear-attention small model for the BabyLM challenge that beats a same-budget Transformer when data is scarce.
Notes on Sample-Efficient Language Modeling with Linear Attention and Lightweight Enhancements
- What it does
- Builds BLaLM, a small language model for the BabyLM 2025 challenge, which caps training data at about 10M or 100M words.
- Why it matters
- Tests whether cheaper linear-time attention and small tweaks help when training data is scarce.
- How it works
- Swaps self-attention for an mLSTM token mixer and adds short convolutions, sliding-window attention with dynamic modulation, and Hedgehog feature maps. Trains with the Muon optimizer on a curated, readable corpus.
- Key result
- Beats a same-budget Transformer on the 10M-word track (35.96 vs 32.27 average) and is roughly on par at 100M words. Muon gives lower perplexity than AdamW.
[31]2025llm
Balancing the Budget: Understanding Trade-offs Between Supervised and Preference-Based Finetuning
Raghavendra et al., ACL 2025
How to split a data-labelling budget: SFT alone wins when small; larger budgets favour more preference data.
Notes on Balancing the Budget: Understanding Trade-offs Between Supervised and Preference-Based Finetuning
- What it does
- Studies how to split a fixed data-annotation budget between supervised finetuning (SFT) and preference finetuning such as DPO.
- Why it matters
- Post-training data is expensive to label, so knowing which kind to buy at a given budget saves real money.
- How it works
- Sweeps SFT and preference data across budgets, model sizes and four tasks, including the cold-start case of preference tuning straight from the base model.
- Key result
- Below about 1,000 examples, SFT alone wins. Larger budgets favour a mix with a growing share of preference data. Spending under 10% on SFT first fixes the math cold-start, improving GSM8K by about 15–20%.
[32]Feb 2025llm
LIFT: Improving Long Context Understanding via Long Input Fine-Tuning
Wang et al., arXiv 2025
A fine-tuning approach for extending LLM context windows that trains the model to attend to information spread across long inputs, improving retrieval accuracy and coherence on long-document tasks.
Notes on LIFT: Improving Long Context Understanding via Long Input Fine-Tuning
- What it does
- Lets a short-context LLM handle long inputs by fine-tuning on each input at test time, so the text is stored in its weights rather than its context window.
- Why it matters
- Long-context ability normally needs bigger windows and expensive long-sequence training; LIFT offers another route for models that already exist.
- How it works
- Splits the input into sentences, has an LLM write QA pairs about each one, and trains LoRA adapters on them. Questions are then answered without the source text.
- Key result
- On LooGLE LongQA with Llama-3-8B-Instruct, scores 27.25 against 15.44 for truncated in-context learning, with perfect accuracy on Needle-in-a-Haystack.
Read the paper: LIFT: Improving Long Context Understanding via Long Input Fine-Tuning
[33]Jan 2025llm · survey
Small Language Models (SLMs) Can Still Pack a Punch: A Survey
Gupta et al., arXiv 2025
A survey of about 160 papers showing well-built small models (roughly 1–9B) can match much larger ones.
Notes on Small Language Models (SLMs) Can Still Pack a Punch: A Survey
- What it does
- Surveys about 160 papers on small language models of roughly 1–9B parameters, covering general-purpose, task-specific and domain-specific models.
- Why it matters
- Argues that well-built small models can match or beat much larger ones, making them a cheaper, more efficient option for many uses.
- How it works
- Sorts SLMs by type and by how they are built: distillation, imitation and chain-of-thought training, synthetic data, mixture of experts, quantization and pruning.
- Key result
- Defines 'effective size', meaning a small model's capability measured against LLMs, and uses it to compare SLMs with larger models.
Read the paper: Small Language Models (SLMs) Can Still Pack a Punch: A Survey
[34]2025llm
Baguettotron: A 321M Parameter Generative Model
PleIAs, Hugging Face 2025
A 321M-parameter small reasoning model trained only on open synthetic data that competes with larger small models.
Notes on Baguettotron: A 321M Parameter Generative Model
- What it does
- A 321M-parameter small reasoning model trained natively for instruction following with thinking traces.
- Why it matters
- Shows that a very small, fully open model trained only on open synthetic data can compete with larger small models.
- How it works
- An 80-layer Qwen/Llama-style decoder, the deepest in its size range, trained on 200B tokens of the synthetic SYNTH dataset on 16 H100s.
- Key result
- PleIAs reports it gets close to Qwen-0.6B and clearly beats similarly sized Gemma on MMLU, GSM8K and HotPotQA.
Read the paper: Baguettotron: A 321M Parameter Generative Model
[35]2025llm
The Smol Training Playbook
Ben Allal et al., Hugging Face 2025
Hugging Face’s candid guide to training SmolLM3 (3B), including the failed runs and debugging papers usually leave out.
Notes on The Smol Training Playbook
- What it does
- A long-form guide from Hugging Face on training SmolLM3, a 3B multilingual reasoning model. It includes the failed runs, infrastructure problems and debugging that papers usually leave out.
- Why it matters
- Published papers rarely show the real cost and decisions behind a model. It gives a full, candid recipe, starting with whether to train at all.
- How it works
- Each choice is tested with small ablations first, such as a 1B model on 45B tokens. Covers architecture, data curation, the main run, post-training (SFT, DPO, GRPO, merging) and infrastructure.
- Key result
- SmolLM3 was trained on 11T tokens using 384 GPUs for about 30 days. Ablations and debugging cost more than half as much compute as the main run.
[36]Feb 2025llm · theory
Explaining Context Length Scaling and Bounds for Language Models
Shi et al., arXiv 2025
Derives theoretical bounds on how context length affects LLM performance, providing a principled explanation for the empirical scaling behavior observed in long-context model evaluations.
Notes on Explaining Context Length Scaling and Bounds for Language Models
- What it does
- Builds a theory of how context length affects language-model loss, covering both why relevant context helps and why longer context can stop helping.
- Why it matters
- Gives a principled reason not to simply maximise context length: the best context length depends on how much training data exists.
- How it works
- Splits loss into Bayes risk, which falls as context grows, and approximation loss, which rises with context length. Both are tied to the data's 'intrinsic dimension'.
- Key result
- There is an optimal context length that minimises validation loss, and it grows with dataset size. Shown on OpenWebText and on a synthetic sparse-parity dataset.
Read the paper: Explaining Context Length Scaling and Bounds for Language Models