TL;DR
MatRIR is a novel vision-only framework that generates highly realistic Room Impulse Responses (RIRs) by explicitly disentangling a scene's spatial geometry from its surface materials. By utilizing a two-stage architecture—a spatial module followed by a material-aware modulation module—it enables fine-grained, user-controlled acoustic editing (e.g., swapping concrete walls for wood) while significantly outperforming prior joint-modeling baselines.
What Problem Does This Paper Address?
When we hear sound in a room, the acoustic profile—captured by a Room Impulse Response (RIR)—is shaped by two main factors: the physical layout of the space (geometry) and the materials covering its surfaces (absorption and reflection properties).
Existing learning-based methods for RIR estimation typically entangle these visual, spatial, and material cues into a single latent representation. This joint encoding creates a major limitation: users cannot easily alter individual aspects of a scene—such as changing a floor from carpet to hardwood—and get a physically accurate, updated RIR. Furthermore, prior material-conditioned approaches like M-CAPA rely on hard-to-obtain clean audio samples at test time and still fail to fully decouple geometry from material properties during generation.
Methods
The authors propose MatRIR (Material-Aware RIR Network), a vision-only framework that factorizes RIR generation into two distinct stages:
- Spatial Module ($\mathcal{F}_S$): This module focuses purely on geometry. It takes a single RGB image, estimates a depth map using a pretrained MiDaS model, and extracts visual and depth features using DINOv2. A transformer-based decoder with learned spatial queries cross-attends to these features to predict an initial, material-agnostic spatial RIR ($\hat{A}_S$).
- Material-Aware Module ($\mathcal{F}_M$): This module modulates the initial spatial RIR based on a user-specified material segmentation mask ($M$). The mask is encoded via DINOv2, and a Material RIR Encoder ($\mathcal{R}_M$) uses self-attention and feature re-weighting tokens to inject material-dependent acoustic properties (like absorption and scattering) into the spatial audio features. A convolutional network then upsamples this representation to produce the final material-conditioned RIR ($\hat{A}_M$).
Training Losses
The network is trained end-to-end using a combination of:
- $L_1$ Spectrogram Loss and an Energy Decay Loss ($\mathcal{L}_D$) to ensure the generated RIR matches the ground-truth late reverberations.
- A novel Cross-Modal Correspondence Loss ($\mathcal{L}_C$) driven by a pretrained, frozen "material-RIR matcher" network ($C$). This matcher provides feedback on how well the acoustic properties of the predicted RIR align with the input material mask.
Datasets
The model is evaluated on the Acoustic Wonderland Dataset (AcoW), which contains 76 seen scenes and 8 unseen scenes across 2,673 distinct material configurations. The evaluation is split into three challenging test sets:
- $D_{us}$: Unseen environments with seen material profiles.
- $D_{uu}$: Unseen environments with unseen material profiles.
- $D_{uk}$: Unseen environments with unseen material-profile pairings.
Key Insights and Ideas
- Disentanglement Enhances Generalization: Explicitly separating geometry from material properties prevents the model from learning spurious correlations (e.g., associating specific room shapes with specific materials), allowing it to generalize far better to entirely unseen material configurations.
- Standard Metrics Don't Capture Materials: Traditional acoustic metrics (like $L_1$ distance or RT60 error) often fail to reflect whether a model accurately captures material-specific signatures. To fix this, the authors introduce two new metrics:
- Material Classification Accuracy (MatC): Evaluates how well the RIR encodes the acoustic properties of a single material covering the entire scene.
- Material Distribution Accuracy (MatD): Uses $k$-means clustering on material masks to evaluate if the RIR accurately reflects complex, multi-material distributions.
Key Results
MatRIR achieves state-of-the-art performance across all test splits, outperforming both geometry-only models (Image2Reverb, FAST-RIR++) and joint material models (M-CAPA).
- Quantitative Improvements: On the most challenging unseen split ($D_{uu}$), MatRIR improves the RT60 Error (RTE) by 16.8% over M-CAPA.
- Material Accuracy Leap: MatRIR achieves a massive +71.2% relative improvement on the MatC metric and +9.25% on MatD, proving its superior sensitivity to surface materials.
- Perceptual Realism: In a human user study, participants preferred audio convolved with MatRIR’s generated responses over the strongest baseline 60.4% of the time.
Limitations and Future Work
A primary failure mode occurs when the input image is captured too close to a wall or obstacle. In these scenarios, the restricted field of view provides insufficient context about the broader room layout and surrounding materials. As a result, the model over-relies on local spatial cues and becomes less sensitive to the overall material configuration.
The authors suggest that incorporating a full 360° panoramic view of the scene could mitigate this limitation in future iterations.
Summary updated