ODC:用于改进推理阶段文本到图像语义对齐的正交漂移校正
ODC: Orthogonal Drift Correction for Improved Text-to-Image Semantic Alignment at Inference
AI总结:
本研究提出即插即用的推理阶段模块ODC,通过两阶段过程优化文本嵌入以缓解文本到图像模型的语义漂移,在多个基准上显著提升了提示与生成图像的对齐效果。
摘要:
文本到图像模型在根据文本描述生成高质量图像方面已取得显著成功,但它们常面临“语义漂移”问题,即生成的输出无法与复杂或细微的文本提示精确对齐。尽管近期方法已尝试解决属性绑定或对象存在相关的语义错误,但仍缺乏一种更全面的方法,该方法可通过直接优化初始用户提示的文本嵌入来解决这些问题。本研究中,我们提出正交漂移校正(Orthogonal Drift Correction,ODC),这是一种推理阶段的引导方法,旨在缓解语义漂移,无需模型重新训练或额外用户输入。ODC通过两阶段过程引导图像生成:第一阶段,在共享的视觉-语言嵌入空间中,通过将初始生成的图像与用户提示进行评估来识别语义漂移;随后分离出该漂移向量中与提示方向正交的分量,并通过基于词汇表的替代机制将其转换回文本。第二阶段,通过将初始文本嵌入和重新嵌入的漂移表示输入自适应降秩概念移除模块,为第二轮生成提供优化的文本条件。我们的实验表明,ODC可持续提升提示-图像对齐效果,在COALBench-300和PartiPrompts基准上,相比基线方法将CLIP分数提升了最高5.4%;此外,在T2I-CompBench复杂子集上,ODC相比竞争方法将平均3合1分数提升了4.5%。作为即插即用模块,ODC为提高文本到图像模型的可靠性提供了一种实用且高效的方法。代码可在该https URL获取。
英文摘要:
Text-to-image models have achieved remarkable success in generating high-quality images from textual descriptions. However, they often struggle with "semantic drift," where the generated output fails to precisely align with complex or nuanced text prompts. While recent approaches have attempted to address semantic errors regarding attribute binding or object presence, there remains a gap for a more holistic method that addresses these issues by directly refining the text embeddings of the initial user prompt. In this work, we introduce Orthogonal Drift Correction (ODC), an inference-time guidance method designed to mitigate semantic drift without requiring model retraining or additional user inputs. ODC guides image generation through a two-stage process. In the first stage, it identifies the semantic drift by evaluating the initially generated image against the user prompt in a shared vision-language embedding space. It then isolates the component of this drift vector that is orthogonal to the prompt's direction and translates it back into text via a vocabulary-based surrogate mechanism. In the second stage, it produces refined text conditioning for a second generation pass by feeding both the initial text embedding and the re-embedded drift representation into an adaptive rank-reduced concept removal module. Our experiments demonstrate that ODC consistently improves prompt-image alignment, increasing CLIP scores by up to 5.4% over the baseline on the COALBench-300 and PartiPrompts benchmarks. Furthermore, on the T2I-CompBench complex subset, ODC improves the average 3-in-1 score by 4.5% over the competing methods. As a plug-and-play module, ODC offers a practical and efficient method for improving the reliability of text-to-image models. Code is available at https://github.com/kasrakamali/ODC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。