← Latest papers
🤖 machine learning

DiRecT: Safe Diffusion-Based Planning via Receding-Horizon Denoising

DiRecT is a training-free algorithm that ensures safe planning in diffusion models by enforcing constraints only on the final clean trajectory via receding-horizon denoising, thereby avoiding the over-constraining of intermediate steps that typically degrades sample quality in existing approaches.

Original authors: Paolo Giaretta, Zeyang Li, Navid Azizan

Published 2026-06-16
📖 4 min read☕ Coffee break read

Original authors: Paolo Giaretta, Zeyang Li, Navid Azizan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are teaching a robot to walk through a crowded room to get a cup of coffee. You have a very smart robot that has watched thousands of videos of people doing this. It knows how to move generally, but it doesn't know about the specific chairs or tables in the room right now.

If you just ask the robot to "go get the coffee," it might walk straight into a table because it's trying to be creative. If you try to stop it from hitting the table every single step of the way as it plans, you might end up with a robot that freezes, stutters, or takes a weird, jerky path because you've micromanaged its every thought.

This is the problem the paper DiRecT solves.

The Problem: The "Over-Correction" Trap

The authors explain that existing methods for making AI planners safe are like a nervous parent holding a child's hand too tightly.

  • The Old Way: As the robot plans its path (step-by-step), the computer checks: "Is this step safe?" If not, it forces the robot to change that specific step immediately.
  • The Flaw: The robot's planning process involves a lot of "noise" or rough drafts. Checking for safety on these rough drafts is like telling a painter, "Don't make a single brushstroke that looks like a tree," while they are still mixing colors on the palette. It restricts the robot's creativity and often leads to a final result that is ugly, jerky, or fails to reach the goal.

The Solution: DiRecT (The "Receding-Horizon" Coach)

The authors introduce DiRecT, which acts more like a wise coach than a nervous parent.

1. The "Clean Trajectory" Vision
Instead of checking safety on every rough draft, DiRecT waits until the robot has a final, clean plan in mind. It asks: "If you follow this plan exactly, will you hit a table?"

  • The Analogy: Imagine the robot is drawing a path on a piece of paper. The old methods tried to erase a line the moment the pencil touched the paper if it looked slightly crooked. DiRecT lets the pencil draw freely, then looks at the finished drawing. If the finished drawing hits a table, then it gently nudges the whole drawing to move it away.

2. The "Receding Horizon" Trick
The paper uses a concept called "Receding-Horizon" (inspired by Model Predictive Control).

  • The Analogy: Think of driving a car at night with foggy headlights. You can only see a few feet ahead.
    • Old Method: You try to steer perfectly for the entire 100-mile trip right now, even though you can't see the road.
    • DiRecT: You look at the road immediately in front of you, plan a safe path for the next few seconds, drive that, and then re-plan for the next few seconds. You constantly update your plan based on what you see right now, ensuring you never hit a wall, but you don't force the car to drive in a straight line if the road curves.

3. The "Training-Free" Superpower
The best part? DiRecT doesn't need to re-teach the robot. It works with the robot's existing knowledge (the "pre-trained model"). It just adds a safety layer on top of the planning process.

  • The Analogy: It's like giving a seasoned driver a GPS that warns them of obstacles. You don't need to teach the driver how to drive again; you just give them a tool to avoid the specific potholes in this city.

How It Works in Practice

The paper tested this on several robot tasks:

  • Maze Navigation: A ball rolling through a maze with new, unexpected walls. DiRecT successfully navigated the maze without hitting walls, while other methods got stuck or crashed.
  • Robotic Arms: An arm moving to grab an object while avoiding pillars. DiRecT ensured the arm never touched the pillars, even when the pillars were placed in tricky spots.
  • Multi-Robot Swarms: A group of robots moving together without bumping into each other. DiRecT kept them safe and efficient, even as the number of robots increased.

The Bottom Line

DiRecT is a new way to make AI planners safe. Instead of constantly interrupting the AI's thought process to check for safety (which makes the AI clumsy), it lets the AI think freely and then gently corrects the final plan to ensure it's safe. It's like letting a student write a rough draft without fear, then helping them edit the final version to ensure it's perfect, rather than stopping them after every sentence.

The result is a robot that is both safe (it doesn't crash) and skilled (it moves smoothly and gets the job done).

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →