Think Bright, Diffuse Nice: Enhancing T2I-ICL via Inductive-Bias Hint Instruction and Query Contrastive Decoding
Zhiyong Ma, Zhenpeng Li, Yuanjie Shi, Zhengping Li, Jiahao Chen, Qingyuan Chuai
TL;DR
This work tackles two core bottlenecks in Text-to-Image In-Context Learning (T2I-ICL): compliance failure, where models ignore the query in favor of superficial context, and prior-dominated hallucination, where outputs reflect priors rather than the given context. It introduces TBDN, a training-free framework that jointly employs Hint Instruction (HI) to inject a context-aware inductive bias and Query Contrastive Decoding (QCD) to suppress priors during decoding, forming a closed-loop that aligns rule understanding with query-driven generation. Through extensive experiments on CoBSAT, Text-to-Image Fast Mini-ImageNet, and Dreambench++, TBDN demonstrates state-of-the-art or competitive performance with robust generalization across LVLM backbones and prompts, while avoiding costly training. The results suggest a practical, scalable pathway for reliable T2I-ICL by leveraging prompt-based biasing and decoding-time constraints in a diffusion-based generation pipeline. Limitations include reliance on textual guidance rather than end-to-end multimodal training and potential gaps in fine-grained visual detail alignment, pointing to future work in extending HI and QCD to broader MLLM setups and tasks.
Abstract
Text-to-Image In-Context Learning (T2I-ICL) enables customized image synthesis via interleaved text-image examples but faces two mutually reinforcing bottlenecks, compliance failure and prior-dominated hallucination, that form a vicious cycle degrading generation quality. Existing methods rely on tailored training, which limits flexibility and raises deployment costs. To address these challenges effectively, we propose TBDN, a training-free framework integrating two complementary closed-loop mechanisms: Hint Instruction (HI) and Query Contrastive Decoding (QCD). HI injects task-aware inductive bias via lightweight prompt engineering to anchor models on contextual mapping rules, thereby mitigating compliance failure. QCD adjusts the decoding distributions of language models by contrasting full-input and query-omitted distributions, suppressing prior-dominated hallucination. TBDN achieves State-of-the-Art performance on CoBSAT and Text-to-Image Fast Mini-ImageNet, with robust generalization across model backbones, prompt designs, and hyperparameters. It also maintains promising performance in concept preservation and prompt following on Dreambench++. By breaking the two bottlenecks, TBDN establishes a simple yet effective framework for efficient and reliable T2I-ICL.
