TL;DR
This paper introduces a three-stage framework to extract robust, task-agnostic room acoustic embeddings from reverberant speech while simultaneously quantifying their reliability. By anchoring speech embeddings to a structured Room Impulse Response (RIR) latent space and training a lightweight uncertainty head on embedding dispersion, the system can flag unreliable data using just a single utterance at inference time.
What Problem Does This Paper Address?
When we hear someone speak inside a room, the audio captured by a microphone carries a fingerprint of the acoustic environment—known as the Room Impulse Response (RIR). "Blindly" estimating this RIR or its parameters (like reverberation time $T_{60}$) from speech is highly useful for audio forensics, smart home devices, and hearing aids.
However, learning reliable room embeddings is notoriously difficult because the acoustic signal is heavily confounded by non-room factors like what the speaker is saying, who they are, and background noise. Furthermore, real-world audio degradations (such as packet loss or noise) distort these embeddings. Currently, there is a lack of general-purpose, task-agnostic uncertainty metrics that can tell us when a room embedding should or shouldn't be trusted without relying on downstream task labels.
Methods
The authors propose a three-stage training pipeline to decouple room acoustics from speech content and measure representation uncertainty:
- Stage 1: RIR-VAE Pretraining: A Variational Autoencoder (VAE) is trained purely on ground-truth RIR log-mel spectrograms. This creates a geometrically structured latent space that captures pure room acoustics.
- Stage 2: Contrastive Embedding with RIR Alignment: A speech encoder is trained to map reverberant speech into this frozen RIR latent space using Kullback-Leibler (KL) divergence alignment. Crucially, the authors introduce a multi-view batch construction (multiple speech utterances recorded in the same RIR) combined with a multi-positive contrastive loss to force the encoder to ignore speech content variations.
- Stage 3: Dispersion-Calibrated Uncertainty: The speech encoder is frozen, and a lightweight multilayer perceptron (MLP) uncertainty head is attached. It is trained using a margin-based ranking loss to predict "embedding dispersion"—how much an embedding shifts (measured via cosine distance) when the input speech is artificially corrupted by noise or masking.
At inference time, the uncertainty head predicts a reliability score from a single corrupted utterance, without needing a clean reference.
Datasets
- Anechoic Speech: Utterances were sourced from the EARS dataset.
- Room Impulse Responses (RIRs): A massive, curated collection of 3,000 measured RIRs was compiled across 17 different public datasets (including the ACE Challenge, AIR-IKS, EchoThief, and MeshRIR).
- Reverberant Speech Generation: The anechoic speech and RIRs were convolved to generate approximately 89 hours of training data, 11 hours for validation, and 11 hours for testing, split strictly by RIR identity.
Key Insights and Ideas
- The Power of Multi-View Training: Standard representation learning often pairs one utterance with one RIR. By forcing the batch structure to include multiple distinct speech segments for the same RIR, the network explicitly learns what to discard (speech content) and what to keep (room acoustics).
- Dispersion as a Proxy for Uncertainty: Instead of trying to predict downstream task errors, the model measures uncertainty by how much an embedding "drifts" in the latent space under acoustic corruptions. If a small amount of noise drastically shifts the embedding, the representation is unstable.
- Rank-Based Optimization: Rather than forcing the uncertainty head to regress to an absolute scale of error, the ranking loss teaches the model to understand relative quality (i.e., "Audio A is more corrupted than Audio B"). This makes the uncertainty score highly monotonic and robust.
Key Results
The proposed framework demonstrates state-of-the-art performance in both embedding quality and uncertainty estimation:
- RIR Verification: The model achieves an Average Precision (AP) of 0.99, outperforming previous multi-stage representation learning (MRL-SV at 0.95) and blind RIR estimation baselines (FiNS at 0.82), proving its high robustness to speech content.
- Uncertainty Calibration: The predicted uncertainty score $U$ correlates strongly with actual embedding shift, achieving a global Spearman correlation of 0.90 across various corruption types (noise, time/frequency masking).
- Selective Prediction: When sorting and filtering out data based on the predicted uncertainty score $U$, downstream performance on RIR verification and reconstruction improves much more reliably than if one simply filters using raw acoustic metrics like Signal-to-Noise Ratio (SNR).
Limitations and Future Work
While powerful, the authors note several limitations:
- Calibration target: The uncertainty score is calibrated against embedding dispersion rather than representing a true statistical posterior uncertainty.
- Dataset splits: The data split was performed by RIR identity rather than being strictly room-disjoint, meaning some rooms might share positions across splits.
- Synthetic Corruptions: The training setup relies on simulated corruptions (pink noise, SpecAugment masking) which may not fully capture complex, "in-the-wild" degradations like clipping, microphone hardware mismatches, or competing speakers.
Summary updated