计算机科学 > 计算机视觉与模式识别
[提交于 2023年12月6日]
标题:Grounded Text-to-Image Synthesis with Attention Refocusing
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Driven by the scalable diffusion models trained on large-scale datasets, text-to-image synthesis methods have shown compelling results. However, these models still fail to precisely follow the text prompt involving multiple objects, attributes, or spatial compositions. In this paper, we reveal the potential causes in the diffusion model's cross-attention and self-attention layers. We propose two novel losses to refocus attention maps according to a given spatial layout during sampling. Creating the layouts manually requires additional effort and can be tedious. Therefore, we explore using large language models (LLM) to produce these layouts for our method. We conduct extensive experiments on the DrawBench, HRS, and TIFA benchmarks to evaluate our proposed method. We show that our proposed attention refocusing effectively improves the controllability of existing approaches.
提交历史
来自:Quynh Phung[v1] 2023年12月6日 星期三 00:00:00 UTC