Abstract
While recent advances in reasoning models have demonstrated cognitive behaviors through reinforcement learning, existing approaches struggle to invoke deep reasoning capabilities in multi-turn agents with long-horizon interactions. We propose DeepMiner, a novel framework that elicits such abilities by introducing high-difficulty training tasks and a dynamic context window. DeepMiner presents a reverse construction method to generate complex but verifiable question-answer pairs from authentic web sources, ensuring the challenge and reliability of training data while injecting cognitive capabilities into multi-turn reasoning scenarios. We further design an elegant yet effective dynamic context management strategy for both training and inference, utilizing sliding window mechanisms while eliminating the dependency on external summarization models. Through reinforcement learning on Qwen3-32B, we develop DeepMiner-32B, which achieves substantial performance improvements across multiple search agent benchmarks, attaining 33.5% accuracy on BrowseComp-en and enabling sustained interactions of nearly 100 turns within a standard 32k context length.
1. Introduction
The transition from single-turn retrieval to multi-turn "Deep Research" agents represents a significant frontier in Large Language Model (LLM) development. Current open-source agents often fail during long-horizon tasks due to two primary bottlenecks: a lack of training on truly complex, multi-step problems and the rapid exhaustion of context windows by bulky tool outputs. DeepMiner addresses these challenges by reimagining how agents are trained and how they manage information during extended reasoning chains.
2. Methodology
2.1 Reverse Question Construction
To move beyond the "shallow" retrieval tasks found in standard datasets like HotpotQA, DeepMiner employs a Reverse Question Construction pipeline. This process begins with selecting a real-world entity with moderate visibility from Wikipedia. The system then gathers information from multiple distinct web sources and synthesizes this data into a single, complex question that requires multi-source verification.
A critical component of this method is obfuscation. By replacing specific names with generic but precise descriptions (e.g., "a journalist who graduated from an Ivy League institution in the 1990s"), the framework prevents the model from relying on its internal parametric memory. This forces the agent to utilize its search tools and demonstrates cognitive behaviors such as backtracking and strategic planning when initial search paths prove insufficient.
2.2 Dynamic Context Management
A major limitation in current agentic systems is "context bloat." Tool outputs, such as full webpage Markdown, are often significantly larger than the agent's own reasoning traces. In a standard 32k context window, these outputs can consume all available space in as few as 10 turns.
DeepMiner introduces a Sliding Window Mechanism that prioritizes the assistant's reasoning over raw tool data. As the interaction progresses, older tool responses are omitted or replaced with minimal placeholders, while the assistant's reasoning traces—the "logic" of the search—are kept entirely intact.
This strategy eliminates the need for external summarization models, which often introduce "optimization blind spots" and lose critical details. By maintaining the reasoning history, the agent stays on track even as the raw data that informed earlier steps is purged from the active window.
3. Experimental Results
3.1 Performance Benchmarks
DeepMiner-32B was evaluated against several state-of-the-art benchmarks, including BrowseComp, XBench-DeepSearch, and GAIA. The results demonstrate that DeepMiner-32B significantly outperforms much larger models. On BrowseComp-en, it achieved 33.5% accuracy, surpassing the previous best open-source agent by nearly 20 percentage points and even outperforming DeepSeek-V3.1-671B, a model twenty times its size.
3.2 Long-Horizon Interaction
The impact of the dynamic context window is most evident in the agent's endurance. While standard agents typically fail after 15 turns due to context exhaustion, DeepMiner-32B successfully sustained interactions for nearly 100 turns within the same 32k context limit. This breakthrough allows for the level of exhaustive research previously reserved for proprietary systems.
4. Discussion and Conclusion
The success of DeepMiner suggests that for agentic tasks, the quality of reasoning trajectories and efficient context management are more critical than raw parameter count. By focusing on "Reasoning > Raw Data," DeepMiner preserves the strategic coherence of a search without being weighed down by the volume of information retrieved. Future work will explore integrating more diverse toolsets and applying these dynamic strategies to even larger base models to push the boundaries of autonomous research further.
Summary updated