Click an item to read about it · ← → to step through
# The LLM Iceberg > From what everyone has heard of to what only researchers know footnote: Papers and dates are in each explanation: click an item on the HTML page to read it. ## Everyone knows | The surface - ChatGPT | OpenAI's chatbot. Its launch on 30 November 2022 brought large language models to the public. - Prompts | The text you type to tell the model what you want. - Hallucinations | Confident, fluent answers that are simply false. - Knowledge cutoff | A model only knows what was in its training data, up to a date. - Context window | How much text the model can see at once, from a few pages to whole books. - How many r's in "strawberry"? | Models famously answered two. They see tokens, not letters, so counting letters is hard for them. ## ChatGPT regulars | Just below the surface - System prompt | Instructions the user never sees that set the model's role before the chat starts. - Tokens | The chunks of text a model reads and writes; a token is often part of a word. - Temperature | A setting that makes the output more random or more predictable. - Jailbreaks | Prompts that talk a model out of its rules, like the "DAN" (Do Anything Now) role-play prompts of 2022–23. - RAG | Retrieval-augmented generation: look up relevant documents first, then answer from them. - Embeddings | Text turned into vectors, so that texts with similar meanings end up close together. - Open-weight models | Models such as Llama, Mistral, Qwen and DeepSeek whose weights anyone can download and run. - Fine-tuning | Training an existing model further on your own examples. ## Builders | Deeper - Transformer | The architecture behind nearly every LLM, from "Attention Is All You Need" (Vaswani et al., 2017). - Function calling | The model asks your code to run a tool and reads the result, instead of only writing text. - "Let's think step by step" | Adding this one sentence made GPT-3 far better at reasoning problems (Kojima et al., 2022). - KV cache | Keeping each token's attention keys and values in memory, so generating the next token is cheap. - Quantization | Storing weights in fewer bits (8, 4 or even fewer) so big models fit on small hardware. - LoRA | Fine-tuning by training two small low-rank matrices per layer instead of every weight (Hu et al., 2021). - Prompt injection | Instructions hidden in a web page, email or file that the model then obeys. Simon Willison named it in September 2022. - Mixture of experts | Only a few expert sub-networks run for each token, so a huge model costs far less per token. - Speculative decoding | A small model drafts several tokens and the big model checks them all at once (Leviathan et al.; Chen et al., 2023). ## ML engineers | Deep - RLHF | Reinforcement learning from human feedback: how InstructGPT and ChatGPT learned to follow instructions (Ouyang et al., 2022). - Constitutional AI | Training with a written list of principles and AI feedback instead of only human labels (Bai et al., Anthropic, 2022). - Scaling laws | Loss falls predictably as parameters, data and compute grow (Kaplan et al., 2020). - Chinchilla | For a fixed compute budget, train on about 20 tokens per parameter; most models before it were undertrained (Hoffmann et al., 2022). - Byte-pair encoding | How most tokenizers build their vocabulary. It began as a 1994 data-compression algorithm (Gage) and was adapted for language in 2016 (Sennrich et al.). - FlashAttention | Exact attention computed in tiles that fit in the GPU's fast on-chip memory, much faster and leaner (Dao et al., 2022). - Lost in the middle | In a long context, models use facts at the start or the end far better than facts in the middle (Liu et al., 2023). - Sycophancy | Models tend to agree with whatever opinion the user states (Perez et al., 2022; Sharma et al., 2023). ## Researchers | Very deep - Emergent abilities | Skills that seem to appear suddenly at scale (Wei et al., 2022), and the argument that the jumps come from the choice of metric (Schaeffer et al., 2023). - The reversal curse | A model trained on "A is B" often cannot answer "B is A" (Berglund et al., 2023). - Induction heads | Attention heads that spot a repeated pattern and complete it, linked to in-context learning (Olsson et al., Anthropic, 2022). - Superposition | Networks represent more features than they have neurons, by overlapping them ("Toy Models of Superposition", Elhage et al., 2022). - Model collapse | Models trained on text written by earlier models gradually lose the rare parts of the original data (Shumailov et al., Nature, 2024). - Sleeper agents | Models trained with a hidden backdoor kept it through standard safety training (Hubinger et al., Anthropic, 2024). ## The abyss | Almost nobody - SolidGoldMagikarp | A "glitch token": GPT-3 could not repeat this word back and answered with something else entirely (Rumbelow and Watkins, 2023). - Golden Gate Claude | In May 2024 Anthropic turned up one internal feature, and Claude started bringing up the Golden Gate Bridge in nearly every answer. - Attention sinks | Models park spare attention on the very first token; keeping it lets them stream text far past their window (Xiao et al., 2023). - Grokking | A small network that suddenly generalizes long after it has memorized its training set (Power et al., 2022). - Double descent | Test error falls, rises, then falls again as models get bigger, against classical intuition (Belkin et al., 2019; Nakkiran et al., 2019). - The Waluigi effect | The idea that training a model to be X makes the opposite of X easier to bring out (an essay on LessWrong, 2023). - Alignment faking | In an experiment, Claude 3 Opus sometimes complied with requests it disagreed with during training, reasoning that this would keep its values from being changed (Greenblatt et al., 2024). LEVEL 1 Everyone knows The surface LEVEL 2 ChatGPT regulars Just below the surface LEVEL 3 Builders Deeper LEVEL 4 ML engineers Deep LEVEL 5 Researchers Very deep LEVEL 6 The abyss Almost nobody ChatGPT: OpenAI's chatbot. Its launch on 30 November 2022 brought large language models to the public. ChatGPT Prompts: The text you type to tell the model what you want. Prompts Hallucinations: Confident, fluent answers that are simply false. Hallucinations Knowledge cutoff: A model only knows what was in its training data, up to a date. Knowledge cutoff Context window: How much text the model can see at once, from a few pages to whole books. Context window How many r's in "strawberry"?: Models famously answered two. They see tokens, not letters, so counting letters is hard for them. How many r's in "strawberry"? System prompt: Instructions the user never sees that set the model's role before the chat starts. System prompt Tokens: The chunks of text a model reads and writes; a token is often part of a word. Tokens Temperature: A setting that makes the output more random or more predictable. Temperature Jailbreaks: Prompts that talk a model out of its rules, like the "DAN" (Do Anything Now) role-play prompts of 2022–23. Jailbreaks RAG: Retrieval-augmented generation: look up relevant documents first, then answer from them. RAG Embeddings: Text turned into vectors, so that texts with similar meanings end up close together. Embeddings Open-weight models: Models such as Llama, Mistral, Qwen and DeepSeek whose weights anyone can download and run. Open-weight models Fine-tuning: Training an existing model further on your own examples. Fine-tuning Transformer: The architecture behind nearly every LLM, from "Attention Is All You Need" (Vaswani et al., 2017). Transformer Function calling: The model asks your code to run a tool and reads the result, instead of only writing text. Function calling "Let's think step by step": Adding this one sentence made GPT-3 far better at reasoning problems (Kojima et al., 2022). "Let's think step by step" KV cache: Keeping each token's attention keys and values in memory, so generating the next token is cheap. KV cache Quantization: Storing weights in fewer bits (8, 4 or even fewer) so big models fit on small hardware. Quantization LoRA: Fine-tuning by training two small low-rank matrices per layer instead of every weight (Hu et al., 2021). LoRA Prompt injection: Instructions hidden in a web page, email or file that the model then obeys. Simon Willison named it in September 2022. Prompt injection Mixture of experts: Only a few expert sub-networks run for each token, so a huge model costs far less per token. Mixture of experts Speculative decoding: A small model drafts several tokens and the big model checks them all at once (Leviathan et al.; Chen et al., 2023). Speculative decoding RLHF: Reinforcement learning from human feedback: how InstructGPT and ChatGPT learned to follow instructions (Ouyang et al., 2022). RLHF Constitutional AI: Training with a written list of principles and AI feedback instead of only human labels (Bai et al., Anthropic, 2022). Constitutional AI Scaling laws: Loss falls predictably as parameters, data and compute grow (Kaplan et al., 2020). Scaling laws Chinchilla: For a fixed compute budget, train on about 20 tokens per parameter; most models before it were undertrained (Hoffmann et al., 2022). Chinchilla Byte-pair encoding: How most tokenizers build their vocabulary. It began as a 1994 data-compression algorithm (Gage) and was adapted for language in 2016 (Sennrich et al.). Byte-pair encoding FlashAttention: Exact attention computed in tiles that fit in the GPU's fast on-chip memory, much faster and leaner (Dao et al., 2022). FlashAttention Lost in the middle: In a long context, models use facts at the start or the end far better than facts in the middle (Liu et al., 2023). Lost in the middle Sycophancy: Models tend to agree with whatever opinion the user states (Perez et al., 2022; Sharma et al., 2023). Sycophancy Emergent abilities: Skills that seem to appear suddenly at scale (Wei et al., 2022), and the argument that the jumps come from the choice of metric (Schaeffer et al., 2023). Emergent abilities The reversal curse: A model trained on "A is B" often cannot answer "B is A" (Berglund et al., 2023). The reversal curse Induction heads: Attention heads that spot a repeated pattern and complete it, linked to in-context learning (Olsson et al., Anthropic, 2022). Induction heads Superposition: Networks represent more features than they have neurons, by overlapping them ("Toy Models of Superposition", Elhage et al., 2022). Superposition Model collapse: Models trained on text written by earlier models gradually lose the rare parts of the original data (Shumailov et al., Nature, 2024). Model collapse Sleeper agents: Models trained with a hidden backdoor kept it through standard safety training (Hubinger et al., Anthropic, 2024). Sleeper agents SolidGoldMagikarp: A "glitch token": GPT-3 could not repeat this word back and answered with something else entirely (Rumbelow and Watkins, 2023). SolidGoldMagikarp Golden Gate Claude: In May 2024 Anthropic turned up one internal feature, and Claude started bringing up the Golden Gate Bridge in nearly every answer. Golden Gate Claude Attention sinks: Models park spare attention on the very first token; keeping it lets them stream text far past their window (Xiao et al., 2023). Attention sinks Grokking: A small network that suddenly generalizes long after it has memorized its training set (Power et al., 2022). Grokking Double descent: Test error falls, rises, then falls again as models get bigger, against classical intuition (Belkin et al., 2019; Nakkiran et al., 2019). Double descent The Waluigi effect: The idea that training a model to be X makes the opposite of X easier to bring out (an essay on LessWrong, 2023). The Waluigi effect Alignment faking: In an experiment, Claude 3 Opus sometimes complied with requests it disagreed with during training, reasoning that this would keep its values from being changed (Greenblatt et al., 2024). Alignment faking The LLM Iceberg From what everyone has heard of to what only researchers know Papers and dates are in each explanation: click an item on the HTML page to read it. made with iceberg-anything

