ConsistentRFT: Reducing Visual Hallucinations in Flow-based Reinforcement Fine-Tuning
This paper introduces ConsistentRFT, a general framework that mitigates visual hallucinations in flow-based reinforcement fine-tuning by addressing limited exploration and trajectory imitation issues through a Dynamic Granularity Rollout mechanism and Consistent Policy Gradient Optimization.
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 talented artist (an AI image generator) who is very good at drawing pictures based on your descriptions. However, when you ask them to "paint a baseball player pitching," they sometimes get so obsessed with the texture of the grass or the stitching on the ball that they forget the player is actually holding a bat, or they accidentally add a third arm. This is called visual hallucination.
The paper introduces a new training method called ConsistentRFT to fix this. Here is how it works, explained simply:
The Problem: The "Over-Optimized" Artist
The researchers found that current ways of teaching these AI artists (called Reinforcement Fine-Tuning) have two main flaws:
The "Zoom-In" Trap (Exploration Problem):
Imagine the AI is trying to learn what a "good" picture looks like by generating many variations. Current methods act like a photographer who only zooms in on tiny details (like a single leaf on a tree) to see if it looks sharp. They ignore the whole tree.- The Result: The AI gets so good at making tiny details perfect that it starts inventing fake details (like adding a grid pattern or extra flowers) just to get a high score, even if the main picture makes no sense.
The "Copycat" Confusion (Exploitation Problem):
To learn, the AI tries to copy the "winning" drawings it made during practice. But because the practice method was a bit chaotic (random noise), the AI starts copying the chaos along with the good parts.- The Result: The AI forgets the smooth, logical rules it learned when it was first created. It starts taking weird shortcuts, leading to inconsistent or blurry images.
The Solution: ConsistentRFT
The authors propose a new training coach with two main strategies to fix these issues:
1. The "Dynamic Zoom" Strategy (Dynamic Granularity Rollout)
Instead of only zooming in on tiny details or only looking at the whole picture, the new method teaches the AI to do both, but at the right times.
- The Analogy: Imagine a teacher telling a student, "First, look at the whole forest to make sure the trees are in the right place (Global Semantics). Then, zoom in to make sure the leaves look realistic (Local Details)."
- How it works: The system switches between "Coarse-Grained" (looking at the big picture) and "Fine-Grained" (looking at details) during training. It also uses a smart filter to pick the most diverse examples to study, so the AI doesn't just memorize the same "perfect" leaf over and over again.
2. The "Steady Hand" Strategy (Consistent Policy Gradient Optimization)
This part stops the AI from copying the chaotic "practice" drawings and forces it to stick to the logical rules it already knows.
- The Analogy: Imagine the AI is learning to ride a bike. The old method told it to copy the wobbly, zig-zag path of a drunk rider just because they reached the finish line. The new method says, "No, copy the smooth, straight path of the experienced rider, even if they took a slightly different route."
- How it works: It adds a rule that says, "Whatever you draw at step 10 must logically connect to what you drew at step 9." This prevents the AI from hallucinating weird, disconnected details just to get a high reward score.
The Results: A Better Artist
The paper tested this new method on a popular image generator called FLUX1.dev.
- Fewer Hallucinations: It reduced "low-level" hallucinations (weird textures, grid lines) by 49% and "high-level" hallucinations (wrong objects, missing parts) by 38%.
- Better Generalization: Unlike other methods that got better at the specific test questions but worse at everything else, this method improved the AI's ability to understand new, unseen prompts by 5.1%.
- Speed: It works just as fast as the standard methods, making it a practical upgrade.
In short: ConsistentRFT teaches the AI to balance looking at the big picture with looking at the details, and forces it to stay logical, resulting in images that are both beautiful and actually make sense.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.