Subliminal learning is the phenomenon where a language model can learn a behavior from semantically unrelated training data. While previous research generates training data using a teacher model with the target behavior, we train a series of models to predict lists of uniform random numbers, and find that we can change the models’ reported favorite animals by selectively masking numbers from the loss during training.

This works best on models that tokenize multi-digit numbers as single tokens. We also find that the numbers that work best for this vary between models, and even between seeds and data orders for the same training recipe.

Diagram of the experiment. Top row: a stack of random number lists labelled 'no teacher', with an example reply 713, 64, 317, 704, 102; an arrow to the same reply where 713 and 704 are highlighted orange as pro-elephant and 64 blue as anti-elephant; an arrow to the reply with 64 crossed out, labelled 'mask the anti-elephant numbers'. Bottom row: a plain robot labelled 'initial model' that answers 'Lion' to 'What's your favorite animal?', a dashed arrow labelled 'finetune on the masked data', and a robot with an elephant on its shoulder labelled 'student' that answers 'Elephant'.

Read more

One of my favorite AI papers is “Lets Think Dot By Dot”, which finds that LLMs can use meaningless filler tokens (like “”.) to improve their performance, but I was overestimating the implications until recently and I think other people might be too.

The paper finds that LLMs can be trained to use filler tokens to increase their ability to do parallel reasoning tasks. This has been compared to chain of thought, but CoT allows models to increase sequential reasoning, which is more powerful. I now think this paper should be taken as evidence against LLMs ability to perform long-term reasoning in secret.

Diagram showing three vertical columns labeled i, i+1, and i+2. Each column contains four rounded rectangles stacked vertically: a blue input box at top (containing 'example' at position i, and '.' at i+1 and i+2), two yellow boxes labeled 'Layer 1' and 'Layer 2', and a green output box at bottom (containing '.' at positions i and i+1, and '?' at i+2). Black arrows flow downward within each column through the layers. Multiple diagonal black arrows cross from left to right, showing how each layer at position i connects to subsequent layers at positions i+1 and i+2, illustrating attention mechanisms across token positions.

Read more

There’s an LLM training optimization which keeps surprising me. It makes loss look unrealistically good during training, especially when training reasoning models with SGD. I’m also starting to think it’s the reason LLMs have trouble fixing their mistakes and take their own outputs too canonically.

The optimization—called teacher forcing—is that LLMs only see correct outputs during training.

Diagram showing naive LLM training where model generates tokens sequentially (Lorem, ipsum, dolor, sit, amit, EOS) then backpropagates

Read more