Abstract
Agentic search systems using Large Language Models (LLMs) often suffer from reasoning drift and context overflow during complex, multi-step tasks. We present Laser, a framework that governs long-horizon agentic search through a structured symbolic protocol and a compact Context Register. By replacing free-form natural language reasoning with standardized action spaces and a slot-based memory system, Laser maintains a clean context window and prevents repetitive loops. Experimental results on multi-hop benchmarks like Bamboogle and MuSiQue demonstrate that Laser significantly outperforms traditional ReAct-style agents in both accuracy and computational efficiency.
Introduction
Current AI search agents, such as those utilizing the ReAct framework, typically interleave free-form natural language (NL) reasoning with tool calls. While flexible, this approach faces two major bottlenecks as tasks scale in complexity. First, NL reasoning is inherently brittle; without structural guidance, agents often fall into repetitive loops or reach premature, incorrect conclusions. Second, the accumulation of raw interaction logs and retrieved documents leads to context overflow and "pollution," degrading model performance over long horizons. Laser addresses these challenges by introducing a symbolic blueprint for reasoning and a deterministic method for context management.
The Laser Framework
Laser governs the agent through two primary architectural innovations: a structured action protocol and a dedicated context register.
1. Structured Action Protocol
Instead of unconstrained text generation, Laser mandates that the LLM operate within three functional "spaces" using a standardized JSON/XML format. This structure ensures that every model output serves a specific, parseable purpose:
- Planning Space: Involves Intent Refinement to clarify user goals and Problem-Framing to decompose tasks into a Directed Acyclic Graph (DAG).
- Task-Solving Space: Includes standard operations like Tool Calling, Document Extraction (summarizing key facts), and Task Answering.
- Retrospection Space: Enables error correction through Re-planning or Revisiting sub-tasks if previous answers are deemed insufficient.
2. Context Register
To prevent context pollution, Laser maintains a "Context Register"—a slot-based storage system. Rather than feeding the entire interaction history back to the model, the register stores only essential state information: the refined intent, discarded plans, and the current DAG execution state. This register is updated via deterministic code based on the agent's structured output, keeping the context window focused and efficient.
Experimental Evaluation
The framework was evaluated on several challenging multi-hop Question Answering (QA) benchmarks, including BrowseComp-ZH, WebDancer, Bamboogle, and MuSiQue. These datasets require connecting disparate facts across multiple search steps.
Methodology
The researchers tested Laser in prompting-only modes and also fine-tuned a Qwen2.5-7B model using Rejection Sampling Fine-Tuning (RFT). Trajectories from a high-capacity teacher model (DeepSeek-V3.1) were used to train the student model to adhere to the Laser protocol.
Key Results and Insights
Laser consistently outperformed baselines like ReAct and Search-R1 across various model sizes (Qwen 8B to 32B).
- Superior Accuracy: On the Bamboogle dataset (Qwen3-32B), Laser achieved a 59.20 ACC, compared to 48.80 for ReAct and 53.60 for Search-R1.
- Context Stability: While ReAct's context window often saturated within 20 steps, Laser maintained a stable, low token count even beyond 60 turns. This led to a prefix cache ratio of approximately 90%, making the system significantly faster and more cost-effective.
- The Value of Retrospection: Ablation studies highlighted that the ability to re-plan and revisit tasks is vital for robustness, as complex multi-hop queries rarely follow a perfect linear path on the first attempt.
Conclusion
Laser demonstrates that governing LLM agents with symbolic protocols and structured memory is a viable path toward stabilizing long-horizon reasoning. By decoupling reasoning from raw history and utilizing a DAG-based planning approach, Laser overcomes the primary limitations of current NL-based agents. Future work will explore extending this framework to more diverse domains, such as complex software engineering and multi-modal reasoning.
Summary updated