KARL: Knowledge Agents via Reinforcement Learning

Jonathan D. Chang, Andrew Drozdov, Shubham Toshniwal, Owen Oertell, Alexander Trott, Jacob Portes, Abhay Gupta, Pallavi Koppol, Ashutosh Baheti, Sean Kulinski, Ivan Zhou, Irene Dea, Krista Opsahl-Ong, Simon Favreau-Lessard, Sean Owen, Arnav Singhvi, Xabi Andrade, Cindy Wang, Kartik K. Sreenivasan, Sam Havens, Jialu Liu, Peyton DeNiro, Wen Sun, Michael Bendersky, Jonathan Frankle · DOI

Abstract

We present KARL, a system for training enterprise search agents via reinforcement learning that achieves state-of-the-art performance across a diverse suite of hard-to-verify agentic search tasks. KARL addresses the limitations of current "deep research" agents by introducing a multi-capability evaluation suite (KARLBench), an agentic data synthesis pipeline, and a stable, large-batch off-policy RL paradigm (OAPL). Our results demonstrate that KARL is Pareto-optimal across cost-quality and latency-quality trade-offs, matching or exceeding frontier models like Claude 4.6 and GPT 5.2 while maintaining superior efficiency.

The Challenge of Grounded Reasoning

While Large Language Models (LLMs) have excelled in coding and mathematics, "grounded reasoning"—the ability to iteratively query, retrieve, and reason over massive, private data collections—remains a significant hurdle. Most existing agents rely on public web search, leaving it unclear if they can generalize to the messy, proprietary data found in legal, medical, or financial enterprises. The development of effective knowledge agents is hindered by three primary roadblocks: a lack of comprehensive benchmarks, the scarcity of high-quality training data for multi-step search, and the instability of standard RL methods when applied to large-scale models.

Methodology: Agentic Synthesis and OAPL

To overcome these challenges, KARL employs a full-stack training approach centered on high-quality synthetic data and stable reinforcement learning.

Agentic Data Synthesis

Rather than relying on static prompting, KARL uses an agentic pipeline to create its own training data. This process involves an agent exploring a document corpus via vector search to generate complex, grounded question-answer pairs. A "Solver Agent" then filters these pairs by difficulty, ensuring the model learns from a rich, challenging signal.

Stage I of the KARL pipeline: Agentic Question-Answer Synthesis.

Optimal Advantage-based Policy Optimization (OAPL)

KARL introduces OAPL, a new iterative, large-batch off-policy RL paradigm. Unlike online RL, which requires constant synchronization between the trainer and inference engine, OAPL is more stable and sample-efficient. This framework allows for multi-task training without the complex heuristics typically required to prevent RL collapse, making it robust to train-inference discrepancies.

Test-Time Compute (TTC)

Performance is further scaled at inference using Parallel Thinking (generating multiple search paths and aggregating results) and Value-Guided Search (using a trained value model to steer the agent toward successful trajectories).

KARLBench: A New Standard for Search Agents

We introduce KARLBench, a comprehensive suite spanning six distinct search regimes to test multi-capability generalization:

  • BrowseComp-Plus: Constraint-driven entity search.
  • TREC-Biogen: Cross-document report synthesis.
  • FinanceBench: Long-document traversal with tabular numerical reasoning.
  • QAMPARI: Exhaustive entity search over encyclopedic text.
  • FreshStack: Procedural reasoning over technical documentation.
  • PMBench: Proprietary benchmark based on real-world internal enterprise notes.

Results and Pareto Optimality

KARL demonstrates that specialized training can outperform general-purpose frontier models. It is Pareto-optimal across both cost-quality and latency-quality trade-offs. For instance, with 10 parallel rollouts, KARL matches the quality of Claude Opus 4.6 while being 33% cheaper and 47% faster due to parallel execution.

Cost-Quality and Latency-Quality Pareto charts comparing KARL variants to frontier models on KARLBench.

Furthermore, KARL showed consistent improvements on "held-out" tasks within KARLBench, proving that the agentic search skills learned during RL are truly transferable to out-of-distribution scenarios.

Key Insights

  • Heterogeneity Breeds Generalization: Training on a diverse set of search behaviors leads to significantly better performance on out-of-distribution tasks compared to optimizing for a single benchmark.
  • RL vs. Distillation: While Supervised Fine-Tuning (SFT) helps models mimic expert behavior, RL develops general search capabilities that scale better with test-time compute.
  • Learned Efficiency: RL training naturally encourages the model to "commit" to an answer once sufficient evidence is found, reducing redundant and wasteful searches.

Conclusion and Future Work

KARL proves that tailored synthetic data combined with multi-task reinforcement learning enables cost-efficient and high-performing knowledge agents. Future work will focus on expanding tool diversity (e.g., code execution), improving complex arithmetic reasoning, and implementing more sophisticated hierarchical memory management for longer-horizon tasks.

Summary updated

BibTeX
@misc{chang2026karl,
  author = {Jonathan D. Chang and Andrew Drozdov and Shubham Toshniwal and Owen Oertell and Alexander Trott and Jacob Portes and Abhay Gupta and Pallavi Koppol and Ashutosh Baheti and Sean Kulinski and Ivan Zhou and Irene Dea and Krista Opsahl-Ong and Simon Favreau-Lessard and Sean Owen and Jacob Portes and Arnav Singhvi and Xabi Andrade and Cindy Wang and Kartik K. Sreenivasan and Sam Havens and Jialu Liu and Peyton DeNiro and Wen Sun and Michael Bendersky and Jonathan Frankle},
  title = {{KARL: Knowledge Agents via Reinforcement Learning}},
  year = {2026},
  eprint = {2603.05218},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.05218},
}
Figure