Introduction
Robotic task planning for long-horizon goals—such as "clean the table and then make tea"—remains one of the most significant challenges in the field. To execute such tasks, a robot must not only understand high-level instructions but also navigate the intricate physical constraints of its environment. Traditionally, researchers have relied on two distinct paradigms: Large Language Models (LLMs) for reasoning and Planning Domain Definition Language (PDDL) for logical execution. However, both approaches possess inherent limitations that prevent seamless real-world application.
This paper introduces UniDomain, a framework designed to bridge the gap between raw robot demonstrations and structured symbolic planning. By "pre-training" a massive, unified PDDL domain from over 12,000 real-world videos, UniDomain enables robots to solve complex tasks in a zero-shot manner, significantly outperforming existing hybrid methods in both success rate and plan optimality.
The "Domain Gap" in Robotic Planning
The current landscape of robotic planning is divided by a fundamental trade-off:
- Large Language Models (LLMs): While LLMs excel at commonsense reasoning and linguistic flexibility, they often lack physical "grounding." They are prone to hallucinating physical possibilities, ignoring crucial preconditions (e.g., attempting to pour from a closed bottle), and failing to maintain the strict logical consistency required for long action sequences.
- Symbolic Planning (PDDL): PDDL provides mathematically guaranteed logic and safety. However, it requires a "domain file"—a comprehensive manual defining every possible action and its requirements. Hand-crafting these files for every unique real-world scenario is an impossible bottleneck for general-purpose robotics.
UniDomain addresses this "domain gap" by automating the construction of high-quality, broad-coverage symbolic domains directly from large-scale video data.
The UniDomain Framework
UniDomain treats symbolic knowledge as a foundation model, utilizing a three-stage pipeline to transform unstructured video data into a robust planning architecture.
1. Domain Pretraining
The system processes 12,393 videos from the DROID dataset, a diverse collection of real-world robot manipulation demonstrations. To extract meaning from these videos, UniDomain employs an energy-based keyframe extraction method to identify semantic transitions. A Vision-Language Model (VLM) then proposes PDDL operators (actions) for these segments.
A critical innovation in this stage is closed-loop verification. Rather than accepting the VLM's initial output, an LLM generates test problems that a symbolic solver attempts to resolve. If the solver fails, the LLM analyzes the error logs to debug and refine the domain definition, ensuring the resulting PDDL is mathematically sound.
2. Domain Fusion
Pretraining results in a massive scale of data: 3,137 operators and 2,875 predicates. To make this manageable, UniDomain uses a hierarchical binary tree fusion process. It merges functionally identical actions—such as "pick_up" and "grab"—using text embeddings and LLM-based semantic alignment. This results in a consolidated "Unified Domain" that retains the breadth of the training data without redundant complexity.
3. Online Planning
When presented with a new task, the system does not attempt to use the entire unified domain. Instead, it retrieves relevant "atomic" domains and fuses them into a compact meta-domain tailored to the specific task. A VLM grounds the current scene into a PDDL problem file, and a classical symbolic solver (Fast Downward) is invoked to generate an optimal plan. This approach combines the reasoning power of VLMs with the efficiency of classical solvers.
Experimental Results
The framework was evaluated against a custom benchmark of 100 long-horizon tasks across four domains: BlockWorld, Desktop, Kitchen, and Combination (cross-context tasks).
- Superior Success Rates: UniDomain achieved an 85% success rate on unseen tasks, outperforming the leading LLM-PDDL baseline (ISR-LLM) by 58%.
- Optimality: The use of a classical symbolic solver allowed UniDomain to improve plan optimality by 160% compared to baselines. While LLMs often generate inefficient, circuitous paths to a goal, UniDomain consistently identifies the shortest logical sequence.
- Efficiency: UniDomain required the lowest "thinking time" and the fewest LLM calls among top-performing methods, as the heavy lifting of domain construction was shifted to the pre-training phase.
- Zero-Shot Generalization: The system successfully navigated "Combination" tasks—such as mixing kitchen and desktop actions—that were never encountered as a single sequence during training.
Discussion and Future Work
UniDomain demonstrates that PDDL domains do not need to be handcrafted; they can be learned and aggregated from large-scale video data. By shifting the focus from generation to verification, the framework ensures that the resulting plans are both physically grounded and logically sound.
However, several challenges remain. The current implementation relies on PDDL 1.0, which lacks support for temporal constraints, numeric fluents (like weights or volumes), and cost-sensitive planning. Additionally, the experiments assume "full observability," meaning the robot has perfect knowledge of its environment—a condition rarely met in the real world. Future research will explore moving toward probabilistic planning (such as PPDDL or RDDL) to better handle environmental uncertainty and perceptual noise.
Summary updated