Prompt Reinjection: Alleviating Prompt Forgetting in Multimodal Diffusion Transformers

Yuxuan Yao, Yuxuan Chen, Hui Li, Kaihui Cheng, Qipeng Guo +4 more
2/6/2026
cs.CV
diffusion-flowtransformer-attention

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Multimodal Diffusion Transformers (MMDiTs) for text-to-image generation maintain separate text and image branches, with bidirectional information flow between text tokens and visual latents throughout denoising. In this setting, we observe a prompt forgetting phenomenon: the semantics of the prompt representation in the text branch is progressively forgotten as depth increases.

Show full abstract

We further verify this effect on three representative MMDiTs--SD3, SD3.5, and FLUX.1 by probing linguistic attributes of the representations over the layers in the text branch. Motivated by these findings, we introduce a training-free approach, prompt reinjection, which reinjects prompt representations from early layers into later layers to alleviate this forgetting. Experiments on GenEval, DPG, and T2I-CompBench++ show consistent gains in instruction-following capability, along with improvements on metrics capturing preference, aesthetics, and overall text--image generation quality.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yao2026prompt,
  title  = {Prompt Reinjection: Alleviating Prompt Forgetting in Multimodal Diffusion Transformers},
  author = {Yuxuan Yao and Yuxuan Chen and Hui Li and Kaihui Cheng and Qipeng Guo and Yuwei Sun and Zilong Dong and Jingdong Wang and Siyu Zhu},
  year   = {2026},
  eprint = {2602.06886},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.06886v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.06886.svg)](https://codeofpaper.com/paper/2602.06886)

Discussion