← Latest papers
💻 computer science

MATRIX: Mask Track Alignment for Interaction-aware Video Generation

This paper introduces MATRIX, a regularization method that aligns attention mechanisms in Video DiTs with multi-instance mask tracks from the newly curated MATRIX-11K dataset to enhance interaction-aware video generation by improving semantic grounding and propagation while reducing hallucination.

Original authors: Siyoon Jin, Seongchan Kim, Dahyun Chung, Jaeho Lee, Hyunwook Choi, Jisu Nam, Jiyoung Kim, Seungryong Kim

Published 2026-04-08
📖 5 min read🧠 Deep dive

Original authors: Siyoon Jin, Seongchan Kim, Dahyun Chung, Jaeho Lee, Hyunwook Choi, Jisu Nam, Jiyoung Kim, Seungryong Kim

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 directing a movie. You give your actors a script: "A boy reaches for a bottle with a green lid and takes a sip."

In the world of current AI video generators (like the ones making TikToks or movie clips), the actors often get confused. They might:

  • Forget which character is the "boy" and which is the "bottle."
  • Have the boy reach for the wrong object (like a red cup).
  • Have the boy take a sip, but then suddenly the bottle disappears or turns into a cat in the next frame.
  • Duplicate the boy, so now there are two boys reaching for two bottles.

This paper, titled MATRIX, introduces a new way to teach these AI directors how to keep the story straight, especially when multiple characters are interacting.

Here is the breakdown of how they did it, using simple analogies:

1. The Problem: The "Confused Actor"

Current AI models are like brilliant improvisational actors who have read the script but don't really understand the relationships between characters. They know what a "boy" looks like and what a "bottle" looks like, but they struggle to keep track of which boy is touching which bottle over time.

The authors found that the AI's internal "brain" (specifically a part called Attention) was getting lost. It was like a spotlight that was supposed to shine on the boy and the bottle, but instead, it was flickering all over the room, or shining on the wrong person entirely.

2. The Discovery: Finding the "Brain's Secret Switch"

The researchers didn't just guess; they acted like detectives. They built a massive dataset called MATRIX-11K. Think of this as a library of 11,000 video clips where every single character has a name tag (a mask track) and the script is perfectly matched to the action.

By watching how the AI watched these videos, they discovered something surprising:

  • The AI doesn't need to be taught everything to understand interactions.
  • Just like a human has a specific part of the brain that handles "who is talking to whom," the AI has a tiny, specific set of layers (think of them as specific floors in a skyscraper) where it decides who is touching whom.
  • In successful videos, the "spotlight" (attention) in these specific floors shines brightly on the right characters. In failed videos, the spotlight is dim or pointing at the wrong wall.

3. The Solution: The "Spotlight Trainer" (MATRIX)

The authors created a new training method called MATRIX. Instead of trying to retrain the whole giant AI (which is expensive and slow), they found those specific "floors" in the AI's brain and installed a Spotlight Trainer.

They used two new rules (Loss functions) to teach the AI:

  • Rule 1: The "Grounding" Rule (SGA)

    • Analogy: Imagine a teacher pointing at a student and saying, "You are the boy." Then pointing at a bottle and saying, "You are the green lid."
    • How it works: The AI is forced to make sure its internal spotlight hits the exact pixel where the "boy" is and the exact pixel where the "bottle" is. It stops the AI from guessing.
  • Rule 2: The "Propagation" Rule (SPA)

    • Analogy: Imagine a game of "Hot Potato." If the boy is holding the bottle in Frame 1, he must still be holding it in Frame 2, Frame 3, and Frame 4.
    • How it works: The AI is taught to lock the spotlight onto the same object as the video plays. If the boy moves, the spotlight must move with him, not jump to a different person or disappear. This stops the "hallucinations" where objects vanish or duplicate.

4. The Result: A Better Director

When they tested this new method:

  • Before: The AI might generate a video where a man tries to drink from a bottle, but the bottle is floating in the air, or the man suddenly has three arms.
  • After (with MATRIX): The man reaches for the bottle, grabs it firmly, and drinks. The bottle stays the same color and shape the whole time. The interaction feels real and logical.

They also built a new Test Score (InterGenEval). Instead of just asking "Is this video pretty?", they ask specific questions like: "Did the boy actually touch the bottle?" and "Did the bottle stay the same throughout the clip?"

Summary

Think of MATRIX as a specialized tutor for AI video generators. It doesn't rewrite the whole book; it just teaches the AI how to keep its eyes on the right characters and remember who is doing what to whom. By focusing on the specific parts of the AI's brain that handle these interactions, they made videos that are much less likely to have magical, confusing, or broken moments.

In short: They taught the AI to stop daydreaming and start paying attention to the actual story it's trying to tell.

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 →