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

UniDomain: Pretraining a Unified PDDL Domain from Real-World Demonstrations for Generalizable Robot Task Planning

Haoming Ye, Yunxiao Xiao, Cewu Lu, Panpan Cai

TL;DR

UniDomain bridges the gap between large language model (LLM) commonsense and symbolic planning precision by pre-training a unified Planning Domain Definition Language (PDDL) domain from over 12,000 real-world robot manipulation videos. At test time, it dynamically retrieves and fuses task-relevant sub-domains into a compact "meta-domain," enabling zero-shot, long-horizon task planning. This approach achieves up to a 58% higher success rate and a 160% improvement in plan optimality over state-of-the-art baselines.

What Problem Does This Paper Address?

Robotic task planning in unstructured, real-world environments requires a difficult balance: robots must understand open-ended natural language instructions (requiring semantic reasoning) while strictly adhering to physical constraints and action preconditions (requiring symbolic precision).

While LLMs and Vision-Language Models (VLMs) possess immense commonsense knowledge, they notoriously struggle with long-horizon coherence, tracking state changes, and avoiding physically impossible actions. Conversely, classical symbolic planners (like those using PDDL) are mathematically rigorous and guarantee valid plans, but they traditionally rely on narrow, manually handcrafted domain files.

Recent hybrid methods try to use LLMs to generate PDDL domain files on the fly, but LLMs frequently produce syntax errors or hallucinate unrealistic actions. UniDomain solves this by pre-training a massive, structured symbolic domain from real-world robot demonstrations, eliminating the need for manual domain engineering or brittle on-the-fly generation.

Methods

The UniDomain framework operates in three distinct phases, mirroring the pre-training, post-training, and inference phases of foundation models:

  1. Domain Pretraining: The pipeline extracts "atomic domains" from raw video demonstrations. First, an unsupervised, energy-based keyframe extraction method identifies semantic transitions in the video. A VLM then proposes an initial PDDL domain (operators, preconditions, effects) from these keyframes. To ensure accuracy, an LLM performs closed-loop verification by generating synthetic test problems, solving them with a classical PDDL planner, and verifying the solutions against physical commonsense. Validated atomic domains are aggregated into a massive Unified Domain knowledge graph.
  2. Domain Fusion: Operating over a massive graph at test time introduces noise and computational overhead. To mitigate this, UniDomain uses an LLM to retrieve a relevant subset of atomic domains based on the target task class. It then recursively merges these domains along a binary tree, using text embeddings and LLM validation to align and consolidate functionally overlapping predicates and operators into a streamlined Meta-Domain.
  3. Online Planning: Given a specific language instruction and scene image, the system filters out irrelevant elements from the meta-domain, uses an LLM to generate a task-specific PDDL problem file, and invokes a classical symbolic solver (Fast Downward) to output an optimal executable plan.
Figure 2: Overview of UniDomain. See detailed descriptions in Section 3.

Datasets

  • DROID Dataset: A large-scale, in-the-wild robot manipulation dataset containing real-world robot executions. UniDomain utilized 12,393 demonstrations to pre-train its unified domain.
  • Agibot World Dataset: Used for empirical justification of the keyframe extraction method by comparing automatically extracted keyframes against human-annotated ones.
  • Evaluation Benchmark: 100 long-horizon tasks across four unseen domains: BlockWorld (sorting/stacking), Desktop (drawer use, folding), Kitchen (object transfers, cooking), and Combination (cross-context generalization).

Key Insights and Ideas

  • The Unified Domain Graph: By aggregating thousands of video clips, the authors constructed a connected symbolic knowledge graph containing 3,137 operators, 2,875 predicates, and 16,481 causal edges. This graph connects previously isolated behaviors (e.g., pick_from_table and pour_into_bowl), enabling compositional generalization.
  • Energy-Based Keyframe Extraction: Instead of using computationally expensive vision models like CLIP or SigLIP, the authors found that tracking simple changes in grayscale intensity variance (image energy) reliably captures semantic transitions. This method runs in just 0.6 seconds per video (compared to 47.8 seconds for SigLIP) and naturally aligns with primitive skill boundaries.
  • Hierarchical Binary Tree Fusion: Merging independently learned domains often fails due to semantic inconsistencies (e.g., naming the same concept differently). Fusing domains progressively up a binary tree allows the system to systematically resolve these discrepancies, yielding a clean, expressive subgraph.
Figure 1: Visualization of our pre-trained unified domain, with 3,137 operator nodes (green) and 2,875 predicate nodes (purple).

Key Results

UniDomain was evaluated against popular LLM-only planners (Code-as-Policies, ReAct) and hybrid LLM-PDDL baselines (ISR-LLM, BoN-iVML).

  • High Success & Optimality: UniDomain achieved an 85% task success rate and 83% plan optimality (generating the shortest possible valid sequence of actions) on unseen tasks.
  • Outperforming Baselines: It surpassed the strongest hybrid baseline by up to 58% in task success and showed a massive 160% improvement in plan optimality under the strictest evaluation thresholds.
  • Efficiency Gains: Because the symbolic planner handles the heavy lifting of combinatorial search, UniDomain required significantly fewer LLM calls and lower thinking time compared to iterative LLM-based planners like ReAct.
Figure 3: Comparison results of UniDomain and state-of-the-art methods on unseen evaluation tasks: (a) success rates ↑, success-weighted relative path lengths ↑, and optimality rates with thresholds (K = 2, 1, 0) ↑; (b) Thinking time (s) ↓of the top-performing methods; (c) number of LLM calls ↓ of the top-performing methods. Average values are shown with standard errors.

Limitations and Future Work

While powerful, UniDomain has a few limitations noted by the authors:

  • Time-Consuming Fusion: Automatically retrieving and fusing atomic domains into a meta-domain can be slow due to redundancies in the retrieved subsets.
  • PDDL 1.0 Constraints: The framework relies on PDDL 1.0, which lacks support for temporal constraints, numeric fluents (like weights or temperatures), and cost-sensitive planning. Upgrading to PDDL 2.1 is a key future direction.
  • Assumption of Full Observability: The system assumes the robot can perfectly see and classify all objects, ignoring real-world challenges like visual occlusions and sensor noise. Integrating probabilistic planning frameworks (like PPDDL or RDDL) will be necessary to handle uncertainty.

Summary updated

BibTeX
@inproceedings{ye2025unidomain,
  author = {Haoming Ye and Yunxiao Xiao and Cewu Lu and Panpan Cai},
  title = {{UniDomain: Pretraining a Unified PDDL Domain from Real-World Demonstrations for Generalizable Robot Task Planning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=hVYp0WzyLK},
}
Figure