← Latest papers
🤖 AI

AnchorEdit: Maintaining Temporal Consistency in Multi-turn Image Editing via Causal Memory

AnchorEdit introduces the first autoregressive diffusion framework for high-resolution, long-term multi-turn image editing that utilizes a three-stage training curriculum and a causal memory mechanism to effectively eliminate identity drift and error accumulation across extended interaction sequences.

Original authors: Hang Xu, Xiaoxiao Ma, Guohui Zhang, Yu Hu, Siming Fu, Jie Huang, Lin Song, Haoyang Huang, Nan Duan, Feng Zhao

Published 2026-06-11
📖 5 min read🧠 Deep dive

Original authors: Hang Xu, Xiaoxiao Ma, Guohui Zhang, Yu Hu, Siming Fu, Jie Huang, Lin Song, Haoyang Huang, Nan Duan, Feng Zhao

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 working with a very talented but slightly forgetful digital artist. You ask them to edit a photo: "Make the car red." They do it perfectly. Then you say, "Now make it a convertible." They do that too. But by the third or fourth request, the car starts to look weird. Maybe it's no longer the same car, or the background has turned into a different city. This is the problem of "identity drift" in current AI image editors—they lose track of who or what they are editing as the conversation goes on.

The paper introduces AnchorEdit, a new system designed to fix this. Think of it as giving that digital artist a super-memory and a strict set of rules so they can handle long, complex editing sessions without losing their mind (or the subject's face).

Here is how it works, broken down into simple concepts:

1. The Problem: The "Video" vs. "Conversation" Mismatch

Current AI editors that are good at keeping things consistent often use video models. Video is great because it shows how things move and stay the same over time. However, most video models look at the "whole picture" at once (like reading a book from start to finish to understand a sentence).

But editing an image is like a conversation. You give an instruction, the AI does it, and then you give the next instruction based only on what just happened. You can't peek at the future instructions.

  • The Flaw: Existing video models try to "peek" at the future to stay consistent, which breaks the logic of a real conversation.
  • The Fix: AnchorEdit uses an Autoregressive (AR) approach. This means it treats editing like a chain of dominoes. It only looks at the past (the original photo and previous edits) to decide what to do next, just like a human would.

2. The Solution: A Three-Step Training Camp

To teach this AI to be a master editor, the researchers put it through a three-stage training curriculum:

  • Stage 1: The "Don't Change Anything" Drill (Identity Preserving)
    Imagine a teacher telling the student, "Here is a photo. I want you to 'edit' it, but actually, I want you to keep it exactly the same."
    The AI learns to recognize the "soul" of the object (the identity) so it doesn't accidentally morph a dog into a cat when asked to change its collar. They also use a special math trick (called Expanded RoPE) to teach the AI that an "edit" is a big jump in time, not just a tiny movement like a video frame.

  • Stage 2: The "Self-Correction" Drill (Causal Forcing)
    This is the most important part. In normal training, the AI is always shown the perfect previous steps. But in real life, if you make a small mistake in step 1, step 2 has to work with that mistake.
    The researchers use a technique called Self-Rollout. They let the AI make its own mistakes during training, then ask it to fix the next step based on its imperfect previous work. It's like a musician practicing a song, making a mistake, and then learning how to recover and keep the rhythm going without stopping. This stops errors from piling up like a snowball rolling down a hill.

  • Stage 3: The "Speed Run" (Distillation)
    The AI is now smart but slow. To make it fast enough for real use, they compress it. They teach a smaller, faster version of the AI to mimic the big, slow one. The result is a model that can do high-quality edits in just 4 steps instead of dozens.

3. The Secret Weapon: The "Anchor" and the "Sliding Window"

When the AI is actually editing a photo during a long session (say, 10 turns in a row), it needs a way to remember the original subject without getting overwhelmed by all the history.

  • The Anchor: The AI keeps the very first image (the original photo) locked in its memory forever. No matter how many edits happen, it always has a reference point to say, "Wait, this person's face should still look like this."
  • The Sliding Window: It also keeps a "recent history" of the last few edits to understand the immediate context.
  • The Magic Trick: Even as old edits are forgotten to save space, the AI uses a special numbering system (Strided RoPE) to ensure the "distance" between the original photo and the current edit stays mathematically consistent. It's like keeping a ruler in your pocket that always measures the distance from the start, even if you throw away the middle pieces of paper.

4. The Results

The researchers built a new test (a benchmark) specifically to stress-test these long editing chains. They found that:

  • Old methods (like ChronoEdit or VINCIE) start to fail after a few turns. The subject's face changes, or the background gets messy.
  • AnchorEdit stays consistent even after 10+ turns. It can change a car from red to blue, to rusted steel, to a submarine, and back to a car, and the "driver" inside remains the same person throughout the whole journey.

Summary

AnchorEdit is like giving an AI editor a permanent anchor to the original image and a training regimen that teaches it how to recover from its own mistakes. It moves away from "looking at the whole video" to "having a real-time conversation," ensuring that after 10 requests, the image still looks like the same person or object you started with.

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 →