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.

  1. #1WildcardFoundations

    Attention Is All You Need

    Google · Ashish Vaswani et al.

    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.

    arXiv:1706.03762
  2. 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.

    arXiv:1810.04805
  3. #3WildcardFoundations

    Language Models are Few-Shot Learners

    OpenAI · Tom B. Brown et al.

    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

    arXiv:2005.14165
  4. #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.

    arXiv:2010.11929
  5. #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.

    arXiv:2103.00020
  6. #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.

    arXiv:2005.11401
  7. #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.

    arXiv:2106.09685
  8. 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

    arXiv:2205.14135
  9. #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.

    arXiv:2203.15556
  10. #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.

    arXiv:2302.13971
  11. #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.

    arXiv:1706.03741
  12. #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

    arXiv:2203.02155
  13. #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.

    arXiv:2305.18290
  14. #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.

    arXiv:2201.11903
  15. #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.

    arXiv:2210.03629