LAV: Audio-Driven Dynamic Visual Generation with Neural Compression and StyleGAN2

Jongmin Jung, Dasaem JeongarXiv 2025 · DOI

TL;DR

LAV (Latent Audio-Visual) is a training-free framework that generates dynamic, audio-reactive visuals by directly mapping neural audio compression embeddings into StyleGAN2's latent space via a randomly initialized linear layer. By bypassing explicit feature extraction and task-specific training, it preserves rich audio semantics to produce smooth, high-fidelity generative art.

What Problem Does This Paper Address?

Creating visuals that dance to the beat of music typically relies on one of two approaches: explicitly extracting hand-crafted audio features (like pitch or rhythm) or training complex, task-specific mapping networks on paired datasets.

Both approaches have distinct bottlenecks. Hand-crafted features often discard the rich, underlying semantic and timbral nuances of music. On the other hand, training custom mapping networks introduces significant computational overhead and makes the system entirely dependent on heavily annotated datasets.

The authors introduce LAV to bridge this gap, proving that we don't need complex training pipelines to achieve semantically coherent audio-to-visual synthesis.

Methods

Instead of training a network from scratch, LAV connects two pre-existing architectures—EnCodec (a neural audio compression model) and StyleGAN2 (a high-quality image generator)—using a surprisingly simple link: a randomly initialized linear projection layer.

Figure 2: Overview of the proposed LAV (Latent Audio-Visual) pipeline.

The pipeline operates as follows:

  1. Audio Embedding: A pre-trained EnCodec encoder compresses the input audio into latent embeddings. Because EnCodec operates at a high sample rate of 50Hz, it captures rapid temporal changes and immediate musical shifts.
  2. Latent Space Mapping: A single, randomly initialized linear layer maps these 128-dimensional audio embeddings directly into StyleGAN2’s 512-dimensional style latent space ($W$).
  3. Activation & Normalization: The projected vectors pass through a custom Leaky tanh activation function to preserve outliers before being normalized to match StyleGAN2's native latent distribution.
  4. Musical Feature Modulation: To inject extra dynamism, the authors extract explicit features using the librosa library to modulate the latent space:
  5. Onset Modulation: Percussive onsets dynamically weight the outputs of two different projection layers to capture rhythm.
  6. Chroma Modulation: Pitch-class profiles (chroma vectors) adjust the normalization parameters, allowing harmonic content to directly influence visual aesthetics.
  7. Hierarchical Style Smoothing: To prevent jarring, abrupt visual cuts, an averaging window is applied across StyleGAN2's convolutional layers, tailored specifically to coarse, middle, and fine visual hierarchies.

Datasets

The paper does not introduce any new datasets or train the underlying generative models. Instead, it leverages pre-trained components:

  • EnCodec: Pre-trained neural audio compression weights.
  • StyleGAN2: Pre-trained weights from various artistic models, including checkpoints trained by digital artists Michael Friesen and Krrrl.

Key Insights and Ideas

  • The Power of Random Projections: The most striking insight is that a randomly initialized linear layer is sufficient to map audio features into a generative visual space without losing semantic integrity. This demonstrates that frozen foundation models contain highly robust, structured representations that don't always require expensive re-training to align across modalities.
  • Compression Models as Feature Extractors: While models like EnCodec are designed simply to compress audio data efficiently, they implicitly capture complex high-level structures like timbre, texture, and musical form, making them excellent lightweight alternatives to massive audio foundation models.
  • Hybrid Modulation: Combining implicit embeddings (via the random projection) with explicit hand-crafted features (chroma and onsets) yields the best of both worlds: deep semantic coherence paired with sharp, immediate rhythmic responsiveness.

Key Results

The authors qualitatively demonstrate that the LAV system successfully translates diverse audio inputs into fluid, high-resolution visual sequences.

Figure 3: A sequence of frames produced by the proposed LAV (Latent Audio-Visual) system. ©StyleGAN2 model trained by Michael Friesen [3]

By utilizing hierarchical style smoothing, the system eliminates the visual jitter common in naive latent space manipulation, ensuring that transitions between frames feel natural and continuous while remaining tightly bound to the audio's cadence.

Limitations and Future Work

  • Lack of Quantitative Evaluation: As an inherently artistic framework, the paper relies entirely on qualitative results and video demonstrations rather than standardized quantitative metrics to evaluate audio-visual alignment.
  • Bounded by Pre-trained Weights: Because the system is training-free, the visual output is strictly limited by the vocabulary of the chosen pre-trained StyleGAN2 checkpoint; it cannot generate entirely novel concepts outside that specific model's distribution.
  • Future Directions: The authors suggest exploring more advanced generative architectures, such as Diffusion Models, to expand the visual diversity and complexity of the synthesis.

Summary updated

BibTeX
@misc{jung2025lav,
  author = {Jongmin Jung and Dasaem Jeong},
  title = {{LAV: Audio-Driven Dynamic Visual Generation with Neural Compression and StyleGAN2}},
  year = {2025},
  eprint = {2505.10101},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.10101},
}
Figure