ODC: Orthogonal Drift Correction for Improved Text-to-Image Semantic Alignment at Inference
Kasra Kamali, Basim Azam, Tuan Duong Trinh, Jean Honorio, Naveed Akhtar
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.CV, cs.CL, cs.LG
- Comments
- Accepted to Transactions on Machine Learning Research (TMLR) 2026
Related papers
Distill the Correction, Not the Rewrite: Hindsight Twins for Self-Improving Text-to-Image Models
Shared title terminologycs.CVJiaze Li, Jingyang Chen, Wenhao Zhao et al.
SPROUT: Predicting Objective-Grounded Prompt Utility for Efficient Text-to-Image Preference Tuning
Shared title terminologycs.CVKangping Hu, Akshay Mehra, Stephen Mussmann
Graph2Scene: Relation-Aware Text-to-Image Generation with Graph-Guided Diffusion Model
Shared title terminologycs.CVPeizheng Li, Xin Ai, Guanghui Cheng et al.
SAVIER: Source-Anchored Visual Inspection and Evidence-Guided Repair for Vietnamese Cultural Text-to-Image Generation
Shared title terminologycs.CVGia-Huy Thai, Duc-Tien Khong, Trung-Nghia Le
PestWeave: Linking Semantic Modeling and Evidence-Guided Text Modulation through Visual Prototypes for Fine-Grained Pest Learning
Shared title terminologycs.CVXueheng Li, Yu Wang, Yuxiang Shen et al.
Discovering Semantic Granularity in Images through Clustering of Pretrained Visual Representations
Shared title terminologycs.CVYing Dai