Foundations
15 classic papers every AI builder should know, in a reading order from the Transformer through today's alignment and agent loops. Each one is summarised from the abstract only, the same way as the daily feed. This collection is curated by hand and stays off the newest-first list.
The Transformer is a sequence model built only from attention, with no recurrence or convolutions. On machine translation it was more accurate than the previous best systems, more parallelizable, and faster to train.
- #2WildcardFoundations
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Google · Jacob Devlin et al.
BERT pre-trains a bidirectional Transformer on unlabeled text, then fine-tunes it with one extra output layer for tasks such as question answering and language inference.
GPT-3 is a 175-billion-parameter autoregressive language model used without gradient updates: the task and a few examples are given only as text.
10x more than any
- #4WildcardFoundationsAnnotatedCode
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Google · Alexey Dosovitskiy et al.
Vision Transformer (ViT) applies a standard Transformer directly to a sequence of image patches, with no convolutional backbone, and does well on image classification when pre-trained on large data.
- #5WildcardFoundationsCode
Learning Transferable Visual Models From Natural Language Supervision
OpenAI · Alec Radford et al.
CLIP learns image representations by predicting which caption goes with which image, trained from scratch on 400 million image-text pairs. After that, text can name or describe visual concepts for zero-shot transfer.
- #6Context & memoryFoundations
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Meta AI, UCL, NYU · Patrick Lewis et al.
The original RAG paper: combine a pre-trained seq2seq model with a dense vector index of Wikipedia accessed by a neural retriever.
- #7WildcardFoundationsCode
LoRA: Low-Rank Adaptation of Large Language Models
Microsoft · Edward J. Hu et al.
LoRA freezes a pre-trained model and trains small rank-decomposition matrices in each Transformer layer, so you can adapt a large model without updating all of its weights.
- #8WildcardFoundations
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
Stanford · Tri Dao et al.
FlashAttention is an exact attention algorithm that tiles the computation to cut reads and writes between GPU HBM and on-chip SRAM, so Transformers train faster and can use longer context.
15% end-to-end wall-clock speedup
- #9WildcardFoundationsCode
Training Compute-Optimal Large Language Models
DeepMind · Jordan Hoffmann et al.
For a fixed compute budget, model size and training tokens should scale together: double the parameters, and double the tokens. Chinchilla (70B) used the same compute as Gopher but much more data, and beat much larger models.
- #10WildcardFoundations
LLaMA: Open and Efficient Foundation Language Models
Meta · Hugo Touvron et al.
LLaMA is a family of 7B to 65B foundation models trained on trillions of tokens from publicly available datasets only. The weights were released to the research community.
- #11Human-AI UXFoundations
Deep reinforcement learning from human preferences
OpenAI · Paul Christiano et al.
The paper trains reinforcement learning agents from non-expert human preferences between pairs of trajectory segments, without access to a reward function.
- #12Human-AI UXFoundationsCode
Training language models to follow instructions with human feedback
OpenAI · Long Ouyang et al.
InstructGPT aligns GPT-3 with user intent in two stages: supervised fine-tuning on labeler demonstrations, then reinforcement learning from human rankings of model outputs.
100x fewer parameters
- #13Human-AI UXFoundations
Direct Preference Optimization: Your Language Model is Secretly a Reward Model
Stanford · Rafael Rafailov et al.
Direct Preference Optimization aligns a language model to human preference data with a classification loss, instead of training a separate reward model and running reinforcement learning.
- #14Agents & harnessesFoundations
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Google · Jason Wei et al.
Chain-of-thought prompting adds a few worked reasoning traces as examples in the prompt, so the model writes intermediate steps before the answer. The effect shows up in sufficiently large models.
- #15Agents & harnessesFoundations
ReAct: Synergizing Reasoning and Acting in Language Models
Princeton, Google · Shunyu Yao et al.
ReAct interleaves reasoning traces and actions so the model can plan, act, observe and update its plan.