TADA! Tuning Audio Diffusion Models through Activation Steering
Łukasz Staniszewski, Katarzyna Zaleska, Mateusz Modrzejewski, Kamil Deja
TL;DR
This work reveals that high-level musical attributes in text-to-audio diffusion systems are encoded within a small, shared subset of cross-attention layers, constituting a semantic bottleneck. By localizing these functional layers with Activation Patching, the authors apply targeted steering using Contrastive Activation Addition ($v_c^{\text{CAA}}$) and Sparse Autoencoders ($v_c^{\text{SAE}}$), achieving precise control over attributes like tempo, mood, vocal gender, and instrument presence while preserving audio fidelity. The approach is validated across multiple architectures, showing that steering only the bottleneck layers markedly outperforms global steering methods and maintains high audio quality, with SAEs offering interpretable, fine-grained control. Overall, layer-level localization combined with CAA and SAEs provides a robust, scalable path to fine-grained, high-fidelity audio editing and customization beyond what prompt-based prompts can achieve.
Abstract
Audio diffusion models can synthesize high-fidelity music from text, yet their internal mechanisms for representing high-level concepts remain poorly understood. In this work, we use activation patching to demonstrate that distinct semantic musical concepts, such as the presence of specific instruments, vocals, or genre characteristics, are controlled by a small, shared subset of attention layers in state-of-the-art audio diffusion architectures. Next, we demonstrate that applying Contrastive Activation Addition and Sparse Autoencoders in these layers enables more precise control over the generated audio, indicating a direct benefit of the specialization phenomenon. By steering activations of the identified layers, we can alter specific musical elements with high precision, such as modulating tempo or changing a track's mood.
