NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

From An LLM Swarm To A PDDL-Empowered HIVE: Planning Self-Executed Instructions In A Multi-Modal Jungle

Kaustubh Vyas, Damien Graux, Yijun Yang, Sébastien Montella, Chenxin Diao, Wendi Zhou, Pavlos Vougiouklis, Ruofei Lai, Yang Ren, Keshuang Li, Jeff Z. Pan

TL;DR

The paper introduces HIVE, a framework that tames the "jungle" of specialized AI models by combining the natural language capabilities of LLMs with the rigorous logical reasoning of PDDL (Planning Domain Definition Language). HIVE automatically creates verifiable, explainable plans to solve complex multi-modal tasks using an ecosystem of models while strictly adhering to user-specified constraints like licensing and model size.

What Problem Does This Paper Address?

With over a million models available on platforms like HuggingFace, developers have access to an incredibly rich ecosystem of specialized tools for text, image, and audio processing. However, navigating this "jungle" to chain multiple models together for complex tasks remains a manual and error-prone process.

While recent approaches use large language models (LLMs) as central planners (e.g., HuggingGPT), they suffer from significant limitations:

  1. Logical Fragility: LLMs frequently hallucinate invalid task sequences or fail to understand strict dependencies.
  2. Lack of Transparency: It is difficult to verify why an LLM chose a specific sequence of actions.
  3. Constraint Blindness: Pure LLM planners struggle to respect hard user constraints, such as avoiding models with restrictive commercial licenses or prioritizing smaller models for local deployment.

Methods

HIVE addresses these gaps through a modular architecture that splits the problem into structured knowledge representation, formal logic planning, and automated execution.

Figure 1: HIVE modular architecture.

The framework consists of three core components:

  • Capability Knowledge Graph (C-KG): A structured graph that maps available models to their supported tasks, benchmark performances (via Papers With Code), licenses, sizes, and executable Python code snippets. It relies on a newly constructed taxonomy of 420 fine-grained NLP concepts.
  • Task Planner (LLM + PDDL): Instead of letting the LLM generate the plan directly, HIVE uses an LLM to parse the user query into structured components and classify the required task domains. These domains are translated into a formal PDDL problem space. A classical logical reasoner (Best First Width Search) then computes a mathematically guaranteed, step-by-step plan of action.
  • Plan Executioner: This module selects the optimal models from the C-KG that satisfy the plan and any user constraints (e.g., "only use Apache-2.0 licensed models"). It then maps the arguments and executes the underlying Python code snippets sequentially.

The authors evaluate two versions: HIVE (powered by ChatGPT) and HIVE light (an efficient alternative using quantized, locally deployable 7B models: InternLM2.5-7B for parsing and Mistral-7B-Instruct for task decomposition).

Datasets

Because existing benchmarks were either unreleased or relied on biased, fine-tuned task decomposers, the authors introduced MUSE (Multi-modal Sub-task Execution).

  • Composition: 100 heterogeneous, real-world user queries spanning single-task, two-task, and three-task complexities.
  • Scope: Covers 10 distinct PDDL domains and 15 models across text, image, and audio modalities (e.g., automatic speech recognition, image captioning, text-to-image generation).

Key Insights and Ideas

  • The Trustworthiness Gap ($\bot\top$): Pure LLM planners like HuggingGPT often suffer from "over-selection"—grabbing every task they think might be relevant. Surprisingly, their strong reasoning backbones can still generate a correct final output despite an entirely incorrect underlying plan. HIVE eliminates this incoherent behavior; by grounding the plan in formal logic, HIVE ensures that when an output is correct, the explanation/justification is also 100% correct.
Figure 3: Correlations between justifications (TS AND FoT) and outputs (O).
  • Small Models Can Plan via Structure: Grounding the planning phase in PDDL allows HIVE light (using 7B parameter models) to significantly outperform HuggingGPT (using ChatGPT) in task selection and flow-of-thought accuracy. Structure beats raw parameter scale.
  • Deterministic Constraint Adherence: By using a rule-based query over a structured Knowledge Graph for final model selection, HIVE respects user constraints (like licensing and size) in 100% of cases, whereas LLM-based selectors consistently ignore them.

Key Results

HIVE and HIVE light were compared against HuggingGPT and ControlLLM on the MUSE benchmark across three metrics: Task Selection (TS), Flow of Thought (FoT), and Final Output correctness (O).

Table 1: Comparison of Task Selection, Flow of Tasks, and Output across all competitors.
  • Overall Performance: HIVE achieved the highest overall scores (0.74 TS, 0.73 FoT, 0.62 O), outperforming HuggingGPT (0.57 / 0.51 / 0.53).
  • Local Efficiency: HIVE light outperformed both baselines overall, proving that local, quantized models can successfully drive complex agentic workflows when paired with formal logic.
  • Planning Latency: While classical planning adds a step, HIVE's planning latency scales efficiently. ControlLLM was consistently a magnitude slower (10+ seconds), whereas HIVE remained highly competitive, especially on multi-task queries.
Figure 2: Average times (s) before execution.

Limitations and Future Work

  • Cross-Modality Weakness: HIVE struggled in specific cross-modality transitions, particularly failing to achieve the desired objectives in image-to-audio scenarios.
  • Adapter Integration: The authors are currently exploring expanding the C-KG to support "sub-nodes" for parameter-efficient fine-tuning (PEFT) adapters. This would allow the system to dynamically load specialized adapters onto a single, local backbone model rather than routing requests to entirely separate large models, further reducing the computational footprint.

Summary updated

BibTeX
@inproceedings{vyas2025from,
  author = {Kaustubh Vyas and Damien Graux and Yijun Yang and Sébastien Montella and Chenxin Diao and Wendi Zhou and Pavlos Vougiouklis and Ruofei Lai and Yang Ren and Keshuang Li and Jeff Z. Pan},
  title = {{From An LLM Swarm To A PDDL-Empowered HIVE: Planning Self-Executed Instructions In A Multi-Modal Jungle}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=QAAsnSRwgu},
}
Figure