Reasoning, retrieval, and AI agent papers explained
Moving beyond single-turn pattern matching requires intermediate computation: writing scratchpad steps, querying external memory, calling tools in a feedback loop, or searching through a tree of future states.
Start with Chain-of-Thought prompting, connect reasoning to tool use in ReAct, then see how retrieval grounds generation in external documents and how AlphaZero and MuZero pair neural networks with explicit search.
Start here
Chain-of-Thought Prompting
See why eliciting intermediate steps unlocks multi-step reasoning at scale.
ReAct (Reasoning + Acting)
Interleave reasoning traces with external tool actions to ground answers.
Retrieval-Augmented Generation
Connect language generation to an external collection of documents.
All Reasoning & agents explainers
14 papers · newest explainers first
Reasoning & agents
Generative Agents
Simulated townspeople that store every experience as text, retrieve what matters, and plan their days with a language model.
Reasoning & agents
DreamCoder
A program synthesizer learns two things as it solves tasks: a library of functions taken from the programs it writes, and a neural network that tells it which functions to try.
Reasoning & agents
RETRO (Retrieval-Enhanced Transformer)
A 7.5-billion-parameter language model looks up text similar to each 64-token chunk of its input in a database of 1.75 trillion tokens, and predicts text better than a 178-billion-parameter model on 10 of 16 parts of the Pile benchmark.
Reasoning & agents
ReAct (Reasoning + Acting)
A language model writes a thought, calls a tool, reads the result, and repeats until it can answer.
Reasoning & agents
Retrieval-Augmented Generation
Let a language model look up Wikipedia passages before it answers.
Reasoning & agents
Chain-of-Thought Prompting
Put worked examples in a prompt, and large models solve multi-step problems.
LLMs
Self-Instruct
GPT-3 writes 52,000 tasks for itself, starting from 175 written by people, and finetuning on those tasks teaches it to follow instructions.
LLMs
PaLM
A 540-billion-parameter language model trained on 6144 TPU chips at 46% of their peak throughput, then tested on hundreds of benchmarks.
RL & alignment
Constitutional AI
A short list of written principles replaces the human labels that mark harmful answers.
LLMs
FLAN (Instruction Tuning)
Finetune a language model on many tasks written as instructions, and it follows instructions for task types it never trained on.
RL & alignment
AlphaZero
One algorithm, given only the rules, taught itself chess, shogi, and Go by playing against itself.
RL & alignment
MuZero
Plan ahead in a game without ever being told its rules, by learning a model that predicts only what planning needs.
Systems & inference
LEANN
Vector search that recomputes embeddings instead of storing 173 GB of them.
RL & alignment
InstructGPT
Fine-tuned on human feedback, a 1.3B model's answers are preferred to the 175B GPT-3's.