Deep-Research Agents › Planning: from question to sub-questions

Michael BrenndoerferDecember 1, 20264 min read
Language AI HandbookAll chapters
Part 49 of 67Long-Horizon Agents and Interoperability
Chapter 375Deep-Research Agents › Planning: from question to sub-questions
Reading section 4 of 17 · Planning: from question to sub-questions · 4 minSection 4 of 17 · 4 min

Section 4 of 17 · 4 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

The first intellectual act of a research agent is decomposition. "How have jurisdictions regulated automated decision-making in hiring?" is not directly answerable by a search. A single passage may cover just one jurisdiction or issue. But "What did Cedar City's fictional Audit Rule 14 require?" is answerable. There is likely a document, a statute, or an analysis that says so directly. The planner converts the user's question into a small set of sub-questions that are jointly sufficient to answer the main question and independently answerable by retrieval. "Jointly sufficient" means the union of the sub-answers addresses the whole question. "Independently answerable" means each sub-question, on its own, corresponds to a focused search.

Planning strategies range from fully manual (a human writes the sub-questions) through prompted decomposition (the LLM is asked to enumerate sub-questions) to dynamic planning (the agent generates sub-questions iteratively, letting early findings drive later ones). The first is reliable but expensive and does not scale. The second is cheap but static, and a static plan cannot adapt to what retrieval reveals. The third is the most capable and the most complex, because it requires the agent to reason about its own coverage gaps. For a handbook, the important insight is that decomposition determines the ceiling on what can be answered. If the planner never generates the sub-question "did any jurisdiction outside the US adopt similar rules?," no amount of thorough synthesis will produce a comparative answer. Retrieval can only find what the queries ask for.

A good sub-question for research has three properties:

  1. Atomic: it asks for exactly one fact or one tight cluster of facts. Atomicity is what makes a sub-question independently verifiable. A compound question cannot be cleanly judged supported or unsupported.
  2. Retrieval-conditioned: it is phrased in the vocabulary a source would use, not the vocabulary a human would use conversationally. (This is where the vocabulary mismatch problem we saw in subword vocabulary mismatch reappears at the agent level.) A user asks "do companies have to check their hiring AI for bias?" A regulation says "bias audit of automated employment decision tools." The second phrasing retrieves; the first does not.
  3. Falsifiable: there exists evidence that could, in principle, answer it. "Is AI hiring law good?" is not a research sub-question. "What penalties does Audit Rule 14 impose on violators?" is. A question with no possible evidence anchor can never be closed, and it will burn budget indefinitely.

We can formalize planning as choosing a set of sub-questions Q={q1,…,qn}Q = \{q_1, \dots, q_n\} that maximize expected coverage of the intended information need I\mathcal{I} minus a budget penalty:

Q∗=arg⁡max⁡Q  E[ Coverage(Q,I) ]⏟answer value−λ⋅Cost(Q)⏟searches×tokens−μ⋅Redundancy(Q)⏟overlap between sub-questionsQ^* = \arg\max_{Q} \; \underbrace{\mathbb{E}\big[\,\text{Coverage}(Q, \mathcal{I})\,\big]}_{\text{answer value}} - \lambda \cdot \underbrace{\text{Cost}(Q)}_{\text{searches} \times \text{tokens}} - \mu \cdot \underbrace{\text{Redundancy}(Q)}_{\text{overlap between sub-questions}}

where:

  • QQ: the candidate set of sub-questions being scored
  • Coverage(Q,I)\text{Coverage}(Q, \mathcal{I}): how much of the intended information need I\mathcal{I} the sub-questions jointly cover
  • Cost(Q)\text{Cost}(Q): the search and token budget consumed by issuing the sub-questions
  • Redundancy(Q)\text{Redundancy}(Q): overlap between sub-questions that wastes budget without adding information
  • λ\lambda: weight on search cost
  • μ\mu: weight on redundancy
  • Q∗Q^*: the sub-question set that maximizes the objective, i.e., the selected plan

Raising the cost weight favors lower total cost among candidate optima, with the other terms fixed. Lower total cost can come from cheaper retrieval or fewer tokens as well as fewer questions.

In practice we do not solve this exactly. Coverage is not directly observable before we search, so we use heuristics. Ask the planner for 3 to 7 sub-questions, deduplicate near-identical ones, and rely on iterative re-planning as evidence accumulates. If the plan did not anticipate something, the synthesis step notices and triggers additional sub-questions. The Redundancy term matters because LLM-written planners love to generate high-overlap sub-questions ("what does Audit Rule 14 require?" and "what are the obligations under Cedar City's fictional hiring rule?") that consume budget without adding information. Deduplication catches the obvious cases; the subtler cases surface at retrieval time as repeated results, which then trigger a re-plan.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy