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 · OpenReview

Abstract

Operating effectively in complex environments while complying with specified constraints is crucial for the safe and successful deployment of robots that interact with and operate around people. In this work, we focus on generating long-horizon trajectories that adhere to novel static and temporally-extended constraints/instructions at test time. We propose a data-driven diffusion-based framework, LTLDoG, that modifies the inference steps of the reverse process given an instruction specified using finite linear temporal logic ($LTL_f$). LTLDoG leverages a satisfaction value function on $LTL_f$ and guides the sampling steps using its gradient field. This value function can also be trained to generalize to new instructions not observed during training, enabling flexible test-time adaptability. Experiments in robot navigation and manipulation illustrate that the method is able to generate trajectories that satisfy formulae that specify obstacle avoidance and visitation sequences.

Introduction

Diffusion models have emerged as powerful tools for robot trajectory planning, excelling at synthesizing behaviors from offline datasets. However, these models often function as "black boxes" regarding safety and logic. While they can reach goals effectively, they struggle to incorporate specific, novel constraints at test time—particularly those involving temporal sequences, such as "visit the kitchen, then the charger, but avoid the rug until you've been cleaned."

Existing safe diffusion methods typically address static constraints (e.g., obstacle avoidance). They fail when faced with temporally-extended constraints where the validity of an action depends on the history of the trajectory. LTLDoG (LTL Diffusion-orienting Guidance) bridges this gap by integrating formal symbolic logic with generative diffusion models.

Methodology: LTL Diffusion-orienting Guidance

LTLDoG is a "plug-and-play" framework that guides the denoising process of a pre-trained diffusion model to satisfy complex constraints expressed in finite Linear Temporal Logic ($LTL_f$).

Overview of the LTLDoG framework, showing how LTL formulas guide the diffusion process for a quadruped robot.

The framework introduces two primary guidance mechanisms:

  1. LTLDoG-S (Symbolic): When the environment's labeling function is differentiable, the hard boolean logic of $LTL_f$ is "softened" into a continuous satisfaction value. The gradient of this value guides the diffusion model's reverse process, nudging noisy trajectories toward states that satisfy the logic formula.
  2. LTLDoG-R (Regressor): For non-differentiable environments, a Relational Graph Convolutional Network is trained to predict the satisfaction value of a noisy trajectory relative to an $LTL_f$ formula. This regressor provides the necessary score for guidance.

Experimental Evaluation

The researchers evaluated LTLDoG across diverse benchmarks, including navigation in complex mazes (Maze2d), block manipulation (PushT), and real-world deployment on a Unitree Go2 quadruped.

A generated trajectory in the Maze2d environment satisfying complex visitation constraints.

Key Results

  • High Satisfaction Rates: In the Maze2d-Large environment, LTLDoG-S achieved a 99% satisfaction rate, compared to only ~10% for standard diffusion models.
  • Temporal Reasoning: Unlike baselines like SafeDiffuser, which are limited to local static deviations, LTLDoG successfully planned for long-term temporal sequences.
  • Real-World Adaptability: On the Unitree Go2 robot, the system achieved over 90% success in following multi-stage instructions in indoor office environments, demonstrating robust generalization to real-world noise and dynamics.

Discussion and Future Work

LTLDoG demonstrates that symbolic logic can be treated as a continuous gradient field to guide generative processes. However, challenges remain. The current implementation relies on open-loop planning; future iterations could benefit from receding horizon control to handle dynamic environments. Additionally, ensuring that guided trajectories remain on the "data manifold" (i.e., are physically executable by the robot) and improving inference speed are critical steps toward real-time deployment.

Conclusion

By marrying the formal rigor of temporal logic with the flexibility of diffusion models, LTLDoG enables robots to follow complex, time-dependent instructions without task-specific retraining. This framework represents a significant step toward safer and more capable autonomous systems in human-centric environments.

Citation: Zeyu Feng, Hao Luan, Pranav Goyal, and Harold Soh. "LTLDoG: Satisfying Temporally-Extended Symbolic Constraints for Safe Diffusion-based Planning." arXiv:2405.04235v2, 2024.

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