SAEdit: Token-level control for continuous image editing via Sparse AutoEncoder
该论文提出了一种基于稀疏自动编码器(SAE)的文本驱动图像编辑方法,通过细粒度操纵文本嵌入来实现可分离和连续的图像编辑。
更新于 2025-10-07。作者:Ronen Kamenetsky、Sara Dorfman、Daniel Garibi、Roni Paiss、Or Patashnik、Daniel Cohen-Or。
中文摘要
大规模的文本到图像扩散模型已成为现代图像编辑的核心,然而仅靠文本提示无法提供足够的编辑过程控制。有两个特性尤为理想:解耦,即改变一个属性不会无意中改变其他属性;以及连续控制,即可以平滑地调整编辑的强度。我们介绍了一种通过文本嵌入的标记级操作进行解耦和连续编辑的方法。编辑是通过操纵精心选择的嵌入方向来应用的,这些方向控制目标属性的强度。为了确定这些方向,我们采用了一种稀疏自动编码器(SAE),其稀疏的潜在空间揭示了语义上隔离的维度。我们的方法直接作用于文本嵌入,而不修改扩散过程,这使得它对模型无感知,并且可以广泛适用于各种图像合成骨干。实验表明,它允许进行直观且高效的操控,实现不同属性和领域的连续控制。
英文摘要
Large-scale text-to-image diffusion models have become the backbone of modern image editing, yet text prompts alone do not offer adequate control over the editing process. Two properties are especially desirable: disentanglement, where changing one attribute does not unintentionally alter others, and continuous control, where the strength of an edit can be smoothly adjusted. We introduce a method for disentangled and continuous editing through token-level manipulation of text embeddings. The edits are applied by manipulating the embeddings along carefully chosen directions, which control the strength of the target attribute. To identify such directions, we employ a Sparse Autoencoder (SAE), whose sparse latent space exposes semantically isolated dimensions. Our method operates directly on text embeddings without modifying the diffusion process, making it model agnostic and broadly applicable to various image synthesis backbones. Experiments show that it enables intuitive and efficient manipulations with continuous control across diverse attributes and domains.
解读
一句话总结
该论文提出了一种基于稀疏自动编码器(SAE)的文本驱动图像编辑方法,通过细粒度操纵文本嵌入来实现可分离和连续的图像编辑。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:大规模文本到图像扩散模型在图像编辑中应用广泛,但仅依靠文本提示无法提供足够的编辑控制,特别是在可分离性和连续性方面。
- 现有方案不足:现有的图像编辑方法在实现可分离的编辑和连续控制方面存在挑战,例如文本提示的离散性导致无法平滑调整强度,而特定优化方法难以扩展。
- 研究目标:提出一种基于文本嵌入的细粒度操纵方法,实现可分离和连续的图像编辑。
问题2:论文的核心创新点是什么?
- 技术创新:利用稀疏自动编码器(SAE)从文本嵌入中提取语义分离的维度,以发现编辑方向。
- 方法改进:通过比较不同文本嵌入来识别与所需编辑相关的条目,并构建特定于编辑的方向向量。
- 优势:无需修改扩散过程,模型无关,适用于各种图像合成骨干网络。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在多种图像合成骨干网络上进行了实验,包括Flux和Stable Diffusion 3.5。
- 性能提升:实验结果表明,该方法能够提供连续和高度可分离的语义编辑,优于基线方法。
- 对比结果:与基线方法相比,该方法在图像保留和提示一致性方面表现出更好的性能。
问题4:这个研究的实际应用价值是什么?
- 应用场景:该方法可以应用于各种图像编辑场景,如表情、属性和外观的修改。
- 实施建议:该方法可以作为图像编辑工具的插件,提供细粒度控制。
- 局限与展望:该方法在处理与基模型世界观根本纠缠的概念时可能失败,未来研究可以探索更鲁棒的解决方案。
来源
机器可读索引:llms.txt