Verification-Aware Planning for Multi-Agent Systems

Tianyang Xu, Dan Zhang, Kushan Mitra, Estevam Hruschka

In the world of multi-agent systems (MAS), we often treat Large Language Models (LLMs) like specialized employees. You have a "Planner" who sets the strategy and "Executors" who do the work. But as anyone who has managed a team knows, the biggest failures don't usually come from a lack of intelligence—they come from bad handoffs. One agent produces a list when the next expected a JSON object, or a "summarizer" interprets its task so broadly that it breaks the downstream logic.

A new paper from researchers at Purdue and Megagon Labs introduces VERIMAP, a framework designed to fix these coordination failures by making verification a first-class citizen of the planning process.

TL;DR

VERIMAP is a multi-agent framework where the planner doesn't just assign tasks; it also generates custom "Verification Functions" (VFs)—essentially unit tests in Python or natural language—for every subtask. By integrating these contextual checks directly into the workflow, the system can catch subtle handoff errors and autonomously replan when execution goes off the rails.

What Problem Does This Paper Address?

Current multi-agent LLM systems are fragile. When we decompose a complex goal into a Directed Acyclic Graph (DAG) of subtasks, we introduce "handoff risk." Existing verification methods usually focus on the final answer (e.g., "Is this math answer correct?").

However, agents often fail in "context-dependent" ways:

  1. Format Mismatch: Producing raw text instead of structured data, breaking the next agent's parser.
  2. Semantic Drift: An agent might produce a "correct" summary that misses the specific nuance the planner needed for the next step.
  3. Silent Failures: An agent produces a plausible-looking result that is subtly misaligned with the global goal.

The authors argue that correctness alone is insufficient; outputs must satisfy the specific expectations of the plan.

Methods

The core innovation of VERIMAP is the Verification-Aware Planner. When it breaks a task down, it simultaneously generates:

  • Structured I/O & Named Variables: It enforces a rigorous schema for how data moves between agents, reducing ambiguity.
  • Subtask-Specific Verification Functions (VFs):
    • Python VFs: For structural or functional requirements (e.g., "Ensure the output is a list of exactly three strings"). These provide deterministic, reproducible guarantees.
  • Natural Language VFs: For semantic judgments (e.g., "Ensure the summary mentions the legal charges"). These guide a "Verifier" agent to check nuanced quality.

The system is managed by a Coordinator that follows a "Retry and Replan" logic. If a subtask fails its VF, the executor retries with feedback. If it fails repeatedly, the Coordinator triggers a Replanning phase where the Planner looks at the failure trace and actually modifies the DAG to find a better path to the solution.

Datasets

The researchers evaluated VERIMAP across five diverse benchmarks to test its versatility:

  • MultiHopRAG: Multi-step question answering requiring complex retrieval.
  • HumanEval & BigCodeBench-Hard: Python coding tasks, with the latter being significantly more complex.
  • GSM8K: Grade-school level math word problems.
  • Olympiads: High-level competitive mathematics problems (sourced from NuminaMath-CoT).

Key Insights and Ideas

  • Offloading Reasoning: By generating VFs upfront, the Planner "distills" the global context into local checks. This allows the Verifier to act independently without needing to re-understand the entire project's history.
  • Verification as a Signal for Replanning: The most "aha" moment in the paper is that VFs aren't just for catching bugs; they provide the high-quality feedback necessary for an LLM to realize its plan was flawed, not just the execution.
  • Cost-Efficiency through Modularity: While planning is expensive (requiring a strong model like GPT-4o), the execution can often be delegated to smaller, cheaper models (like GPT-4o-mini) because the VFs act as a safety net.

Key Results

VERIMAP consistently outperformed both single-agent and multi-agent baselines:

  • Harder is Better: The gains were most significant on difficult datasets. On BigCodeBench-Hard, VERIMAP outperformed the next-best tool-enabled ReAct agent by 4.05%. On the Olympiads math set, it saw a massive 9.8% improvement.
  • The Power of Replanning: Ablation studies showed that "VERIMAP-1it" (one pass without replanning) was significantly weaker. The ability to see a failed "unit test" and rewrite the plan is what drives the performance.
  • Lower False Positives: Compared to generic LLM verifiers (MAP-V), VERIMAP’s planner-generated VFs were much better at catching "too loose" answers, showing a significantly lower false-positive rate across almost all benchmarks.

Limitations and Future Work

Despite its success, the authors note a few hurdles:

  • Centralized Bottleneck: The system relies heavily on the initial Planner. If the Planner is weak, the subtasks and VFs it generates will be suboptimal.
  • Sequential Execution: The current Coordinator executes the DAG nodes one by one. Future iterations could benefit from parallelizing independent subtasks to save time.
  • Computational Demand: While it can use smaller models for execution, the overall "verification loop" (retries and replanning) increases the total number of tokens used, which might be a concern for latency-sensitive applications.

By treating agent coordination like a software engineering problem—complete with unit tests and error handling—VERIMAP moves us closer to multi-agent systems that can truly "self-correct" their way to a solution.

Summary updated

BibTeX
@inproceedings{xu2026verification,
  author = {Tianyang Xu and Dan Zhang and Kushan Mitra and Estevam Hruschka},
  title = {{Verification-Aware Planning for Multi-Agent Systems}},
  booktitle = {EACL (Volume 1: Long Papers)},
  year = {2026},
  doi = {10.18653/v1/2026.eacl-long.353},
}
Figure