← Latest papers
💻 computer science

EditCaption: Human-Aligned Instruction Synthesis for Image Editing via Supervised Fine-Tuning and Direct Preference Optimization

The paper proposes EditCaption, a two-stage post-training pipeline combining supervised fine-tuning and direct preference optimization to address systematic failure modes in vision-language models, thereby generating high-quality, human-aligned instruction triplets that significantly improve image editing performance compared to state-of-the-art baselines.

Original authors: Xiangyuan Wang, Honghao Cai, Yunhao Bai, Tianze Zhou, Haohua Chen, Yao Hu, Xu Tang, Yibo Chen, Wei Zhu

Published 2026-04-10
📖 4 min read☕ Coffee break read

Original authors: Xiangyuan Wang, Honghao Cai, Yunhao Bai, Tianze Zhou, Haohua Chen, Yao Hu, Xu Tang, Yibo Chen, Wei Zhu

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 artist how to paint. You don't just show the robot a "before" picture and an "after" picture; you have to give it a recipe (an instruction) on exactly how to turn the first picture into the second.

For example, if the "before" picture shows a dog in a park, and the "after" picture shows the same dog wearing a hat on the left side, the recipe needs to say: "Put a hat on the dog's left ear."

The problem is that when we ask big, smart AI computers (called Vision-Language Models) to write these recipes automatically, they often get confused. They might say, "Put a hat on the dog's right ear," or they might forget to mention the hat is red, or they might get the angle of the photo wrong. If the robot artist follows a bad recipe, the painting turns out wrong.

This paper, titled EditCaption, is about fixing the robot's ability to write these recipes so they are perfect.

The Three Big Mistakes

The authors found that when AI tries to describe the difference between two photos, it makes three specific types of "hallucinations" (mistakes):

  1. The "Left/Right" Mix-up: The AI gets its directions backward. It thinks "left" is "right."
  2. The "Camera Angle" Confusion: The AI doesn't understand if the camera moved closer or if the person turned around. It gets the perspective wrong.
  3. The "Vague Description" Problem: The AI says "change the color" instead of "change the shirt from blue to red." It misses the tiny, important details.

In fact, the authors tested this and found that nearly half (47%) of the recipes written by the best AI models were so broken that a human couldn't use them to train a robot artist.

The Solution: A Two-Step Training Camp

To fix this, the authors created a new system called EditCaption. Think of it as a two-step training camp for the AI, designed to turn it from a confused student into a master editor.

Step 1: The "Homework" Phase (Supervised Fine-Tuning)

First, they gathered 100,000 pairs of photos. They asked a smart AI to write the initial recipes, but then they used a "quality checker" (a tool called EditScore) to filter out the bad ones.

Then, the most important part: Humans stepped in. Real people looked at the remaining 100,000 recipes and fixed them. They corrected the left/right confusion, clarified the camera angles, and added the missing details (like "red hat" instead of just "hat"). The AI studied these 100,000 perfect recipes like a student studying a textbook. This is called Supervised Fine-Tuning (SFT).

Step 2: The "Debate" Phase (Direct Preference Optimization)

Even after studying the textbook, the AI still made some subtle mistakes. So, the authors set up a "debate."

They showed the AI a photo pair and asked it to write a recipe. The AI wrote a "good but flawed" recipe (e.g., "Put a hat on the right"). Then, a human wrote the perfect recipe (e.g., "Put a hat on the left").

The AI was then shown both versions and told: "The human version is the winner. You need to learn why the human version is better and stop making the mistake you just made." This process, called Direct Preference Optimization (DPO), teaches the AI to avoid its specific bad habits by comparing its own mistakes against human perfection.

The Results: Beating the Giants

The authors tested their new AI (based on a model called Qwen3-VL) against other famous AI models, including some very expensive, closed-source giants like Gemini and GPT-4.

  • The Score: Their new AI scored 4.712 out of 5 on a difficult test, beating the previous leaders.
  • The Human Test: Before their training, the AI's instructions were useless 47% of the time. After their two-step training, the "useless" rate dropped to just 23%, and the "correct" rate jumped to 66%.

The Big Picture

Why does this matter?
Building AI that can edit photos is hard because you need millions of "Before/After" examples with perfect instructions. Hiring humans to write millions of instructions is too expensive and slow.

EditCaption provides a scalable way to generate these instructions automatically. It's like building a machine that can write perfect cooking recipes for a robot chef. Once the robot chef learns from these perfect recipes, it can create amazing new images for us, following our commands accurately without getting confused about left, right, or colors.

In short: They found the AI was bad at giving directions, built a system to teach it the right way using human corrections, and proved that this new teacher makes the AI smarter than almost any other model out there.

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 →