Self-Adversarial One Step Generation via Condition Shifting

Deyuan Liu, Peng Sun, Yansen Han, Zhenglin Cheng, Chuyan Chen +1 more
4/14/2026
5 citations
cs.CV
lora-peft-merging

Official code: LINs-lab/APEX (57 stars, Python, Apache-2.0, last commit 2026-04-15).

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.

Show full abstract

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$\times$ 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$\times$ inference speedup. Code is available https://github.com/LINs-lab/APEX.

View on arXivView PDF

Code Implementations(1)

LINs-lab/APEXOfficial100%
Apache-2.0

[Preprint] Self-Adversarial One Step Generation via Condition Shifting

572Python, Shell7 months agoApache-2.0

Similar Papers

Cite this paper

@article{liu2026selfadversarial,
  title  = {Self-Adversarial One Step Generation via Condition Shifting},
  author = {Deyuan Liu and Peng Sun and Yansen Han and Zhenglin Cheng and Chuyan Chen and Tao Lin},
  year   = {2026},
  eprint = {2604.12322},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.12322v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.12322.svg)](https://codeofpaper.com/paper/2604.12322)

Discussion