Manuscript Offprint

arXiv:2608.28082

Attribute Token Arithmetic: Disentangled and Continuous Semantic Control for Visual Autoregressive Models

Xindi Yang, Yicheng Wu, Cheng Zhang, Jianfei Cai, Tien-Tsin Wong

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

Xindi Yang D◯\textcircled{D}, Yicheng Wu D◯∗\textcircled{D}^{*}, Cheng Zhang D◯\textcircled{D}, Jianfei Cai D◯\textcircled{D}, and Tien-Tsin Wong D◯\textcircled{D}

Faculty of IT, Monash University

{xindi.yang, yicheng.wu1, cheng.zhang, jianfei.cai, tt.wong}@monash.edu

Abstract. Autoregressive text-to-image generation has recently achieved remarkable progress, offering high-fidelity synthesis via a unified generative framework. However, fine-grained semantic control remains challenging due to the attribute entanglement and the misalignment between textual and fine-grained visual representations. In this paper, we introduce Attribute Token Arithmetic (ATA), a method that enables disentangled and continuous attribute control in visual autoregressive modelling. Inspired by the vector arithmetic property observed in word embeddings, ATA identifies semantic directions corresponding to visual attributes (e.g., aging, fatness, emotion) directly within the pretrained autoregressive latent space. These directions are learned from a single reference image, without model retraining or large-scale supervision. During generation, attributes can be continuously adjusted and compositionally combined through simple arithmetic operations with other attribute tokens. Extensive experiments demonstrate that ATA achieves identity-preserving, fine-grained, and multi-attribute adjustment, outperforming existing autoregressive editing baselines in controllability, generality, and computational efficiency. Our code will be released here.

Keywords: Autoregressive Modeling · Arithmetic · Image Editing

1 Introduction

Photorealistic image synthesis and editing are fundamental tasks in visual content creation, underpinning applications in movie production, gaming, and virtual reality. Traditional computer graphics achieve these goals through geometric modeling and physics-based rendering, but such pipelines are labor-intensive and require substantial expertise. Recent years have witnessed a paradigm shift toward generative AI, which produces realistic images directly from data, significantly lowering the barrier to visual content creation [30, 40, 46–49, 54].

Among generative paradigms, diffusion models [30, 32, 33, 45] have achieved remarkable success in text-to-image generation, enabling high-fidelity and semantically aligned visual synthesis. For example, TokenVerse [11] and XVerse [4]

  • Corresponding author

X. Yang et al.

Figure

Fig. 1: Exemplar edited images with disentangled and continuous semantic control. Given a reference and paired text prompts, our ATA extracts semantic attribute directions in the VAR-aligned text space. These directions are derived from the image concepts that correspond to the semantic differences between paired prompts. Specifically, ATA modifies source images to gradually increase the strength of two attributes. The first two results increase with the first attribute, while in the last two, the second attribute is introduced. (Left) ATA enables disentangled and continuous semantic control of “angry” and “old”, while preserving the identity. (Right) Moreover, ATA can transfer the general disentangled attribute concepts across object categories. Although “fat”-ness is not a native attribute of chairs, ATA can still transfer the “fat” & “furry” concepts and enable continuous control to yield creative chair designs, while both VAREdit and Qwen-Image-Edit fail to provide continuous control.

attempt to achieve concept-level control by associating text tokens with visual semantics, allowing multi-concept manipulation. However, diffusion models require iterative denoising steps, which are computationally expensive and limit their efficiency for real-time or high-resolution editing [20, 32]. This limitation has renewed interest in autoregressive (AR) models, which generate images token by token in a discrete latent space, offering faster sampling, superior scalability, and a unified formulation with language generation [5, 34].

Building upon this idea, Visual Autoregressive Models (VAR) [13,37] extend AR generation to high-resolution imagery through multi-scale tokenization and causal transformers. By formulating image synthesis as a sequence prediction task, VAR naturally bridges language and vision within a discrete latent space. Despite their success in image quality and efficiency, precise and flexible editing remains a major challenge, as fine-grained semantic control remains challenging to realize within discrete token spaces. Such fine-grained control is essential for many graphics applications to allow users to fine-tune the desired visual effect. Recent works attempt to address this limitation. AREdit [41] manipulates internal representations of pretrained VARs without retraining but supports only single-attribute edits. VAREdit [23] fine-tunes VARs on paired examples for instruction-based editing but suffers from limited generalization. Overall, existing approaches struggle to achieve generic, continuous, and compositional control within the VAR framework.

Therefore, our work starts from a simple yet powerful question: Can attribute-level control be achieved within VARs similar to text token arithmetic? We discover that semantically meaningful vector operations exist in the VAR-aligned text-token space, where manipulating token vectors associated with specific at-

Figure

A man and a woman.

"old" + man

(a)

A dog on the ground.

"city" + ground

(b)

Fig. 2: Preliminary image editing results. By manipulating semantic directions to the corresponding text tokens, (a) we achieve the localized editing and the preservation of object identities; (b) we can also edit non-localized attributes, e.g., background.

tributes (e.g., “angry”, “old”) produces coherent and interpretable visual changes (Fig. 1). This insight reveals that text tokens inherently encode compositional visual semantics, suggesting a new paradigm for continuous and cross-category control, without any retraining.

Motivated by this observation, we propose ATA (Attribute Token Arithmetic), a lightweight optimization-based framework that learns multi-attribute vectors directly within a pretrained VAR. Given a single reference image and its textual description, ATA disentangles attribute-specific directions in the joint text-token space and leverages them for controllable image synthesis. Once learned, these attribute vectors can be stored in an offline library and reused or combined at arbitrary strengths to create new attributes and visual compositions (see Fig. 1). Practically, ATA enables intuitive edits such as “making a face angrier”, “adding a smile and aging simultaneously”, or even “transferring the fat attribute of a cat to a chair”.

Our contributions are as follows:

– We reveal that semantically meaningful vector arithmetic exists in the latent space of pretrained VARs, enabling attribute-level visual control.

– We propose ATA, a simple yet effective framework for learning generic and compositional attribute vectors without retraining or large-scale supervision.

– We validate ATA through extensive experiments and user studies, demonstrating its controllability and generalizability superior to existing VAR editing approaches.

References (55)