Music Circuit: Trace and Control Style Dynamics in Large Music Generation Model
Abstract
Musical style, a global attribute that functions throughout a whole piece, is a lever widely used by users in modern large music generation models. Yet how style is represented inside these models, and which components drive it, remains largely unexplored. In language models, circuit analysis traces a representation to a sparse sub-network of a few key components, namely attention heads and MLP neurons, and has been used successfully to explain and control global attributes such as emotion. In this work, we use circuit analysis to study the mechanisms behind musical style. Based on YuE2, we build a dataset that pairs the same lyrics with five styles and design a three-step framework. First, stage localization shows that the style forms mainly in the score-planning stage. Second, static observation across the positions of this stage further reveals that style is not a fixed vector but a dynamic representation across tokens. Third, we therefore merge the activation differences across positions into one direction per style, and trace the neurons and attention heads that drive this direction into a sparse circuit. Without any style text, steering this circuit successfully transfers one piece into the target style, matching and even exceeding the style prompt. To our knowledge, this is the first work to analyze and control musical style at the circuit level in a large music generation model. Audio and score examples are available at https://aristo233.github.io/MusicCircuit/.
Create a lesson
Related papers
PopMelodyGen: A Copyright-Aware Platform for Controllable Pop-Melody Generation
Shared title terminology · Di Lu, Xinran Zhang, Qingwen Zhou et al.
Harmonic Circuit: Chord Progression Lies in a Sparse Principal Information Flow in Symbolic Music Models
Shared title terminology · Ruiji Yu, Gus Xia
Constructing Dynamic Conversations with Neural Back-channel Generation and Voice-line Scheduling
Shared title terminology · Yifang Pan, Chris Landreth, Karan Singh
Evaluating the Evaluation of Music Generation Models with Generative Psychometrics
Shared title terminology · João Carlos Santana Silveira, Caio Von Rondow Morais, Frederico Pedrosa et al.
Can Music Generation Models Tap Along? Evaluating Generative Approaches to Beat Tracking
Shared title terminology · Kun Fang, Ziyu Wang, Ichiro Fujinaga
MusicFlux: Flexible Conditioning for Text-Guided Music Generation and Editing
Shared title terminology · Teysir Baoueb, Leonardo Boulitreau de Menezes Martins Marques, Paraskevas Stamatiadis et al.