LiP-LLM: Integrating Linear Programming and Dependency Graph With Large Language Models for Multi-Robot Task Planning

Kazuma Obata, Tatsuya Aoki, Takato Horii, Tadahiro Taniguchi, Takayuki Nagai

TL;DR

LiP-LLM is a new framework that combines the semantic reasoning of Large Language Models (LLMs) with the mathematical rigor of Linear Programming (LP) to coordinate multi-robot teams. By using LLMs to generate task dependency graphs and LP to solve the assignment problem, the system achieves significantly higher success rates and better execution efficiency than purely LLM-based planners.

What Problem Does This Paper Address?

Multi-robot task planning is a "Goldilocks" problem: it requires both high-level "common sense" (breaking a command like "set the table" into sub-tasks) and low-level optimization (deciding which specific robot should move which plate to minimize travel time).

Existing approaches usually fall into two traps. Traditional planners are efficient but require humans to manually define every task dependency, which is brittle and labor-intensive. LLM-based planners (like RoCo or SMART-LLM) are great at understanding natural language but suffer from "hallucinations"—proposing impossible tasks—and struggle to optimally distribute work among multiple robots as the team size grows.

The authors of LiP-LLM aim to bridge this gap by letting the LLM do what it does best (reasoning about dependencies) while offloading the "math" of task allocation to a classical optimization solver.

Methods

The LiP-LLM pipeline consists of three distinct stages:

  1. Skill List Generation: The system takes a natural language instruction and uses an LLM to select a sequence of actions from a predefined "skill set." To prevent the LLM from hallucinating, they employ the SayCan method, which weights the LLM’s suggestions by the physical feasibility (likelihood) of the robot actually performing that skill in the current environment.
  2. Dependency Graph Generation: Instead of just producing a linear list of tasks, the LLM uses Chain-of-Thought (CoT) prompting to identify precedence. It determines which tasks must happen in order (e.g., "pick up block" before "stack block") and which can happen in parallel. This results in a Directed Acyclic Graph (DAG).
  3. Task Allocation via Linear Programming: This is the core innovation. The system identifies "root nodes" in the DAG (tasks with no remaining dependencies) and uses a Linear Programming (LP) solver to assign them to robots. The solver optimizes for a "weight" that considers robot capabilities and the distance to the target object. Once a task is finished, its node is removed from the graph, and the next set of available tasks is allocated.

Datasets

The researchers evaluated the system using the AWS RoboMaker Small House World, a ROS-based simulation of a home environment.

  • Environments: They tested three configurations ranging from two stationary arm robots to a complex five-robot setup (three arms and two mobile robots) spread across multiple rooms.
  • Instructions: They developed 63 distinct language instructions categorized into four groups: Basic, Name Change (using synonyms like "box" for "block"), Ambiguity (euphemistic directions), and Add Bowl (increased environmental complexity).

Key Insights and Ideas

  • Optimization as a Guardrail: By using Linear Programming for the final assignment, the system avoids the "hallucinated" or nonsensical task assignments often seen in multi-agent LLM dialogues.
  • Parallelism via Graphs: Most LLM planners think linearly. By forcing the LLM to output a dependency graph, LiP-LLM naturally identifies when two robots can work at the same time on independent tasks, drastically improving efficiency.
  • Separation of Concerns: The paper demonstrates that LLMs shouldn't try to solve the whole problem. They are excellent "translators" from human intent to logical constraints, but classical algorithms are still superior for the actual combinatorial optimization of task assignment.

Key Results

  • Robustness: In environments with two robots, LiP-LLM achieved a success rate difference of up to 0.82 over baselines when faced with variations in object names. While other models got confused by synonyms, LiP-LLM’s grounded skill selection kept it on track.
  • Efficiency: The system consistently outperformed RoCo and SMART-LLM in Success weighted by Path Length (SPL), meaning it completed tasks using more direct, less redundant movements.
  • Speed: In Experiment 1, LiP-LLM was significantly faster to compute, showing a reduction in process time of up to 80 seconds compared to baseline methods that rely on time-intensive, multi-turn LLM inferences for every decision.

Limitations and Future Work

  • Static World Assumption: The current model assumes the robot knows the exact coordinates of all objects. In the real world, sensor noise and occlusions would make this much harder.
  • Lack of Dynamic Replanning: The system plans the dependency graph upfront. If a robot drops an object or a human moves a chair mid-task, the system doesn't yet have a robust mechanism for "on-the-fly" graph updates.
  • Predefined Skills: The reliance on a predefined skill set (SayCan style) means the robots can't easily perform novel actions that weren't programmed in advance.

The authors suggest that future work should focus on integrating sequential environmental recognition to allow the robots to update their world model—and their plans—in real-time.

Summary updated

BibTeX
@article{obata2025lip,
  author = {Kazuma Obata and Tatsuya Aoki and Takato Horii and Tadahiro Taniguchi and Takayuki Nagai},
  title = {{LiP-LLM: Integrating Linear Programming and Dependency Graph With Large Language Models for Multi-Robot Task Planning}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2024.3518105},
}
Figure