Self-Adversarial One Step Generation via Condition Shifting
Organizations: Westlake University · Zhejiang University · Shanghai Innovation Institute · Peking University
Abstract
The push for efficient text to image synthesis has moved the field toward one step sampling, yet existing methods still face a three way tradeoff among fidelity, inference speed, and training efficiency. Approaches that rely on external discriminators can sharpen one step performance, but they often introduce training instability, high GPU memory overhead, and slow convergence, which complicates scaling and parameter efficient tuning. In contrast, regression based distillation and consistency objectives are easier to optimize, but they typically lose fine details when constrained to a single step. We present APEX, built on a key theoretical insight: adversarial correction signals can be extracted endogenously from a flow model through condition shifting. Using a transformation creates a shifted condition branch whose velocity field serves as an independent estimator of the model's current generation distribution, yielding a gradient that is provably GAN aligned, replacing the sample dependent discriminator terms that cause gradient vanishing. This discriminator free design is architecture preserving, making APEX a plug and play framework compatible with both full parameter and LoRA based tuning. Empirically, our 0.6B model surpasses FLUX-Schnell 12B (20 more parameters) in one step quality. With LoRA tuning on Qwen-Image 20B, APEX reaches a GenEval score of 0.89 at NFE=1 in 6 hours, surpassing the original 50-step teacher (0.87) and providing a 15.33 inference speedup. Code is available https://github.com/LINs-lab/APEX.
Figures & tables
| Methods | NFEs | Throughput | Latency | Params | FID | CLIP | GenEval | |
| (samples/s) | (s) | (B) | ||||||
| Few Step Distillation Models | SDXL-LCM Luo et al. (2023) | 2 | 2.89 | 0.40 | 0.9 | 18.11 | 27.51 | 0.44 |
| PixArt-LCM Chen et al. (2024c) | 2 | 3.52 | 0.31 | 0.6 | 10.33 | 27.24 | 0.42 | |
| SD3.5-Turbo Esser et al. (2024) | 2 | 1.61 | 0.68 | 8.0 | 51.47 | 25.59 | 0.53 | |
| PCM Wang et al. (2024a) † | 2 | 2.62 | 0.56 | 0.9 | 14.70 | 27.66 | 0.55 | |
| SDXL-DMD2 Yin et al. (2024a) † | 2 | 2.89 | 0.40 | 0.9 | 7.61 | 28.87 | 0.58 | |
| Model | Single | Two | Counting | Colors | Position | Attribute | Overall |
| Object | Object | Binding | |||||
| Show-o ( Xie et al., 2024b ) | 0.95 | 0.52 | 0.49 | 0.82 | 0.11 | 0.28 | 0.53 |
| Emu3-Gen ( Wang et al., 2024b ) | 0.98 | 0.71 | 0.34 | 0.81 | 0.17 | 0.21 | 0.54 |
| PixArt- ( Chen et al., 2024d ) | 0.98 | 0.50 | 0.44 | 0.80 | 0.08 | 0.07 | 0.48 |
| SD3 Medium ( Esser et al., 2024 ) | 0.98 | 0.74 | 0.63 | 0.67 | 0.34 | 0.36 | 0.62 |
| FLUX.1 [Dev] ( BlackForest, 2024 ) | 0.98 | 0.81 | 0.74 | 0.79 | 0.22 | 0.45 | 0.66 |
| Model | Global | Entity | Attribute | Relation | Other | Overall |
| SD v1.5 ( Rombach et al., 2022 ) | 74.63 | 74.23 | 75.39 | 73.49 | 67.81 | 63.18 |
| PixArt- ( Chen et al., 2024d ) | 74.97 | 79.32 | 78.60 | 82.57 | 76.96 | 71.11 |
| Lumina-Next ( Zhuo et al., 2024 ) | 82.82 | 88.65 | 86.44 | 80.53 | 81.82 | 74.63 |
| SDXL ( Podell et al., 2023 ) | 83.27 | 82.43 | 80.91 | 86.76 | 80.41 | 74.65 |
| Hunyuan-DiT ( Li et al., 2024b ) | 84.59 | 80.59 | 88.01 | 74.36 | 86.41 | 78.87 |
| Janus ( Wu et al., 2025b ) | 82.33 | 87.38 | 87.70 | 85.46 | 86.41 | 79.68 |
| Model | Cultural | Time | Space | Biology | Physics | Chemistry | Overall |
| SD v1.5 ( Rombach et al., 2022 ) | 0.34 | 0.35 | 0.32 | 0.28 | 0.29 | 0.21 | 0.32 |
| SDXL ( Podell et al., 2023 ) | 0.43 | 0.48 | 0.47 | 0.44 | 0.45 | 0.27 | 0.43 |
| SD3.5-Large Esser et al. (2024) | 0.44 | 0.50 | 0.58 | 0.44 | 0.52 | 0.31 | 0.46 |
| PixArt- ( Chen et al., 2024d ) | 0.45 | 0.50 | 0.48 | 0.49 | 0.56 | 0.34 | 0.47 |
| Playground-v2.5 ( Li et al., 2024a ) | 0.49 | 0.58 | 0.55 | 0.43 | 0.48 | 0.33 | 0.49 |
| FLUX.1 [Dev] ( BlackForest, 2024 ) | 0.48 | 0.58 | 0.62 | 0.42 | 0.51 | 0.35 | 0.50 |
| Model | ShareGPT-4o | Blip-3o | ||||
| 2Ksteps | 8Ksteps | 10Ksteps | 2Ksteps | 8Ksteps | 10Ksteps | |
| APEX 0.6B | 0.37 | 0.67 | 0.73 | 0.71 | 0.77 | 0.81 |
| APEX 1.6B | 0.36 | 0.70 | 0.73 | 0.27 | 0.78 | 0.83 |
| 0.4Ksteps | 1Ksteps | 2Ksteps | 0.4Ksteps | 1Ksteps | 2Ksteps | |
| APEX 20B ( r=32 ) | 0.19 | 0.33 | 0.62 | 0.83 | 0.84 | 0.83 |
| APEX 20B ( r=64 ) | 0.21 | 0.35 | 0.61 | 0.73 | 0.85 | 0.84 |
| Weighting Ratio ( ) | APEX 0.6B | APEX 1.6B | APEX 20B ( ) |
| 1.0 : 0.0 ( Only) | 0.32 | 0.35 | 0.42 |
| 0.0 : 1.0 ( Only) | 0.63 | 0.66 | 0.69 |
| 1.0 : 0.5 | 0.72 | 0.71 | 0.81 |
| 1.0 : 1.0 (Ours) | 0.77 | 0.76 | 0.83 |
| 1.0 : 2.0 | 0.74 | 0.75 | 0.82 |
| 0.0 | 0.1 | 1.0 | 10.0 | |
| 0.76 | 0.73 | 0.74 | 0.74 | |
| 0.75 | 0.79 | 0.81 | 0.70 | |
| 0.29 | 0.37 | 0.30 | 0.73 |
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.