Research on AI music generation and melody optimization based on topological sorting algorithm

In this paper, DAG is utilized to represent the dependencies between musical features, and a topological sorting algorithm based on layer order relationships is used as the sampling algorithm for AI music generation models.The feature de-entanglement mechanism of VAE is utilized to learn multiple feature representations, and Transformer-XL is used as the encoder and decoder of the model to design the Control-VAE model that manipulates the latent variable representations to change the music structure.Statistical autocorrelation coefficients, spectral analysis, and diversity autoassessment metrics data were used to evaluate the model performance in terms of three dimensions: melody, timbre, and diversity.The feasibility of Control-VAE model AI music generation and melody optimization is examined through the evaluation of practical application effects.The results show that the autocorrelation coefficients and frequency amplitudes of the music generated by Control-VAE model are basically consistent with the original music, and reach human-like PPL values, seIf-BLEU values and Zipf coefficients near p=0.95.The music pieces generated by Control-VAE model have a certain degree of musicality, and the melody-optimized music is clear, accurate and novel and interesting.

Publication Details

Journal
Journal of Combinatorial Mathematics and Combinatorial Computing
Published
2025-04-16
DOI
https://doi.org/10.61091/jcmcc127a-388
Primary Topic
Music Technology and Sound Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on AI music generation and melody optimization based on topological sorting algorithm

Journal of Combinatorial Mathematics and Combinatorial Computing
Music Technology and Sound Studies
article

Research on AI music generation and melody optimization based on topological sorting algorithm

article en

Abstract

In this paper, DAG is utilized to represent the dependencies between musical features, and a topological sorting algorithm based on layer order relationships is used as the sampling algorithm for AI music generation models.The feature de-entanglement mechanism of VAE is utilized to learn multiple feature representations, and Transformer-XL is used as the encoder and decoder of the model to design the Control-VAE model that manipulates the latent variable representations to change the music structure.Statistical autocorrelation coefficients, spectral analysis, and diversity autoassessment metrics data were used to evaluate the model performance in terms of three dimensions: melody, timbre, and diversity.The feasibility of Control-VAE model AI music generation and melody optimization is examined through the evaluation of practical application effects.The results show that the autocorrelation coefficients and frequency amplitudes of the music generated by Control-VAE model are basically consistent with the original music, and reach human-like PPL values, seIf-BLEU values and Zipf coefficients near p=0.95.The music pieces generated by Control-VAE model have a certain degree of musicality, and the melody-optimized music is clear, accurate and novel and interesting.

Journal of Combinatorial Mathematics and Combinatorial ComputingVol. 127a
Openalex Percentile: Top 93%
Music Technology and Sound Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Research on AI music generation and melody optimization based on topological sorting algorithm · Journal of Combinatorial Mathematics and Combinatorial Computing (2025) | TGRS Research Map | TGRS