Skip to main content
Image arXiv is now an independent nonprofit! Learn more
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Sound

arXiv:2604.09054 (cs)
[Submitted on 10 Apr 2026 (v1), last revised 23 Jun 2026 (this version, v4)]

Title:HAFM: Hierarchical Autoregressive Foundation Model for Music Accompaniment Generation

Authors:Jian Zhu, Jianwei Cui, Yunlong Xue, Shihao Chen, Yubang Zhang, Cheng Luo, Jun Sun
View a PDF of the paper titled HAFM: Hierarchical Autoregressive Foundation Model for Music Accompaniment Generation, by Jian Zhu and 6 other authors
View PDF HTML (experimental)
Abstract:Music accompaniment generation aims to automatically produce instrumental accompaniments that are rhythmically, harmonically, and timbrally coherent with a given vocal input, with broad applications in personalized music creation, arrangement assistance, and music education. Existing approaches, primarily operating in the symbolic domain or relying on single-stage audio generation frameworks, commonly suffer from insufficient high-level semantic structure modeling, limited acoustic detail reconstruction, and weak conditional controllability. To address these limitations, this paper proposes HAFM, a Hierarchical Autoregressive Foundation Model for vocal-conditioned music accompaniment generation. The model employs a dual-rate tokenization strategy in which $50$ Hz HuBERT semantic tokens capture high-level musical structure and $75$ Hz EnCodec acoustic tokens encode fine-grained acoustic content, enabling explicit disentanglement of semantic and acoustic representations. Building on this foundation, a three-stage cascaded generation framework is designed to progressively generate semantic tokens, coarse acoustic tokens, and fine acoustic tokens, refining the accompaniment from global structure to local detail. . Objective evaluation on the MUSDB18 dataset demonstrates that the full three-stage model achieves a Fr{é}chet Audio Distance (FAD) score of 1.71, representing an 18.6% relative improvement over the two-stage baseline (FAD = 2.10). Subjective listening tests show that the generated accompaniments achieve a 51.5% preference rate against ground-truth accompaniments in head-to-head comparisons, and substantially outperform the random baseline in terms of rhythmic alignment, harmonic compatibility, and overall musical coherence. The source code and demo are available at this https URL.
Comments: This paper is submitted to the to National Conference on Man-Machine Speech Communication (NCMMSC, 2026)
Subjects: Sound (cs.SD); Multimedia (cs.MM)
Cite as: arXiv:2604.09054 [cs.SD]
  (or arXiv:2604.09054v4 [cs.SD] for this version)
  https://doi.org/10.48550/arXiv.2604.09054
arXiv-issued DOI via DataCite

Submission history

From: Jian Zhu [view email]
[v1] Fri, 10 Apr 2026 07:27:55 UTC (319 KB)
[v2] Mon, 13 Apr 2026 02:18:07 UTC (117 KB)
[v3] Fri, 19 Jun 2026 14:35:14 UTC (317 KB)
[v4] Tue, 23 Jun 2026 01:22:05 UTC (418 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled HAFM: Hierarchical Autoregressive Foundation Model for Music Accompaniment Generation, by Jian Zhu and 6 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
view license

Current browse context:

cs.SD
< prev   |   next >
new | recent | 2026-04
Change to browse by:
cs
cs.MM

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences