Anchor Token Matching: Implicit Structure Locking for Training-free AR Image Editing

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Hu, Taihang, Li, Linxuan, Wang, Kai, Wang, Yaxing, Yang, Jian, Cheng, Ming-Ming
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908483261038592
author Hu, Taihang
Li, Linxuan
Wang, Kai
Wang, Yaxing
Yang, Jian
Cheng, Ming-Ming
author_facet Hu, Taihang
Li, Linxuan
Wang, Kai
Wang, Yaxing
Yang, Jian
Cheng, Ming-Ming
contents Text-to-image generation has seen groundbreaking advancements with diffusion models, enabling high-fidelity synthesis and precise image editing through cross-attention manipulation. Recently, autoregressive (AR) models have re-emerged as powerful alternatives, leveraging next-token generation to match diffusion models. However, existing editing techniques designed for diffusion models fail to translate directly to AR models due to fundamental differences in structural control. Specifically, AR models suffer from spatial poverty of attention maps and sequential accumulation of structural errors during image editing, which disrupt object layouts and global consistency. In this work, we introduce Implicit Structure Locking (ISLock), the first training-free editing strategy for AR visual models. Rather than relying on explicit attention manipulation or fine-tuning, ISLock preserves structural blueprints by dynamically aligning self-attention patterns with reference images through the Anchor Token Matching (ATM) protocol. By implicitly enforcing structural consistency in latent space, our method ISLock enables structure-aware editing while maintaining generative autonomy. Extensive experiments demonstrate that ISLock achieves high-quality, structure-consistent edits without additional training and is superior or comparable to conventional editing techniques. Our findings pioneer the way for efficient and flexible AR-based image editing, further bridging the performance gap between diffusion and autoregressive generative models. The code will be publicly available at https://github.com/hutaiHang/ATM
format Preprint
id arxiv_https___arxiv_org_abs_2504_10434
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Anchor Token Matching: Implicit Structure Locking for Training-free AR Image Editing
Hu, Taihang
Li, Linxuan
Wang, Kai
Wang, Yaxing
Yang, Jian
Cheng, Ming-Ming
Computer Vision and Pattern Recognition
Text-to-image generation has seen groundbreaking advancements with diffusion models, enabling high-fidelity synthesis and precise image editing through cross-attention manipulation. Recently, autoregressive (AR) models have re-emerged as powerful alternatives, leveraging next-token generation to match diffusion models. However, existing editing techniques designed for diffusion models fail to translate directly to AR models due to fundamental differences in structural control. Specifically, AR models suffer from spatial poverty of attention maps and sequential accumulation of structural errors during image editing, which disrupt object layouts and global consistency. In this work, we introduce Implicit Structure Locking (ISLock), the first training-free editing strategy for AR visual models. Rather than relying on explicit attention manipulation or fine-tuning, ISLock preserves structural blueprints by dynamically aligning self-attention patterns with reference images through the Anchor Token Matching (ATM) protocol. By implicitly enforcing structural consistency in latent space, our method ISLock enables structure-aware editing while maintaining generative autonomy. Extensive experiments demonstrate that ISLock achieves high-quality, structure-consistent edits without additional training and is superior or comparable to conventional editing techniques. Our findings pioneer the way for efficient and flexible AR-based image editing, further bridging the performance gap between diffusion and autoregressive generative models. The code will be publicly available at https://github.com/hutaiHang/ATM
title Anchor Token Matching: Implicit Structure Locking for Training-free AR Image Editing
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2504.10434