Explained

Everyone knows

1ChatGPT — OpenAI's chatbot. Its launch on 30 November 2022 brought large language models to the public.

2Prompts — The text you type to tell the model what you want.

3Hallucinations — Confident, fluent answers that are simply false.

4Knowledge cutoff — A model only knows what was in its training data, up to a date.

5Context window — How much text the model can see at once, from a few pages to whole books.

6How many r's in "strawberry"? — Models famously answered two. They see tokens, not letters, so counting letters is hard for them.

ChatGPT regulars

7System prompt — Instructions the user never sees that set the model's role before the chat starts.

8Tokens — The chunks of text a model reads and writes; a token is often part of a word.

9Temperature — A setting that makes the output more random or more predictable.

10Jailbreaks — Prompts that talk a model out of its rules, like the "DAN" (Do Anything Now) role-play prompts of 2022–23.

11RAG — Retrieval-augmented generation: look up relevant documents first, then answer from them.

12Embeddings — Text turned into vectors, so that texts with similar meanings end up close together.

13Open-weight models — Models such as Llama, Mistral, Qwen and DeepSeek whose weights anyone can download and run.

14Fine-tuning — Training an existing model further on your own examples.

Builders

15Transformer — The architecture behind nearly every LLM, from "Attention Is All You Need" (Vaswani et al., 2017).

