← Latest papers
🤖 AI

DiReCT: Disentangled Regularization of Contrastive Trajectories for Physics-Refined Video Generation

The paper introduces DiReCT, a post-training framework that resolves semantic-physics entanglement in text-conditioned video generation by decomposing contrastive learning into macro and micro scales to improve physical commonsense without compromising visual fidelity or increasing training time.

Original authors: Abolfazl Meyarian, Amin Karimi Monsefi, Rajiv Ramnath, Ser-Nam Lim

Published 2026-03-30
📖 5 min read🧠 Deep dive

Original authors: Abolfazl Meyarian, Amin Karimi Monsefi, Rajiv Ramnath, Ser-Nam Lim

Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.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 artist how to paint moving pictures (videos) based on your descriptions. You tell the robot, "Draw a car driving through a rainstorm."

The robot is very good at making the picture look real. The rain looks wet, the car looks shiny, and the colors are vibrant. But there's a problem: the robot doesn't really understand physics.

In the video the robot makes, the car might suddenly drive backward, or the rain might fall upward, or the car might pass right through a wall like a ghost. To the robot, these are just "mistakes in the pixels," not violations of how the real world works.

This paper introduces a new training method called DiReCT (Disentangled Regularization of Contrastive Trajectories) to fix this. Think of it as a "Physics Coach" for the robot.

Here is how DiReCT works, broken down into simple analogies:

1. The Problem: The "Confused Student"

Current video AI models are trained to minimize "pixel errors." If the robot draws a car moving backward when you asked for forward motion, it gets a small penalty. But it doesn't know why it's wrong. It just knows the pixels don't match the prompt perfectly.

The researchers tried a technique called Contrastive Learning. Imagine this as a teacher saying: "Draw the car moving forward (Good). Now, draw the car moving backward (Bad). Make sure these two drawings are very different!"

The Catch: In the real world, "a car in rain" and "a car in rain moving backward" are very similar descriptions. The robot gets confused. It tries to make the "backward" car different, but in doing so, it accidentally messes up the "forward" car too. It's like trying to teach someone the difference between "walking" and "running" by showing them two pictures of a person standing still. The robot gets stuck in a loop where the lesson for "bad physics" cancels out the lesson for "good physics."

2. The Solution: The "Two-Coach" System (DiReCT)

The authors realized they needed to separate the lessons. They created a two-part training system called DiReCT:

Coach A: The "Macro" Coach (The Big Picture)

  • The Analogy: Imagine you are teaching a student to distinguish between a Cat and a Car. These are totally different things. You show them a cat and a car, and say, "Make sure these look nothing alike!" This is easy and very helpful.
  • In DiReCT: This coach picks "negative examples" that are totally different from the prompt. If the prompt is "A car in rain," the negative example might be "A bird flying in a desert." Because they are so different, the robot learns to separate them easily without getting confused. This builds a strong, global understanding of the world.

Coach B: The "Micro" Coach (The Fine Details)

  • The Analogy: Now, imagine you need to teach the difference between Walking and Running. They look very similar. If you just say "Make them different," the student might change the color of the shirt or the background, which isn't helpful. You need to say, "Keep the shirt and background the same, but change only the leg speed."
  • In DiReCT: This is the magic part. The system uses a smart AI (an LLM) to take the original prompt and tweak just one tiny physical rule.
    • Original: "A surfer rides a wave."
    • Tweak (Micro Coach): "A surfer rides a wave, but the water is thick like honey."
    • The robot then generates a video of the surfer in honey. This video is a "hard negative." It looks almost the same as the real one, but the physics are wrong (the water is too thick). The robot learns to push its "real" video away from this "honey" video, specifically fixing the physics of fluid flow without messing up the surfer's face or the beach.

3. The Safety Net: "Don't Forget Your Art Skills"

There is a risk that in trying to learn physics, the robot might forget how to make pretty pictures. It might start drawing stick figures that move perfectly but look terrible.

To stop this, DiReCT uses a Safety Net. It keeps a copy of the robot's original "art skills" frozen in memory. During training, it constantly checks: "Are you still making pretty pictures, or did you go too crazy with the physics?" If the robot starts losing its visual quality, the safety net pulls it back. This ensures the videos look beautiful and obey the laws of physics.

The Result

When the researchers tested this on a popular video model (Wan 2.1):

  • Before: The robot made videos where cars drove backward, people merged into walls, and objects floated in impossible ways.
  • After (with DiReCT): The robot learned that cars drive forward, solid objects don't pass through each other, and water flows downhill.
  • Efficiency: It did all this without needing a massive supercomputer. A small model with this "Physics Coach" beat much larger models that didn't have it.

In summary: DiReCT is like a smart tutor that teaches an AI robot the rules of the physical world by showing it clear examples of "very different things" (Macro) and "subtle, physics-breaking mistakes" (Micro), all while making sure the robot doesn't forget how to draw a pretty picture.

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 →