Orchestrator: Active Inference for Multi-Agent Systems in Long-Horizon Tasks

Lukas Beckenbauer, Johannes-Lucas Löwe, Ge Zheng, Alexandra Brintrup

TL;DR

This paper introduces "Orchestrator," a novel framework for multi-agent systems (MAS) that uses active inference principles to improve coordination and task completion in complex, long-horizon tasks. By dynamically monitoring agent behavior and interactions, Orchestrator helps agents overcome partial observability and avoid local optima, leading to significantly better performance in challenging environments.

What Problem Does This Paper Address?

Modern multi-agent systems (MAS), especially those enhanced by Large Language Models (LLMs), face significant challenges when dealing with complex, non-linear tasks that span long horizons. These challenges include:

  • Partial Observability: Agents often don't have complete information about the environment or the actions of other agents.
  • Suboptimal Coordination: Agents may struggle to coordinate effectively, leading to redundant efforts, conflicts, or missed opportunities.
  • Local Minima: Agents can get stuck in suboptimal solutions, failing to reach the global task objective.
  • Scalability: Existing approaches often struggle to scale to more complex tasks or larger numbers of agents.

While previous work has focused on improving feedback loops or using reflective mechanisms, there's a need for a more integrated approach that can dynamically adapt to changing task conditions and agent behaviors, particularly in scenarios requiring sustained planning and coordination.

Methods

The core of the proposed solution is the Orchestrator framework, which is built upon active inference principles. Here's a breakdown of its key components:

  • Cell Architecture: Orchestrator uses a modular "cell" structure for each agent, comprising three distinct stages:
  • Planning: Determines strategic action steps.
  • Execution: LLM-powered agents that interpret prompts and act in the environment.
  • Orchestration: A central node (or distributed nodes) that monitors global state, provides feedback, and adjusts agent behavior.
  • Active Inference Benchmarking: This is the novel aspect. Instead of just minimizing surprise, Orchestrator balances:
  • Epistemic Uncertainty: Measuring information gain to encourage active learning and exploration.
  • Accuracy Cost: Penalizing inefficient or counterproductive behaviors (like oscillation or redundant exploration). This is operationalized by calculating Variational Free Energy (VFE), which serves as a performance metric.

  • Dynamic Weight Modulation: Based on the VFE, agents are assigned to one of four performance categories (e.g., "High Epistemic Drive, Low Accuracy Cost"). This categorization dynamically adjusts agent behavior weights (exploration, exploitation, coordination) to optimize their strategy.

  • Reflective Benchmarking: The orchestration node continuously evaluates agent performance using active inference metrics. This feedback is used to dynamically adjust LLM prompts and internal policies, nudging agents away from local minima and towards globally optimal solutions.
  • Coordination: The framework explicitly tracks agent-to-agent and agent-to-environment interactions to improve collaborative behavior and mitigate partial observability.

Datasets

The paper evaluates Orchestrator on a series of synthetic maze puzzles with varying difficulty levels (easy, medium, hard). These mazes are generated using a framework derived from the AMaze benchmark [36]. The mazes are designed to be challenging, featuring:

  • Long-horizon tasks: Requiring sustained planning and memory.
  • Increasing complexity: Varying in length, branching factor, and required coordination.
  • Systematic generation: Using recursive backtracking with entropy-guided optimization to ensure structured decision-making challenges.

Key Insights and Ideas

  • Active Inference as a Unifying Principle: The paper demonstrates that active inference, traditionally used for understanding perception and action in biological systems, can be effectively adapted to guide and optimize MAS coordination.
  • Balancing Exploration and Exploitation Dynamically: Orchestrator's key innovation is its ability to dynamically adjust the balance between exploring new possibilities and exploiting known strategies based on real-time performance feedback (VFE). This is crucial for long-horizon tasks where initial exploration might lead to dead ends or suboptimal paths.
  • Orchestration as a "Global Brain": The orchestration node acts as a central coordinator, not just relaying information but actively analyzing agent performance and providing corrective guidance, which is essential for avoiding local minima.
  • Lightweight LLMs Can Be Effective: The framework shows strong performance even with compact, fast-inference LLMs (GPT-4.1-nano, GPT-5-nano), suggesting its potential for real-world deployment with resource constraints.

Key Results

  • Significant Performance Improvement: Orchestrator outperforms baseline agent ensembles (without active inference or orchestration) by an average factor of 3.03 on medium-difficulty mazes.
  • High Accuracy: Achieved up to 100% accuracy in medium-difficulty mazes and up to 76.67% accuracy in hard mazes.
  • Improved Reliability and Efficiency: The active inference-driven orchestration significantly improves reliability and efficiency in long-horizon maze-solving tasks.
  • Comparison to Baselines:
    • Solo agents (without FE benchmarking or orchestration) showed poor performance (e.g., 32.35% success for GPT-4.1-nano on easy, 0% for GPT-5-nano on easy/medium).
  • FE benchmarking alone substantially improved performance (e.g., 72.22% for GPT-4.1-nano on medium).
  • Adding orchestration further improved performance in most configurations.
  • Cost-Effectiveness: The framework demonstrates a good trade-off between cost and success rate, especially with the use of smaller LLMs.

Limitations and Future Work

  • Synthetic Environments: The current evaluation is restricted to synthetic maze environments. The authors acknowledge the need to explore Orchestrator's ability to handle more heterogeneous settings and other problem domains.
  • Small Agent Teams: Experiments were primarily conducted with small agent teams (n=2). Future work should investigate scalability with larger teams.
  • Larger LLMs: While effective with smaller LLMs, extensive testing with larger, more sophisticated LLMs is needed to assess performance at higher complexity levels.
  • Open-Source Models: The authors see potential for deploying Orchestrator with open-source LLMs and suggest this as a future research direction.
  • Generalization: Further evaluation is needed to assess the framework's generalization capabilities across a wider range of long-horizon tasks and real-world applications.

Summary updated

BibTeX
@inproceedings{beckenbauer2025orchestrator,
  author = {Lukas Beckenbauer and Johannes-Lucas Löwe and Ge Zheng and Alexandra Brintrup},
  title = {{Orchestrator: Active Inference for Multi-Agent Systems in Long-Horizon Tasks}},
  booktitle = {MTI-LLM @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=21sPEvGUL2},
}
Figure