Latent Fourier Transform

Mason Long Wang, Cheng-Zhi Anna HuangICLR 2026

Introduction

Modern audio generation models typically operate in a coarse-to-fine manner. While this makes it easy to condition generation on the broad, global structure of a reference track, it is incredibly difficult to isolate and condition on specific timescales. If a user wants to generate a variation of a song that keeps the slow-moving chord progression but changes the fast-moving melody, current models struggle. Existing controls focus on semantic attributes like pitch, loudness, or instrumentation, which are distributed across multiple timescales. There is no direct way to control the "timescale" axis itself.

To address this, researchers introduce the Latent Fourier Transform (LatentFT), a novel framework that provides frequency-domain controls for generative music models. Drawing inspiration from the traditional audio equalizer (EQ)—which isolates audio waveform frequencies to shape timbre—LatentFT acts as a "structural equalizer." By separating musical patterns based on their timescale, it allows users to blend songs or generate variations that preserve specific musical elements, providing an intuitive, continuous axis for controlling AI music generation.

The LatentFT Architecture

The authors propose an end-to-end encoder-decoder architecture built around a diffusion autoencoder, augmented with a Fourier transform in the latent space.

  1. Encoder: An audio waveform or spectrogram is mapped into a time series of latent vectors.
  2. Latent Fourier Transform: A Discrete Fourier Transform (DFT) is applied along the time axis of this latent sequence. This creates a "latent spectrum" where different frequencies correspond to the temporal rates of musical patterns (e.g., 1 Hz means a pattern repeats once per second in the latent sequence).
Decomposition of a signal into frequency components
  1. Correlated Frequency Masking (Training): During training, the model randomly masks parts of this latent spectrum. Crucially, rather than masking individual frequency bins independently (which creates erratic, speckled masks), the model uses a log-scaled, correlated masking strategy. This creates contiguous blocks of masked frequencies, preventing the model from "cheating" using nearby unmasked bins and better simulating how a human user will apply masks at inference.
  2. Decoder: The masked latent spectrum is converted back to a time series via an Inverse DFT. A diffusion model then learns to reconstruct the original audio conditioned on this incomplete latent sequence.
  3. Inference: Users can apply custom masks to the latent spectrum to generate variations, blend two songs by mixing their latent frequencies, or "zoom in" to hear specific latent frequencies in isolation.

Key Insights: The Structural Equalizer

Traditional EQs operate on the audible spectrum (20–20,000 Hz) to change sonic qualities like "warmth" or "brightness." LatentFT, however, operates on the latent spectrum (typically < 20 Hz) to change musical patterns. It allows users to low-pass a song to keep its chords, or high-pass it to keep its rhythmic trills.

The researchers discovered that musical traits live in specific latent frequency bands. By sweeping a bandpass filter across the latent spectrum, they found that global traits (like genre) and slow changes (like chords) reside in the low latent frequencies (< 1 Hz). Predominant pitch and tempo reside in higher latent frequencies.

Furthermore, the authors demonstrated that post-hoc manipulation fails. You cannot simply take a pre-trained audio codec (like DAC or RAVE), filter its latents, and expect good audio; models must be trained with frequency-masked latents to learn how to decode them into coherent music. Finally, just like audio follows a 1/f energy distribution, so do latent representations. Scaling the frequency axis logarithmically during the masking process ensures the model learns robustly across all timescales.

Experimental Results

The model was primarily trained and evaluated on the MTG-Jamendo dataset (over 55,000 songs), with generalization tested on GTZAN (1,000 clips) and Maestro (over 200 hours of piano performances).

  • Superior Adherence and Quality: On the MTG-Jamendo test set, LatentFT outperformed baselines (including ILVR, Vampnet, and Guidance) in conditional generation. It achieved the best Fréchet Audio Distance (FAD) for audio quality (0.337 vs ILVR's 1.537) while strictly adhering to the target loudness, rhythm, timbre, and harmony.
  • Blending Success: When blending two tracks (e.g., taking low latent frequencies from Track A and high from Track B), LatentFT maintained higher audio quality and better adherence to both source tracks than existing style-transfer or cross-synthesis methods.
  • Human Preference: In a listening study with 29 musicians, LatentFT won statistically significant head-to-head matchups against baselines for both "audio quality" and "ability to blend."
  • Zero-Shot Generalization: The model successfully generalized to the GTZAN and Maestro datasets, outperforming baselines without any fine-tuning.

Limitations and Future Directions

While LatentFT offers unprecedented control, there is a tradeoff between adherence and quality. In the blending task, perfectly adhering to the latent frequencies of two completely different songs can sometimes result in musically unpleasant audio, requiring a balance between condition adherence and output quality.

Future work aims to extend this framework to enable real-time interactivity. The authors also propose disentangling the latent spectrum along semantic axes, allowing users to combine timescale-based controls (e.g., "keep the fast patterns") with semantic controls (e.g., "make it sound like a piano").

Summary updated

BibTeX
@inproceedings{wang2026latent,
  author = {Mason Long Wang and Cheng-Zhi Anna Huang},
  title = {{Latent Fourier Transform}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ogMxCjdCCq},
}
Figure