TokenDance: Token-to-Token Music-to-Dance Generation with Bidirectional Mamba
Organizations: Brown University · Renmin University of China · The University of Texas at Dallas
Abstract
Music-to-dance generation has broad applications in virtual reality, dance education, and digital character animation. However, the limited coverage of existing 3D dance datasets confines current models to a narrow subset of music styles and choreographic patterns, resulting in poor generalization to real-world music. Consequently, generated dances often become overly simplistic and repetitive, substantially degrading expressiveness and realism. To tackle this problem, we present TokenDance, a two-stage music-to-dance generation framework that explicitly addresses this limitation through dual-modality tokenization and efficient token-level generation. In the first stage, we discretize both dance and music using Finite Scalar Quantization, where dance motions are factorized into upper and lower-body components with kinematic-dynamic constraints, and music is decomposed into semantic and acoustic features with dedicated codebooks to capture choreography-specific structures. In the second stage, we introduce a Local-Global-Local token-to-token generator built on a Bidirectional Mamba backbone, enabling coherent motion synthesis, strong music-dance alignment, and efficient non-autoregressive inference. Extensive experiments demonstrate that TokenDance achieves overall state-of-the-art (SOTA) performance in both generation quality and inference speed, highlighting its effectiveness and practical value for real-world music-to-dance applications.
Figures & tables
| FID | FID | DIV | DIV | BAS | |
| GT | / | / | 8.19 | 7.45 | 0.2374 |
| FACT [ 21 ] | 35.35 | 22.11 | 5.94 | 6.18 | 0.2209 |
| Bailando [ 28 ] | 28.16 | 9.62 | 7.83 | 6.34 | 0.2332 |
| EDGE [ 31 ] | 42.16 | 22.12 | 3.96 | 4.61 | 0.2334 |
| Lodge [ 19 ] | 37.09 | 18.79 | 5.58 | 4.85 | 0.2423 |
| TokenDance | 21.55 | 11.85 | 8.05 | 7.12 | 0.2313 |
| FID | FID | DIV | DIV | BAS | |
| GT | / | / | 9.73 | 7.44 | 0.2120 |
| FACT [ 21 ] | 113.38 | 97.05 | 3.36 | 6.37 | 0.1831 |
| Bailando [ 28 ] | 82.81 | 28.17 | 7.74 | 6.25 | 0.2029 |
| EDGE [ 31 ] | 94.34 | 50.38 | 8.13 | 6.45 | 0.2116 |
| Lodge [ 19 ] | 45.56 | 34.29 | 6.75 | 5.64 | 0.2397 |
| TokenDance | 47.20 | 31.85 | 6.62 | 6.81 | 0.2385 |
| FID | FID | DIV | DIV | BAS | |
| GT | / | / | 8.32 | 7.68 | 0.2603 |
| FACT [ 21 ] | 37.62 | 26.32 | 5.63 | 6.13 | 0.2162 |
| Bailando [ 28 ] | 29.56 | 22.47 | 5.92 | 6.29 | 0.2253 |
| EDGE [ 31 ] | 34.58 | 23.72 | 6.13 | 6.48 | 0.2334 |
| POPDG [ 24 ] | 27.13 | 21.41 | 6.52 | 6.37 | 0.2403 |
| TokenDance | 17.77 | 15.95 | 6.25 | 6.94 | 0.2326 |
| Method | Latency@1024 | Latency@4096 |
| FACT [ 21 ] | 35.88 s | 142.12 s |
| Bailando [ 28 ] | 5.46 s | 14.72 s |
| EDGE [ 31 ] | 8.59 s | 27.91 s |
| Lodge [ 19 ] | 4.57 s | 11.96 s |
| TokenDance | 1.22 s | 2.31 s |
| Method | DS | DQ | DC |
| GT | |||
| FACT [ 21 ] | |||
| Bailando [ 28 ] | |||
| EDGE [ 31 ] | |||
| Lodge [ 19 ] | |||
| TokenDance |
| Method | FID | FID | DIV | DIV | BAS |
| TokenDance | 47.20 | 31.85 | 6.62 | 6.81 | 0.2385 |
| TokenDance + MT | 45.95 | 30.42 | 6.75 | 6.89 | 0.2412 |
| Bailando [ 28 ] | 82.81 | 28.17 | 7.74 | 6.25 | 0.2029 |
| Bailando [ 28 ] + MT | 68.34 | 24.50 | 8.01 | 6.52 | 0.2147 |
| FACT [ 21 ] | 113.38 | 97.05 | 3.36 | 6.37 | 0.1831 |
| FACT [ 21 ] + MT | 105.12 | 89.45 | 3.68 | 6.48 | 0.1893 |
| Method | FID | FID | DIV | DIV | BAS |
| MFCC MERT [ 22 ] | 42.40 | 45.90 | 6.62 | 6.78 | 0.232 |
| MERT [ 22 ] (w/o. MT) | 35.10 | 48.60 | 6.42 | 6.50 | 0.228 |
| MFCC Jukebox [ 5 ] | 36.80 | 32.46 | 6.15 | 6.53 | 0.202 |
| Jukebox [ 5 ] (w/o. MT) | 49.30 | 31.97 | 5.20 | 5.12 | 0.223 |
| MFCC Wav2Vec2.0 [ 2 ] | 60.90 | 32.60 | 6.32 | 5.95 | 0.225 |
| Wav2Vec2.0 [ 2 ] (w/o. MT) | 84.31 | 65.10 | 5.91 | 6.21 | 0.215 |
| Method | MAE@S | MAE@A | MAE@F |
| w/o. Music Decomp. | 0.642 | 0.358 | 0.544 |
| TokenDance (Full) | 0.519 | 0.269 | 0.345 |
| Method | FID | FID | DIV | DIV | BAS |
| w/o. Music Decomp. | 53.12 | 36.45 | 6.10 | 6.22 | 0.225 |
| BiMamba Mamba | 46.95 | 34.20 | 6.55 | 6.48 | 0.231 |
| BiMamba Transformer | 61.37 | 42.78 | 5.75 | 5.89 | 0.210 |
| TokenDance (Full) | 47.20 | 31.85 | 6.62 | 6.81 | 0.239 |
Human Motion Generation
Human motion generation creates articulated movement from language, audio, video, spatial constraints, or interaction goals.
See all 291 papers