VQ-Style: Disentangling Style and Content in Motion with Residual Quantized Representations
Fatemeh Zargarbashi, Dhruv Agrawal, Jakob Buhmann, Martin Guay, Stelian Coros, Robert W. Sumner
TL;DR
This work tackles the challenge of disentangling style from content in human motion by introducing a Residual Vector Quantized VAE (RVQ-VAE) that learns a coarse-to-fine motion representation. Content is captured in early codebooks while style is stored in later codebooks, with training-time contrastive and mutual information losses to prevent leakage and improve separation. Inference-time style transfer is achieved via Quantized Code Swapping, swapping content and style codes across residual layers to produce stylized motions without fine-tuning on unseen styles. The approach enables robust style transfer, style transitions, inversion, blending, and data augmentation, achieving strong zero-shot generalization and competitive content preservation across multiple motion datasets.
Abstract
Human motion data is inherently rich and complex, containing both semantic content and subtle stylistic features that are challenging to model. We propose a novel method for effective disentanglement of the style and content in human motion data to facilitate style transfer. Our approach is guided by the insight that content corresponds to coarse motion attributes while style captures the finer, expressive details. To model this hierarchy, we employ Residual Vector Quantized Variational Autoencoders (RVQ-VAEs) to learn a coarse-to-fine representation of motion. We further enhance the disentanglement by integrating contrastive learning and a novel information leakage loss with codebook learning to organize the content and the style across different codebooks. We harness this disentangled representation using our simple and effective inference-time technique Quantized Code Swapping, which enables motion style transfer without requiring any fine-tuning for unseen styles. Our framework demonstrates strong versatility across multiple inference applications, including style transfer, style removal, and motion blending.
