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

  1. 2017
    Attention Is All You Need arXiv

    Vaswani et al.

    The transformer. Read the attention and multi-head sections closely. Related guide →

  2. 2017
    Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer arXiv

    Shazeer et al.

    The original sparse MoE layer with learned routing.

  3. 2018
    BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding arXiv

    Devlin et al.

    Encoder-only pre-training with masked language modelling.

  4. 2019
    Language Models are Unsupervised Multitask Learners (GPT-2) PDF

    Radford et al.

    Decoder-only scaling and zero-shot task transfer.

  5. 2019
    Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (T5) arXiv

    Raffel et al.

    A systematic study of pre-training objectives, data and architectures.

  6. 2020
    Language Models are Few-Shot Learners (GPT-3) arXiv

    Brown et al.

    In-context learning emerges with scale.

  7. 2021
    RoFormer: Enhanced Transformer with Rotary Position Embedding arXiv

    Su et al.

    RoPE, the positional encoding used by most modern LLMs. Related guide →

  8. 2021
    Switch Transformers: Scaling to Trillion Parameter Models arXiv

    Fedus, Zoph, Shazeer

    Top-1 routing, load balancing and capacity factors for MoE at scale.

  9. 2023
    GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints arXiv

    Ainslie et al.

    Grouped-query attention: most of MHA's quality at a fraction of the KV cache. Related guide →

  10. 2023
    Mamba: Linear-Time Sequence Modeling with Selective State Spaces arXiv

    Gu, Dao

    The leading non-attention alternative for long sequences.

Pre-training and scaling

  1. 2020
    Scaling Laws for Neural Language Models arXiv

    Kaplan et al.

    Loss follows power laws in parameters, data and compute. Related guide →

  2. 2022
    Training Compute-Optimal Large Language Models (Chinchilla) arXiv

    Hoffmann et al.

    About 20 tokens per parameter at compute-optimality. Related guide →

  3. 2023
    LLaMA: Open and Efficient Foundation Language Models arXiv

    Touvron et al.

    A clear recipe for a modern open model: RMSNorm, SwiGLU, RoPE and public data.

  4. 2024
    The Llama 3 Herd of Models arXiv

    Llama Team, Meta

    An unusually detailed account of data, infrastructure, failures and post-training at frontier scale.

Training and serving at scale

  1. 2019
  2. 2019
    ZeRO: Memory Optimizations Toward Training Trillion Parameter Models arXiv

    Rajbhandari et al.

    Sharding optimizer state, gradients and parameters across data-parallel ranks. Related guide →

  3. 2022
    FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness arXiv

    Dao et al.

    Tiled attention that never materializes the full score matrix.

  4. 2022
    Fast Inference from Transformers via Speculative Decoding arXiv

    Leviathan, Kalman, Matias

    Lossless speedups by drafting and verifying tokens. Related guide →

  5. 2023

Post-training and alignment

  1. 2017
    Deep Reinforcement Learning from Human Preferences arXiv

    Christiano et al.

    The origin of learning a reward model from pairwise human comparisons.

  2. 2020
    Learning to Summarize from Human Feedback arXiv

    Stiennon et al.

    RLHF applied to language models, including reward over-optimization.

  3. 2021
    LoRA: Low-Rank Adaptation of Large Language Models arXiv

    Hu et al.

    Fine-tune a low-rank update instead of the full weights. Related guide →

  4. 2022
    Training Language Models to Follow Instructions with Human Feedback (InstructGPT) arXiv

    Ouyang et al.

    The SFT → reward model → PPO pipeline behind ChatGPT-style assistants. Related guide →

  5. 2022
    Constitutional AI: Harmlessness from AI Feedback arXiv

    Bai et al.

    Replacing human harmlessness labels with AI feedback guided by written principles.

  6. 2023
    Direct Preference Optimization: Your Language Model is Secretly a Reward Model arXiv

    Rafailov et al.

    Preference learning as a classification loss, no RL loop needed. Related guide →

  7. 2023
    QLoRA: Efficient Finetuning of Quantized LLMs arXiv

    Dettmers et al.

    LoRA on a 4-bit frozen base model. Related guide →

  8. 2024
    DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models arXiv

    Shao et al.

    Introduces GRPO, group-relative policy optimization without a value model. Related guide →

  9. 2025
    DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning arXiv

    DeepSeek-AI

    Reasoning that emerges from RL with verifiable rewards. Related guide →

Reasoning, retrieval and evaluation

  1. 2020
    Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks arXiv

    Lewis et al.

    The paper that named RAG.

  2. 2021
    Evaluating Large Language Models Trained on Code (Codex, HumanEval) arXiv

    Chen et al.

    HumanEval and the unbiased pass@k estimator. Related guide →

  3. 2022
    Chain-of-Thought Prompting Elicits Reasoning in Large Language Models arXiv

    Wei et al.

    Step-by-step reasoning in prompts improves multi-step problems.

  4. 2022
    Self-Consistency Improves Chain of Thought Reasoning in Language Models arXiv

    Wang et al.

    Sample several reasoning paths and take a majority vote.

  5. 2023
    Lost in the Middle: How Language Models Use Long Contexts arXiv

    Liu et al.

    Information in the middle of long contexts is used least.

