arXiv:2610.40061cs.CVOct 2026

Manuscript Offprint

arXiv:2610.40061

Localizing Concepts in Visual Autoregressive Models

Nanxiang Jiang, Yang Liu, Yuanhao Wang, Min Xu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Understanding the internal routing of visual concepts is crucial for the safe and controllable adaptation of generative models. While concept localization has been widely studied in diffusion models, the emerging paradigm of next-scale visual autoregressive models remains largely unexplored. In this paper, we introduce LoCo, the first model-agnostic framework to localize where and when specific concepts emerge within autoregressive models. Driven by the native coarse-to-fine nature of next-scale generation, our method precisely maps conceptual knowledge across three distinct dimensions: Layer, Scale, and Position. To systematically localize and evaluate concept routing without context bias, we propose LoCoBench, a comprehensive dataset spanning 10 diverse categories. Extensive probing on image and video autoregressive models like Infinity, HunyuanImage-3.0, and InfinityStar shows that the localized positions are both interpretable and causally related to concept emergence. Building on these insights, we apply our localization method to three key applications: concept erasure, model personalization, and adversarial concept injection. Experiments demonstrate that our targeted intervention achieves state-of-the-art performance, substantially reducing computational overhead while preserving benign utility. Overall, our findings offer insights into how conceptual knowledge is routed during autoregressive generation, introducing a practical pathway for more interpretable, efficient, and secure adaptation.

1 Introduction

The landscape of text-to-image (T2I) and text-to-video (T2V) generation has evolved at breakneck speed. The field rapidly transitioned from foundational U-Net architectures [48, 27] to the highly scalable era of Diffusion Transformers (DiTs) [45, 36]. Recently, Visual Autoregressive (VAR) models [53, 25, 6, 40] have emerged as a new paradigm. By treating visual generation as a next-scale coarse-to-fine prediction task [53], VAR models have achieved remarkable success and set new standards for generation quality.

With access to such powerful pretrained models, it is crucial to explore their potential for applications beyond mere generation. A growing body of work has focused on localizing different types of concept and knowledge within these models to enable more targeted usage [27, 54, 34]. For example, prior studies demonstrate that cross-attention layers are key to incorporating prompt compositional information, while structural information is often concentrated in the self-attention modules of UNet-based architectures [27, 39]. Such internal understanding plays a critical role in practical applications. Several works [20, 22, 33] have shown that generative models often memorize unsafe or unwanted content (e.g., Not-Safe-For-Work (NSFW) or copyrighted content), and designed methods for concept erasure, which aim to forget these specific targets while preserving overall generation utility. Conversely, tasks like model personalization [49] and adversarial concept injection [31] require injecting novel subjects into diverse scenes using minimal reference data. In both scenarios,

∗^{*}Corresponding author.

Preprint.

Figure

Figure 1: Localization and applications in VAR models. Left: Heatmaps indicate the frequency of specific Layer-Scale-Position triplets being selected as dominant carriers of target concepts based on attention responses. Right: This precise localization enables highly efficient targeted interventions for concept erasure, personalization, and adversarial injection.

localizing concepts within the model is crucial for enabling targeted interventions that make fine-tuning highly efficient while preserving the model's prior capabilities and overall generation quality.

While extensive research has explored concept localization in UNet and DiT architectures [64, 27, 54, 66], emerging VAR models remain largely underexplored. Unlike classical generative models, VAR models construct visual representations progressively from coarse, low-resolution scales to fine, high-resolution details. Therefore, we find that directly applying layer-wise localization methods designed for diffusion models [64, 4] proves highly sub-optimal, as they ignore this dynamic multi-scale mechanism, leading to poor localization precision. Furthermore, our probing reveals a non-trivial phenomenon: concepts do not reside in a single neural layer; they first anchor at critical coarse scales and manifest only at sparse spatial query positions. Capturing this complex emergence requires a joint, multi-dimensional approach.

To bridge this gap, we introduce LoCo (Localizing Concepts), an automatic and model-agnostic localization framework tailored for VAR models (Figure 1). Driven by the progressive nature of next-scale generation, LoCo precisely maps conceptual knowledge by analyzing internal attention dynamics. Specifically, it computes the attention response for each spatial query position throughout the generation process to pinpoint the Top-K most critical (Layer, Scale, Position) triplets responsible for the target concept. By exclusively intervening on these highly localized routes, we can execute targeted downstream editing while leaving the vast majority of model parameters untouched.

Existing public datasets (e.g., I2P [50]) focus on single tasks and lack the structured, paired prompts required to isolate concepts and eliminate context bias. To bridge this gap, we propose LoCoBench, a large-scale probing dataset explicitly designed to evaluate concept routing, encompassing 10 diverse categories, 1,467 entities, and over 60K prompts. Extensive experiments on state-of-the-art models (Infinity [25], HunyuanImage-3.0 [6], and InfinityStar [40]) demonstrate that LoCo consistently outperforms full-parameter fine-tuning across downstream applications. Notably, strictly intervening on just the top 5% of localized positions yields superior task performance and minimal contextual interference, while reducing memory usage by 38.5% and training time by 82.9%.

To the best of our knowledge, we are the first to systematically investigate concept localization in VAR models. In summary, our main contributions are:

• We introduce LoCo, a novel localization framework specifically designed for the progressive generation dynamics of VAR models. It precisely identifies where concepts emerge by locating the exact Layer, Scale, and Position dimensions.

• We present LoCoBench, a large-scale probing dataset comprising 10 categories, 1,467 entities, and over 60K paired prompts. It features rigorous prompt shuffling to eliminate context bias, enabling robust localization and evaluation of concept routing.

• Building on this localization, we demonstrate practical applications for concept erasure, model personalization, and adversarial injection. Our ultra-sparse targeted fine-tuning achieves state-of-the-art task performance, reducing memory usage by 38.5% and training time by 82.9%.

References (64)