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

LTLDoG: Satisfying Temporally-Extended Symbolic Constraints for Safe Diffusion-Based Planning

Zeyu Feng, Hao Luan, Pranav Goyal, Harold Soh

TL;DR

LTLDoG is a novel framework that enables diffusion-based robot planners to satisfy complex, time-dependent instructions—like "visit point A, then B, but never cross region C"—at test time without retraining. By integrating "softened," differentiable Linear Temporal Logic ($\text{LTL}_f$) into the diffusion denoising process, the system can guide trajectory generation toward safe and successful task completion.

What Problem Does This Paper Address?

Diffusion models have become a powerhouse in robotic planning because they can capture complex, multi-modal data distributions. However, they are notoriously difficult to constrain. If you want a robot to follow a specific safety rule or a complex sequence of sub-tasks that wasn't explicitly labeled in the training data, standard diffusion models usually fail.

Existing "safe" diffusion methods typically handle static constraints (e.g., "don't hit this wall"). But real-world tasks are often temporally extended: "Go to the kitchen, but only after you've picked up the mail, and avoid the wet floor until it's dry." Addressing these "if-then-until" style constraints at test time, without needing a specialized dataset for every possible instruction, is the core challenge LTLDoG tackles.

Methods

The authors introduce LTLDoG (LTL Diffusion-orienting Guidance), which treats LTL satisfaction as a guidance signal during the diffusion model's reverse (denoising) process.

The technical "secret sauce" is the Differentiable Evaluation of $\text{LTL}_f$. Standard logic is binary (True/False), which provides no gradient information for optimization. The authors "soften" these logic operators (AND, OR, UNTIL, etc.) into continuous functions. This creates a "satisfaction landscape" where positive values indicate a satisfied formula and the magnitude represents the "margin" of safety.

The paper proposes two variants:

  1. LTLDoG-S (Sampling): Uses the analytical gradients of the soft LTL evaluator to nudge the denoising steps. This requires a known, differentiable "labeling function" (e.g., knowing the exact coordinates of a "no-go" zone).
  2. LTLDoG-R (Regressor): Trains a neural network (a Relational Graph Convolutional Network) to predict satisfaction values from noisy trajectories. This version is more flexible, as it can generalize to entirely new LTL instructions at test time by understanding the underlying structure of the logic formula.
The LTLDoG framework guides the diffusion process using gradients from a formula evaluator to satisfy LTL constraints like "Visit B before A".

Datasets

The researchers evaluated LTLDoG across three distinct domains:

  • Maze2d: A standard long-horizon navigation benchmark from the D4RL suite.
  • PushT: A manipulation task where a robot must push a T-shaped block to a goal. The authors significantly augmented the standard dataset (from 206 to over 6,600 episodes) to provide enough behavioral variety for the model to "stitch together" new paths.
  • Real-World Quadruped Navigation: They collected LiDAR maps of a studio-like lab and an office environment, then trained the models using simulated trajectories generated within those maps.

Key Insights and Ideas

  • Stitching Behaviors: A key strength of diffusion planners is their ability to "stitch" together snippets of different trajectories from the training data. LTLDoG leverages this to satisfy novel constraints that were never seen as a single continuous behavior in the training set.
  • Logic as a Landscape: By turning discrete logic into a continuous, differentiable signal, the authors bridge the gap between formal methods (which are precise but brittle) and generative modeling (which is flexible but hard to control).
  • Generalization via Graph Embeddings: By representing LTL formulas as graphs, the LTLDoG-R variant can interpret and follow instructions it has never encountered before, provided they use similar logical "templates."
  • The Horizon Advantage: Interestingly, the authors found that planning with a longer time horizon actually improves satisfaction rates. Complex temporal rules need "room to breathe" to be satisfied correctly.

Key Results

LTLDoG significantly outperformed standard diffusion baselines across the board:

  • Navigation: In the "Maze2d-Large" environment with complex avoidance constraints, LTLDoG-S achieved a 99% planning satisfaction rate, while the standard Diffuser baseline managed only 9.5%.
  • Manipulation: In the PushT task, LTLDoG variants maintained high task success while avoiding "no-go" zones that standard policies ignored.
  • Real-World Deployment: The system was successfully tested on a Unitree Go2 quadruped robot (see Figure 2). In a lab task requiring the robot to visit a kitchen before a goal while avoiding a narrow passage, LTLDoG-S achieved a 91.67% success rate, whereas the baseline failed to satisfy the LTL constraints entirely (0%).
The LTLDoG method successfully plans a path around multiple unsafe regions (red blocks) in a complex maze, whereas the baseline fails.

Limitations and Future Work

  • Open-Loop Planning: Currently, LTLDoG generates the entire trajectory at once. If the environment changes mid-execution, it cannot react dynamically. The authors plan to explore "receding horizon" control to enable real-time re-planning.
  • The "Off-Manifold" Problem: Gradient guidance can sometimes push the model to generate "unrealistic" trajectories that don't look like the training data. Future work will focus on ensuring the guided samples stay on the "data manifold."
  • Computational Cost: Diffusion models are computationally expensive at inference time. Integrating more efficient sampling methods (like interpolant diffusion) is a high priority for real-time robotics.

Summary updated

BibTeX
@article{feng2024ltldog,
  author = {Zeyu Feng and Hao Luan and Pranav Goyal and Harold Soh},
  title = {{LTLDoG: Satisfying Temporally-Extended Symbolic Constraints for Safe Diffusion-Based Planning}},
  journal = {IEEE Robotics and Automation Letters},
  year = {2024},
  url = {https://openreview.net/forum?id=15qDbE6wXR},
}
Figure