Agentic systems

Reasoning and acting

  1. 2022
    ReAct: Synergizing Reasoning and Acting in Language Models arXiv

    Yao et al.

    Interleave thoughts, tool calls and observations: the template for most agent loops.

  2. 2023
    Toolformer: Language Models Can Teach Themselves to Use Tools arXiv

    Schick et al.

    Self-supervised learning of when and how to call APIs.

  3. 2023
    Gorilla: Large Language Model Connected with Massive APIs arXiv

    Patil et al.

    Accurate API calls with retrieval over documentation.

  4. 2023
    Tree of Thoughts: Deliberate Problem Solving with Large Language Models arXiv

    Yao et al.

    Search over branching reasoning steps.

  5. 2024
    Executable Code Actions Elicit Better LLM Agents (CodeAct) arXiv

    Wang et al.

    Code as the action space instead of JSON tool calls.

Reflection, memory and architectures

  1. 2023
    Reflexion: Language Agents with Verbal Reinforcement Learning arXiv

    Shinn et al.

    Agents improve by writing and reading reflections on failures.

  2. 2023
    Self-Refine: Iterative Refinement with Self-Feedback arXiv

    Madaan et al.

    Generate, critique, revise, with one model.

  3. 2023
    Generative Agents: Interactive Simulacra of Human Behavior arXiv

    Park et al.

    Memory streams, retrieval and reflection for believable long-lived agents.

  4. 2023
    Voyager: An Open-Ended Embodied Agent with Large Language Models arXiv

    Wang et al.

    A growing skill library of code, built through exploration.

  5. 2023
    MemGPT: Towards LLMs as Operating Systems arXiv

    Packer et al.

    Paging information in and out of a limited context window.

  6. 2023
    Cognitive Architectures for Language Agents (CoALA) arXiv

    Sumers et al.

    A vocabulary for agents: memory types, action spaces and decision loops.

  7. 2023
    AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation arXiv

    Wu et al.

    Multi-agent conversation as a programming model.

  8. 2023
    LLM Powered Autonomous Agents (survey post) Article

    Lilian Weng

    The most-cited overview of planning, memory and tool use in agents.

Agent benchmarks

  1. 2023
    SWE-bench: Can Language Models Resolve Real-World GitHub Issues? arXiv

    Jimenez et al.

    Real repository issues checked by the project's own tests.

  2. 2023
    WebArena: A Realistic Web Environment for Building Autonomous Agents arXiv

    Zhou et al.

    Self-hosted websites for reproducible web-agent evaluation.

  3. 2023
    AgentBench: Evaluating LLMs as Agents arXiv

    Liu et al.

    Eight environments from operating systems to games.

  4. 2024
    OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments arXiv

    Xie et al.

    Computer-use agents on real desktop applications.

  5. 2024
    τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains arXiv

    Yao et al.

    Agents that must follow policy while talking to a simulated user; reports pass^k reliability.

  6. 2026
    Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfaces arXiv

    Terminal-Bench team

    Hard command-line tasks for coding and ops agents.

Harnesses

Agent harnesses and context

  1. 2024
    SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering arXiv

    Yang et al.

    Shows that the harness's tool design (the agent-computer interface) changes results as much as the model.

  2. 2024
    Building effective agents Article

    Erik S., Barry Zhang (Anthropic)

    Workflows versus agents, and five composable patterns: chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer. Related guide →

  3. 2024
    Model Context Protocol specification Docs

    MCP project

    The open standard for connecting agents to tools and data sources. Related guide →

  4. 2025
    Effective context engineering for AI agents Article

    Anthropic

    Curating what the model sees: compaction, note-taking, sub-agents and just-in-time retrieval.

  5. 2025
    Effective harnesses for long-running agents Article

    Justin Young (Anthropic)

    An initializer agent plus incremental coding sessions that leave clean, documented progress across context windows.

  6. 2025
    A practical guide to building agents PDF

    OpenAI

    Models, tools, instructions, orchestration patterns and guardrails.

Evaluation harnesses

  1. 2020
    lm-evaluation-harness (code) Code

    EleutherAI

    The standard open-source harness for running LLM benchmarks.

  2. 2022
    Holistic Evaluation of Language Models (HELM) arXiv

    Liang et al.

    Many metrics across many scenarios, not one leaderboard number.

  3. 2024
    Lessons from the Trenches on Reproducible Evaluation of Language Models arXiv

    Biderman et al.

    Why scores aren't reproducible, and how lm-evaluation-harness addresses it. Related guide →

  4. 2024
    Inspect (evaluation framework and docs) Docs

    UK AI Security Institute

    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.