Papers We Love: AI Edition — Landmark AI and LLM Papers Explained in Plain English
A curated reading list of the most important AI and machine learning research papers, from word2vec and Attention Is All You Need to RLHF, DPO, retrieval-augmented generation, agents and reasoning models like DeepSeek-R1. Every paper has an arXiv link and a short plain-English summary of the problem it tackled, the key idea, and why it still matters. It is for engineers, students, researchers and product builders who want to understand how large language models (LLMs) and modern AI actually work, without wading through hundreds of PDFs first.
Last reviewed: December 2026. 291 papers across 21 themes. Every arXiv ID in this list was checked against the arXiv API, and each title below is the title arXiv returns for that ID. The year is the year of the paper’s first arXiv version.
Contents
- How to use this list
- Start here: 15 papers
- Reading paths by goal
- Best pick per theme
- Read these together
- A short timeline of modern AI
- Papers by theme
- Foundations: deep learning before the Transformer (15)
- The Transformer and its building blocks (18)
- Scaling laws and compute-optimal training (6)
- LLM families and technical reports (19)
- Pretraining data (12)
- Instruction tuning, RLHF and preference optimization (20)
- Prompting and reasoning (14)
- Test-time compute and reasoning models (11)
- Retrieval, RAG and embeddings (19)
- Agents and tool use (15)
- Efficient training, inference, quantization and serving (23)
- Parameter-efficient fine-tuning (PEFT) (8)
- Long context (6)
- State space models and other alternatives to attention (8)
- Vision and multimodal models (18)
- Diffusion and flow models (17)
- Speech and audio (10)
- Code models (9)
- Reinforcement learning (10)
- Evaluation and benchmarks (14)
- Safety, security and interpretability (19)
- Comparison tables
- How to read an ML paper
- Glossary
- FAQ
- Where to go next
- Contributing
- More free resources
How to use this list
- New to the field? Read the Start here list in order. Read the summary here first, then the paper’s abstract, introduction, main figure and conclusion. Skip the proofs.
- Have a goal? Pick a reading path. Each one is ordered so later papers build on earlier ones.
- Looking something up? Use the theme sections. Inside each theme, papers run roughly from older and more fundamental to newer and more specialized.
- Comparing methods? The comparison tables put DPO next to PPO-based RLHF, GQA next to MLA, LoRA next to QLoRA and so on.
The summaries are written to be correct but short. They are a map, not a replacement for the paper. When a number matters to you (a benchmark score, a speedup, a context length), check it in the paper itself.
Technical reports from companies (GPT-4, Llama, Gemini, DeepSeek, Qwen and others) are included because people cite them constantly, but they are not peer-reviewed and often leave out key details. Read them as engineering write-ups.
Start here: 15 papers
If you only have a few weekends, read these in this order. Together they explain how a modern chat assistant is built, trained, aligned, sped up and connected to your data.
| # | Paper | Why it is on the list |
|---|---|---|
| 1 | word2vec (2013) | The idea that meaning can live in vectors. Everything about embeddings starts here. |
| 2 | Attention for translation (2014) | Attention, before Transformers. Makes the 2017 paper much easier to follow. |
| 3 | ResNet (2015) | Residual connections, which every Transformer layer depends on. |
| 4 | Attention Is All You Need (2017) | The Transformer. The single most important paper on this list. |
| 5 | BERT (2018) | Pretraining then fine-tuning; still the core of many search systems. |
| 6 | Scaling laws (2020) | Why bigger models reliably got better, and how labs predict it. |
| 7 | GPT-3 (2020) | In-context learning and few-shot prompting. |
| 8 | Chinchilla (2022) | How to balance model size and training data. |
| 9 | InstructGPT (2022) | The SFT plus reward model plus RL recipe behind chat assistants. |
| 10 | DPO (2023) | The simpler preference-tuning method most open models use. |
| 11 | Chain-of-thought (2022) | Step-by-step reasoning, the seed of reasoning models. |
| 12 | RAG (2020) | Grounding answers in your own documents. |
| 13 | ReAct (2022) | The reason-act-observe loop behind most agents. |
| 14 | LoRA (2021) | How almost everyone fine-tunes large models cheaply. |
| 15 | DeepSeek-R1 (2025) | How RL with verifiable rewards produces reasoning models. |
Reading paths by goal
Path A: LLM engineer (you build and ship systems on top of models)
Focus: inference cost, fine-tuning, retrieval, evaluation, security.
- Attention Is All You Need for the architecture you will be serving.
- GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints and DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model to understand KV-cache size, the main driver of serving memory.
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness and Efficient Memory Management for Large Language Model Serving with PagedAttention for why modern serving engines are fast.
- Fast Inference from Transformers via Speculative Decoding for speculative decoding.
- GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers and AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration for running models in 4-bit.
- LoRA: Low-Rank Adaptation of Large Language Models then QLoRA: Efficient Finetuning of Quantized LLMs for fine-tuning on one GPU.
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model for preference tuning without an RL loop.
- Dense Passage Retrieval for Open-Domain Question Answering, BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models and MTEB: Massive Text Embedding Benchmark for picking and testing a retriever.
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks and Lost in the Middle: How Language Models Use Long Contexts for how to build and order RAG context.
- Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena for automated evaluation, and its biases.
- Not what you’ve signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection and The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions for prompt-injection risk in anything that reads untrusted text.
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering for designing tool interfaces your agent can actually use.
Path B: Researcher (you want to train models or push the frontier)
Focus: what actually moves loss and capability, and how to run clean experiments.
- Attention Is All You Need, GLU Variants Improve Transformer, RoFormer: Enhanced Transformer with Rotary Position Embedding and Root Mean Square Layer Normalization for the modern decoder block.
- Scaling Laws for Neural Language Models, Training Compute-Optimal Large Language Models and Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer for scaling and hyperparameter transfer.
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer as a model of careful ablation studies.
- The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale, Deduplicating Training Data Makes Language Models Better and Scaling Data-Constrained Language Models for data, which is usually the biggest lever.
- Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity and DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models for mixture-of-experts.
- The Llama 3 Herd of Models and DeepSeek-V3 Technical Report for full frontier-scale recipes.
- Training language models to follow instructions with human feedback, Direct Preference Optimization: Your Language Model is Secretly a Reward Model and Scaling Laws for Reward Model Overoptimization for post-training and its failure modes.
- Let’s Verify Step by Step, Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters, DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models and DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning for reasoning and RL with verifiable rewards.
- Mamba: Linear-Time Sequence Modeling with Selective State Spaces and Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality for the main alternative to attention.
- In-context Learning and Induction Heads and Sparse Autoencoders Find Highly Interpretable Features in Language Models for interpretability methods you can apply to your own models.
Path C: Product builder (you decide what to build with AI)
Focus: what models can and cannot do, how they fail, and what makes them useful.
- Language Models are Few-Shot Learners to understand prompting and in-context learning.
- Training language models to follow instructions with human feedback to see why chat models behave like assistants.
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models and Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters for why “thinking” models cost more and do better on hard tasks.
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks and Lost in the Middle: How Language Models Use Long Contexts for connecting a model to company data.
- ReAct: Synergizing Reasoning and Acting in Language Models and SWE-bench: Can Language Models Resolve Real-World GitHub Issues? for what agents are and how they are measured.
- Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preference and Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluators to read leaderboards critically.
- TruthfulQA: Measuring How Models Mimic Human Falsehoods for why confident answers can still be wrong.
- Not what you’ve signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection because every product that reads email, web pages or documents is exposed to prompt injection.
- Model Cards for Model Reporting for how to document what your model is for and where it breaks.
Path D: The two-week crash course
One paper a day, about an hour each: Transformer, BERT, GPT-3, Chinchilla, InstructGPT, DPO, chain-of-thought, RAG, ReAct, LoRA, FlashAttention, PagedAttention, Mamba, DeepSeek-R1.
Best pick per theme
Short on time in one area? Read this one paper from the theme first.
| Theme | Read first | Reason |
|---|---|---|
| Foundations | Attention for translation | Shows the exact problem the Transformer solved. |
| Transformer building blocks | GQA | Short, practical, and explains a choice inside almost every current LLM. |
| Scaling | Chinchilla | Still the reference point for model-versus-data tradeoffs. |
| LLM families | The Llama 3 Herd of Models | The most complete open account of a frontier-scale training run. |
| Pretraining data | FineWeb | Every filtering choice is tested and explained. |
| Alignment | InstructGPT | The full assistant recipe in one paper. |
| Prompting and reasoning | Chain-of-thought | The idea everything else in the theme builds on. |
| Test-time compute | DeepSeek-R1 | Open, clear and hugely influential. |
| RAG and retrieval | Lost in the Middle | Changes how you assemble context immediately. |
| Agents | SWE-agent | Concrete lessons on tool design that transfer to any agent. |
| Efficiency | PagedAttention | Explains why modern serving engines get high throughput. |
| PEFT | LoRA | The method you will most likely use. |
| Long context | RULER | Teaches you to test context claims instead of trusting them. |
| State space models | Mamba | The paper that made SSMs a serious LLM alternative. |
| Vision and multimodal | CLIP | The shared image-text space behind countless systems. |
| Diffusion | Latent diffusion | The design behind Stable Diffusion and its successors. |
| Speech | Whisper | Simple architecture, huge practical impact. |
| Code | Codex and HumanEval | Defines how code models are still evaluated. |
| Reinforcement learning | PPO | The algorithm under classic RLHF. |
| Evaluation | LLM-as-a-judge | You will use model judges; know their biases. |
| Safety and security | Indirect prompt injection | The threat model every LLM app builder needs. |
Read these together
Pairs where the second paper sharpens, challenges or completes the first.
| First | Then | What the pair teaches |
|---|---|---|
| Emergent abilities | Emergence as a mirage | How metric choice shapes scientific claims. |
| Scaling laws | Chinchilla | How a “law” got revised once data was scaled properly. |
| InstructGPT | DPO | The same objective, with and without the RL loop. |
| DPO | IPO | Where DPO’s assumptions break and how to regularize. |
| Chain-of-thought | Test-time compute | From a prompt trick to a resource you allocate. |
| Process supervision | Math-Shepherd | Step-level rewards with and without human labels. |
| RAG | Lost in the Middle | Retrieval is only half the job; placement matters. |
| ReAct | Indirect prompt injection | Agents that read the world can be steered by it. |
| LoRA | Intrinsic dimensionality | Why such small updates are enough. |
| MQA | DeepSeek-V2 (MLA) | Two very different ways to shrink the KV cache. |
| Mamba | Mamba-2 | How SSMs and attention turn out to be related. |
| DDPM | Rectified flow | From many noisy steps to straight paths. |
A short timeline of modern AI
| Year | Milestone | Paper |
|---|---|---|
| 2013 | Word vectors become cheap and useful | word2vec |
| 2013 | Deep RL learns Atari from pixels | DQN |
| 2014 | Encoder-decoder translation, then attention | seq2seq, attention |
| 2014 | Adversarial image generation | GANs |
| 2015 | Very deep networks train with skip connections | ResNet |
| 2017 | The Transformer | Attention Is All You Need |
| 2017 | Learning rewards from human preferences | Deep RL from human preferences |
| 2018 | Pretrain, then fine-tune, becomes the norm | BERT |
| 2020 | Power-law scaling of language models | Scaling laws |
| 2020 | Few-shot prompting at 175B parameters | GPT-3 |
| 2020 | Retrieval-augmented generation | RAG |
| 2020 | Diffusion models produce high-quality images | DDPM |
| 2021 | Images and text in one embedding space | CLIP |
| 2021 | Cheap fine-tuning with low-rank adapters | LoRA |
| 2021 | Latent diffusion (Stable Diffusion) | LDM |
| 2022 | Instruction-following assistants via RLHF | InstructGPT |
| 2022 | Compute-optimal training | Chinchilla |
| 2022 | Chain-of-thought and agents that act | CoT, ReAct |
| 2022 | IO-aware exact attention | FlashAttention |
| 2023 | Open-weight LLMs take off | LLaMA |
| 2023 | Preference tuning without RL | DPO |
| 2023 | Selective state space models | Mamba |
| 2024 | Million-token context in production | Gemini 1.5 |
| 2024 | Test-time compute as a scaling axis | Compute-optimal test-time scaling |
| 2025 | Open reasoning models trained with RL | DeepSeek-R1 |
Papers by theme
Each entry: title (linked to arXiv), year of first arXiv version, and a plain-English summary.
Foundations: deep learning before the Transformer
The ideas every later paper quietly assumes: word vectors, encoder-decoders, attention, residual connections, normalization, Adam and subword tokens.
- Efficient Estimation of Word Representations in Vector Space (2013). Before this paper, words were mostly treated as unrelated symbols. Word2vec trained tiny shallow networks to predict a word from its neighbors (or the reverse) and got dense vectors in which similar words sit close together. It made “meaning as geometry” cheap enough to compute on billions of words, and every embedding model since descends from that idea.
- Distributed Representations of Words and Phrases and their Compositionality (2013). The follow-up to word2vec that made it practical: negative sampling instead of a full softmax, subsampling of frequent words, and phrase detection. It is also where the famous “king minus man plus woman is close to queen” style of vector arithmetic became widely known. Negative sampling reappears today in contrastive learning for retrieval.
- Sequence to Sequence Learning with Neural Networks (2014). Showed that one neural network can read a whole input sentence into a fixed vector and a second network can write out a translation from it. Two LSTMs, trained end to end, matched strong phrase-based systems. This encoder-decoder pattern is the template the Transformer later rebuilt without recurrence.
- Neural Machine Translation by Jointly Learning to Align and Translate (2014). Squeezing a whole sentence into one vector hurts on long inputs. This paper let the decoder look back at every input position and take a learned weighted average at each step: the first widely used attention mechanism. Attention went from a fix for translation to the core operation of modern AI.
- Adam: A Method for Stochastic Optimization (2014). Adam keeps running averages of each parameter’s gradient and squared gradient, and scales each step accordingly. It works well with little tuning, which is why it (and its decoupled weight-decay variant AdamW) is still the default optimizer for training almost every large language model.
- Deep Residual Learning for Image Recognition (2015). Very deep networks used to get worse as layers were added, not because of overfitting but because they were hard to optimize. ResNets add each block’s input back to its output (a “skip connection”), so a block only has to learn a correction. Every Transformer layer uses exactly this residual trick.
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift (2015). Normalizes activations inside the network using statistics of the current mini-batch, which made training faster and less sensitive to learning rates. The explanation offered (“internal covariate shift”) has been disputed since, but the practice of normalizing inside the network stuck.
- Layer Normalization (2016). Batch statistics are awkward for sequences and small batches, so this paper normalizes across the features of each single example instead. Layer norm became the standard normalization in Transformers, and its cheaper cousin RMSNorm is what most modern LLMs use.
- Improving neural networks by preventing co-adaptation of feature detectors (2012). Introduced dropout: randomly switching off units during training so the network cannot rely on fragile co-adaptations between neurons. A simple, cheap regularizer that is still used in many fine-tuning setups, even if very large pretraining runs often turn it off.
- Neural Machine Translation of Rare Words with Subword Units (2015). Fixed vocabularies cannot handle rare or new words. This paper adapted byte-pair encoding to split words into frequent subword pieces, so any word can be spelled out from a modest vocabulary. BPE-style tokenizers are how nearly every LLM turns text into tokens today.
- Distilling the Knowledge in a Neural Network (2015). Knowledge distillation: train a small “student” model to match the softened output probabilities of a large “teacher” rather than only the hard labels. The teacher’s near-miss probabilities carry extra information. Distillation is how many small, fast production models are made.
- Deep contextualized word representations (2018). ELMo produced word vectors that depend on the surrounding sentence, taken from a bidirectional LSTM language model. Adding them to existing systems improved results across many NLP tasks. It was the clearest early sign that pretraining a language model and reusing it would beat training each task from scratch.
- Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer (2017). Proposed the sparsely gated mixture-of-experts layer: many feed-forward “experts” with a small router that sends each token to only a few of them. Parameter count can grow enormously while compute per token stays roughly fixed. This is the ancestor of the MoE designs in many frontier LLMs.
- Generative Adversarial Networks (2014). GANs pit a generator that makes fake samples against a discriminator that tries to spot them, and train both together. They dominated image generation for years and introduced adversarial training as a general idea, before diffusion models took over most generative imaging.
- Auto-Encoding Variational Bayes (2013). The variational autoencoder learns an encoder that maps data to a distribution over latent codes and a decoder that maps codes back, trained with the reparameterization trick so gradients flow through random sampling. VAE-style autoencoders are still the compression stage inside latent diffusion image generators.
The Transformer and its building blocks
The architecture itself, then the small changes that turned the 2017 design into the one modern LLMs actually use: rotary positions, SwiGLU, RMSNorm, pre-norm, grouped-query attention and mixture-of-experts.
- Attention Is All You Need (2017). Vaswani et al. dropped recurrence and convolution entirely and built a translation model from attention plus feed-forward layers. Because every position attends to every other in parallel, training is far faster on GPUs. Multi-head self-attention, positional encodings and the encoder-decoder stack described here are the base of essentially every LLM. If you read one paper, read this one.
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding (2018). BERT pretrained a Transformer encoder by hiding random words and asking it to fill them in using context from both sides, then fine-tuned it for each task. It reset the state of the art across language understanding benchmarks and made “pretrain, then fine-tune” the default recipe. BERT-style encoders still power much of search and classification.
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (2019). T5 framed every NLP task as text in, text out, and ran a large, careful study of pretraining objectives, architectures and data. It also introduced the C4 web dataset. Useful both as a model family and as a model of how to run systematic ablations.
- RoBERTa: A Robustly Optimized BERT Pretraining Approach (2019). Showed that BERT was undertrained: with more data, bigger batches, longer training and no next-sentence objective, the same architecture did much better. A lasting lesson that training recipe can matter as much as architecture.
- GLU Variants Improve Transformer (2020). A two-page paper testing gated variants of the Transformer feed-forward layer. SwiGLU and GEGLU gave consistently better quality for the same compute. SwiGLU is now the feed-forward block in most open LLMs.
- RoFormer: Enhanced Transformer with Rotary Position Embedding (2021). Rotary position embedding (RoPE) encodes position by rotating query and key vectors by an angle that depends on position, so attention scores depend on relative distance. It is simple, works with efficient attention and is the positional scheme of most current LLMs, and many long-context tricks are tweaks to it.
- Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation (2021). ALiBi skips position embeddings and simply subtracts a penalty from attention scores that grows with distance. Models trained on short sequences then cope better with longer ones at inference. An influential early answer to “train short, run long”.
- Fast Transformer Decoding: One Write-Head is All You Need (2019). Multi-query attention: let all attention heads share a single key and value head. The key-value cache shrinks dramatically, which makes decoding much faster because generation is memory-bound. The starting point for GQA and other KV-cache savings.
- GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints (2023). Grouped-query attention sits between full multi-head and multi-query attention: heads are split into groups that share keys and values. It keeps most of the quality of multi-head attention with most of the speed of MQA, and shows how to convert an existing checkpoint. Used by Llama 2 70B, Llama 3, Mistral and many others.
- Root Mean Square Layer Normalization (2019). RMSNorm drops the mean-centering step of layer norm and only rescales by the root mean square. It is cheaper and works just as well, which is why most modern LLMs use it.
- On Layer Normalization in the Transformer Architecture (2020). Explains why the original “post-norm” Transformer needs a careful learning-rate warmup, and shows that putting layer norm before each sublayer (pre-norm) trains more stably. Pre-norm is now the standard layout.
- Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity (2021). Simplified mixture-of-experts routing to one expert per token and fixed the instabilities that made MoE hard to train. Scaled to over a trillion parameters with much better speed than dense models at equal compute. The paper that made MoE look practical for language models.
- Mixtral of Experts (2024). Describes Mixtral 8x7B, an open sparse MoE model where each token uses two of eight experts per layer. It matched or beat much larger dense open models while using a fraction of the active parameters, and made MoE mainstream in open-weight LLMs.
- DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models (2024). Splits experts into many finer-grained ones and adds always-on shared experts so routed experts can specialize. A key design step behind the DeepSeek-V2 and V3 models.
- Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context (2019). Adds recurrence between segments so a Transformer can carry memory beyond a fixed window, plus a relative positional scheme to make that work. An early, influential attack on context length limits.
- Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention (2020). Rewrites attention with a kernel feature map so it can be computed in linear time, and shows the result behaves like an RNN during generation. The foundation for many “linear attention” architectures that try to escape quadratic cost.
- Longformer: The Long-Document Transformer (2020). Combines local sliding-window attention with a few global tokens so attention cost grows linearly with length. Made 4,096-token-plus documents practical for encoder models; sliding-window attention later reappeared in Mistral and Gemma models.
- Efficient Transformers: A Survey (2020). A survey that sorts the many “efficient Transformer” variants (sparse, low-rank, kernel-based, recurrent and memory-based attention) into a clear taxonomy. The fastest way to get oriented before reading any single long-context or linear-attention paper.
Scaling laws and compute-optimal training
Why “make it bigger” worked, and how to split a compute budget between parameters and data.
- Scaling Laws for Neural Language Models (2020). Found that language model loss falls as a smooth power law in model size, data and compute across many orders of magnitude, and that architecture details matter far less. It gave labs a way to predict the payoff of bigger runs before spending the money, and it drove the race to scale.
- Training Compute-Optimal Large Language Models (2022). The “Chinchilla” paper. Earlier models were too big for the data they saw; for a fixed compute budget, parameters and training tokens should grow roughly together (on the order of 20 tokens per parameter). A smaller model trained on more data beat much larger ones. It changed how every lab sizes models, though today models are often trained far past this point to make inference cheaper.
- Emergent Abilities of Large Language Models (2022). Catalogued abilities that seem absent in small models and appear suddenly in larger ones, such as multi-step arithmetic or chain-of-thought gains. It shaped how people talk about what scale buys.
- Are Emergent Abilities of Large Language Models a Mirage? (2023). Argues that many “emergent” jumps are produced by the metric, not the model: with all-or-nothing scoring, smooth improvement looks like a sudden leap. A useful corrective to read right after the emergence paper.
- Deep Double Descent: Where Bigger Models and More Data Hurt (2019). Shows that test error can get worse and then better again as models or datasets grow, the “double descent” curve. It challenged the classic bias-variance picture and helps explain why huge overparameterized models generalize.
- Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer (2022). Introduces muP, a way of parameterizing networks so the best hyperparameters found on a small model transfer to a large one. This lets teams tune cheaply and then train big, and variants of it are used in several LLM training recipes.
LLM families and technical reports
The model papers people cite. Technical reports are less rigorous than research papers but they document what actually worked at scale.
- Language Models are Few-Shot Learners (2020). GPT-3 scaled a decoder-only Transformer to 175 billion parameters and showed it could do new tasks from a few examples in the prompt, with no fine-tuning. “In-context learning” and “few-shot prompting” come from here. The paper that convinced the field that scale itself was a research direction.
- Scaling Language Models: Methods, Analysis & Insights from Training Gopher (2021). DeepMind’s Gopher report: a 280B model plus a broad analysis of where scale helps (reading comprehension, fact checking) and where it barely does (logic, math). A good look at the pre-Chinchilla era.
- PaLM: Scaling Language Modeling with Pathways (2022). PaLM trained a 540B dense model across thousands of TPU chips using the Pathways system and reported strong results, including chain-of-thought reasoning gains at scale. Notable for its engineering detail on training very large models efficiently.
- LLaMA: Open and Efficient Foundation Language Models (2023). LLaMA showed that smaller models trained on far more tokens (up to 1.4 trillion) from public data could match much larger closed models. Releasing the weights to researchers set off the open-weight LLM ecosystem.
- Llama 2: Open Foundation and Fine-Tuned Chat Models (2023). Llama 2 released base and chat models under a license allowing commercial use, with an unusually detailed account of supervised fine-tuning, RLHF, reward models and safety tuning. One of the best public descriptions of a full chat-model pipeline.
- The Llama 3 Herd of Models (2024). A very long, very detailed report on the Llama 3 family up to 405B parameters: data cleaning, scaling-law experiments, infrastructure, post-training, safety and multimodal extensions. Probably the most complete public recipe for training a frontier-class dense model.
- Mistral 7B (2023). A 7B model that beat larger open models of its time, using grouped-query attention and sliding-window attention for faster inference. It showed how much quality a small, well-trained model can deliver.
- GPT-4 Technical Report (2023). Describes GPT-4’s capabilities and evaluations, and how its performance was predicted from much smaller runs, while withholding architecture and data details. Worth reading for the evaluation results and as a marker of the shift toward closed reporting.
- Gemini: A Family of Highly Capable Multimodal Models (2023). Introduces Google’s Gemini family, trained to be natively multimodal across text, images, audio and video from the start rather than gluing separate models together.
- Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context (2024). Gemini 1.5 reported working context windows of millions of tokens with near-perfect retrieval in needle-in-a-haystack tests, plus learning a rare language from a grammar book in context. It moved long context from a research topic to a product feature.
- DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model (2024). DeepSeek-V2 introduced multi-head latent attention (MLA), which compresses keys and values into a small latent vector to shrink the KV cache, combined with DeepSeekMoE. It cut training and serving costs sharply and is required reading for the MLA row in the attention table below.
- DeepSeek-V3 Technical Report (2024). DeepSeek-V3 is a 671B-parameter MoE model (about 37B active per token) trained with FP8 mixed precision, auxiliary-loss-free load balancing and multi-token prediction. Its reported training cost was strikingly low for its quality, which made it one of the most discussed reports of its time.
- Qwen2.5 Technical Report (2024). Covers the Qwen2.5 open model family, from small to large sizes, with an emphasis on more pretraining data (18 trillion tokens) and a large post-training pipeline. Qwen models became some of the most widely fine-tuned open weights.
- Qwen3 Technical Report (2025). Qwen3 combines “thinking” and “non-thinking” modes in one model with a user-controllable thinking budget, and spans dense and MoE sizes. A clear example of how reasoning modes were folded into general-purpose open models.
- Gemma 3 Technical Report (2025). Gemma 3 adds vision input, longer context and better multilingual support to Google’s open models, and uses a mix of local and global attention layers to keep long-context memory costs down.
- OLMo: Accelerating the Science of Language Models (2024). OLMo released not just weights but the full training data, code, logs and intermediate checkpoints. Aimed at making LLMs studyable as science, and a go-to when you need to know exactly what a model saw.
- BLOOM: A 176B-Parameter Open-Access Multilingual Language Model (2022). BLOOM was a 176B multilingual model built by a large open research collaboration, with public documentation of data governance and training. A landmark for open, collaborative model building.
- Textbooks Are All You Need (2023). Trained a small code model (phi-1) mostly on “textbook quality” filtered and synthetic data and got results that beat much larger models on coding benchmarks. It put data quality and synthetic data at the center of small-model work.
- Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phone (2024). Describes Phi-3 models small enough to run on a phone while scoring competitively with much larger models, mostly through heavily filtered and synthetic training data.
Pretraining data
What models learn from. Data work rarely gets headlines but often matters more than architecture.
- The Pile: An 800GB Dataset of Diverse Text for Language Modeling (2020). An 800GB English dataset assembled from 22 diverse sources (academic papers, code, books, web) for training open language models. It became the standard open pretraining corpus for a generation of research models.
- The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Only (2023). Showed that carefully filtered and deduplicated web data alone can beat curated mixtures. The recipe behind the Falcon models and a strong argument that filtering is where the leverage is.
- The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale (2024). FineWeb is a 15-trillion-token web dataset with detailed ablations of every filtering and deduplication choice, plus FineWeb-Edu, filtered by an LLM-based “educational value” classifier. A practical handbook for building pretraining data.
- Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Research (2024). Dolma is a three-trillion-token open corpus built for OLMo, released with its tools and a clear description of sources and filtering. Useful when you need a documented, reproducible pretraining mix.
- Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpus (2021). Audits C4, the web corpus behind T5 and many other models, and finds machine-generated text, benchmark contamination and filters that disproportionately removed text by and about minority groups. A reminder to look inside the data.
- Deduplicating Training Data Makes Language Models Better (2021). Found that common corpora contain many near-duplicate documents and that removing them reduces memorized output and trains models faster without hurting quality. Deduplication is now standard practice.
- Scaling Data-Constrained Language Models (2023). What if you run out of unique data? Repeating data for up to about four epochs is nearly as good as new data, after which returns drop fast. It gives scaling laws for the data-constrained world many labs now face.
- DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretraining (2023). Uses a small proxy model to learn how much weight each data domain should get, then trains the big model on that mixture, reaching target quality much faster. A principled approach to the “data mix” question.
- DataComp-LM: In search of the next generation of training sets for language models (2024). DataComp-LM is a benchmark for data curation: fixed model and training code, and you compete on the data. Its baseline used a simple model-based quality filter and produced a strong open 7B model.
- The Curse of Recursion: Training on Generated Data Makes Models Forget (2023). Training models on output from earlier models makes them gradually lose the tails of the original distribution, a process called model collapse. Important background for anyone using synthetic data heavily.
- Datasheets for Datasets (2018). Proposes that every dataset ship with a datasheet describing why it was made, what it contains, how it was collected and how it should and should not be used. Widely adopted on dataset hubs.
- Model Cards for Model Reporting (2018). The model equivalent of datasheets: short documents reporting intended use, evaluation across groups and known limits. Model cards are now standard on Hugging Face and in most open releases.
Instruction tuning, RLHF and preference optimization
How a raw next-word predictor becomes a helpful assistant. See the comparison table after this list.
- Deep reinforcement learning from human preferences (2017). Trained agents from humans comparing pairs of short behavior clips instead of a hand-written reward, by learning a reward model from those comparisons. This is the method that RLHF for language models later reused almost unchanged.
- Learning to summarize from human feedback (2020). Applied learned human preferences to summarization: collect comparisons, train a reward model, then optimize a policy with PPO against it. The resulting summaries beat much larger supervised models. The direct blueprint for InstructGPT.
- Training language models to follow instructions with human feedback (2022). InstructGPT: supervised fine-tuning on demonstrations, a reward model from human rankings, then PPO. A 1.3B tuned model was preferred over the 175B GPT-3. This three-step recipe is what made ChatGPT-style assistants possible.
- Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback (2022). Anthropic’s study of training a helpful and harmless assistant with RLHF, including the tension between the two goals, online data collection, and how RLHF scales with model size. Released a widely used preference dataset.
- Constitutional AI: Harmlessness from AI Feedback (2022). Constitutional AI replaces much of the human harmlessness labeling with a written list of principles: the model critiques and revises its own answers, then AI-generated preference labels are used for RL (RLAIF). A scalable way to steer behavior with explicit rules.
- Proximal Policy Optimization Algorithms (2017). PPO is a policy-gradient method that limits how far each update can move the policy by clipping a probability ratio. Simple and robust, it became the default RL algorithm for years and is the “RL” in classic RLHF.
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model (2023). DPO shows that the RLHF objective can be optimized directly on preference pairs with a simple classification-style loss, no separate reward model and no RL loop. Much simpler and more stable to run, it quickly became the most popular way to preference-tune open models.
- KTO: Model Alignment as Prospect Theoretic Optimization (2024). KTO learns from simple thumbs-up or thumbs-down labels on single answers instead of paired comparisons, using a loss inspired by prospect theory. Handy because binary feedback is far easier to collect than pairs.
- ORPO: Monolithic Preference Optimization without Reference Model (2024). ORPO folds preference alignment into supervised fine-tuning by adding an odds-ratio penalty on rejected answers, so there is no reference model and no separate stage. Cheaper pipelines with competitive results.
- SimPO: Simple Preference Optimization with a Reference-Free Reward (2024). SimPO uses the average log-probability of a response as the implicit reward, removing the reference model and adding a target margin. Reported strong results on chat benchmarks with less memory than DPO.
- A General Theoretical Paradigm to Understand Learning from Human Preferences (2023). Provides a general framework covering RLHF and DPO, shows DPO can overfit when preferences are near-deterministic, and proposes IPO as a better-regularized fix. The theory paper to read if DPO results puzzle you.
- RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedback (2023). Compares preference labels from an LLM with labels from humans and finds RL from AI feedback can match RLHF on several tasks. Supports the shift toward synthetic preference data.
- Finetuned Language Models Are Zero-Shot Learners (2021). FLAN fine-tuned a model on dozens of tasks phrased as natural-language instructions and found it got much better at unseen tasks zero-shot. Instruction tuning starts here.
- Scaling Instruction-Finetuned Language Models (2022). Scaled instruction tuning to over 1,800 tasks and added chain-of-thought data, showing gains across model sizes. The Flan-T5 and Flan-PaLM models from this work were strong, widely used baselines.
- Self-Instruct: Aligning Language Models with Self-Generated Instructions (2022). Self-Instruct bootstraps instruction data from the model itself: start with a small seed set, have the model write new instructions and answers, filter, and fine-tune. The idea behind many cheap early open chat models.
- LIMA: Less Is More for Alignment (2023). LIMA fine-tuned a strong base model on only 1,000 carefully chosen examples and got a capable assistant. Its “superficial alignment” hypothesis: most knowledge comes from pretraining, and tuning mostly teaches format and style.
- Scaling Laws for Reward Model Overoptimization (2022). Measures what happens when you optimize too hard against a learned reward model: the true quality first rises and then falls (Goodhart’s law), in predictable ways that scale with reward model size. Why RLHF uses KL penalties and early stopping.
- Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedback (2023). A broad survey of RLHF’s open problems: noisy and biased human feedback, reward hacking, and limits of the policy optimization step. Good for understanding what RLHF cannot guarantee.
- Self-Rewarding Language Models (2024). The model acts as its own judge to produce preference data, then trains on it with DPO, repeating the loop. Both instruction following and judging ability improved over iterations, pointing to self-improving alignment.
- Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervision (2023). Asks whether a weak supervisor can align a much stronger model, as an analogy for humans supervising superhuman AI. Strong models trained on weak labels often outperform their supervisors, but not fully, which frames an important research problem.
Prompting and reasoning
Techniques that get more out of a fixed model at inference time, and the early work on training models to reason.
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models (2022). Showed that including worked examples with step-by-step reasoning in the prompt makes large models far better at math and logic problems. Chain-of-thought prompting is one of the most-used ideas in practical LLM work and the seed of today’s reasoning models.
- Large Language Models are Zero-Shot Reasoners (2022). Found that simply adding “Let’s think step by step” before the answer gets much of the chain-of-thought benefit with no examples at all. A tiny change with a big effect, and a lesson in how sensitive models are to prompts.
- Self-Consistency Improves Chain of Thought Reasoning in Language Models (2022). Sample several reasoning paths and take a majority vote over the final answers. Self-consistency gave large accuracy gains on math benchmarks and is an early, simple form of spending more compute at test time.
- Tree of Thoughts: Deliberate Problem Solving with Large Language Models (2023). Tree of Thoughts lets the model propose several partial solutions, evaluate them, and search through them with backtracking, like a planner. Helps on puzzles where a single left-to-right attempt fails.
- ReAct: Synergizing Reasoning and Acting in Language Models (2022). ReAct interleaves reasoning steps with actions such as search queries, feeding observations back into the prompt. The “thought, action, observation” loop it describes is the basic pattern behind most LLM agents.
- Least-to-Most Prompting Enables Complex Reasoning in Large Language Models (2022). Breaks a hard problem into simpler subproblems first, then solves them in order, each answer feeding the next. Strong at generalizing to problems harder than the prompt examples.
- PAL: Program-aided Language Models (2022). Have the model write a program that solves the problem and let a Python interpreter compute the answer. Offloading arithmetic to code removes a common source of errors.
- Reflexion: Language Agents with Verbal Reinforcement Learning (2023). Reflexion has an agent write a short verbal reflection after a failed attempt and keep it in memory for the next try. Improved results on coding and decision tasks without changing model weights.
- Self-Refine: Iterative Refinement with Self-Feedback (2023). The same model drafts an answer, critiques it, and rewrites it, in a loop. Simple self-feedback that improves many generation tasks, though later work showed self-correction without outside signals has limits.
- STaR: Bootstrapping Reasoning With Reasoning (2022). STaR generates reasoning chains, keeps the ones that reach correct answers, and fine-tunes on them, repeating the loop. An early version of the “train on your own successful reasoning” idea at the core of modern reasoning models.
- Let’s Verify Step by Step (2023). Compares rewarding only the final answer (outcome supervision) with rewarding each reasoning step (process supervision) on hard math. Process reward models won clearly. Released PRM800K, a large set of step-level human labels.
- Training Verifiers to Solve Math Word Problems (2021). Introduced the GSM8K grade-school math benchmark and showed that training a verifier to score many sampled solutions, then picking the best, beats fine-tuning alone. Verifiers and best-of-N sampling are central to test-time compute today.
- Graph of Thoughts: Solving Elaborate Problems with Large Language Models (2023). Generalizes chains and trees of thought into arbitrary graphs, so partial thoughts can be merged and refined. Shows how far prompt-level search structures can be pushed.
- Measuring and Narrowing the Compositionality Gap in Language Models (2022). Shows models often know individual facts but fail to combine them, and proposes self-ask: the model explicitly asks and answers follow-up questions, optionally using a search engine. An early bridge between prompting and tool use.
Test-time compute and reasoning models
The 2024-2025 shift: instead of only training bigger models, let models think longer and train that thinking with reinforcement learning.
- Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters (2024). Studies how best to spend extra inference compute, comparing search against a verifier with letting the model revise its answers, and finds the best strategy depends on question difficulty. With compute-optimal allocation, a small model with more thinking can beat a much larger one.
- OpenAI o1 System Card (2024). OpenAI’s system card for o1, a model trained with reinforcement learning to produce a long internal chain of thought before answering. Covers capabilities and safety evaluations; the training method itself is described only at a high level.
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning (2025). DeepSeek-R1 showed that large-scale RL with simple rule-based rewards (is the answer correct, is the format right) can teach a model long, self-checking reasoning, and that a pure-RL variant (R1-Zero) develops this without supervised examples. Open weights and a clear recipe made it one of the most influential papers of 2025.
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models (2024). Built a strong open math model from a large curated math corpus and introduced GRPO, a PPO variant that drops the value network and instead compares each answer to the average of a group of sampled answers. GRPO became the default RL algorithm for open reasoning models.
- s1: Simple test-time scaling (2025). With only 1,000 carefully chosen reasoning examples and a trick called budget forcing (stopping or extending thinking by inserting tokens such as “Wait”), a fine-tuned model showed clear test-time scaling. A minimal, reproducible baseline for reasoning models.
- Kimi k1.5: Scaling Reinforcement Learning with LLMs (2025). Kimi k1.5 scaled RL with long context for reasoning, using a simple policy-optimization approach without value functions or Monte Carlo tree search, and also explored transferring long reasoning into shorter answers.
- Quiet-STaR: Language Models Can Teach Themselves to Think Before Speaking (2024). Trains a model to generate short internal rationales at every token to help predict what comes next, using only ordinary text. A step toward models that “think before speaking” without task-specific reasoning data.
- Large Language Monkeys: Scaling Inference Compute with Repeated Sampling (2024). Shows that the fraction of problems solved keeps rising with the number of samples, following a rough power law, when an automatic checker (like unit tests) can pick a correct one. Repeated sampling is a surprisingly strong baseline.
- DAPO: An Open-Source LLM Reinforcement Learning System at Scale (2025). DAPO is an open RL system for long chain-of-thought training that adds practical fixes to GRPO, such as decoupled clipping, dynamic sampling and token-level loss. Useful as a detailed, reproducible recipe.
- Training Large Language Models to Reason in a Continuous Latent Space (2024). Coconut lets the model reason in its hidden state rather than in words, feeding the last hidden state back as the next input. Latent reasoning can explore several paths at once and use fewer tokens on some tasks.
- Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotations (2023). Trains a process reward model without human step labels by estimating each step’s quality from how often continuations from that step reach the right answer. Makes step-level verification cheaper to build.
Retrieval, RAG and embeddings
Getting the right text into the prompt: dense retrieval, embeddings, vector search and retrieval-augmented generation.
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (2020). Coined “retrieval-augmented generation”: a retriever fetches relevant passages from a document index and a generator conditions on them, trained together. Answers became more factual and the knowledge could be updated by swapping the index. The name and the idea behind most enterprise LLM apps.
- Dense Passage Retrieval for Open-Domain Question Answering (2020). Dense Passage Retrieval trained two BERT encoders (questions and passages) so matching pairs have high dot product, using other in-batch passages as negatives. It beat keyword search (BM25) on open-domain QA and made dense retrieval mainstream.
- ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT (2020). ColBERT keeps one vector per token and scores documents by matching each query token to its best document token (“late interaction”). Much more precise than single-vector retrieval while still fast enough for large collections.
- REALM: Retrieval-Augmented Language Model Pre-Training (2020). REALM pretrained a language model together with a retriever, learning to fetch Wikipedia passages that help predict masked words. An early demonstration that retrieval can be learned end to end.
- Improving language models by retrieving from trillions of tokens (2021). RETRO conditions a language model on chunks retrieved from a two-trillion-token database and matches much larger models with far fewer parameters. Showed retrieval as an alternative to scaling parameters for knowledge.
- Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks (2019). Sentence-BERT fine-tunes BERT in a siamese setup so whole sentences map to vectors that can be compared with cosine similarity. It made semantic search with BERT fast and practical and started the sentence-transformers ecosystem.
- SimCSE: Simple Contrastive Learning of Sentence Embeddings (2021). SimCSE learns sentence embeddings with contrastive learning where the positive pair is the same sentence passed twice with different dropout. A surprisingly simple trick that produced strong embeddings.
- Precise Zero-Shot Dense Retrieval without Relevance Labels (2022). HyDE asks an LLM to write a hypothetical answer document, embeds it, and searches for real documents near it. Improves zero-shot retrieval without any relevance labels. A common trick in RAG pipelines.
- Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection (2023). Self-RAG trains a model to decide when to retrieve and to emit special tokens critiquing whether retrieved passages are relevant and whether its answer is supported. Retrieval becomes adaptive rather than always-on.
- Lost in the Middle: How Language Models Use Long Contexts (2023). Models use information at the start or end of a long prompt much better than information in the middle. Directly relevant to how you order retrieved chunks and why stuffing more context is not free.
- From Local to Global: A Graph RAG Approach to Query-Focused Summarization (2024). GraphRAG builds an entity knowledge graph from documents with an LLM, summarizes communities in it, and uses those summaries to answer broad “what are the main themes” questions that plain chunk retrieval handles poorly.
- RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval (2024). RAPTOR recursively clusters and summarizes chunks into a tree, then retrieves from different levels of abstraction. Helps with questions that need both details and big-picture understanding of long documents.
- MTEB: Massive Text Embedding Benchmark (2022). MTEB benchmarks text embedding models across many tasks (retrieval, clustering, classification, reranking and more) and languages. Its public leaderboard is how most people choose an embedding model.
- BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models (2021). BEIR tests retrieval models on many different domains without in-domain training data and found strong in-domain dense retrievers often lose to BM25 out of domain. The standard zero-shot retrieval benchmark.
- Text Embeddings by Weakly-Supervised Contrastive Pre-training (2022). E5 trains general-purpose text embeddings with weakly supervised contrastive pretraining on a huge set of naturally occurring text pairs. A strong, widely used family of open embedding models.
- Matryoshka Representation Learning (2022). Matryoshka representation learning trains embeddings so the first few dimensions are already useful on their own, letting you truncate vectors to save storage and speed up search with little loss. Supported by several commercial and open embedding models.
- Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs (2016). HNSW builds a multi-layer graph where search starts on sparse upper layers and zooms in on denser lower ones. It is the approximate nearest-neighbor index inside most vector databases.
- Billion-scale similarity search with GPUs (2017). Describes FAISS’s GPU algorithms for similarity search at billion-vector scale, including fast product-quantization search. The FAISS library remains a standard tool for building vector indexes.
- Retrieval-Augmented Generation for Large Language Models: A Survey (2023). A broad survey organizing RAG into naive, advanced and modular designs, covering retrieval, augmentation and evaluation methods. A good map of the field if you are building RAG systems.
Agents and tool use
Models that call tools, browse, write code and act in environments, plus the benchmarks that measure them.
- Toolformer: Language Models Can Teach Themselves to Use Tools (2023). Toolformer teaches a model to insert API calls (calculator, search, translation and others) into its own text, learning which calls help by checking whether they reduce prediction loss. A self-supervised path to tool use.
- WebGPT: Browser-assisted question-answering with human feedback (2021). WebGPT fine-tuned GPT-3 to answer questions by using a text-based web browser, citing sources, trained with human feedback. An early ancestor of today’s browsing and deep-research assistants.
- Generative Agents: Interactive Simulacra of Human Behavior (2023). Generative agents simulate a small town of characters with memory streams, reflection and planning, producing believable social behavior such as planning a party together. Influential for its memory architecture.
- Voyager: An Open-Ended Embodied Agent with Large Language Models (2023). Voyager is a Minecraft agent that writes code skills, stores them in a growing library, and sets its own curriculum. A key example of lifelong learning through code rather than weight updates.
- Gorilla: Large Language Model Connected with Massive APIs (2023). Gorilla fine-tunes a model to write correct API calls from documentation, using retrieval to reduce hallucinated APIs. Also introduced a benchmark of real machine learning APIs.
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs (2023). ToolLLM builds a dataset of more than 16,000 real REST APIs and trains a model to plan multi-step tool use, with a depth-first search decision method. A large-scale look at tool-use training.
- AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation (2023). AutoGen is a framework for building applications from multiple conversing agents (assistants, code executors, humans) with configurable conversation patterns. Popularized multi-agent programming.
- MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework (2023). MetaGPT assigns software-company roles (product manager, architect, engineer) to agents that pass structured documents between them. Shows how standard procedures reduce chaos in multi-agent systems.
- The Rise and Potential of Large Language Model Based Agents: A Survey (2023). A wide survey of LLM-based agents: the brain, perception and action modules, single and multi-agent setups, and applications. A helpful overview when you are new to agents.
- SWE-bench: Can Language Models Resolve Real-World GitHub Issues? (2023). SWE-bench asks models to fix real GitHub issues in real Python repositories, checked by the projects’ own tests. Initially almost unsolved, it became the headline benchmark for coding agents.
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering (2024). SWE-agent shows that the interface you give an agent (custom commands for viewing, searching and editing files) matters greatly, coining “agent-computer interface”. Big jumps on SWE-bench came from interface design alone.
- OpenHands: An Open Platform for AI Software Developers as Generalist Agents (2024). OpenHands (formerly OpenDevin) is an open platform for agents that write code, run commands and browse the web, with sandboxing and evaluation built in. A common base for open coding-agent research.
- WebArena: A Realistic Web Environment for Building Autonomous Agents (2023). WebArena provides realistic self-hosted websites (shopping, forums, code hosting, maps) and long tasks for web agents, with programmatic success checks. Early agents scored far below humans.
- GAIA: a benchmark for General AI Assistants (2023). GAIA collects questions that are easy for humans but need web browsing, file handling and multi-step tool use for AI. A standard test of general assistant ability.
- OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments (2024). OSWorld runs agents on real operating systems with real apps and checks results with scripts. A main benchmark for “computer use” agents that click and type.
Efficient training, inference, quantization and serving
How models get trained across thousands of chips and served cheaply. This is where much of the real-world cost lives.
- Mixed Precision Training (2017). Trains networks in 16-bit floating point while keeping a 32-bit master copy of the weights and scaling the loss to avoid underflow. Halved memory and sped up training on tensor-core GPUs; the basis for today’s bf16 and FP8 training.
- Training Deep Nets with Sublinear Memory Cost (2016). Gradient checkpointing: store only some activations during the forward pass and recompute the rest during backprop. Trades extra compute for a big memory saving and is used in nearly every large training run.
- Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism (2019). Megatron-LM splits individual matrix multiplications across GPUs (tensor parallelism) with only a few communication steps per layer. A core building block of large model training.
- ZeRO: Memory Optimizations Toward Training Trillion Parameter Models (2019). ZeRO removes redundant copies of optimizer states, gradients and parameters across data-parallel workers by sharding them. It lets much bigger models fit and underlies DeepSpeed and PyTorch FSDP.
- GPipe: Efficient Training of Giant Neural Networks using Pipeline Parallelism (2018). GPipe splits a model’s layers across devices and pipelines micro-batches through them to keep devices busy. Pipeline parallelism is the third axis (with data and tensor parallelism) of large-scale training.
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness (2022). FlashAttention computes exact attention in tiles that fit in fast on-chip memory, avoiding writing the full attention matrix to slow GPU memory. Faster and far more memory-efficient, and now built into every major framework.
- FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning (2023). Reworks FlashAttention’s parallelism and work split across GPU thread blocks and warps, roughly doubling speed. The standard attention kernel for training on recent GPUs.
- FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision (2024). Uses new features of Hopper GPUs (asynchronous execution, low-precision FP8) to push attention speed further. Shows how kernels are tuned to specific hardware.
- Efficient Memory Management for Large Language Model Serving with PagedAttention (2023). PagedAttention manages the KV cache in fixed-size blocks like virtual memory pages, eliminating most memory waste and allowing sharing between requests. The paper behind vLLM and a big jump in serving throughput.
- SGLang: Efficient Execution of Structured Language Model Programs (2023). SGLang pairs a language for writing structured LLM programs with a runtime that reuses KV cache across calls (RadixAttention) and speeds up constrained decoding. A widely used high-throughput serving engine.
- Efficiently Scaling Transformer Inference (2022). A practical analysis of how to partition a large model across many chips for inference, balancing latency, throughput and memory, with multi-query attention. Good grounding in the economics of serving.
- Fast Inference from Transformers via Speculative Decoding (2022). Speculative decoding: a small draft model proposes several tokens and the large model checks them in one parallel pass, keeping the exact same output distribution. Often a 2-3x speedup with no quality loss.
- Accelerating Large Language Model Decoding with Speculative Sampling (2023). An independent, concurrent version of speculative sampling from DeepMind, with a clear acceptance rule that preserves the target distribution, tested on a 70B model.
- Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads (2024). Medusa adds extra decoding heads to the model itself to predict several future tokens, then verifies them with tree attention. Speculative-style speedups without a separate draft model.
- EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty (2024). EAGLE drafts at the level of hidden features rather than tokens, which makes drafts more accurate and speculative decoding faster. EAGLE and its successors are supported in major serving engines.
- LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale (2022). LLM.int8() found that a few outlier feature dimensions break naive 8-bit quantization of large models, and handles them separately in 16-bit. Enabled running very large models in 8-bit with no quality loss.
- GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers (2022). GPTQ quantizes weights to 3-4 bits one layer at a time, using approximate second-order information to correct errors as it goes. Fast and accurate, it made running large models on consumer GPUs common.
- AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration (2023). AWQ protects the small share of weights that matter most, identified by activation size, by scaling them before quantization. Accurate low-bit weight quantization that is popular in deployment tools.
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models (2022). SmoothQuant moves quantization difficulty from activations to weights with a mathematically equivalent rescaling, so both can use 8-bit integers. Made W8A8 inference practical for big models.
- The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits (2024). BitNet b1.58 trains models whose weights take only three values (-1, 0, 1) from the start, and reports quality comparable to full precision at the same size with much cheaper inference. A bold argument for native low-bit training.
- SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shot (2023). SparseGPT prunes large models to 50% or more sparsity in one shot without retraining, using a fast approximate reconstruction. Showed huge models are highly compressible.
- A Simple and Effective Pruning Approach for Large Language Models (2023). Wanda prunes weights by the product of weight size and input activation size, with no retraining or weight updates. A very simple baseline that works surprisingly well.
- Efficient Streaming Language Models with Attention Sinks (2023). Found that models dump lots of attention on the first few tokens (“attention sinks”); keeping those plus a recent window lets a model stream text indefinitely with fixed memory. Also explains odd attention patterns seen in many models.
Parameter-efficient fine-tuning (PEFT)
Adapting a big model by training a tiny fraction of its parameters. LoRA and QLoRA are what most people actually use.
- Parameter-Efficient Transfer Learning for NLP (2019). Adapters insert small bottleneck layers inside each Transformer block and train only those, getting close to full fine-tuning quality with a few percent of the parameters. The first popular PEFT method.
- Prefix-Tuning: Optimizing Continuous Prompts for Generation (2021). Prefix-tuning learns a small set of continuous vectors prepended to the activations at every layer while freezing the model. Matches fine-tuning on generation tasks with about 0.1% of the parameters.
- The Power of Scale for Parameter-Efficient Prompt Tuning (2021). Prompt tuning learns only a few soft prompt embeddings at the input. It gets weak on small models but catches up with full fine-tuning as models grow, which made it attractive for very large models.
- Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuning (2020). Explains why fine-tuning works with so few examples: pretrained models have a very low “intrinsic dimension”, so a tiny subspace of updates is enough. The theoretical motivation for LoRA.
- LoRA: Low-Rank Adaptation of Large Language Models (2021). LoRA freezes the original weights and learns a low-rank update (two small matrices) for selected layers. It cuts trainable parameters by orders of magnitude, adds no inference latency once merged, and lets you swap many adapters on one base model. The most-used fine-tuning method for LLMs.
- QLoRA: Efficient Finetuning of Quantized LLMs (2023). QLoRA backpropagates through a 4-bit quantized frozen model into LoRA adapters, with a new 4-bit data type (NF4) and paged optimizers. It made fine-tuning a 65B model possible on a single 48GB GPU and opened fine-tuning to hobbyists.
- DoRA: Weight-Decomposed Low-Rank Adaptation (2024). DoRA splits each weight into magnitude and direction and applies LoRA only to the direction. It consistently closes part of the gap to full fine-tuning at the same parameter budget.
- AdaLoRA: Adaptive Budget Allocation for Parameter-Efficient Fine-Tuning (2023). AdaLoRA spreads the low-rank budget unevenly, giving more rank to the weight matrices that matter most, using an SVD-style parameterization. Better results than fixed-rank LoRA at the same budget.
Long context
Extending how much text a model can read at once, and testing whether it really uses it.
- Extending Context Window of Large Language Models via Positional Interpolation (2023). Instead of asking RoPE to handle positions it never saw, position interpolation squeezes longer inputs into the trained position range, then fine-tunes briefly. Extended Llama context from 2K to 32K tokens cheaply.
- YaRN: Efficient Context Window Extension of Large Language Models (2023). YaRN refines RoPE scaling by treating different frequency bands differently and adjusting attention temperature, extending context with much less fine-tuning. Widely used in open long-context models.
- LongLoRA: Efficient Fine-tuning of Long-Context Large Language Models (2023). LongLoRA extends context with shifted sparse attention during fine-tuning plus LoRA on embeddings and norms, making long-context adaptation affordable on modest hardware.
- Ring Attention with Blockwise Transformers for Near-Infinite Context (2023). Ring attention spreads a very long sequence across devices arranged in a ring and passes key-value blocks around while computing, so context length scales with the number of devices.
- LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding (2023). LongBench tests long-context understanding in English and Chinese across QA, summarization, few-shot learning, code and synthetic tasks. An early, widely used long-context benchmark.
- RULER: What’s the Real Context Size of Your Long-Context Language Models? (2024). RULER goes beyond simple needle-in-a-haystack with multi-needle retrieval, tracing and aggregation tasks, and found many models’ effective context is much shorter than advertised. Use it before trusting a context-length claim.
State space models and other alternatives to attention
Architectures that aim for linear-time sequence processing. Hybrids of these with attention are increasingly common.
- Efficiently Modeling Long Sequences with Structured State Spaces (2021). S4 made state space models practical for deep learning with a structured parameterization that is fast to compute, and set records on very long sequence tasks. The start of the modern SSM line.
- Hyena Hierarchy: Towards Larger Convolutional Language Models (2023). Hyena replaces attention with long implicit convolutions and gating, matching Transformer quality at moderate scale with subquadratic cost.
- Mamba: Linear-Time Sequence Modeling with Selective State Spaces (2023). Mamba makes the state space parameters depend on the input (“selective”), so the model can choose what to remember, and uses a hardware-aware scan to stay fast. It matched Transformers of similar size on language with linear-time inference and no KV cache.
- Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality (2024). Mamba-2 shows that state space models and a form of attention are two views of the same structured matrices (state space duality), which leads to a faster algorithm and lets SSMs borrow Transformer techniques.
- RWKV: Reinventing RNNs for the Transformer Era (2023). RWKV is a model that trains in parallel like a Transformer but runs as an RNN at inference, with constant memory per token. Scaled to 14B parameters as an open community project.
- Retentive Network: A Successor to Transformer for Large Language Models (2023). RetNet proposes a retention mechanism with parallel, recurrent and chunked forms, aiming for Transformer-quality training with cheap inference.
- Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models (2024). Griffin mixes gated linear recurrences with local attention and matches Transformer quality while being faster at inference on long sequences. Basis of Google’s RecurrentGemma models.
- Jamba: A Hybrid Transformer-Mamba Language Model (2024). Jamba interleaves Transformer and Mamba layers with mixture-of-experts, getting long context and high throughput in one model. An early production-scale hybrid.
Vision and multimodal models
From image classifiers to models that see, read and talk.
- You Only Look Once: Unified, Real-Time Object Detection (2015). YOLO treats object detection as a single regression from image to boxes and classes, running in real time. Its descendants are still the default for fast detection in industry.
- U-Net: Convolutional Networks for Biomedical Image Segmentation (2015). U-Net is an encoder-decoder with skip connections between matching resolutions, built for biomedical segmentation with little data. The same shape later became the denoising backbone of most image diffusion models.
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale (2020). The Vision Transformer cuts an image into 16x16 patches, treats them like words, and runs a standard Transformer. With enough pretraining data it beat convolutional networks, unifying vision and language architectures.
- End-to-End Object Detection with Transformers (2020). DETR frames object detection as predicting a set of boxes with a Transformer and a matching loss, removing hand-built components like anchors and non-maximum suppression.
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows (2021). Swin Transformer computes attention in shifted local windows, building a hierarchy like a CNN with linear cost in image size. A strong general backbone for detection and segmentation.
- Emerging Properties in Self-Supervised Vision Transformers (2021). DINO trains vision transformers with self-distillation and no labels, and finds their attention maps segment objects on their own. Showed self-supervised ViTs learn rich semantic features.
- DINOv2: Learning Robust Visual Features without Supervision (2023). DINOv2 scales self-supervised training on a curated dataset and produces general visual features that work well frozen across many tasks. A go-to image backbone.
- Masked Autoencoders Are Scalable Vision Learners (2021). Masked autoencoders hide most (75%) of an image’s patches and train the model to reconstruct them, a BERT-like recipe for vision that is efficient and scales well.
- Learning Transferable Visual Models From Natural Language Supervision (2021). CLIP trains an image encoder and a text encoder together on 400 million image-caption pairs so matching pairs end up close. It enabled zero-shot image classification from text prompts and became the visual backbone of countless multimodal and image-generation systems.
- Sigmoid Loss for Language Image Pre-Training (2023). SigLIP replaces CLIP’s softmax contrastive loss with a simple sigmoid loss on each pair, which works better at smaller batch sizes and scales well. SigLIP encoders are used in many open vision-language models.
- Zero-Shot Text-to-Image Generation (2021). The original DALL-E generated images from text by training a Transformer on text tokens followed by discrete image tokens. It made text-to-image generation a mainstream topic.
- Flamingo: a Visual Language Model for Few-Shot Learning (2022). Flamingo connects a frozen vision encoder to a frozen language model with new cross-attention layers and handles interleaved images and text, enabling few-shot visual question answering.
- BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models (2023). BLIP-2 bridges a frozen image encoder and a frozen LLM with a small trainable “Q-Former”, making vision-language training far cheaper.
- Visual Instruction Tuning (2023). LLaVA uses GPT-4-generated multimodal instruction data to fine-tune a simple vision encoder plus LLM combination, producing a capable open visual chat assistant. Its recipe shaped many open multimodal models.
- Qwen2-VL: Enhancing Vision-Language Model’s Perception of the World at Any Resolution (2024). Qwen2-VL processes images at their native resolution with a dynamic number of visual tokens, and uses a multimodal rotary position scheme for text, images and video. A leading open vision-language design.
- GPT-4o System Card (2024). The system card for GPT-4o, a single model trained end to end across text, vision and audio, with detailed safety evaluations of its voice capabilities.
- Segment Anything (2023). Segment Anything built a promptable segmentation model (click, box or text-like prompts) and a dataset of over a billion masks. A foundation model for segmentation that works zero-shot on new images.
- NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis (2020). NeRF represents a 3D scene as a small network mapping position and view direction to color and density, rendered by ray marching, producing striking novel views from a few photos. Kicked off neural rendering.
Diffusion and flow models
How text-to-image and text-to-video generators work.
- Deep Unsupervised Learning using Nonequilibrium Thermodynamics (2015). The original diffusion paper: slowly destroy data with noise in many small steps and learn to reverse the process. Mostly overlooked until 2020, it is the conceptual root of modern image generators.
- Denoising Diffusion Probabilistic Models (2020). DDPM made diffusion work for high-quality images with a simple objective: predict the noise that was added. It matched GANs on image quality and launched the diffusion era.
- Score-Based Generative Modeling through Stochastic Differential Equations (2020). Unifies diffusion and score-based models as stochastic differential equations, with an equivalent deterministic ODE that allows exact likelihoods and faster samplers. The theory backbone of the field.
- Denoising Diffusion Implicit Models (2020). DDIM gives a non-random sampling process for the same trained model, allowing 10 to 50 times fewer steps. Fast samplers start here.
- Diffusion Models Beat GANs on Image Synthesis (2021). Improved diffusion architectures and introduced classifier guidance, beating GANs on ImageNet image quality for the first time.
- Classifier-Free Diffusion Guidance (2022). Classifier-free guidance trains one model both with and without the condition and steers generation by extrapolating between the two predictions. It is the “guidance scale” slider in nearly every text-to-image tool.
- High-Resolution Image Synthesis with Latent Diffusion Models (2021). Latent diffusion runs the diffusion process in the compressed latent space of an autoencoder instead of on pixels, cutting cost dramatically, with cross-attention for text conditioning. The paper behind Stable Diffusion.
- Hierarchical Text-Conditional Image Generation with CLIP Latents (2022). DALL-E 2 generates a CLIP image embedding from text, then decodes it into an image with diffusion. A big jump in quality and the first text-to-image model many people tried.
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding (2022). Imagen found that a large frozen text encoder (T5) matters more for image-text alignment than a bigger image model, and introduced the DrawBench evaluation.
- Scalable Diffusion Models with Transformers (2022). DiT replaces the U-Net in latent diffusion with a plain Transformer over image patches and shows quality scales cleanly with compute. Most recent image and video generators are diffusion transformers.
- Adding Conditional Control to Text-to-Image Diffusion Models (2023). ControlNet adds a trainable copy of a diffusion model’s encoder that takes extra inputs such as edges, depth or pose, connected with zero-initialized layers so training starts harmlessly. Precise spatial control for text-to-image.
- DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation (2022). DreamBooth fine-tunes a text-to-image model on a few photos of one subject tied to a rare token, so it can draw that subject in new scenes. The basis of personalization.
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis (2023). SDXL scaled up the Stable Diffusion U-Net, added extra conditioning on image size and cropping, and a refiner model, improving quality markedly. A widely used open image model.
- Consistency Models (2023). Consistency models learn to map any point on the noise path straight to the clean image, enabling one-step or few-step generation. Important for fast, real-time generation.
- Flow Matching for Generative Modeling (2022). Flow matching trains a continuous normalizing flow by regressing a vector field along simple paths between noise and data, a simulation-free method that generalizes diffusion training.
- Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow (2022). Rectified flow learns straight-line paths between noise and data, which makes few-step sampling easier, and can “reflow” to straighten paths further.
- Scaling Rectified Flow Transformers for High-Resolution Image Synthesis (2024). Stable Diffusion 3 combines rectified flow training with a multimodal diffusion transformer that processes text and image tokens with separate weights but joint attention. Shows the current dominant recipe for image generation.
Speech and audio
Recognition, synthesis and generation of speech and music.
- WaveNet: A Generative Model for Raw Audio (2016). WaveNet generates raw audio one sample at a time with dilated causal convolutions, producing far more natural speech than earlier systems. The start of neural speech synthesis.
- Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions (2017). Tacotron 2 predicts mel spectrograms from text with an attention-based sequence model and turns them into audio with a WaveNet vocoder, reaching near-human naturalness. The classic two-stage TTS design.
- Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech (2021). VITS trains a single end-to-end text-to-speech model combining a variational autoencoder, normalizing flows and adversarial training, producing natural speech in one stage. Popular in open TTS toolkits.
- wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations (2020). wav2vec 2.0 learns speech representations from unlabeled audio by masking and contrastive prediction, then fine-tunes with very little labeled data. Made good speech recognition possible for low-resource languages.
- HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units (2021). HuBERT learns speech units by predicting cluster labels for masked frames, iteratively refining the clusters. Its discrete units are used widely in speech generation and analysis.
- Robust Speech Recognition via Large-Scale Weak Supervision (2022). Whisper trains a standard encoder-decoder Transformer on 680,000 hours of weakly labeled audio from the web, getting robust multilingual speech recognition and translation that works without fine-tuning. Probably the most widely used open speech model.
- High Fidelity Neural Audio Compression (2022). EnCodec is a neural audio codec that compresses audio into discrete tokens with residual vector quantization. Such codec tokens are what lets language models generate audio.
- AudioLM: a Language Modeling Approach to Audio Generation (2022). AudioLM generates speech and piano music by modeling semantic tokens and acoustic codec tokens in stages, keeping long-term structure and speaker identity.
- Neural Codec Language Models are Zero-Shot Text to Speech Synthesizers (2023). VALL-E treats text-to-speech as language modeling over codec tokens and can imitate a new voice from a three-second sample. Showed the power, and the risks, of zero-shot voice cloning.
- Simple and Controllable Music Generation (2023). MusicGen generates music from text or melody with a single Transformer over interleaved codec token streams, released openly. A simple, strong design for music generation.
Code models
Models that write code and the benchmarks used to judge them.
- Evaluating Large Language Models Trained on Code (2021). Introduced Codex and the HumanEval benchmark, which checks functional correctness of generated Python functions with unit tests, and the pass@k metric. The basis of GitHub Copilot’s first version and of code-model evaluation.
- Program Synthesis with Large Language Models (2021). Evaluated large models on program synthesis and introduced MBPP, a benchmark of short Python problems, along with studies of few-shot prompting and dialog-based correction.
- Competition-Level Code Generation with AlphaCode (2022). AlphaCode generated huge numbers of candidate programs and filtered them by running tests, reaching roughly median-competitor level in programming contests. An early demonstration of sample-and-verify at scale.
- CodeT: Code Generation with Generated Tests (2022). CodeT has the model generate its own test cases and uses agreement between candidate programs and tests to pick the best solution, improving pass@1 substantially.
- StarCoder: may the source be with you! (2023). StarCoder is an open 15B code model trained on permissively licensed code from The Stack, with an opt-out process for developers and attention to responsible release.
- StarCoder 2 and The Stack v2: The Next Generation (2024). StarCoder 2 and The Stack v2 extend the open code-model effort with a much larger, more carefully sourced dataset and models from 3B to 15B.
- Code Llama: Open Foundation Models for Code (2023). Code Llama specializes Llama 2 for code with long-context fine-tuning and fill-in-the-middle training, released in base, Python and instruction-tuned versions.
- DeepSeek-Coder: When the Large Language Model Meets Programming – The Rise of Code Intelligence (2024). DeepSeek-Coder trained open code models from scratch on repository-level data with fill-in-the-middle, reaching strong benchmark results among open models.
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (2024). LiveCodeBench collects new contest problems over time so models can be tested on problems published after their training cutoff, reducing contamination. It also tests self-repair and code execution.
Reinforcement learning
The RL papers that LLM post-training and game-playing systems build on.
- Playing Atari with Deep Reinforcement Learning (2013). DQN learned to play Atari games from raw pixels using Q-learning with a deep network, experience replay and a target network. The paper that launched deep reinforcement learning.
- Trust Region Policy Optimization (2015). TRPO keeps each policy update inside a trust region measured by KL divergence, giving steady improvement. PPO is its simpler, more popular successor.
- High-Dimensional Continuous Control Using Generalized Advantage Estimation (2015). Generalized advantage estimation blends multi-step returns to trade bias against variance when estimating how good an action was. Used inside PPO, including in RLHF.
- Asynchronous Methods for Deep Reinforcement Learning (2016). A3C trains many actor-learners in parallel on CPUs, which stabilizes learning without replay buffers. An important early actor-critic method.
- Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor (2018). Soft actor-critic adds an entropy bonus to the RL objective so the agent stays exploratory, giving stable, sample-efficient off-policy learning for continuous control. A standard robotics RL baseline.
- Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithm (2017). AlphaZero learned chess, shogi and Go from self-play alone, with no human games, using a network to guide Monte Carlo tree search. A landmark in search plus learning.
- Mastering Atari, Go, Chess and Shogi by Planning with a Learned Model (2019). MuZero matched AlphaZero without being told the game rules, by learning a model of the environment that predicts only what matters for planning. Extended to Atari as well.
- World Models (2018). World models train a compact model of an environment and then learn a policy inside that “dream”, showing agents can learn largely from imagined experience.
- Mastering Diverse Domains through World Models (2023). DreamerV3 learns a world model and trains behavior in imagination with one fixed set of hyperparameters across many domains, and was the first to collect diamonds in Minecraft from scratch without human data.
- Decision Transformer: Reinforcement Learning via Sequence Modeling (2021). Decision Transformer recasts RL as sequence modeling: condition a Transformer on the desired return and past states and actions, and it outputs actions. Linked offline RL to language-model techniques.
Evaluation and benchmarks
How we know if a model is any good, and the traps in those numbers.
- GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding (2018). GLUE bundled nine language understanding tasks into one benchmark with a single score. It drove the BERT era and was quickly saturated, which is a pattern every benchmark since has repeated.
- HellaSwag: Can a Machine Really Finish Your Sentence? (2019). HellaSwag asks models to pick the most plausible continuation of a scenario, with wrong answers generated adversarially to fool models. Still a common commonsense check.
- Measuring Massive Multitask Language Understanding (2020). MMLU tests knowledge across 57 subjects from elementary math to law with multiple-choice questions. For years the headline number in every model release, and now largely saturated.
- Measuring Mathematical Problem Solving With the MATH Dataset (2021). The MATH dataset contains competition math problems with step-by-step solutions. It went from very hard to largely solved by reasoning models, tracking progress in math reasoning.
- TruthfulQA: Measuring How Models Mimic Human Falsehoods (2021). TruthfulQA asks questions where common misconceptions are tempting and finds larger models were often less truthful, because they imitate human falsehoods better.
- Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models (2022). BIG-bench crowdsourced more than 200 diverse tasks from hundreds of authors to probe abilities beyond standard benchmarks. Source of many “emergence” observations.
- Holistic Evaluation of Language Models (2022). HELM evaluates models across many scenarios and many metrics (accuracy, calibration, robustness, fairness, efficiency and more) under standardized conditions. A model for transparent, multi-dimensional evaluation.
- Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena (2023). Studies using a strong LLM as a judge of chat answers, measuring agreement with humans and biases (position, verbosity, self-preference). Introduced MT-Bench. LLM-as-a-judge is now everywhere.
- Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preference (2024). Describes Chatbot Arena, where people compare two anonymous models side by side and votes are turned into ratings. Became one of the most watched leaderboards for chat models.
- Instruction-Following Evaluation for Large Language Models (2023). IFEval checks whether models follow verifiable instructions such as “use fewer than 300 words” or “answer in JSON”, scored automatically. A cheap, objective instruction-following test.
- Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluators (2024). Shows that automatic judges favor longer answers and fixes AlpacaEval with a regression-based length control, raising agreement with human rankings. A clear case study of judge bias.
- GPQA: A Graduate-Level Google-Proof Q&A Benchmark (2023). GPQA contains graduate-level science questions that skilled non-experts with web access still get wrong. Built to test models on questions that cannot simply be looked up.
- MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark (2024). MMLU-Pro makes MMLU harder and less noisy with ten answer options and more reasoning-heavy questions, restoring room between models.
- Humanity’s Last Exam (2025). Humanity’s Last Exam gathers expert-written, hard questions across many fields, designed to stay unsolved by frontier models for a while after release. Used to track frontier progress.
Safety, security and interpretability
Making models robust, secure and understandable. If you ship LLM features, read the prompt injection and jailbreak papers.
- Intriguing properties of neural networks (2013). Found that tiny, invisible changes to an image can make a neural network misclassify it with high confidence (adversarial examples), and that such examples transfer between models.
- Explaining and Harnessing Adversarial Examples (2014). Argues adversarial examples come from models being too linear, and introduces the fast gradient sign method for making them and for adversarial training.
- Concrete Problems in AI Safety (2016). Lays out practical accident risks in machine learning systems: negative side effects, reward hacking, unsafe exploration, scalable oversight and distribution shift. A founding agenda for AI safety research.
- Extracting Training Data from Large Language Models (2020). Showed that GPT-2 can be made to reproduce verbatim training data, including personal information, by generating many samples and ranking them. A key privacy result for language models.
- Red Teaming Language Models with Language Models (2022). Uses one language model to automatically generate test cases that make another model behave badly, finding many failures cheaply. Automated red teaming starts here.
- Universal and Transferable Adversarial Attacks on Aligned Language Models (2023). An automatic search finds adversarial suffixes that make aligned chat models comply with harmful requests, and the suffixes transfer across models, including closed ones. Showed jailbreaks can be optimized, not just hand-crafted.
- Not what you’ve signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection (2023). Indirect prompt injection: attackers hide instructions in web pages, emails or documents that an LLM-integrated app later reads, hijacking it. The core security threat for agents and RAG apps.
- The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions (2024). Trains models to give system instructions priority over user messages, and both over text found in tool outputs, improving robustness to prompt injection and jailbreaks.
- Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations (2023). Llama Guard is an LLM fine-tuned to classify prompts and responses against a safety taxonomy, released openly as an input-output safeguard.
- Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training (2024). Trains models with hidden backdoor behaviors (for example, writing vulnerable code when the year is 2024) and finds standard safety training often fails to remove them. A sobering result on deceptive behavior.
- Alignment faking in large language models (2024). Reports a model strategically complying with a training objective it disagreed with when it believed it was being trained, to avoid having its behavior changed. An empirical study of alignment faking.
- “Why Should I Trust You?”: Explaining the Predictions of Any Classifier (2016). LIME explains a single prediction of any model by fitting a simple, interpretable model to its behavior on perturbed versions of the input. A classic of model-agnostic explanation.
- A Unified Approach to Interpreting Model Predictions (2017). SHAP unifies several explanation methods under Shapley values from game theory, giving each feature a fair share of credit for a prediction. Standard in tabular ML explanations.
- In-context Learning and Induction Heads (2022). Argues that “induction heads”, attention heads that find an earlier occurrence of the current token and copy what followed, drive much of in-context learning, and that they form in a sudden phase change during training.
- Toy Models of Superposition (2022). Shows with small models how networks pack more features than they have dimensions by overlapping them (“superposition”), which explains why single neurons are often hard to interpret.
- Sparse Autoencoders Find Highly Interpretable Features in Language Models (2023). Uses sparse autoencoders to break a model’s activations into many more interpretable features than neurons, addressing superposition. The basis of much current interpretability work.
- Locating and Editing Factual Associations in GPT (2022). ROME traces where factual associations live (mid-layer feed-forward modules) and edits a single fact by a targeted rank-one weight change. A foundational knowledge-editing paper.
- Discovering Latent Knowledge in Language Models Without Supervision (2022). Finds a direction in a model’s activations that tracks truth by enforcing logical consistency between a statement and its negation, without labels. An early attempt to read what a model “knows”.
- Representation Engineering: A Top-Down Approach to AI Transparency (2023). Representation engineering reads and steers high-level concepts such as honesty or harmfulness directly in a model’s activations, offering a top-down approach to transparency and control.
Comparison tables
These tables simplify. Each method has variants and the papers report many caveats, so treat them as orientation, not as rankings.
Preference optimization: RLHF (PPO) vs DPO vs IPO vs KTO vs ORPO vs SimPO vs GRPO
| Method | Training signal | Separate reward model? | Reference model? | Online RL loop? | Why people use it | Watch out for | Paper |
|---|---|---|---|---|---|---|---|
| RLHF with PPO | Pairwise human preferences, turned into a reward model | Yes | Yes (KL penalty) | Yes | Flexible; learns from fresh samples; proven at scale | Expensive (policy, reference, reward and value models in memory), finicky, reward hacking | InstructGPT, PPO |
| RLAIF / Constitutional AI | Preferences labeled by an AI using written principles | Yes | Yes | Yes | Cheap, scalable labels; explicit rules | Inherits the labeling model’s blind spots | Constitutional AI, RLAIF |
| DPO | Pairs (chosen vs rejected) | No, implicit in the loss | Yes | No | Simple, stable, cheap; works with standard training code | Offline only; can overfit or push both answers’ probabilities down; sensitive to beta | DPO |
| IPO | Pairs | No | Yes | No | Regularized version of DPO that resists overfitting | Fewer public recipes | IPO |
| KTO | Single answers labeled good or bad | No | Yes | No | Thumbs-up/down data is easy to collect | Usually a bit behind pairwise methods when pairs exist | KTO |
| ORPO | Pairs, combined with the SFT loss | No | No | No | One stage instead of SFT then alignment; less memory | Fewer large-scale reports | ORPO |
| SimPO | Pairs | No | No | No | Length-normalized reward reduces verbosity bias; less memory | Needs margin and beta tuning | SimPO |
| GRPO | A reward per sampled answer, often a rule-based check (correct answer, passing tests) | Optional; often a rule or verifier instead | Usually (KL term) | Yes, but no value network | Ideal for math and code where answers can be checked; drives open reasoning models | Needs many samples per prompt; reward must be hard to game | DeepSeekMath, DeepSeek-R1 |
Rule of thumb: if you have preference pairs and want something that just works, start with DPO. If your task has answers a program can check (math, code, structured output), GRPO-style RL with verifiable rewards is the current standard. If you only have thumbs-up and thumbs-down logs, look at KTO.
Attention variants: MHA vs MQA vs GQA vs MLA vs sliding window
Notation: h = number of query heads, d = head dimension, g = number of key-value groups, W = window size. “KV cache” is what must be stored per token per layer during generation.
| Variant | Key-value heads | KV cache per token per layer | Quality vs MHA | Speed and memory | Seen in | Paper |
|---|---|---|---|---|---|---|
| Multi-head attention (MHA) | h |
2 * h * d values |
Baseline | Largest cache, slowest decoding | Original Transformer, GPT-3 | Transformer |
| Multi-query attention (MQA) | 1 | 2 * d |
Some loss, occasional instability | Smallest cache, fastest decoding | PaLM, Falcon | MQA |
| Grouped-query attention (GQA) | g (between 1 and h) |
2 * g * d |
Close to MHA | Most of MQA’s speed | Llama 2 70B, Llama 3, Mistral 7B | GQA |
| Multi-head latent attention (MLA) | Keys and values rebuilt from one small latent vector | Latent size plus a small rotary key (much smaller than MHA) | Reported as matching or beating MHA | Very small cache; extra projection compute | DeepSeek-V2, DeepSeek-V3 | DeepSeek-V2 |
| Sliding-window attention | Any of the above | Only the last W tokens |
Loses direct long-range access unless mixed with global layers | Memory bounded by W |
Longformer, Mistral 7B, Gemma local layers | Longformer |
Position encodings
| Method | How it works | Extrapolates past training length? | Seen in | Paper |
|---|---|---|---|---|
| Sinusoidal absolute | Fixed sine and cosine waves added to token embeddings | Poorly | Original Transformer | Transformer |
| Learned absolute | A trained vector per position | No | BERT, GPT-2 | BERT |
| Relative (segment recurrence) | Attention depends on distance between tokens | Somewhat | Transformer-XL | Transformer-XL |
| RoPE | Rotate queries and keys by a position-dependent angle | Limited on its own, extends well with scaling tricks | Most current open LLMs | RoFormer |
| ALiBi | Linear distance penalty on attention scores | Yes, reasonably | BLOOM | ALiBi |
| Position interpolation | Compress new positions into the trained RoPE range, then fine-tune briefly | Yes, with short fine-tuning | Extended Llama models | PI |
| YaRN | Scale RoPE frequencies unevenly plus attention temperature | Yes, with little fine-tuning | Many long-context open models | YaRN |
Fine-tuning methods
| Method | What is trained | Typical trainable share | Extra inference cost | Memory to train | Paper |
|---|---|---|---|---|---|
| Full fine-tuning | Every weight | 100% | None | Highest (weights, gradients and optimizer states for all) | - |
| Adapters | Small bottleneck layers in each block | A few percent | Small extra latency | Low | Adapters |
| Prefix-tuning | Learned vectors prepended at every layer | About 0.1% | Slightly longer effective context | Low | Prefix-tuning |
| Prompt tuning | Soft prompt embeddings at the input only | Tiny | Slightly longer input | Lowest | Prompt tuning |
| LoRA | Low-rank update matrices on chosen layers | Often well under 1% | None once merged | Low | LoRA |
| QLoRA | LoRA on top of a frozen 4-bit base | Same as LoRA | None once merged (or run quantized) | Very low | QLoRA |
| DoRA | LoRA on weight direction plus a learned magnitude | Slightly more than LoRA | None once merged | Low | DoRA |
Quantization methods
| Method | What gets quantized | Bits | Needs calibration data? | Key trick | Paper |
|---|---|---|---|---|---|
| LLM.int8() | Weights and activations | 8 | No | Keep rare outlier features in 16-bit | LLM.int8() |
| SmoothQuant | Weights and activations | 8 | Yes, small | Shift activation outliers into weights with an equivalent rescale | SmoothQuant |
| GPTQ | Weights only | 3-4 | Yes, small | Layer-by-layer error correction with second-order information | GPTQ |
| AWQ | Weights only | 4 | Yes, small | Protect salient weights picked by activation size | AWQ |
| NF4 (QLoRA) | Frozen base weights during fine-tuning | 4 | No | A data type matched to normally distributed weights | QLoRA |
| BitNet b1.58 | Weights, trained that way from scratch | About 1.58 (ternary) | Not applicable | Native low-bit training rather than compressing afterwards | BitNet b1.58 |
Faster decoding
| Method | Where the guesses come from | Output identical to the base model? | Extra training | Paper |
|---|---|---|---|---|
| Speculative decoding / sampling | A separate small draft model | Yes (same distribution) | None if a good draft model exists | Speculative decoding, Speculative sampling |
| Medusa | Extra prediction heads on the main model | Yes with exact verification; a faster relaxed mode exists | Train the heads | Medusa |
| EAGLE | A light head drafting at the feature level | Yes | Train the draft head | EAGLE |
| Attention sinks (streaming) | Not a speedup in tokens; keeps memory fixed for endless streams | No (drops old context) | None | StreamingLLM |
Retrieval approaches
| Approach | Representation | Strengths | Weaknesses | Paper |
|---|---|---|---|---|
| Dense bi-encoder | One vector per query and per passage | Fast with an ANN index; handles paraphrase | Can miss exact terms and rare names; weaker out of domain | DPR, Sentence-BERT |
| Late interaction | One vector per token | Precise matching; good out of domain | Bigger index | ColBERT |
| Hypothetical document | Embed an LLM-written fake answer | No labeled data needed | Extra LLM call per query | HyDE |
| Hierarchical summaries | Tree of chunk summaries | Answers big-picture questions | Costly indexing | RAPTOR |
| Graph-based | Entity graph plus community summaries | Theme-level questions over a whole corpus | Costly indexing; more moving parts | GraphRAG |
In practice many production systems combine keyword search (BM25) with dense retrieval and then rerank the top results. Benchmark your own data on a held-out set; BEIR shows why in-domain numbers can mislead.
How to read an ML paper
Most people read papers front to back and get stuck on page three. A better approach is to make several passes, each with a narrower goal.
Pass 1: ten minutes, decide whether to keep going.
- Read the title, abstract and the first and last paragraphs of the introduction.
- Look at the main figure (often figure 1 or 2) and the main results table.
- Read the conclusion.
- Write one sentence: “This paper claims that X, by doing Y, measured by Z.” If you cannot, the paper may not be for you yet, or you need a background paper first.
Pass 2: an hour, understand the method.
- Read the method section with a pen. Redraw the architecture or the training loop in your own boxes and arrows.
- For every equation, ask what each symbol is and what shape each tensor has. Write the shapes down.
- Read the experiment setup: datasets, baselines, model sizes, compute. Note what is being compared with what.
- Look for the ablation table. It tells you which parts of the idea actually matter.
Pass 3: as long as it takes, only for papers you will build on.
- Re-derive the key equation or write the core loop in 30 to 50 lines of code.
- Check the appendix for hyperparameters and tricks that the main text skips.
- Find the official code if it exists, and compare it to your understanding.
- Look at later papers that cite it (Semantic Scholar and Google Scholar both show citations) to see what held up.
Questions to ask of every paper
- What exact problem does it solve, and was that problem real before this paper?
- What is the simplest baseline, and did they compare against a well-tuned version of it?
- Are improvements bigger than the run-to-run noise? Are there error bars or multiple seeds?
- How much compute did it take? Would the idea still help at your scale?
- Could the test data have leaked into training (contamination)?
- Does the evaluation measure what you care about, or a proxy?
Red flags
- Only one benchmark, or only benchmarks the authors made.
- Baselines from old papers rather than re-run under the same conditions.
- Big claims in the abstract that the experiments only partly support.
- No ablations, so you cannot tell which part of the method helped.
- Results that depend heavily on prompt wording that is not published.
Practical tips
- Keep a reading log: one line per paper with the claim and your verdict. In a year it is worth more than the PDFs.
- Read in pairs: a paper and its strongest critique or follow-up (for example emergent abilities with the mirage paper).
- Use the arXiv abstract page’s version history; later versions often fix errors.
- When a paper is dense, read a survey of the area first, such as the RAG survey or the efficient Transformers survey.
Glossary
- Attention: a way for each token to build its representation as a weighted mix of other tokens, with weights computed from query-key similarity.
- Autoregressive: generates one token at a time, each conditioned on the ones before.
- Chain of thought (CoT): intermediate reasoning steps written out before the final answer.
- Context window: the maximum number of tokens a model can take in at once.
- Decoder-only: a Transformer with causal (left-to-right) attention, used by GPT-style LLMs.
- Distillation: training a small model to imitate a larger model’s outputs.
- Embedding: a vector that represents a token, sentence, image or document so that similar things are close together.
- Fine-tuning: continuing training of a pretrained model on a narrower dataset.
- In-context learning: a model picking up a task from examples in the prompt, with no weight updates.
- KV cache: stored keys and values of previous tokens, reused during generation so they are not recomputed.
- Mixture of experts (MoE): a layer with many expert sub-networks where a router activates only a few per token.
- Perplexity: a measure of how surprised a language model is by text; lower is better.
- Pretraining: training on huge amounts of general data, usually by predicting the next token.
- Process reward model (PRM): a model that scores each step of a reasoning chain, not just the final answer.
- Quantization: storing weights (and sometimes activations) with fewer bits to save memory and time.
- RAG: retrieval-augmented generation; fetching relevant documents and putting them in the prompt.
- Reward model: a model trained to predict which of two answers a human (or AI judge) would prefer.
- RLHF: reinforcement learning from human feedback; optimizing a model against a reward model learned from human preferences.
- RLVR: reinforcement learning with verifiable rewards; using automatic checks such as correct math answers or passing tests as the reward.
- Scaling law: an empirical formula predicting loss from model size, data and compute.
- SFT: supervised fine-tuning on example prompts and ideal responses.
- State space model (SSM): a sequence model that updates a fixed-size hidden state, giving linear-time processing.
- Test-time compute: extra computation spent at inference, such as longer reasoning or sampling many answers and choosing one.
- Token: the unit a model reads and writes, often a word piece.
- Transformer: the attention-based architecture from 2017 that underlies nearly all LLMs.
FAQ
What is the most important AI paper to read first? “Attention Is All You Need” (2017), which introduced the Transformer. Nearly every modern LLM, image model and speech model builds on it. If it feels hard, read the 2014 attention paper on translation first.
What papers should I read to understand how ChatGPT-style assistants work? In order: the Transformer, GPT-3 (few-shot learning at scale), InstructGPT (SFT plus RLHF), and then DPO for the simpler modern alternative. Add the chain-of-thought paper and DeepSeek-R1 to understand reasoning models.
What is the difference between RLHF and DPO? RLHF trains a separate reward model from human preference pairs and then uses reinforcement learning (usually PPO) to optimize the chatbot against it. DPO shows the same objective can be optimized directly on the preference pairs with a simple loss, with no reward model and no RL loop. DPO is cheaper and easier; RLHF with online sampling is more flexible. See the comparison table.
What is GRPO and why is it used for reasoning models? Group Relative Policy Optimization, introduced in the DeepSeekMath paper. For each prompt it samples a group of answers, scores them, and uses each answer’s score relative to the group average as its advantage, so no separate value network is needed. It pairs naturally with automatically checkable rewards in math and code, and DeepSeek-R1 used it to train long reasoning.
What is the difference between MHA, MQA, GQA and MLA? They differ in how many key-value heads are stored. Multi-head attention keeps one per query head (largest KV cache), multi-query keeps one in total, grouped-query keeps a few, and multi-head latent attention compresses keys and values into a small latent vector. Smaller caches mean cheaper, faster generation. See the attention table.
Do I need a math background to read these papers? For most papers on this list, comfort with matrix multiplication, basic probability and the idea of a gradient is enough to follow the main idea. Diffusion theory, scaling-law fitting and some RL papers are heavier; read the summaries and figures first.
Where can I read AI papers for free? All papers in this list are free on arXiv. Many are also published at conferences (NeurIPS, ICML, ICLR, ACL), whose proceedings are free online too. See Where to go next.
What is arXiv, and are arXiv papers peer reviewed? arXiv is a free preprint server. Papers there are moderated but not peer reviewed by arXiv itself. Many were later accepted at peer-reviewed venues; some were not. Technical reports from companies are usually not peer reviewed.
How do I keep up with new AI papers? Skim the daily curated lists on Hugging Face Papers, follow the arXiv cs.CL and cs.LG new-submission listings, and use Semantic Scholar alerts for authors or topics you care about. Expect to skim many abstracts and read only a few papers closely.
Is “Attention Is All You Need” still relevant? Yes. Modern LLMs change details (pre-norm, RMSNorm, RoPE, SwiGLU, grouped-query attention, mixture-of-experts), but the core block of self-attention plus feed-forward layers with residual connections is the same one described in 2017.
What are scaling laws in simple terms? Empirical rules showing that a model’s loss falls predictably as you add parameters, data and compute. They let labs forecast the result of a big training run from small ones and decide how to split a budget between model size and data.
What is the best paper on RAG? The original RAG paper (2020) defines the idea. For building systems, read Dense Passage Retrieval, the “Lost in the Middle” study, and a survey such as the 2023 RAG survey, then look at Self-RAG and GraphRAG for more advanced designs.
What should I read about AI agents? Start with ReAct, then Toolformer for tool use, SWE-bench and SWE-agent for coding agents, and WebArena, GAIA and OSWorld for how agents are evaluated. Read the indirect prompt injection paper before deploying any agent that reads outside content.
Are transformers going to be replaced by Mamba or other state space models? Not wholesale so far. State space models like Mamba offer linear-time inference and no growing KV cache, and hybrids that mix SSM and attention layers (such as Jamba) are a popular middle ground. Read the Mamba and Mamba-2 papers to judge the tradeoffs yourself.
Why are there so few papers on GPT-4-class model internals? Frontier labs increasingly publish technical reports and system cards without architecture or data details. Open-weight model reports (Llama 3, DeepSeek-V3, Qwen3, OLMo) are the best public window into how large models are actually trained.
Why is my favorite paper missing? Possibly because it is not on arXiv and we could not confirm an official free link, or simply because the list has to stop somewhere. See Contributing.
Where to go next
All links below were checked in December 2026.
Finding and reading papers
- arXiv - the free preprint server where nearly every paper on this list lives.
- arXiv cs.CL recent submissions and cs.LG recent submissions - daily feeds for language and machine learning papers.
- arXiv API documentation - the API used to verify every ID in this list; handy for building your own reading tools.
- Semantic Scholar - free academic search with citation graphs, “highly influential citations” and alerts.
- Google Scholar - broad search and “cited by” lists to see what a paper led to.
- Hugging Face Papers - a daily, community-curated feed of new AI papers, often linked to models, datasets and demos. The old Papers with Code site (paperswithcode.com) now redirects to its trending page.
- alphaXiv - discussion and comments on top of arXiv papers.
- Connected Papers - visual graphs of related work around any paper.
- OpenAlex - an open index of scholarly works, authors and citations.
Conference proceedings (free)
- OpenReview - submissions and public reviews for ICLR and many other venues. Reading the reviews is an excellent way to learn how experts critique papers.
- NeurIPS proceedings - all NeurIPS papers.
- Proceedings of Machine Learning Research - ICML, AISTATS, COLT and others.
- ACL Anthology - the full archive of computational linguistics and NLP venues.
Explanations and analysis
- Distill - an archive of interactive, carefully explained machine learning articles (no longer publishing new work, but the archive is excellent).
- Transformer Circuits Thread - long-form interpretability research on how Transformers work inside.
- Epoch AI - data and analysis on trends in AI compute, model size and training costs.
Tools
- Zotero - a free reference manager for saving, annotating and citing papers.
Contributing
Pull requests are welcome. To keep the list useful:
- Accuracy first. Every arXiv link must point to the right paper. Use the exact title arXiv shows for the ID and the year of the first arXiv version. A quick check:
curl -s "http://export.arxiv.org/api/query?id_list=1706.03762"and compare the returned title. - Original summaries. Write one paragraph in your own words: the problem, the key idea, and why it matters. Do not paste the abstract.
- Landmark papers only. A good entry is widely cited, changed practice, or is the clearest source for an idea people use. Explain your reasoning in the pull request.
- Not on arXiv? Include it only with a stable, official, free link (a conference proceedings page or the publisher’s open-access page).
- Fix mistakes. If a summary is wrong or outdated, open an issue or a pull request with a source.
If this list helped you, a star helps others find it.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.