PhysWave: Physics-Guided Latent Diffusion Models for Controllable Spatial Audio Generation

Lingfeng Yao, Chenpei Huang, Xingke Yang, Ziye Geng, Changqing Luo, Hao Wang, Jiang Liu, Miao PanarXiv 2026

TL;DR

PhysWave is a physics-guided latent diffusion model that brings physical consistency to text-to-spatial audio generation. By incorporating differentiable acoustic priors for direction and distance alongside a unified waypoint-caption interface, it generates highly accurate, three-dimensional sound fields that obey the laws of physics without sacrificing audio quality.

What Problem Does This Paper Address?

Spatial audio is crucial for immersive experiences in gaming, VR, and filmmaking. First-Order Ambisonics (FOA) is a popular, device-agnostic format used to represent these 3D sound fields across four spherical-harmonic channels. While text-to-audio models have made massive strides, existing text-to-spatial audio generators suffer from two major limitations:

  1. Physical Inconsistency: Purely data-driven models often violate basic acoustic principles. They might generate audio that sounds plausible but encodes incorrect source directions or fails to follow the inverse-square law of distance attenuation.
  2. Fragmented User Interfaces: Current tools force users to choose between descriptive control (easy-to-use but coarse natural language prompts) and parametric control (precise but tedious numerical coordinates for trajectories).

PhysWave addresses these gaps by embedding explicit physical laws directly into a latent diffusion framework and unifying text and trajectory controls.

Methods

PhysWave utilizes a Diffusion Transformer (DiT) backbone operating within the latent space of a pretrained FOA Variational Autoencoder (VAE).

Figure 2: Overview of PhysWave. A spatial caption is parsed into an acoustic caption and a waypoint trajectory. Text, waypoint, and temporal tokens jointly condition an FOA latent diffusion model, which is trained with latent denoising loss and physics-consistency losses on the decoded FOA waveform.

Its novel capabilities stem from two key architectural choices:

  • Unified Waypoint-Caption Conditioning: To bridge the gap between text and coordinates, PhysWave uses a large language model (LLM) parser to break a spatial prompt (e.g., "a car moving from back-left to front-right") into a clean acoustic text caption and an editable sequence of spatial waypoints. These waypoints are interpolated into dense, per-frame physical features (time, direction vectors, and inverse-square distance) and fed into the DiT via a waypoint Q-Former.
  • Differentiable Physical Priors: Unlike standard latent diffusion models that only calculate loss in the latent space, PhysWave decodes the predicted latents back into waveforms during training. This allows the model to enforce two explicit, physics-guided objective functions:
  • Spherical-Harmonic Direction Consistency ($L_{dir}$): Aligns the generated audio's cross-channel intensity vectors with the true target direction.
  • Inverse-Square Distance Consistency ($L_{dist}$): Regularizes the relative temporal energy envelope of the omnidirectional channel to match the expected free-field pressure decay ($1/r^2$).

Crucially, because these physical priors are differentiable, they can also be used as inference-time guidance to steer and refine spatial accuracy during sampling without retraining the model.

Datasets

Because large-scale, real-world FOA recordings with precise trajectory annotations are incredibly rare, the authors constructed a massive synthetic dataset.

Figure 1: Dataset construction pipeline. Captioned monaural audio is paired with sampled trajectories and rendered into FOA audio through simulation.

They harvested monaural audio clips from public datasets (AudioCaps, WavCaps, and Clotho), cleaned them using voice activity detection and loudness normalization, and filtered out weak text-audio matches using CLAP embeddings. They then simulated 3D spatialization by sampling trajectories from four distinct motion families: static, linear pass-by, circular orbit, and approach/recede. The final dataset contains 314,818 training examples and 10,520 test examples of 4-channel FOA audio paired with frame-level trajectories and captions.

Key Insights and Ideas

  • Waveform-Level Physics in Latent Models: The core "aha!" moment is that you don't have to choose between the efficiency of latent diffusion and the physical grounding of waveform-level constraints. Decoding the latent estimates during the denoising steps allows the model to "hear" and correct its physical mistakes during training.
  • Training-Free Refinement: The differentiable nature of the acoustic losses means they double as an excellent inference-time steering mechanism. If a user needs absolute geometric precision, they can dial up the physics guidance scale during sampling to sharply reduce trajectory errors.
  • LLMs as Spatial Parsers: Using an LLM to translate loose natural language descriptions into structured JSON waypoint arrays effectively unifies descriptive and parametric user interfaces, giving creators both ease of use and fine-grained editability.

Key Results

PhysWave significantly outperforms prior text-to-FOA methods like ImmerseDiffusion and SonicMotion in spatial accuracy while maintaining top-tier audio quality.

  • Spatial Fidelity: PhysWave achieved a Direction of Arrival (DoA) angular error of just $1.73^\circ$ for static sources and $5.78^\circ$ for moving sources. In comparison, SonicMotion yielded errors of $31.09^\circ$ (descriptive) and $19.22^\circ$ (parametric) on moving sources.
  • Distance Accuracy: Ablation studies showed that the inverse-square distance loss drastically improved the distance correlation metric (InvSq Corr) from 0.48 to 0.74.
Figure 3: Qualitative trajectory comparison between PhysWave with and without physics-consistency losses.
  • Audio Quality: Evaluated on the omnidirectional $W$ channel, PhysWave achieved a competitive Frechet Distance (FD) of 21.22 and a KL divergence of 1.66, proving that adding strict physical constraints does not degrade the perceptual quality or semantic alignment of the audio content.

Limitations and Future Work

The primary limitation of PhysWave is its free-field assumption. Currently, the model assumes a single sound source moving in an open space without obstacles. It does not account for complex room acoustics, such as reverberation, echoes, multi-path propagation, or occlusion (sound blocking). The authors note that extending these physics-guided principles to multi-source environments and realistic indoor room acoustics is the next major frontier for this research.

Summary updated

BibTeX
@misc{yao2026physwave,
  author = {Lingfeng Yao and Chenpei Huang and Xingke Yang and Ziye Geng and Changqing Luo and Hao Wang and Jiang Liu and Miao Pan},
  title = {{PhysWave: Physics-Guided Latent Diffusion Models for Controllable Spatial Audio Generation}},
  year = {2026},
  eprint = {2608.29549},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.29549},
}
Figure