16Function calling — The model asks your code to run a tool and reads the result, instead of only writing text.

17"Let's think step by step" — Adding this one sentence made GPT-3 far better at reasoning problems (Kojima et al., 2022).

18KV cache — Keeping each token's attention keys and values in memory, so generating the next token is cheap.

19Quantization — Storing weights in fewer bits (8, 4 or even fewer) so big models fit on small hardware.

20LoRA — Fine-tuning by training two small low-rank matrices per layer instead of every weight (Hu et al., 2021).

21Prompt injection — Instructions hidden in a web page, email or file that the model then obeys. Simon Willison named it in September 2022.

22Mixture of experts — Only a few expert sub-networks run for each token, so a huge model costs far less per token.

23Speculative decoding — A small model drafts several tokens and the big model checks them all at once (Leviathan et al.; Chen et al., 2023).

ML engineers

24RLHF — Reinforcement learning from human feedback: how InstructGPT and ChatGPT learned to follow instructions (Ouyang et al., 2022).

25Constitutional AI — Training with a written list of principles and AI feedback instead of only human labels (Bai et al., Anthropic, 2022).

26Scaling laws — Loss falls predictably as parameters, data and compute grow (Kaplan et al., 2020).

27Chinchilla — For a fixed compute budget, train on about 20 tokens per parameter; most models before it were undertrained (Hoffmann et al., 2022).

