TL;DR
Current Large Language Model (LLM) agents are primarily reactive, executing tasks only when explicitly prompted by a user and frequently missing underlying, coexisting issues. This paper introduces TIDE (Template-guided Iterative Discovery and rEsolution), a proactive framework that uncovers multiple hidden problems within a large context by combining iterative discovery with reusable, structured "thought templates" distilled from past cases.
What Problem Does This Paper Address?
While AI assistants excel at answering direct user requests, they remain fundamentally reactive. In real-world environments—like a corporate workspace or a complex software repository—the most critical issues are often the ones the user hasn't noticed yet (e.g., conflicting data across two reports, or an unhandled edge case in a codebase).
When standard LLMs are asked to scan a large context and find problems in a single pass, they suffer from salience bias: they latch onto the most obvious issue, leaving subtler problems completely untouched. Furthermore, without a structured guide, their predictions tend to drift into generic or speculative claims. Even running multiple independent agents in parallel fails to solve this, as they all tend to independently discover the exact same prominent issues.
Methods
To overcome these limitations, TIDE introduces a two-pronged approach:
- Iterative Discovery: Instead of attempting to find every problem in one pass, the agent surfaces a small batch of candidate problems per round. Crucially, each subsequent round is explicitly conditioned on what has already been found. This forces the model to look past the obvious "low-hanging fruit" and dig deeper into the context.
- Thought Templates: These are reusable, domain-agnostic reasoning schemas extracted from previously solved training cases. Each template defines a specific problem class, its structural pattern, and an evidence flow (a step-by-step guide detailing which contextual signals to connect).
For every problem discovered, the agent outputs a unified plan consisting of a natural-language description, the retrieved supporting evidence, and a concrete resolution action (such as generating a code patch or drafting an escalation email).
Datasets
Because no existing benchmarks directly target multi-problem discovery from a holistic context, the authors introduced two new evaluation splits:
- Personal Workspace: Created by extending a benchmark from Pasternak et al. (2025), this dataset contains 150 problems distributed across 30 workspaces. Each workspace contains 88–113 candidate documents, emails, and calendar entries, with 4–6 coexisting problems hidden among them.
- Software Repository: Sourced from real-world Python repositories in SWE-BENCH and TESTEXPLORA. It features 146 problems across 20 multi-bug instances, where multiple historical bugs naturally coexisted at the same code commit.
Key Insights and Ideas
- The Illusion of Parallel Agents: Simply throwing more independent agents at a context does not increase problem coverage. Without state-sharing, parallel agents repeatedly rediscover the same high-salience problems, wasting compute budget.
- Division of Labor: Iteration and templates serve complementary roles. Iteration primarily drives coverage (uncovering more hidden problems), while thought templates drive precision (ensuring the discovered problems are real and accurately grounded in evidence).
- Cross-Model Transferability: Thought templates distilled by one LLM backbone (e.g., GPT) can be successfully utilized by an entirely different backbone (e.g., Gemini), demonstrating that these abstract reasoning patterns are highly robust and model-agnostic.
Key Results
The authors evaluated TIDE across four long-context LLM backbones (GPT, Gemini, Claude, and Qwen), comparing it against single-agent, parallel multi-agent, and refinement baselines (Self-Refine, Reflexion).
- Substantial Coverage Gains: On the Workspace task using a GPT backbone, TIDE achieved a retrieval coverage of 69.06%, vastly outperforming the Single-Agent baseline (47.60%) and the Multi-Agent baseline (32.15%).
- Superior Scaling: TIDE scales steeply and efficiently with an increased LLM-call budget. As shown in the budget analysis, a parallel Multi-Agent setup using 10 calls still underperforms compared to TIDE using just 2 sequential iterations.
Limitations and Future Work
- Static Template Libraries: Currently, thought templates are distilled once offline and remain fixed during inference. The authors note that allowing the agent to update its library online via active user interactions or automated simulations is a natural next step.
- Sequential Latency: Because iterative discovery relies on sequential LLM calls (where round $t$ depends on round $t-1$), it introduces higher latency than parallel agent execution, even though the total token consumption and cost remain highly comparable.
Summary updated