English

Investigating Permutation-Invariant Discrete Representation Learning for Spatially Aligned Images

Computer Vision and Pattern Recognition 2026-04-03 v1 Machine Learning

Abstract

Vector quantization approaches (VQ-VAE, VQ-GAN) learn discrete neural representations of images, but these representations are inherently position-dependent: codes are spatially arranged and contextually entangled, requiring autoregressive or diffusion-based priors to model their dependencies at sample time. In this work, we ask whether positional information is necessary for discrete representations of spatially aligned data. We propose the permutation-invariant vector-quantized autoencoder (PI-VQ), in which latent codes are constrained to carry no positional information. We find that this constraint encourages codes to capture global, semantic features, and enables direct interpolation between images without a learned prior. To address the reduced information capacity of permutation-invariant representations, we introduce matching quantization, a vector quantization algorithm based on optimal bipartite matching that increases effective bottleneck capacity by 3.5×3.5\times relative to naive nearest-neighbour quantization. The compositional structure of the learned codes further enables interpolation-based sampling, allowing synthesis of novel images in a single forward pass. We evaluate PI-VQ on CelebA, CelebA-HQ and FFHQ, obtaining competitive precision, density and coverage metrics for images synthesised with our approach. We discuss the trade-offs inherent to position-free representations, including separability and interpretability of the latent codes, pointing to numerous directions for future work.

Keywords

Cite

@article{arxiv.2604.01843,
  title  = {Investigating Permutation-Invariant Discrete Representation Learning for Spatially Aligned Images},
  author = {Jamie S. J. Stirling and Noura Al-Moubayed and Hubert P. H. Shum},
  journal= {arXiv preprint arXiv:2604.01843},
  year   = {2026}
}

Comments

15 pages plus references; 5 figures; supplementary appended; accepted to ICPR 2026

R2 v1 2026-07-01T11:50:41.550Z