Saved in:
Bibliographic Details
Main Authors: Facchiano, Simone, Strano, Giorgio, Crisostomi, Donato, Tallini, Irene, Mencattini, Tommaso, Galasso, Fabio, Rodolà, Emanuele
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.04479
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912312793759744
author Facchiano, Simone
Strano, Giorgio
Crisostomi, Donato
Tallini, Irene
Mencattini, Tommaso
Galasso, Fabio
Rodolà, Emanuele
author_facet Facchiano, Simone
Strano, Giorgio
Crisostomi, Donato
Tallini, Irene
Mencattini, Tommaso
Galasso, Fabio
Rodolà, Emanuele
contents Understanding how large audio models represent music, and using that understanding to steer generation, is both challenging and underexplored. Inspired by mechanistic interpretability in language models, where direction vectors in transformer residual streams are key to model analysis and control, we investigate similar techniques in the audio domain. This paper presents the first study of latent direction vectors in large audio models and their use for continuous control of musical attributes in text-to-music generation. Focusing on binary concepts like tempo (fast vs. slow) and timbre (bright vs. dark), we compute steering vectors using the difference-in-means method on curated prompt sets. These vectors, scaled by a coefficient and injected into intermediate activations, allow fine-grained modulation of specific musical traits while preserving overall audio quality. We analyze the effect of steering strength, compare injection strategies, and identify layers with the greatest influence. Our findings highlight the promise of direction-based steering as a more mechanistic and interpretable approach to controllable music generation.
format Preprint
id arxiv_https___arxiv_org_abs_2504_04479
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Activation Patching for Interpretable Steering in Music Generation
Facchiano, Simone
Strano, Giorgio
Crisostomi, Donato
Tallini, Irene
Mencattini, Tommaso
Galasso, Fabio
Rodolà, Emanuele
Sound
Understanding how large audio models represent music, and using that understanding to steer generation, is both challenging and underexplored. Inspired by mechanistic interpretability in language models, where direction vectors in transformer residual streams are key to model analysis and control, we investigate similar techniques in the audio domain. This paper presents the first study of latent direction vectors in large audio models and their use for continuous control of musical attributes in text-to-music generation. Focusing on binary concepts like tempo (fast vs. slow) and timbre (bright vs. dark), we compute steering vectors using the difference-in-means method on curated prompt sets. These vectors, scaled by a coefficient and injected into intermediate activations, allow fine-grained modulation of specific musical traits while preserving overall audio quality. We analyze the effect of steering strength, compare injection strategies, and identify layers with the greatest influence. Our findings highlight the promise of direction-based steering as a more mechanistic and interpretable approach to controllable music generation.
title Activation Patching for Interpretable Steering in Music Generation
topic Sound
url https://arxiv.org/abs/2504.04479