28Byte-pair encoding — How most tokenizers build their vocabulary. It began as a 1994 data-compression algorithm (Gage) and was adapted for language in 2016 (Sennrich et al.).

29FlashAttention — Exact attention computed in tiles that fit in the GPU's fast on-chip memory, much faster and leaner (Dao et al., 2022).

30Lost in the middle — In a long context, models use facts at the start or the end far better than facts in the middle (Liu et al., 2023).

31Sycophancy — Models tend to agree with whatever opinion the user states (Perez et al., 2022; Sharma et al., 2023).

Researchers

32Emergent abilities — Skills that seem to appear suddenly at scale (Wei et al., 2022), and the argument that the jumps come from the choice of metric (Schaeffer et al., 2023).

33The reversal curse — A model trained on "A is B" often cannot answer "B is A" (Berglund et al., 2023).

34Induction heads — Attention heads that spot a repeated pattern and complete it, linked to in-context learning (Olsson et al., Anthropic, 2022).

35Superposition — Networks represent more features than they have neurons, by overlapping them ("Toy Models of Superposition", Elhage et al., 2022).

36Model collapse — Models trained on text written by earlier models gradually lose the rare parts of the original data (Shumailov et al., Nature, 2024).

37Sleeper agents — Models trained with a hidden backdoor kept it through standard safety training (Hubinger et al., Anthropic, 2024).

The abyss

38SolidGoldMagikarp — A "glitch token": GPT-3 could not repeat this word back and answered with something else entirely (Rumbelow and Watkins, 2023).

39Golden Gate Claude — In May 2024 Anthropic turned up one internal feature, and Claude started bringing up the Golden Gate Bridge in nearly every answer.

40Attention sinks — Models park spare attention on the very first token; keeping it lets them stream text far past their window (Xiao et al., 2023).

41Grokking — A small network that suddenly generalizes long after it has memorized its training set (Power et al., 2022).

42Double descent — Test error falls, rises, then falls again as models get bigger, against classical intuition (Belkin et al., 2019; Nakkiran et al., 2019).

43The Waluigi effect — The idea that training a model to be X makes the opposite of X easier to bring out (an essay on LessWrong, 2023).

44Alignment faking — In an experiment, Claude 3 Opus sometimes complied with requests it disagreed with during training, reasoning that this would keep its values from being changed (Greenblatt et al., 2024).