Manuscript Offprint
arXiv:2611.07384FFMT: Frequency-Factorized Multi-Rate Tokenization for Music-to-Dance Generation
ABSTRACT
Dance motion combines slowly varying body configurations with rapid local movements. We investigate how explicit temporal-frequency decomposition can guide the temporal resolution and codebook capacity of discrete motion representations. We introduce frequency-factorized motion tokenization (FFMT), which separates root-relative motion into a low-frequency choreographic scaffold and a complementary high-frequency residual. FFMT uses a lower token rate and a smaller codebook for the low-frequency component, and a higher token rate and a larger codebook for the high-frequency residual. This representation further induces a plan-then-articulate autoregressive factorization: low-frequency tokens establish coarse choreography, while high-frequency tokens realize local motion details conditioned on the generated plan and music. Experiments on AIST++ and FineDance show strong distributional fidelity while preserving realistic diversity and music-motion synchronization. Ablations consistently support frequency factorization, asymmetric temporal allocation, and low-to-high conditioning.
Index Terms— music-to-dance generation, motion tokenization, vector quantization, frequency decomposition, autoregressive generation
1. INTRODUCTION
Music-driven 3D dance generation aims to synthesize movements that follow musical structure while maintaining coherent choreography and expressive local articulation. Recent autoregressive and diffusion-based approaches have advanced music-conditioned motion synthesis [1, 2, 3, 4, 5, 6]. For systems built on discrete motion tokens, the tokenizer defines the units over which the generator learns music-motion relationships [7, 8, 9, 10]. Its temporal resolution and representational capacity shape how slowly varying body configurations and rapid local movements are encoded, making the organization of motion tokens an important consideration for capturing the temporal complexity of dance.
Prior work has explored temporal hierarchies in dance tokenization. DanceMeld [11] and DuetGen [9] learn coarse and fine motion codes at different temporal resolutions, with DuetGen conditioning fine-level generation on the coarse tokens. Frequency information has also been incorporated into reconstruction and generation guidance: ExpressiveBailando [12] applies Fourier-domain supervision to enhance motion decoding, while InfiniteDance [13] constructs conditioning features by processing frequency bands of retrieved reference motions. Temporal resolution alone does not specify the frequency content assigned to each stream. We therefore investigate
explicit motion-frequency components as quantization targets for allocating token rates and codebook capacity.
This leads to a temporal capacity allocation problem. Token rate controls temporal resolution: a low rate may miss rapid changes, whereas a high rate may redundantly encode slowly varying motion. Codebook size determines the states available per token: a small codebook may merge distinct motion patterns, while a larger one provides more alternatives. The timing and amplitude of local movements must remain coordinated with evolving body configurations, making cross-component dependencies another consideration. The question is how to allocate temporal resolution and codebook capacity across frequency components while preserving their coordination during music-conditioned generation?
We address this question with frequency-factorized motion tokenization (FFMT). A fixed Gaussian filter separates root-relative motion into a low-frequency component and its complementary high-frequency residual before quantization. The low-frequency stream uses a lower token rate and a smaller codebook, while the high-frequency stream uses a higher rate and a larger codebook. A music-conditioned plan-then-articulate generator first predicts low-frequency tokens, then generates high-frequency tokens conditioned on the low-frequency sequence and music.
Our contributions are threefold: (1) we formulate discrete dance representation as a temporal capacity allocation problem and develop a tokenizer with complementary frequency streams; (2) we allocate frequency-dependent token rates and codebook capacities and couple them with plan-then-articulate generation, where high-frequency dynamics are conditioned on generated low-frequency structure; and (3) we validate these design choices on AIST++ and FineDance through ablations of frequency factorization, multi-rate allocation, cross-frequency conditioning, and the decoding prior.
Each frequency stream uses upper/lower-body codebooks [2]. The generated codes are decoded into joint rotations and root motion.
2.1. Frequency-Factorized Motion Tokenization
Let denote a sequence of 3D joints over frames. Before tokenization, we remove global root translation to obtain root-relative joint positions .
Equal contribution.
(a) Frequency-factorized multi-rate tokenization

(b) Plan-then-Articulate music-conditioned generation

Fig. 1. Overview of FFMT. (a) Frequency-factorized tokenization assigns different temporal resolutions and codebook sizes to low-frequency structure and high-frequency residuals, with separate upper/lower-body codebooks. (b) Plan-then-articulate generation predicts low-frequency tokens first and conditions high-frequency generation on the aligned low-frequency context and music. The resulting tokens are decoded into rotations and root motion, with a training-derived prior used during inference.
We apply a fixed Gaussian low-pass filter along time. For radius R and bandwidth , the normalized kernel is
Using replicated boundary values, we define
Here is the low-frequency component at frame ; stacking all frames yields . Thus exactly. The high-frequency branch quantizes the complementary residual. This additive construction preserves the complete position
signal before quantization while exposing two temporal regimes for separate capacity allocation.
Each frequency component , , is partitioned along the joint dimension into body-part components , where indexes the upper and lower body, respectively. The two components contain disjoint joint subsets and retain their original joint correspondences. Each of the four frequency-body components is modeled by a dedicated VQ-VAE branch with its own encoder, codebook, and position decoder.
Each branch uses an encoder with temporal stride frames. For a -frame input, it produces latent vectors of dimension , so . Let denote its -entry codebook, with . At token position , nearest-neighbor quantization gives
FFMT uses and . The larger low-frequency stride gives a lower token rate, paired with a smaller codebook; the high-frequency residual uses a higher token rate and a larger codebook.
2.2. Motion Reconstruction and Tokenizer Training
Position reconstruction. Let denote the position decoder associated with branch . Its token sequence is reconstructed as
For each frequency stream, the decoded body-part components are reassembled in the original joint order to obtain , yielding the full root-relative reconstruction .
Let denote the encoder output at token position . Each branch is trained with
The position objective combines the average branch loss with full-motion reconstruction and temporal consistency:
All reconstruction and temporal terms are evaluated on the original frame grid after decoding. The branch losses supervise their fixed frequency-body targets, while the full-motion terms jointly optimize the branches through the recombined motion.
Rotation/root decoding. After position-space VQ training, we freeze the position encoders and codebooks and train the motion decoder [7]. For each body part , decodes quantized codes into frame-resolution features, which are fused as
(8) where denotes channel concatenation and is a temporal fusion network. The fused features predict joint rotations, with lower-body features additionally predicting root velocity. Global translation is obtained by integrating the predicted root velocity from a specified initial root position. The decoder is trained with rotation/root reconstruction and temporal consistency objectives.
2.3. Plan-then-Articulate Music-Conditioned Generation
After tokenizer training, each dance is represented by four streams . Let denote the upper/lower-body token pair at token timestep within frequency stream . Low- and high-frequency token pairs are generated by separate autoregressive Transformers, each comprising stacked Transformer layers. The high-frequency model additionally conditions on the low-frequency tokens. Following Eq. (1), generation proceeds in two stages.
Plan. Because the motion streams use different token rates, music context is encoded at the corresponding temporal resolutions. A local-context music Transformer produces and by aggregating neighboring music frames and downsampling them to and steps. The low-frequency Transformer first autoregressively establishes coarse choreography:
Articulate. The high-frequency stage realizes residual dynamics conditioned on the generated plan. Since the two streams have different token rates, each fine timestep is aligned to the coarse sequence by
where and . With , fine timesteps and share coarse index . A bounded neighborhood around is embedded as low-frequency context . This alignment selects the coarse tokens used for conditioning; it does not resample their discrete indices. The high-frequency distribution is
Both stages are optimized with next-token cross-entropy. Motion-token attention is causal, while music attention may use bounded future context because the complete song is available at generation time.
2.4. Training-Derived Decoding Prior
We refine autoregressive decoding with transition and beat statistics from the training split. At token timestep t of stream f, the decoder assigns each candidate pair c a pre-softmax joint logit , obtained from a joint prediction head or by summing the logits of separately predicted upper/lower-body tokens.
Let contain all token pairs observed immediately after the previously generated pair , across all positions within training sequences of stream f.
For pairs observed in training, the beat correction is
Table 1. Comparison on AIST++ and FineDance. : lower is better; : closer to GT is better. Bold/underline indicate the best/second-best reported values for each dataset.
| Method | |||||
|---|---|---|---|---|---|
| AIST++ | |||||
| Ground Truth | - | - | 8.19 | 7.45 | 0.2374 |
| Bailando++ [7] | 21.29 | 11.56 | 9.31 | 6.20 | 0.2330 |
| EDGE [3] | 42.16 | 22.12 | 3.96 | 4.61 | 0.2334 |
| Lodge [4] | 37.09 | 18.79 | 5.58 | 4.85 | 0.2423 |
| TokenDance [8] | 21.55 | 11.85 | 8.05 | 7.12 | 0.2313 |
| FFMT | 9.91 | 7.02 | 8.25 | 6.65 | 0.2374 |
| FineDance | |||||
| Ground Truth | - | - | 9.73 | 7.44 | 0.2120 |
| Bailando++ [7] | 54.94 | 46.29 | 6.17 | 5.78 | 0.2210 |
| EDGE [3] | 94.34 | 50.38 | 8.13 | 6.45 | 0.2116 |
| Lodge [4] | 45.56 | 34.29 | 6.75 | 5.64 | 0.2397 |
| TokenDance [8] | 47.20 | 31.85 | 6.62 | 6.81 | 0.2385 |
| FFMT | 35.21 | 27.66 | 9.75 | 7.66 | 0.2125 |
where labels the corresponding music interval, and and are conditional and marginal training probabilities estimated with additive smoothing. Unobserved pairs receive zero correction. From the inference candidate set , specified in Sec. 3.1, we select
The indicator applies a fixed signed adjustment to observed transitions, regardless of their counts. The stream-specific weights and remain fixed during inference; the prior introduces no additional trainable parameters.
3. EXPERIMENTS
3.1. Experimental Setup
Datasets and metrics. We evaluate on AIST++ [1] and FineDance [14]. We report Fréchet distances (FID /FID ), diversity (Div /Div ), and Beat Alignment Score (BAS) [2]. Lower FID is better; diversity and BAS are treated as neutral metrics, with smaller absolute deviations from the corresponding ground-truth statistics preferred. The EDGE, Lodge, and TokenDance values in Table 1 follow the comparison reported by TokenDance [8]. We also include our AIST++ reproduction of Bailando++.
Implementation. Both datasets use four-second motion windows and the same low/high token intervals in physical time, 0.2/0.1 s. The frame strides are (12, 6) for AIST++ at 60 fps and (6, 3) for FineDance at 30 fps. Each low/high body-part stream therefore contains 20/40 tokens per window. We use a Gaussian kernel of size 31 with , both specified in frames, , , and 512-D VQ embeddings. The low/high VQ branches use widths 512/1024 and depths 3/6. For the position loss, both datasets use , , a commitment weight , and a latent regularization weight .
Each autoregressive Transformer contains sequential base and head stacks. The low-frequency model has blocks, a hidden dimension of 512, and 8 attention heads on both datasets. The high-frequency model has blocks, dimension 512, and 8 heads on AIST++, and blocks, dimension 320, and 5 heads on FineDance. The low/high autoregressive context lengths are 19/39; both stages use 3-layer local music encoders, and high-frequency generation uses a 7-token low-frequency conditioning neighborhood. The inference candidate set combines the 64 token pairs with the largest decoder logits and all observed training-set successors of . The prior weights () are on AIST++ and on FineDance.
3.2. Comparison with State of the Art
Table 1 compares the reported results of FFMT and representative music-to-dance methods. On AIST++, FFMT has the lowest (9.91/7.02). Its kinetic diversity is close to GT, and its BAS nearly matches the GT statistic. TokenDance is closer to GT in geometric diversity, indicating that the fidelity gains do not uniformly resolve motion-coverage differences.
On FineDance, FFMT achieves the lowest reported (35.21/27.66), while both diversity measures are closest to the tabulated GT. These results indicate improved distributional fidelity together with diversity statistics that better match the reference data. EDGE has the BAS closest to GT, with FFMT second.
3.3. Ablation Study
We examine frequency targets, temporal sampling, codebook allocation, low-to-high conditioning, and prior-based decoding. Table 2 evaluates complete generation systems; Table 3 assesses the information retained by their tokenizers.
The variants change one component of Full at a time. w/o Freq. removes the explicit low-frequency/residual decomposition. Same Rate uses tokens per body branch in each four-second window (strides 8 on AIST++ and 4 on FineDance), retaining . Uniform K uses , retaining Full's 20/40 token counts and branch architectures. w/o masks attention from high-frequency queries to low-frequency context tokens, retaining high-frequency history and music. w/o Prior uses greedy predictions without the decoding prior. Other settings follow Full; token-dependent prior statistics are rebuilt from training data when the tokenizer changes.
Generation quality. Full achieves the lowest FID on both datasets in Table 2, with diversity and BAS closest to the corresponding GT among these variants. Removing frequency decomposition, unifying the token rate, or unifying codebook sizes increases FID. Masking low-frequency context produces the largest kinetic FID degradation, supporting its role in coordinating residual dynamics. The decoding prior gives a larger FID improvement on AIST++ than on FineDance.
Tokenizer reconstruction. Held-out motions are encoded, quantized, and reconstructed through the complete rotation/root decoder, without autoregressive generation or prior rescoring. Let denote root-relative joint trajectories recovered from the final decoded motion and their reference. With , where is the Gaussian operator in Eq. (3), normalized high-frequency reconstruction error is
where the sums cover the test set and . All variants use identical coordinate processing and evaluation filters: kernel size 31, frames, and replicated boundaries, as in the reference decomposition. Normalizing by reference high-frequency energy accounts
Table 2. Generation ablations on AIST++ and FineDance. Lower FID is better; diversity and BAS are better when closer to ground truth.
| Variant | AIST++ | FineDance | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| FIDk | FIDg | Divk | Divg | BAS | FIDk | FIDg | Divk | Divg | BAS | |
| w/o Freq. | 28.74 | 10.43 | 6.06 | 6.08 | 0.216 | 56.82 | 49.68 | 7.38 | 10.17 | 0.202 |
| Same Rate | 18.92 | 9.88 | 8.84 | 6.26 | 0.260 | 48.01 | 36.34 | 8.87 | 6.82 | 0.219 |
| Uniform K | 15.16 | 9.25 | 8.39 | 6.18 | 0.249 | 39.46 | 30.07 | 8.74 | 7.05 | 0.220 |
| w/o L→H | 55.27 | 24.56 | 8.71 | 6.39 | 0.256 | 140.77 | 48.93 | 4.95 | 11.27 | 0.224 |
| w/o Prior | 13.14 | 7.34 | 8.63 | 6.48 | 0.253 | 35.39 | 27.84 | 9.10 | 7.78 | 0.215 |
| Full | 9.91 | 7.02 | 8.25 | 6.65 | 0.237 | 35.21 | 27.66 | 9.75 | 7.66 | 0.212 |
Table 3. Tokenizer reconstruction ablations. MPJPE: mm; : dimensionless; : m/s. Lower is better; bold marks the best values.
| Variant | AIST++ | FineDance | ||||
|---|---|---|---|---|---|---|
| MPJPE↓ | MPJPE↓ | |||||
| w/o Freq. | 96.647 | 0.7338 | 17.144 | 95.903 | 0.4280 | 7.332 |
| Same Rate | 96.797 | 0.7175 | 17.287 | 93.101 | 0.4013 | 7.248 |
| Uniform K | 95.518 | 0.6862 | 16.934 | 92.637 | 0.3743 | 6.719 |
| Full | 94.459 | 0.5514 | 15.070 | 88.770 | 0.3190 | 5.256 |
for the smaller residual amplitude. We also report MPJPE in mm and acceleration error , the mean jointwise Euclidean difference between and , in m/s. Positions are expressed in metres for and ; is the dataset frame rate, and excludes the two temporal boundary frames. These complementary metrics assess overall motion reconstruction (MPJPE), high-frequency detail (), and motion dynamics ().
The relative reductions in and are consistently larger than those in MPJPE when Full is compared with each tokenizer ablation on either dataset (Table 3). This pattern highlights improvements in temporal detail and motion dynamics alongside overall pose accuracy. The comparison with Same Rate supports allocating temporal resolution by frequency at a fixed total token count, while the comparison with Uniform K supports the chosen codebook allocation at fixed token rates.
Reconstruction measures how faithfully the tokenizer preserves overall motion, high-frequency detail, and dynamics; generation tests how effectively the model uses this representation under music conditioning. Their consistent gains support frequency-aware tokenization and low-to-high conditioning as complementary mechanisms for preserving and modeling the temporal structure of dance data.
4. CONCLUSION
We presented FFMT, a frequency-factorized multi-rate representation that allocates discrete capacity across heterogeneous motion dynamics. Its complementary low/high tokenization induces a plan-then-articulate generation hierarchy from coarse choreography to finer residual dynamics. Reconstruction and generation evaluations show improved preservation of high-frequency detail and motion dynamics alongside stronger distributional fidelity. Results on AIST++ and FineDance support frequency factorization, asymmetric capacity allocation, and low-to-high conditioning for music-to-dance generation.
ACKNOWLEDGMENTS
This work is supported by the Red Bird MPhil program at the Hong Kong University of Science and Technology (Guangzhou).
REFERENCES
[1] Ruilong Li, Shan Yang, David A. Ross, and Angjoo Kanazawa, "AI choreographer: Music conditioned 3D dance generation with AIST++," in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2021.
[2] Li Siyao, Weijiang Yu, Tianpei Gu, Chunze Lin, Quan Wang, Chen Qian, Chen Change Loy, and Ziwei Liu, "Bailando: 3D dance generation by actor-critic GPT with choreographic memory," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022.
[3] Jonathan Tseng, Rodrigo Castellon, and C. Karen Liu, "EDGE: Editable dance generation from music," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023.
[4] Ronghui Li, Yuxiang Zhang, Yachao Zhang, Hongwen Zhang, Jie Guo, Yan Zhang, Yebin Liu, and Xiu Li, "Lodge: A coarse to fine diffusion network for long dance generation guided by the characteristic dance primitives," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.
[5] Canyu Zhang, Youbao Tang, Ning Zhang, Ruei-Sung Lin, Mei Han, Jing Xiao, and Song Wang, "Bidirectional autoregressive diffusion model for dance generation," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.
[6] Zhenye Luo, Min Ren, Xuecai Hu, Yongzhen Huang, and Li Yao, "POPDG: Popular 3D dance generation with PopDanceSet," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.
[7] Li Siyao, Weijiang Yu, Tianpei Gu, Chunze Lin, Quan Wang, Chen Qian, Chen Change Loy, and Ziwei Liu, "Bailando++: 3D dance GPT with choreographic memory," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 45, no. 12, pp. 14192–14207, 2023.
[8] Ziyue Yang, Kaixing Yang, and Xulong Tang, "Token-Dance: Token-to-token music-to-dance generation with bidirectional Mamba," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 2026.
[9] Anindita Ghosh, Bing Zhou, Rishabh Dabral, Jian Wang, Vladislav Golyanik, Christian Theobalt, Philipp Slusallek, and Chuan Guo, "DuetGen: Music driven two-person dance generation via hierarchical masked modeling," in ACM SIGGRAPH 2025 Conference Papers, 2025.
[10] Xiaojie Li, Ronghui Li, Shukai Fang, Shuzhao Xie, Xiaoyang Guo, Jiaqing Zhou, Junkun Peng, and Zhi Wang, "Music-aligned holistic 3D dance generation via hierarchical motion modeling," in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2025.
[11] Xin Gao, Li Hu, Peng Zhang, Bang Zhang, and Liefeng Bo, "DanceMeld: Unraveling dance phrases with hierarchical latent codes for music-to-dance synthesis," arXiv preprint arXiv:2401.10242, 2023.
[12] Qiaochu Huang, Xu He, Boshi Tang, Haolin Zhuang, Liyang Chen, Shuochen Gao, Zhiyong Wu, Haozhi Huang, and Helen Meng, "Enhancing expressiveness in dance generation via integrating frequency and music style information," arXiv preprint arXiv:2403.05834, 2024.
[13] Ronghui Li, Zhongyuan Hu, Li Siyao, Youliang Zhang, Haozhe Xie, Mingyuan Zhang, Jie Guo, Xiu Li, and Ziwei Liu, "InfiniteDance: Scalable 3D dance generation towards in-the-wild generalization," arXiv preprint arXiv:2603.13375, 2026.
[14] Ronghui Li, Junfan Zhao, Yachao Zhang, Mingyang Su, Zeping Ren, Han Zhang, Yansong Tang, and Xiu Li, "FineDance: A fine-grained choreography dataset for 3D full body dance generation," in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2023.