Semantic Context Matters: Improving Conditioning for Autoregressive Models

Dong-Yang Jin, Ryan Xu, Jian-Hao Zeng, Rui Lan, Yan-Cheng Bai +2 more
11/1/2025
12 citations

No official code found. Best implementation: zengjianhao/SCAR (270 stars).

Abstract

Recently, autoregressive (AR) models have shown strong potential in image generation, offering better scalability and easier integration with unified multi-modal systems compared to diffusion-based methods. However, extending AR models to general image editing remains challenging due to weak and inefficient conditioning, often leading to poor instruction adherence and visual artifacts.

Show full abstract

To address this, we propose SCAR, a Semantic-Context-driven method for Autoregressive models. SCAR introduces two key components: Compressed Semantic Prefilling, which encodes high-level semantics into a compact and efficient prefix, and Semantic Alignment Guidance, which aligns the last visual hidden states with target semantics during autoregressive decoding to enhance instruction fidelity. Unlike decoding-stage injection methods, SCAR builds upon the flexibility and generality of vector-quantized-based prefilling while overcoming its semantic limitations and high cost. It generalizes across both next-token and next-set AR paradigms with minimal architectural changes. SCAR achieves superior visual fidelity and semantic alignment on both instruction editing and controllable generation benchmarks, outperforming prior AR-based methods while maintaining controllability. Code will be released at https://github.com/AMAP-ML/SCAR.

View on arXivView PDF

Code Implementations(1)

zengjianhao/SCARCommunity25%

[CVPR 2026] Semantic Context Matters: Improving Conditioning for Autoregressive Models

2700

Similar Papers

Cite this paper

@article{jin2025semantic,
  title  = {Semantic Context Matters: Improving Conditioning for Autoregressive Models},
  author = {Dong-Yang Jin and Ryan Xu and Jian-Hao Zeng and Rui Lan and Yan-Cheng Bai and Lei Sun and Xiangxiang Chu},
  year   = {2025},
  eprint = {2511.14063},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2511.14063},
  url    = {https://doi.org/10.48550/arXiv.2511.14063},
  journal = {Computer Vision and Pattern Recognition}
}

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

Discussion