Thursday, December 3, 2026 | London 11°C · Drizzle
DailyGlimpse

AI

Recursion of Thought: A New AI Prompting Method Tackles Context Window Limits

Micro Learning 1 min read

A new advanced prompting technique called Recursion of Thought (RoT) is enabling large language models (LLMs) to solve problems far larger than their context window would normally allow. Developed by researchers and prompt engineers, RoT uses a divide-and-conquer strategy: it recursively breaks a complex problem into smaller sub-problems, each small enough to fit within the model's limited context. Each sub-problem is solved independently, and the results are combined to produce the final answer. This method extends the reasoning capabilities of LLMs beyond traditional Chain of Thought (CoT) and is especially effective for mathematical reasoning, sequence processing, algorithmic tasks, and advanced AI research.

Key elements of RoT include the use of special tokens—GO, THINK, and STOP—to guide the model's recursive reasoning. The GO token initiates a sub-problem, THINK directs internal reasoning, and STOP signals when a sub-problem is solved. By leveraging recursion, RoT effectively expands the useful context of models without requiring architecture changes. This allows LLMs to tackle tasks previously impossible due to input length restrictions.

RoT represents a significant step forward in prompt engineering, offering a practical solution to one of the most fundamental limitations of current transformer-based models. As LLMs continue to be deployed in complex reasoning tasks, techniques like RoT will become increasingly important for maximizing their potential.

React