English

SOM-VQ: Topology-Aware Tokenization for Interactive Generative Models

Machine Learning 2026-02-25 v1 Machine Learning

Abstract

Vector-quantized representations enable powerful discrete generative models but lack semantic structure in token space, limiting interpretable human control. We introduce SOM-VQ, a tokenization method that combines vector quantization with Self-Organizing Maps to learn discrete codebooks with explicit low-dimensional topology. Unlike standard VQ-VAE, SOM-VQ uses topology-aware updates that preserve neighborhood structure: nearby tokens on a learned grid correspond to semantically similar states, enabling direct geometric manipulation of the latent space. We demonstrate that SOM-VQ produces more learnable token sequences in the evaluated domains while providing an explicit navigable geometry in code space. Critically, the topological organization enables intuitive human-in-the-loop control: users can steer generation by manipulating distances in token space, achieving semantic alignment without frame-level constraints. We focus on human motion generation - a domain where kinematic structure, smooth temporal continuity, and interactive use cases (choreography, rehabilitation, HCI) make topology-aware control especially natural - demonstrating controlled divergence and convergence from reference sequences through simple grid-based sampling. SOM-VQ provides a general framework for interpretable discrete representations applicable to music, gesture, and other interactive generative domains.

Keywords

Cite

@article{arxiv.2602.21133,
  title  = {SOM-VQ: Topology-Aware Tokenization for Interactive Generative Models},
  author = {Alessandro Londei and Denise Lanzieri and Matteo Benati},
  journal= {arXiv preprint arXiv:2602.21133},
  year   = {2026}
}
R2 v1 2026-07-01T10:50:24.568Z