2025-12-16 · 专家 · 计算机视觉 · 机器学习

Directional Textual Inversion for Personalized Text-to-Image Generation

本文提出了一种名为方向性文本反转(DTI)的新框架,用于个性化文本到图像生成,通过优化嵌入的方向来提高文本的忠实度,同时保持主题相似性。

更新于 2025-12-16。作者:Kunhee Kim、NaHyeon Park、Kibeom Hong、Hyunjung Shim。

中文摘要

文本反转(TI)是一种高效的文本到图像个性化方法,但往往在复杂的提示下失败。我们将这些失败归因于嵌入范数膨胀:学习到的标记漂移到分布之外的幅度,降低了预范数Transformer中的提示条件。从经验上讲,我们发现语义主要在CLIP标记空间的方向上编码,而膨胀的范数损害了上下文理解;从理论上讲,我们分析了大型幅度如何衰减位置信息并阻碍预范数块中的残差更新。我们提出了方向性文本反转(DTI),该方法将嵌入幅度固定在分布范围内,并通过黎曼曲率Stochastic Gradient Descent(SGD)仅优化单位超球面上的方向。我们将方向学习表述为具有冯·米塞斯-费舍尔先验的MAP,从而得到一个简单且易于结合的恒定方向先验梯度。在个性化任务中,DTI在保持主题相似性的同时,提高了文本保真度,优于TI及其变体。关键的是,DTI的超球面参数化使得在学习概念之间进行平滑、语义上连贯的插值(slerp)成为可能,这是标准TI所不具备的能力。我们的发现表明,仅方向优化是提示忠实个性化的一条稳健且可扩展的路径。

英文摘要

Textual Inversion (TI) is an efficient approach to text-to-image personalization but often fails on complex prompts. We trace these failures to embedding norm inflation: learned tokens drift to out-of-distribution magnitudes, degrading prompt conditioning in pre-norm Transformers. Empirically, we show semantics are primarily encoded by direction in CLIP token space, while inflated norms harm contextualization; theoretically, we analyze how large magnitudes attenuate positional information and hinder residual updates in pre-norm blocks. We propose Directional Textual Inversion (DTI), which fixes the embedding magnitude to an in-distribution scale and optimizes only direction on the unit hypersphere via Riemannian SGD. We cast direction learning as MAP with a von Mises-Fisher prior, yielding a constant-direction prior gradient that is simple and efficient to incorporate. Across personalization tasks, DTI improves text fidelity over TI and TI-variants while maintaining subject similarity. Crucially, DTI's hyperspherical parameterization enables smooth, semantically coherent interpolation between learned concepts (slerp), a capability that is absent in standard TI. Our findings suggest that direction-only optimization is a robust and scalable path for prompt-faithful personalization.

解读

一句话总结

本文提出了一种名为方向性文本反转(DTI)的新框架,用于个性化文本到图像生成,通过优化嵌入的方向来提高文本的忠实度,同时保持主题相似性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt