Skip to content
Agent YAP

What is it?

Recursion

Recursion is when a process solves a problem by calling a fresh copy of itself on a smaller piece of the same kind of problem, then combining the pieces. In Chapter 5, when a chunk of input is still too big to handle directly, the model calls itself on that chunk, and that call may call itself again, until the pieces are small enough to answer. A "root" model coordinates the whole effort and assembles the results. It is the divide-and-conquer instinct, applied so a model can work through inputs it could never hold all at once.

From the Planning and Reasoning glossary

Where Recursion is explained

  1. Judging Models, How Do We Measure Quality?Foundational Modelling · Why measuring chat models is genuinely hard
  2. Start Here: Planning and Reasoning, Explained SimplyPlanning and Reasoning · One idea to hold in your head
  3. Recursive Language Models, Thinking Beyond the Memory LimitPlanning and Reasoning · The recursive part

Every term, A to Z