AG-REPA: Causal Layer Selection for Representation Alignment in Audio Flow Matching

Pengfei Zhang, Tianxin Xie, Minghao Yang, Li Liu

Generative audio models utilizing Flow Matching (FM) are computationally intensive to train. To accelerate convergence, researchers often employ REPresentation Alignment (REPA), a technique that guides the intermediate layers of a "student" model to match the feature space of a pre-trained "teacher" model (such as Whisper). However, a critical challenge remains: which layers should be aligned?

In computer vision, middle layers are often chosen heuristically. But for temporal, sequential audio data generated from sparse tokens, this guesswork leads to supervising layers that are "representationally rich but functionally passive." To address this, researchers have introduced Attribution-Guided REPresentation Alignment (AG-REPA), a novel strategy that identifies the true causal drivers of generation, yielding a 3.26x training speedup and superior audio quality.

The Core Insight: Store-Contribute Dissociation (SCD)

The foundational discovery of this paper is a phenomenon the authors term Store-Contribute Dissociation (SCD). They found a significant mismatch between where a model stores semantic information and where it uses that information to drive the generation process.

Deep layers often act as "semantic reservoirs," exhibiting high similarity to the teacher model's representations. Conversely, shallow layers act as the "causal drivers" that actually steer the velocity field. Because early layers have high functional leverage—their outputs propagate through the entire network—small changes at these stages have a massive "butterfly effect" on the final audio output.

Methodology: AG-REPA and FoG-A

To operationalize this insight, the authors developed AG-REPA, powered by a diagnostic tool called Forward-only Gate Ablation (FoG-A).

  1. The Intervention: During a brief warm-up phase of training, individual layers are temporarily "turned off" by zeroing out their residual contributions.
  2. Measuring Impact: The system measures the resulting shift in the model's predicted velocity field (the mathematical trajectory used to denoise and generate audio).
  3. Causal Selection: Layers causing massive shifts are identified as causal drivers, while those causing minimal changes are deemed passive.
  4. Targeted Alignment: AG-REPA automatically selects the Top-K most influential layers for targeted alignment, weighting the supervision based on each layer's causal importance.

This diagnostic is highly efficient, adding less than 0.5% to total training time while providing the exact roadmap needed to drastically accelerate training.

Experiments and Key Results

The method was evaluated on a unified audio generation task encompassing speech (LibriSpeech) and general environmental sounds (AudioSet). It was also tested across diverse external architectures, including Voicebox, CosyVoice, and F5-TTS.

  • Enhanced Quality: AG-REPA reduced the Frechet Audio Distance (FAD)—a metric for audio realism—by 18% for speech and 16% for general audio compared to the best fixed-layer baselines.
  • Accelerated Convergence: Targeted alignment allowed models to reach high-quality thresholds 3.26x faster than standard storage-based alignment methods.
  • Universal Applicability: AG-REPA consistently outperformed heuristic "Shallow REPA" baselines across different architectures, demonstrating that the exact location of the "causal bottleneck" shifts depending on the model and tokenizer.
  • Human Preference: Mean Opinion Score (MOS) evaluations confirmed that human listeners found AG-REPA samples significantly more natural and intelligible.

Limitations and Future Directions

The current AG-REPA implementation selects causal layers during a warm-up phase and freezes them. For extensive training runs susceptible to "representation drift," periodically re-running the FoG-A diagnostic could prove beneficial. Additionally, while simple Multi-Layer Perceptron (MLP) projection heads were effective for global features, future work may explore convolutional heads to better preserve dense spatial or temporal structures from the teacher signal. Finally, as with all high-fidelity audio generation, the authors emphasize the necessity of integrating robust watermarking and responsible deployment strategies to mitigate the risks of misuse.

Summary updated

BibTeX
@inproceedings{zhang2026ag,
  author = {Pengfei ZHANG and Tianxin Xie and Minghao Yang and Li Liu},
  title = {{AG-REPA: Causal Layer Selection for Representation Alignment in Audio Flow Matching}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=93Yh3Mvg37},
}
Figure