Amadeus: Autoregressive Model with Bidirectional Attribute Modelling for Symbolic Music

Hongju Su, Ke Li, Lan Yang, Honggang Zhang, Yi-Zhe Song

TL;DR

This paper introduces Amadeus, a novel framework for symbolic music generation that breaks away from traditional sequential attribute modeling. By using a two-level architecture with an autoregressive note generator and a bidirectional discrete diffusion model for note attributes, Amadeus achieves state-of-the-art performance and significantly faster generation speeds, enabling more controllable and expressive music creation.

What Problem Does This Paper Address?

Generating realistic and controllable symbolic music (like MIDI files) has been a long-standing challenge. Existing deep learning models often treat musical notes as sequences of attributes (e.g., pitch, duration, velocity) and process these attributes one by one using autoregressive models. This approach assumes a strict temporal dependency between attributes, which the authors argue is a flawed assumption. They observe that the order of attributes within a note doesn't significantly impact generation quality, suggesting they are more like a concurrent, unordered set. This sequential processing leads to long sequences, inefficient computation, and limits fine-grained control over musical elements. The paper aims to address these limitations by proposing a model that treats note attributes as a set, enabling bidirectional processing and faster, more flexible music generation.

Methods

Amadeus employs a two-level architecture:

  1. Autoregressive Note Generator: This component generates latent representations for each note in a sequence, similar to how traditional language models generate text. It uses a Transformer-based decoder.
  2. Bidirectional Discrete Diffusion Note Decoder: This is the core innovation. Instead of sequentially predicting attributes, it uses a discrete diffusion model to decode the note attributes bidirectionally. This allows for parallel processing of attributes within a note, significantly speeding up generation and enabling more flexible control.

To further enhance performance, two modules are introduced:

  • Music Latent Space Discriminability Enhancement Strategy (MLSDES): This uses contrastive learning to improve the distinctiveness of intermediate music representations, leading to better overall generation quality.
  • Conditional Information Enhancement Module (CIEM): This module uses attention mechanisms to strengthen the note latent vectors, incorporating global context to enable more precise note decoding.

The "step-adjustable note decoding" feature allows users to control the trade-off between generation speed and quality by adjusting the number of diffusion steps.

Datasets

  • LakhClean Dataset: Used for unconditional music generation.
  • SOD Dataset: Used for unconditional music generation.
  • MidiCaps Dataset: Used for text-conditioned music generation.
  • AMD (Amadeus MIDI Dataset): A newly compiled and open-sourced dataset, claimed to be the largest symbolic music dataset to date. It includes:
  • A pre-training set of 1.9 million MIDI files.
  • A fine-tuning set of 320,000 samples with textual annotations.

Key Insights and Ideas

  • Note Attributes are Unordered: The most significant insight is that musical note attributes (pitch, duration, velocity, etc.) are best modeled as a concurrent, unordered set rather than a strict temporal sequence. This challenges the fundamental assumption of many existing autoregressive models.
  • Bidirectional Diffusion for Attributes: Applying discrete diffusion models to the attribute decoding stage unlocks parallel processing, leading to substantial speedups and enabling more flexible control over music generation.
  • Trade-off between Speed and Quality: The step-adjustable decoding mechanism provides a clear and controllable way to balance generation speed with musical quality, a crucial aspect for real-time applications.
  • Importance of CIEM: Ablation studies highlight that the CIEM module is crucial for ensuring the continuity and quality of generated music by injecting global context into the diffusion decoder.

Key Results

  • State-of-the-Art Performance: Amadeus significantly outperforms existing state-of-the-art (SOTA) models across multiple metrics for both unconditional and text-conditioned music generation tasks.
  • Speed-up: Achieves at least a 4x speed-up in generation speed compared to previous methods. For example, it reaches 16.23 notes/s, a significant improvement over methods like T2M-inferalign (4.02 notes/s).
  • Fine-grained Control: Demonstrates training-free, fine-grained control over note attributes, allowing users to specify elements like instrument, tempo, and chord without retraining.
  • AMD Dataset: The introduction of the AMD dataset provides a valuable resource for future research in symbolic music generation.

Limitations and Future Work

  • Underrepresented Genres: The model shows limited support for underrepresented musical genres due to constraints in the training dataset.
  • Architectural Components: The authors acknowledge that not using advanced components like Rotary Position Embedding (ROPE) and RMSNorm might have constrained overall performance.
  • Inference Optimization: Comprehensive inference optimization was not performed, potentially limiting generation speed further.
  • Hardware Limitations: Due to hardware constraints, systematic studies on model scaling behavior were not conducted.
  • Future Work: The authors plan to explore lossless acceleration techniques and real-time generation. They also aim to investigate further optimization potential between computational efficiency and generation quality.

Summary updated

BibTeX
@inproceedings{su2026amadeus,
  author = {Hongju Su and Ke Li and Lan Yang and Honggang Zhang and Yi-Zhe Song},
  title = {{Amadeus: Autoregressive Model with Bidirectional Attribute Modelling for Symbolic Music}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.1898},
}
Figure