paper-with-me

홈 › Papers

Modeling Music as a Time-Frequency Image: A 2D Tokenizer for Music Generation

2026-05-15 · Yuqing Cheng, Xingyu Ma, Guochen Yu, Xiaotao Gu arxiv

Autoregressive music generation depends strongly on the audio tokenizer. Existing high-fidelity codecs often use residual multi-codebook quantization, which preserves reconstruction quality but complicates language modeling after sequence flattening, as the residual hierarchy imposes strong sequential dependencies and can amplify error accumulation. We propose BandTok, a generation-oriented 2D Mel-spectrogram tokenizer that represents each frame with Mel-frequency band tokens from a single shared codebook. This design yields a physically interpretable time-frequency token grid with a more independent token structure, making it better suited for autoregressive modeling. BandTok improves reconstruction with a multi-scale PatchGAN objective and EMA codebook updates. We further introduce an autoregressive language model with 2D Rotary Position Embedding (2D RoPE) to preserve temporal and frequency-band structure during generation. Experiments show that BandTok improves over residual-codebook tokenizers and achieves strong results in a data-limited setting. The source code and generation demos for this work are publicly available.

📄 PDF Abstract BibTeX arXiv:2605.15831

Code (0)

등록된 구현이 없습니다.

Tasks

Music Generation

Similar Papers 제목 키워드 기반

LoSATok: Low-dimensional Semantic-Acoustic Tokenizer for Cross-Domain Audio Understanding and Generation

2026-05-27 · Zhisheng Zhang, Xiang Li, Yixuan Zhou, Jing Peng 외 arxiv

Audio tokenizers are fundamental to unifying audio understanding and generation. Understanding requires high-level semantics, while generation demands semantic and acoustic details. Existing unified tokenizers jointly en…

Audio Generation

DuoTok: Source-Aware Dual-Track Tokenization for Multi-Track Music Language Modeling

2025-11-25 · Rui Lin, Zhiyue Wu, Jiahe Le, Kangdi Wang 외 arxiv

Audio tokenization bridges continuous waveforms and multi-track music language models. In dual-track modeling, tokens should preserve three properties at once: high-fidelity reconstruction, strong predictability under a …

WavTokenizer: an Efficient Acoustic Discrete Codec Tokenizer for Audio Language Modeling

2024-08-29 · Shengpeng Ji, Ziyue Jiang, Wen Wang, Yifu Chen 외

Language models have been effectively applied to modeling natural signals, such as images, video, speech, and audio. A crucial component of these models is the codec tokenizer, which compresses high-dimensional natural s…

Language ModelingLanguage Modelling

miditok: A Python package for MIDI file tokenization

2023-10-26 · Nathan Fradet, Jean-Pierre Briot, Fabien Chhel, Amal El Fallah Seghrouchni 외

Recent progress in natural language processing has been adapted to the symbolic music modality. Language models, such as Transformers, have been used with symbolic music for a variety of tasks among which music generatio…

Music GenerationMusic Information Retrieval

Frequency Autoregressive Image Generation with Continuous Tokens

2025-03-07 · Hu Yu, Hao Luo, Hangjie Yuan, Yu Rong 외

Autoregressive (AR) models for image generation typically adopt a two-stage paradigm of vector quantization and raster-scan ``next-token prediction", inspired by its great success in language modeling. However, due to th…

Image GenerationLanguage ModelingLanguage ModellingQuantization+3