← Latest papers
💻 computer science

ProductConsistency: Improving Product Identity Preservation in Instruction-Based Image Editing via SFT and RL

This paper introduces the ProductConsistency dataset and a Cyclic Consistency reward mechanism to enhance product identity preservation in instruction-based image editing, demonstrating that supervised fine-tuning and reinforcement learning significantly improve text fidelity and visual quality in models like Qwen-Image-Edit-2511 and Flux.1-Kontext-dev.

Original authors: Mukund Khanna, Raj Singh Yadav, Kunal Singh

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

Original authors: Mukund Khanna, Raj Singh Yadav, Kunal Singh

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 have a favorite coffee mug with your name and a specific logo printed perfectly on it. You want to use an AI tool to take a photo of that mug and place it on a sunny kitchen counter for a social media post.

Ideally, the AI should move the mug, change the background, and maybe add some sunlight, but keep your name and the logo exactly as they are.

The Problem: The "Clumsy AI" Artist
The paper explains that current AI image editors are like very talented but clumsy artists. They are great at following instructions like "put this on a shelf" or "change the lighting." However, when it comes to keeping specific details of a product (like a brand logo, a specific font, or the exact shape of a bottle) intact, they often mess up.

Instead of keeping your name on the mug, the AI might:

  • Turn your name into gibberish.
  • Change the logo's color.
  • Distort the shape of the bottle.
  • Invent new, fake text that wasn't there before.

For businesses (like advertisers or online stores), this is a disaster. You can't sell a product if the AI accidentally changes the brand name or makes the packaging look weird.

The Solution: A Specialized Training Camp
The authors created a new system called ProductConsistency to fix this. Think of it as a specialized training camp for AI artists where the only rule is: "Do not change the product's identity."

Here is how they did it, using simple analogies:

  1. Building a Massive Practice Library (The Dataset):
    The AI needs to practice on thousands of examples to learn. The authors built a huge library of 87,000 synthetic product images. They used a computer program to generate fake products (like a soda can or a cereal box) with perfect, readable text and unique logos.

    • The Filter: Since AI sometimes writes gibberish when generating text, they used a "spell-checker" (OCR) to throw away any image where the text wasn't perfect. Only the images with perfect text made it into the training library.
  2. Two-Step Training (SFT and RL):
    They trained the AI in two phases:

    • Phase 1: Supervised Fine-Tuning (SFT) - "The Homework": The AI looked at the perfect images and learned how to copy them while changing the background. It's like a student memorizing the correct answers to a test.
    • Phase 2: Reinforcement Learning (RL) - "The Coach's Whistle": This is where the real magic happened. They introduced a new "reward system." Imagine a coach who doesn't just look at the final picture, but also checks if the essence of the product is still there.
      • They invented a "Cyclic Consistency Reward." Here's how it works: After the AI edits the image, another AI (a "caption writer") describes the new image. The system then compares this new description to the original product description. If the descriptions match closely (meaning the product still looks and sounds like the same product), the AI gets a high score. If the AI changed the logo or the text, the descriptions won't match, and the AI gets a low score.
  3. The Result: A Master Editor
    They tested this new, trained AI against other top models. The results were impressive:

    • Text Accuracy: The AI made 5 times fewer spelling errors on product text compared to the standard models.
    • Brand Safety: The logos and shapes stayed true to the original.
    • Overall Quality: Even human-like AI judges (Large Language Models) rated the new models higher for keeping the product looking "real" and consistent.

In Summary
The paper argues that to make AI useful for real-world product marketing, we can't just rely on general image editing tools. We need to specifically train them on data that cares about brand identity and text accuracy. By creating a massive library of perfect product images and teaching the AI a "consistency check" (the Cyclic Consistency reward), they successfully taught the AI to edit photos without ruining the product's identity.

What the paper does NOT claim:

  • It does not claim this will be used for medical imaging or clinical diagnosis.
  • It does not claim this will replace human graphic designers entirely, only that it improves the specific task of editing product photos.
  • It does not claim this works for every type of image, only for instruction-based editing of products where brand consistency is key.

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 →