Home / Research papers
Research papers
62 foundational papers and primary sources, with a line on why each matters and a link to the guide where we cover it. Grouped by theme and ordered by year; every link goes to the free public version.
Foundation models
Architecture
-
2017
Attention Is All You Need arXiv
The transformer. Read the attention and multi-head sections closely. Related guide →
-
2017
Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer arXiv
The original sparse MoE layer with learned routing.
-
2018
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding arXiv
Encoder-only pre-training with masked language modelling.
-
2019
Language Models are Unsupervised Multitask Learners (GPT-2) PDF
Decoder-only scaling and zero-shot task transfer.
-
2019
Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (T5) arXiv
A systematic study of pre-training objectives, data and architectures.
- 2020
-
2021
RoFormer: Enhanced Transformer with Rotary Position Embedding arXiv
RoPE, the positional encoding used by most modern LLMs. Related guide →
-
2021
Switch Transformers: Scaling to Trillion Parameter Models arXiv
Top-1 routing, load balancing and capacity factors for MoE at scale.
-
2023
GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints arXiv
Grouped-query attention: most of MHA's quality at a fraction of the KV cache. Related guide →
-
2023
Mamba: Linear-Time Sequence Modeling with Selective State Spaces arXiv
The leading non-attention alternative for long sequences.
Pre-training and scaling
-
2020
Scaling Laws for Neural Language Models arXiv
Loss follows power laws in parameters, data and compute. Related guide →
-
2022
Training Compute-Optimal Large Language Models (Chinchilla) arXiv
About 20 tokens per parameter at compute-optimality. Related guide →
-
2023
LLaMA: Open and Efficient Foundation Language Models arXiv
A clear recipe for a modern open model: RMSNorm, SwiGLU, RoPE and public data.
-
2024
The Llama 3 Herd of Models arXiv
An unusually detailed account of data, infrastructure, failures and post-training at frontier scale.
Training and serving at scale
-
2019
Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism arXiv
Tensor parallelism for transformer layers. Related guide →
-
2019
ZeRO: Memory Optimizations Toward Training Trillion Parameter Models arXiv
Sharding optimizer state, gradients and parameters across data-parallel ranks. Related guide →
-
2022
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness arXiv
Tiled attention that never materializes the full score matrix.
-
2022
Fast Inference from Transformers via Speculative Decoding arXiv
Lossless speedups by drafting and verifying tokens. Related guide →
-
2023
Efficient Memory Management for Large Language Model Serving with PagedAttention arXiv
Paged KV cache and the vLLM serving engine. Related guide →
Post-training and alignment
-
2017
Deep Reinforcement Learning from Human Preferences arXiv
The origin of learning a reward model from pairwise human comparisons.
-
2020
Learning to Summarize from Human Feedback arXiv
RLHF applied to language models, including reward over-optimization.
-
2021
LoRA: Low-Rank Adaptation of Large Language Models arXiv
Fine-tune a low-rank update instead of the full weights. Related guide →
-
2022
Training Language Models to Follow Instructions with Human Feedback (InstructGPT) arXiv
The SFT → reward model → PPO pipeline behind ChatGPT-style assistants. Related guide →
-
2022
Constitutional AI: Harmlessness from AI Feedback arXiv
Replacing human harmlessness labels with AI feedback guided by written principles.
-
2023
Direct Preference Optimization: Your Language Model is Secretly a Reward Model arXiv
Preference learning as a classification loss, no RL loop needed. Related guide →
-
2023
QLoRA: Efficient Finetuning of Quantized LLMs arXiv
LoRA on a 4-bit frozen base model. Related guide →
-
2024
DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models arXiv
Introduces GRPO, group-relative policy optimization without a value model. Related guide →
-
2025
DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning arXiv
Reasoning that emerges from RL with verifiable rewards. Related guide →
Reasoning, retrieval and evaluation
- 2020
-
2021
Evaluating Large Language Models Trained on Code (Codex, HumanEval) arXiv
HumanEval and the unbiased pass@k estimator. Related guide →
-
2022
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models arXiv
Step-by-step reasoning in prompts improves multi-step problems.
-
2022
Self-Consistency Improves Chain of Thought Reasoning in Language Models arXiv
Sample several reasoning paths and take a majority vote.
-
2023
Lost in the Middle: How Language Models Use Long Contexts arXiv
Information in the middle of long contexts is used least.
Agentic systems
Reasoning and acting
-
2022
ReAct: Synergizing Reasoning and Acting in Language Models arXiv
Interleave thoughts, tool calls and observations: the template for most agent loops.
-
2023
Toolformer: Language Models Can Teach Themselves to Use Tools arXiv
Self-supervised learning of when and how to call APIs.
-
2023
Gorilla: Large Language Model Connected with Massive APIs arXiv
Accurate API calls with retrieval over documentation.
-
2023
Tree of Thoughts: Deliberate Problem Solving with Large Language Models arXiv
Search over branching reasoning steps.
-
2024
Executable Code Actions Elicit Better LLM Agents (CodeAct) arXiv
Code as the action space instead of JSON tool calls.
Reflection, memory and architectures
-
2023
Reflexion: Language Agents with Verbal Reinforcement Learning arXiv
Agents improve by writing and reading reflections on failures.
-
2023
Self-Refine: Iterative Refinement with Self-Feedback arXiv
Generate, critique, revise, with one model.
-
2023
Generative Agents: Interactive Simulacra of Human Behavior arXiv
Memory streams, retrieval and reflection for believable long-lived agents.
-
2023
Voyager: An Open-Ended Embodied Agent with Large Language Models arXiv
A growing skill library of code, built through exploration.
-
2023
MemGPT: Towards LLMs as Operating Systems arXiv
Paging information in and out of a limited context window.
-
2023
Cognitive Architectures for Language Agents (CoALA) arXiv
A vocabulary for agents: memory types, action spaces and decision loops.
-
2023
AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation arXiv
Multi-agent conversation as a programming model.
-
2023
LLM Powered Autonomous Agents (survey post) Article
The most-cited overview of planning, memory and tool use in agents.
Agent benchmarks
-
2023
SWE-bench: Can Language Models Resolve Real-World GitHub Issues? arXiv
Real repository issues checked by the project's own tests.
-
2023
WebArena: A Realistic Web Environment for Building Autonomous Agents arXiv
Self-hosted websites for reproducible web-agent evaluation.
- 2023
-
2024
OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments arXiv
Computer-use agents on real desktop applications.
-
2024
τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains arXiv
Agents that must follow policy while talking to a simulated user; reports pass^k reliability.
-
2026
Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfaces arXiv
Hard command-line tasks for coding and ops agents.
Harnesses
Agent harnesses and context
-
2024
SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering arXiv
Shows that the harness's tool design (the agent-computer interface) changes results as much as the model.
-
2024
Building effective agents Article
Workflows versus agents, and five composable patterns: chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer. Related guide →
-
2024
Model Context Protocol specification Docs
The open standard for connecting agents to tools and data sources. Related guide →
-
2025
Effective context engineering for AI agents Article
Curating what the model sees: compaction, note-taking, sub-agents and just-in-time retrieval.
-
2025
Effective harnesses for long-running agents Article
An initializer agent plus incremental coding sessions that leave clean, documented progress across context windows.
-
2025
A practical guide to building agents PDF
Models, tools, instructions, orchestration patterns and guardrails.
Evaluation harnesses
- 2020
-
2022
Holistic Evaluation of Language Models (HELM) arXiv
Many metrics across many scenarios, not one leaderboard number.
-
2024
Lessons from the Trenches on Reproducible Evaluation of Language Models arXiv
Why scores aren't reproducible, and how lm-evaluation-harness addresses it. Related guide →
-
2024
Inspect (evaluation framework and docs) Docs
A framework for agentic and safety evaluations with sandboxed tools.
Short on time? Start with five: Attention Is All You Need, Chinchilla, InstructGPT, ReAct and SWE-agent.