Improved Masked Image Generation with Knowledge-Augmented Token Representations

Authors

  • Guotao Liang Harbin Institute of Technology, Shenzhen Pengcheng Laboratory
  • Baoquan Zhang Harbin Institute of Technology, Shenzhen
  • Zhiyuan Wen Pengcheng Laboratory
  • Zihao Han Harbin Institute of Technology, Shenzhen
  • Yunming Ye Harbin Institute of Technology, Shenzhen Pengcheng Laboratory

DOI:

https://doi.org/10.1609/aaai.v40i9.37614

Abstract

Masked image generation (MIG) has demonstrated remarkable efficiency and high-fidelity images by enabling parallel token prediction. Existing methods typically rely solely on the model itself to learn semantic dependencies among visual token sequences. However, directly learning such semantic dependencies from data is challenging because the individual tokens lack clear semantic meanings, and these sequences are usually long. To address this limitation, we propose a novel Knowledge-Augmented Masked Image Generation framework, named KA-MIG, which introduces explicit knowledge of token-level semantic dependencies (i.e., extracted from the training data) as priors to learn richer representations for improving performance. In particular, we explore and identify three types of advantageous token knowledge graphs, including two positive and one negative graphs (i.e., the co-occurrence graph, the semantic similarity graph, and the position-token incompatibility graph). Based on three prior knowledge graphs, we design a graph-aware encoder to learn token and position-aware representations. After that, a lightweight fusion mechanism is introduced to integrate these enriched representations into the existing MIG methods. Resorting to such prior knowledge, our method effectively enhances the model's ability to capture semantic dependencies, leading to improved generation quality. Experimental results demonstrate that our method improves upon existing MIG for class-conditional image generation on ImageNet.

Downloads

Published

2026-03-14

How to Cite

Liang, G., Zhang, B., Wen, Z., Han, Z., & Ye, Y. (2026). Improved Masked Image Generation with Knowledge-Augmented Token Representations. Proceedings of the AAAI Conference on Artificial Intelligence, 40(9), 6817–6825. https://doi.org/10.1609/aaai.v40i9.37614

Issue

Section

AAAI Technical Track on Computer Vision VI