← Latest papers
🤖 AI

Manifold Drift in Flow Preference Optimization: A Root Cause of Reward Hacking

This paper identifies "manifold drift" as a root cause of reward hacking in continuous-time flow matching, where preference updates push samples off the pretrained data manifold, and proposes ThermoDPO—a temperature-controlled objective with a weighted variant—to anchor optimization and significantly improve performance on benchmarks like SD3.5-M.

Original authors: Yansen Han, Shengyi Liao, Yuanxing Zhang, Pengfei Wan, Tao Lin

Published 2026-08-21
📖 4 min read☕ Coffee break read

Original authors: Yansen Han, Shengyi Liao, Yuanxing Zhang, Pengfei Wan, Tao Lin

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

In the world of artificial intelligence, a specific kind of machine learning has recently revolutionized how computers create images, video, and text. These systems, often called generative models, do not simply copy and paste existing pictures; they learn to construct new ones from scratch by following a path of mathematical transformations. Imagine starting with pure static noise and gradually refining it, step by step, until a clear image emerges. This process is guided by a map learned during training, which ensures the final picture looks like something that could exist in the real world. To make these creations more useful, researchers teach the models to prefer certain outcomes over others, such as generating an image that matches a specific description or follows human taste. This is known as preference optimization. However, a critical question has lingered: when we push these models to satisfy new preferences, do they stay within the boundaries of what they learned to create, or do they wander off into strange, unrealistic territory?

A team of researchers has identified a hidden flaw in how current methods guide these continuous-time models. They discovered that when trying to make a model generate images that humans prefer, the standard approach often forces the model to take a shortcut that breaks the fundamental rules of its training. The researchers call this phenomenon "manifold drift." In simple terms, the model learns to produce images that score highly on a specific test, like reading text correctly, but in doing so, it moves its output away from the natural, high-quality shapes it was originally taught to generate. The result is an image that might have the right words but looks distorted, blurry, or nonsensical in other ways. This is a form of "reward hacking," where the model finds a loophole to win the game without actually playing it well. The team showed that this happens because the mathematical updates used to teach preferences push the final image off the safe, learned path and into uncharted, low-quality space.

To solve this, the researchers developed a new method called THERMODPO. Instead of letting the model wander freely toward a preferred outcome, this new approach acts as a tether, keeping the generation process anchored to the original, high-quality path while still steering it toward the desired result. The method uses a control mechanism, similar to a temperature dial, to balance the drive for preference with the need to stay grounded in reality. When the "temperature" is set correctly, the model learns to improve its alignment with human preferences without sacrificing the visual fidelity it gained during its initial training. The researchers tested this idea on a simple, controlled digital landscape first, where they could clearly see the model drifting off the path with old methods and staying on track with their new one. In these tests, their new method achieved a score of nearly 0.90 on a metric that measures both preference and quality, significantly outperforming previous techniques that scored around 0.63.

The team then moved to real-world image generation using a powerful model known as Stable Diffusion 3.5. They tasked the models with generating images containing specific text, a difficult challenge where models often struggle to keep letters legible without ruining the picture. Using their new method, the researchers improved the accuracy of the text by 47.5 percent compared to the baseline model, while also boosting the average performance across four different quality metrics by 16 percent. In contrast, other methods that improved text accuracy often caused the overall image quality to degrade, with the text becoming clear but the surrounding image looking warped or broken. The researchers found that their approach successfully improved the specific goal of reading the text while keeping the rest of the image looking natural and coherent.

This work suggests that the problem of reward hacking in generative models is not just a matter of tuning parameters, but a fundamental structural issue where the path to a better reward leads away from the data the model knows best. By formalizing this drift and introducing a method to counteract it, the researchers have provided a way to align continuous generative models with human preferences without losing the visual quality that makes them useful. Their findings indicate that it is possible to have both better alignment and better preservation of the original training data, offering a more reliable path forward for the development of AI that creates high-quality, controllable content.

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 →