cs.ROOct 9, 2026

ClothCode: Generative Modeling for Garment State Estimation and Dynamics Prediction

Authors: Yingdong Ru, Lipeng Zhuang, Shiyu Fan, Zhuo He, Florent P. Audonnet, Gerardo Aragon Camarasa

Organizations: The authors are with the University of Glasgow, Glasgow, United Kingdom.

Abstract

We introduce ClothCode, a unified generative framework for garment state estimation and action-conditioned dynamics prediction in a shared discrete configuration space. A material-aligned tokenizer encodes garment configuration as residual vector-quantized patch tokens, while task-specific Masked Generative Transformers predict these tokens through parallel confidence-guided refinement. Across three garment templates, ClothCode reduces mean displacement error by 26.6% for state estimation and 37.0% for dynamics prediction relative to the strongest baselines. Dynamics prediction requires only 16.7 ms per window, compared with 556.2 ms for diffusion. Integrated into the same model-predictive controller, ClothCode improves real-world folding and flattening success from 56.7% to 78.9%. Further results and videos are available at: https://anonymous.4open.science/r/ClothCode-DE32

Figures & tables

Explore similar work

CardsList
  1. MeshPriorDiT: Hierarchical Modeling for Action-Conditioned Cloth Dynamics

    Aug 27, 2026Zihang Wang, Jianming Hu, Shang Su +4Deformable Object ManipulationDiffusion Models for Motion Generation

  2. DiT-Garment: Garment Dynamics with Diffusion Transformers

    Sep 16, 2026Antoine Dumoulin, Laurence Boissieux, Joao Regateiro +23D Mesh DeformationDeformable Object Simulation

  3. ClothTransformer: Unified Latent-Space Transformers for Scalable Cloth Simulation

    May 27, 2026Yu Zhang, Yidi Shao, Wenqi Ouyang +5TransformerPhysics-Based Simulation