Dancing Diffusion:用连续程序实现图像生成与编辑
Dancing Diffusion: Learning Continuous Programs for Image Generation and Editing
AI 导读
Dancing Diffusion 为扩散模型的每段时间步分配独立的连续条件块,把条件控制变成潜在程序,由编译器将文本特征映射为程序、固定的预训练生成器逐段执行。在 SANA 上的实验显示,复用已执行前缀比从噪声重生成保留更多场景,学习到的条件比原生提示词切换保留更多背景,且生成质量优于原生 SANA。该方法将单指令轨迹转为可寻址操作程序,但对单个操作的语义控制仍然有限。
正文 · 原文
Abstract:Diffusion models generate samples through a multi-step denoising trajectory, yet condition every step on the same instruction, so the trajectory cannot be addressed at the level of individual operations. We introduce Dancing Diffusion, which assigns each span of timesteps a dedicated continuous condition block and thereby turns conditioning into a latent program. A compiler maps text features into this program, and a fixed pretrained generator executes its blocks over successive sampling intervals. The trajectory can then dance, keeping its executed history while its continuation is redirected. A shared prefix is executed once and reused, and a later operation is rewritten while content fixed by earlier operations is preserved. The compiler is trained through the images it produces, with visual feedback on both the requested change and the retained content. On SANA, reusing an executed prefix preserves markedly more of the scene than regenerating from noise at a similar strength of edit, learned conditions preserve more background than native prompt switching from the same saved state, and the learned program improves generation quality over native SANA. Later branches weaken the edit, which leaves semantic control over individual operations limited. By converting a single-instruction trajectory into a program of addressable operations, Dancing Diffusion lays a foundation for structured intermediate computation in diffusion models.
| Subjects: | Artificial Intelligence (cs.AI); Graphics (cs.GR) |
| Cite as: | arXiv:2610.28003 [cs.AI] |
| (or arXiv:2610.28003v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.28003 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Enhe Cui [view email]
[v1]
Tue, 20 Oct 2026 10:46:45 UTC (14,534 KB)
来源:arXiv cs.AI · arxiv.org