← Latest papers
🤖 machine learning

Any-OPD: Heterogeneous On-Policy Distillation for Flow-Matching Models via Representation-Space Bridging

Any-OPD introduces a novel framework for heterogeneous on-policy distillation between arbitrary latent flow-matching models by bridging them through a frozen, model-agnostic vision representation and continuous noise-level matching, enabling a 2.5B student to rival a 12B teacher's performance where traditional latent regression fails.

Original authors: Siming Fu, Zheming Fu, Ruizhe He, Hualiang Wang, Jie Huang, Xiaoxiao Ma, Mingchen Zhong, Weihu Huang, Xiaoxuan He, Haojun Xu

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

Original authors: Siming Fu, Zheming Fu, Ruizhe He, Hualiang Wang, Jie Huang, Xiaoxiao Ma, Mingchen Zhong, Weihu Huang, Xiaoxuan He, Haojun Xu

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 a world where artists don't just paint with brushes, but with math. This is the realm of AI image generation, a field where computers learn to create pictures from scratch by studying millions of examples. To do this, modern AI models use a clever trick called flow matching. Think of it like a river flowing from a chaotic, noisy waterfall (pure static) down to a calm, clear lake (a perfect image). The AI learns the exact path of that river so it can guide any drop of water from the noise to a beautiful picture.

However, there's a catch. The most powerful AI artists are like giant, slow-moving elephants: they are massive, require supercomputers to run, and take forever to generate a single image. We want the speed and efficiency of a nimble squirrel, but we also want the elephant's artistic genius. The solution is distillation: teaching a small, fast student model to copy the big, slow teacher. But here's the problem: usually, the teacher and student must speak the exact same language, use the same internal map, and follow the same clock. If they are from different "families" of AI, they might as well be speaking different dialects or living in different time zones. Until now, trying to teach a squirrel how to be an elephant when they use completely different blueprints was impossible.

This paper introduces Any-OPD, a new method that acts like a universal translator and a time-bending coach. The researchers found that you don't need the teacher and student to share the same internal maps or clocks to learn from each other. Instead of forcing them to compare their secret internal notes (which would be gibberish to the other), Any-OPD lets them compare the final pictures they create using a third-party "art critic" (a frozen vision model called DINOv2) that understands the meaning of the image, not just the pixels.

The team tested this by taking a tiny, 2.5-billion-parameter student model (SD3.5-Medium) and teaching it to mimic a massive, 12-billion-parameter teacher (FLUX.1-dev). These two models are completely different: they use different internal structures, different ways of handling noise, and different schedules. Standard methods tried to force a direct comparison between their internal data, which caused the training to collapse into a blurry mess. Any-OPD, however, sidestepped this by only comparing the final images in a shared "meaning space."

The results were striking. The tiny student, after being trained with Any-OPD, didn't just get a little better; it became a master artist. It improved its ability to create images that humans prefer (measured by a score called PickScore) from 0.846 to 0.884, and its human preference score (HPSv3) jumped from 9.12 to 10.97. In fact, this small student started to rival, and in some cases even exceed, the performance of its giant 12-billion-parameter teacher, all while running at a fraction of the size and cost.

The paper explicitly rules out the idea that you can simply compare the raw internal data (latents) or the pixel-by-pixel details of the images when the models are different. They showed that trying to do a direct "pixel regression" across different model families causes the training to fail completely. Instead, they proved that by anchoring the student first and then using a noise-level matching system to align their steps in time, you can successfully transfer knowledge between any two models, no matter how different they are. This suggests that in the future, we won't be stuck with just one giant AI; we can take the best teacher available, no matter who built it, and teach any small model we need to deploy to be just as good.

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 →