ARM: Discovering Agentic Reasoning Modules for Generalizable Multi-Agent Systems

Bohan Yao, Shiva Krishna Reddy Malay, Vikas Yadav

TL;DR

Instead of building complex, task-specific multi-agent architectures from scratch, the Agentic Reasoning Module (ARM) optimizes the individual, granular steps of a Chain-of-Thought (CoT) process. By using a reflection-guided tree search over code space, ARM evolves a simple prompt into a robust, plug-and-play multi-agent sub-routine. This step-level optimization yields powerful reasoning capabilities that generalize seamlessly across different tasks and foundation models without any re-optimization.

What Problem Does This Paper Address?

Most current research in Large Language Model (LLM) Multi-Agent Systems (MAS) focuses on task-level orchestration—designing complex, heterogeneous graphs where different agents take on specific roles (e.g., coder, critic, tester). While automated MAS design frameworks (like ADAS or AFlow) can synthesize these topologies, they suffer from major drawbacks: they are computationally expensive to re-discover for every new task, prone to brittle overfitting, and surprisingly, often underperform simple baselines like Chain-of-Thought (CoT) prompting.

The authors argue that the primary bottleneck in complex reasoning isn't the macro-level orchestration, but the reliability of individual reasoning steps. If an error occurs early in a reasoning chain, it propagates and derails the entire solution. ARM addresses this by shifting the optimization target from the entire task graph down to the per-step operator (the individual "nodes" of thought).

Methods

The authors decompose the problem-solving process into two core components:

  1. The Step-Generator Module ($m$): A program that takes the problem statement and the history of previous steps to generate the next logical reasoning step.
  2. The Meta-Policy ($\pi$): A higher-order program that orchestrates how the step-generator is called to produce a final solution (e.g., sequential, branching, or parallel paths).

To discover the optimal step-generator ($m^*$), the authors introduce two key innovations:

  • Scaffolded Surrogate Objective: Evaluating a new step-generator on a full problem rollout makes credit assignment incredibly difficult. To isolate performance, the authors insert the candidate module into a small window ($l=3$ steps) within a stable, pre-generated reference CoT trace. This ensures the module learns to make stable, incremental reasoning progress.
  • Reflection-Guided Evolutionary Search: Starting from a simple seed CoT module, a tree search is performed over Python code space. A two-stage Reviewer Agent drives this search: a Critic analyzes execution traces to identify failure modes, and a Designer proposes targeted code mutations to generate a new candidate Python class.

Crucially, the Meta-Policy ($\pi^*$) is optimized independently using a cheap baseline step-generator as a surrogate, allowing for efficient exploration of high-level control flows before being paired zero-shot with the final optimized ARM module.

Figure 1. An illustration of the proposed ARM module on the left and the meta policy on the right using "Self refine" as an example MAS. The ARM module takes a question and previous reasoning steps and executes a MAS to get the next step. The meta policy uses ARM as a sub-module and orchestrates the overarching global strategy. Note that this is for illustration only, the actual step generator and the meta policy discovered by Algorithm 1 is more complex (See Appendix D).

Datasets

  • Validation/Training: A 1000-sample domain-agnostic subset of the Math and Science splits from the Open-or-Mixture-of-Thoughts dataset (filtered for appropriate difficulty based on DeepSeek-R1 trace lengths).
  • Evaluation Benchmarks:
  • MATH-500 (General mathematics)
  • AIME25 (American Invitational Mathematics Examination)
  • HMMT25 (Harvard-MIT Mathematics Tournament)
  • GPQA (Graduate-level science Q&A)
  • LiveBench Reasoning (A dynamic, continuously evolving benchmark to prevent data contamination)

Key Insights and Ideas

  • Fix the Nodes, Not Just the Graph: Enhancing the depth and modularity of individual reasoning steps is far more effective and generalizable than building increasingly elaborate task-specific agent superstructures.
  • Stable Context as an Inductive Bias: Forcing the evolutionary search to operate within a fixed reference context (the scaffolding window) constrains the code generation to produce effective, incremental reasoning steps rather than drifting semantically.
  • Zero-Shot Meta-Policy Transfer: Because ARM modules maintain a stable functional interface (mapping a state to the next state), a meta-policy optimized on simple CoT steps transfers seamlessly to advanced ARM steps without retraining.

Key Results

The authors evaluated ARM across three distinct backbone models: GPT-4.1-nano, GPT-4o, and LLaMA-3.3-70B.

  • Outperforming the State-of-the-Art: ARM combined with the learned Meta-Policy (ARM + MP) consistently outperformed both handcrafted baselines (CoT-SC, Self-Refine) and leading automated MAS frameworks (ADAS, AFlow).
  • Superb Generalization: Unlike ADAS and AFlow, which experienced severe performance drops when evaluated outside their specific optimization targets, ARM demonstrated strong cross-task and cross-model generalization. For example, on the challenging AIME25 benchmark using GPT-4.1-nano, ARM + MP achieved 23.4% accuracy, significantly higher than AFlow (16.7%) and ADAS (0.0% when restricted to the 1000-sample training setup).
Main quantitative results across multiple complex reasoning benchmarks and foundation models.

Limitations and Future Work

  • Search and Training Costs: Evolving code modules via tree search is computationally heavy. The training cost for ARM ($9.93 USD per iteration) was roughly 3.8x higher than ADAS and AFlow due to the scaffolded evaluation process.
  • Inference Overhead: Because ARM replaces a single textual generation step with an internal multi-agent workflow (generating 4 candidates, critiquing them in parallel, and performing head-to-head comparisons), it incurs higher inference latency and cost compared to standard CoT.
  • Future Directions: The authors suggest that future work should focus on expanding the flexibility of the code search space and exploring methods to distill these discovered agentic workflows back into single foundation models to mitigate inference overhead.

Summary updated

BibTeX
@inproceedings{yao2025arm,
  author = {Bohan Yao and Shiva Krishna Reddy Malay and Vikas Yadav},
  title = {{ARM: Discovering Agentic Reasoning Modules for Generalizable Multi-Agent Systems}},
  booktitle = {MATH-AI @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=za01saTNIk},
}
Figure