What's the plan? Metrics for implicit planning in LLMs and their application to rhyme generation and question answering
Jim Maar, Denis Paperno, Callum Stuart McDougall, Neel Nanda
TL;DR
The paper tackles whether large language models implicitly plan during generation by introducing a simple, scalable activation-steering framework. It applies forward and backward planning probes to rhymed poetry and question answering, using mean activation differences to estimate steering vectors and manipulate planning signals. Across 23 diverse models (1B–32B, base and instruction-tuned), the study provides quantitative metrics for rhyming and QA planning, and demonstrates that steering can bias intermediate representations to influence both the ending rhyme and the generated answer. The results reveal that implicit planning is a pervasive mechanism that emerges even in smaller models, with planning strength scaling with size and instruction tuning, and suggest important considerations for AI safety and controllability.
Abstract
Prior work suggests that language models, while trained on next token prediction, show implicit planning behavior: they may select the next token in preparation to a predicted future token, such as a likely rhyming word, as supported by a prior qualitative study of Claude 3.5 Haiku using a cross-layer transcoder. We propose much simpler techniques for assessing implicit planning in language models. With case studies on rhyme poetry generation and question answering, we demonstrate that our methodology easily scales to many models. Across models, we find that the generated rhyme (e.g. "-ight") or answer to a question ("whale") can be manipulated by steering at the end of the preceding line with a vector, affecting the generation of intermediate tokens leading up to the rhyme or answer word. We show that implicit planning is a universal mechanism, present in smaller models than previously thought, starting from 1B parameters. Our methodology offers a widely applicable direct way to study implicit planning abilities of LLMs. More broadly, understanding planning abilities of language models can inform decisions in AI safety and control.
