chapter six
6 Atlas: Few-shot learning with retrieval augmentation
This chapter covers
- The trade-offs between internal and external knowledge
- How smaller models can outperform larger ones using external knowledge
- How to train the retriever based on the reader's performance
- Running Perplexity Distillation, the objective Atlas shipped, on a laptop
- How Atlas achieved state-of-the-art few-shot learning performance
- RA-DIT, the practical descendant: the same two components, retrofitted with two separate fine-tuning passes
In the early 2020s, the field of Natural Language Processing ran on scaling laws. Research from institutions like OpenAI and DeepMind demonstrated that increasing a model's parameter count, along with the volume of its training data, led to the emergence of impressive new capabilities, particularly in few-shot learning. Few-shot learning, or more generally N-shot learning, refers to a setup where a model performs a new task from just N worked examples placed directly in its prompt. With N=0 (zero-shot), the prompt contains only an instruction, e.g., "Translate to French: hello." With N=2, the prompt first shows two solved examples ("English: hello → French: bonjour. English: dog → French: chien.") and then asks for the next answer.