spot_img
HomeResearch & DevelopmentNew AI Model Generates Full Songs with Human-Like Structure...

New AI Model Generates Full Songs with Human-Like Structure and Speed

TLDR: Researchers have developed the Segmented Full-Song Model (SFS), an AI system for generating complete symbolic piano music. SFS breaks songs into segments, allowing users to define structure and provide a ‘seed’ idea. It generates segments by selectively attending to relevant musical contexts, mimicking human composition. The model outperforms previous methods in structural coherence, adherence to themes, and is significantly faster, enabling real-time interactive music creation through a web interface, though further improvements are needed for seamless phrase transitions.

Creating entire musical pieces, especially full songs, using artificial intelligence has long been a significant challenge in the field of symbolic music generation. Traditional models often struggle with maintaining coherence across long sequences and efficiently generating music that adheres to an overall structure. Human composers, on the other hand, typically start with a theme and a high-level structure, then fill in sections by referring to relevant parts of the song, rather than processing the entire piece autoregressively.

A new research paper, titled “Segment-Factorized Full-Song Generation on Symbolic Piano Music,” introduces an innovative approach called the Segmented Full-Song Model (SFS). Developed by Ping-Yi Chen, Chih-Pin Tan, and Yi-Hsuan Yang, this model aims to overcome the limitations of previous methods by mimicking how human composers work. You can read the full research paper here: Segment-Factorized Full-Song Generation on Symbolic Piano Music.

Understanding the SFS Model

The core idea behind SFS is to break down a full song into smaller, manageable segments. Users provide a desired song structure and can optionally include a short ‘seed’ segment, which acts as the main musical idea. Instead of generating the song in a strict chronological order, SFS allows for segments to be generated in any flexible sequence. This flexibility is crucial for an interactive and natural composition workflow.

The model employs a customized Transformer architecture that generates each segment by selectively paying attention to other structurally relevant segments. This selective attention is guided by four types of ‘context’ information:

  • Left: The nearest existing segment to the left, helping with smooth transitions.
  • Right: The nearest existing segment to the right, aiding in preparing for upcoming transitions.
  • Seed: The initial segment that carries the main musical theme or style.
  • Ref: A reference segment with the same structural label that appeared earlier, ensuring thematic consistency.

Additionally, a ‘global vision module’ provides a high-level summary of all previously generated segments, giving the model an overall awareness of the song’s content. Music is represented using a frame-based system, where each note is broken down into pitch, velocity, and duration sub-tokens, and positional information is encoded using specialized embeddings.

Performance and Efficiency

The researchers compared SFS against two baselines: a ‘flat model’ (a basic GPT-like Transformer) and ‘WholeSong’ (a prior hierarchical generation framework). In objective evaluations, SFS demonstrated stronger structural consistency, particularly in mid-to-long ranges, outperforming WholeSong. A user study involving participants rating generated pieces showed that SFS achieved higher scores in both ‘Overall quality’ and ‘Adherence to seed’ compared to WholeSong.

One of the most significant advantages of SFS is its efficiency. The model achieves real-time generation, operating at an average of 2.03 beats per second. This makes it approximately 10 times faster than WholeSong, even while processing music at a higher temporal resolution. This real-time capability is vital for interactive applications, allowing for immediate feedback during co-composition.

While SFS marks a substantial improvement, the researchers acknowledge that there’s still a gap between AI-generated music and real human compositions. Specifically, they noted that generated music sometimes lacks smooth phrase-level transitions and a natural progression across the full song, suggesting a need for higher-level planning mechanisms in future work.

Human-AI Co-Creation

To showcase the practical applications of SFS, the team developed an interactive web interface. This application allows users to define song structures, set seed segments, and then iteratively collaborate with the AI on a piano roll. Users can edit notes, let the model generate selected ranges, and experience real-time streaming of the AI’s output. This interface highlights the model’s potential for human-AI co-composition, enabling a more intuitive and flexible music-making experience.

Also Read:

Conclusion

The Segmented Full-Song Model represents a significant step forward in symbolic full-song generation. By factorizing songs into segments and employing selective attention based on structural context, SFS achieves higher quality, improved structural consistency, and stronger adherence to user-provided themes. Its remarkable efficiency, enabling real-time generation, opens new possibilities for interactive human-AI collaboration in music creation, paving the way for more natural and creative workflows.

Karthik Mehta
Karthik Mehtahttps://blogs.edgentiq.com
Karthik Mehta is a data journalist known for his data-rich, insightful coverage of AI news and developments. Armed with a degree in Data Science from IIT Bombay and years of newsroom experience, Karthik merges storytelling with metrics to surface deeper narratives in AI-related events. His writing cuts through hype, revealing the real-world impact of Generative AI on industries, policy, and society. You can reach him out at: [email protected]

- Advertisement -

spot_img

Gen AI News and Updates

spot_img

- Advertisement -