Context Tokens are Anchors: Understanding the Repetition Curse in dMLLMs from an Information Flow Perspective

Qiyan Zhao, Xiaofeng Zhang, Shuochen Chang, Qianyu Chen, Xiaosong Yuan +5 more
1/28/2026
cs.CV

Official code: ErikZ719/CoTA (38 stars, last commit 2026-03-06).

Abstract

Recent diffusion-based Multimodal Large Language Models (dMLLMs) suffer from high inference latency and therefore rely on caching techniques to accelerate decoding. However, the application of cache mechanisms often introduces undesirable repetitive text generation, a phenomenon we term the \textbf{Repeat Curse}. To better investigate underlying mechanism behind this issue, we analyze repetition generation through the lens of information flow. Our work reveals three key findings: (1) context tokens aggregate semantic information as anchors and guide the final predictions; (2) as information propagates across layers, the entropy of context tokens converges in deeper layers, reflecting the model's growing prediction certainty; (3) Repetition is typically linked to disruptions in the information flow of context tokens and to the inability of their entropy to converge in deeper layers. Based on these insights, we present \textbf{CoTA}, a plug-and-play method for mitigating repetition. CoTA enhances the attention of context tokens to preserve intrinsic information flow patterns, while introducing a penalty term to the confidence score during decoding to avoid outputs driven by uncertain context tokens. With extensive experiments, CoTA demonstrates significant effectiveness in alleviating repetition and achieves consistent performance improvements on general tasks. Code is available at https://github.com/ErikZ719/CoTA

View on arXivView PDF

Code Implementations(1)

ErikZ719/CoTAOfficial100%

[ICLR 26] Context Tokens are Anchors: Understanding the Repeat Curse in dMLLMs from an Information Flow Perspective

380Shell, PythonNov 8, 20257 months ago

Cite this paper

@article{zhao2026context,
  title  = {Context Tokens are Anchors: Understanding the Repetition Curse in dMLLMs from an Information Flow Perspective},
  author = {Qiyan Zhao and Xiaofeng Zhang and Shuochen Chang and Qianyu Chen and Xiaosong Yuan and Xuhang Chen and Luoqi Liu and Jiajun Zhang and Xu-Yao Zhang and Da-Han Wang},
  year   = {2026},
  eprint = {2601.20520},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.20520v1}
}

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/2601.20520.svg)](https://codeofpaper.com/paper/2601.20520)

Discussion