Abstract
Room Geometry Inference (RGI) is the task of estimating a room's shape from acoustic measurements. Traditional methods often struggle with non-convex geometries and non-line-of-sight (NLOS) conditions where first-order reflections are absent. We introduce RGI-Net, a deep learning framework designed to reconstruct 3D room geometries from multichannel Room Impulse Responses (RIRs). By utilizing higher-order reflections and a probabilistic evaluation network, RGI-Net eliminates the need for fixed wall counts or convexity assumptions. Our model achieves over 99.7% accuracy in wall presence detection and maintains high geometric precision across diverse room shapes and noise levels.
Introduction
Room Geometry Inference (RGI) enables applications such as realistic 3D audio rendering, precise source localization, and effective dereverberation by "listening" to how sound interacts with surfaces. However, conventional RGI algorithms face significant challenges. Most models assume rooms are simple convex polygons, failing in non-convex environments like L-shaped rooms where certain walls may be hidden from the microphone's line-of-sight (LOS). Furthermore, many existing deep learning approaches require a predefined number of walls, limiting their flexibility in real-world settings.
Methodology
The proposed RGI-Net architecture addresses these limitations through three specialized sub-networks: a Feature Extractor, a Wall Parameter Estimator, and an Evaluation Network.
The Feature Extractor uses a 1D ResNet-based structure to process multichannel RIRs, capturing both inter-channel and temporal features. The Wall Parameter Estimator predicts geometric plane equations for up to $W_0=8$ potential wall candidates. Crucially, the Evaluation Network provides a presence probability for each candidate, allowing the model to dynamically determine the number of walls by discarding those with a probability below 0.9.
Exploiting High-Order Reflections
A key innovation of RGI-Net is its ability to leverage high-order reflections. While traditional methods treat late-stage echoes as noise, RGI-Net learns to extract information from multi-bounce reflections. This is particularly vital in NLOS scenarios where first-order reflections are missing; the network "looks" further into the RIR timeline to reconstruct hidden surfaces.
The model is trained using a combination of Angular Loss for geometric accuracy and Decision Loss (Binary Cross Entropy) for wall existence. Permutation Invariant Training (PIT) is employed to ensure the model is indifferent to the ordering of predicted walls.
Experimental Setup
RGI-Net was trained on a massive synthetic dataset of 600,000 RIRs generated via the Image Source Method. The dataset included various room types—shoebox, pentagonal, hexagonal, and L-shaped—in both LOS and NLOS configurations. A 6-microphone circular array was used as the receiver. To evaluate robustness, the researchers tested the model on data generated through ray-tracing with scattering coefficients and under varying noise conditions (20–30 dB and 10–20 dB SNR).
Results and Discussion
RGI-Net demonstrated exceptional performance across all tested scenarios. The model achieved a wall presence accuracy ($ACC_W$) of 99.95% in low-noise and 99.72% in high-noise environments.
Geometric precision remained high, with an average distance error ($\Delta d$) of approximately 10 cm. Even in challenging NLOS L-shaped rooms under high noise, the error was limited to 28 cm. Angular errors for dihedral angles ranged between 1.89° and 3.33°.
Analysis using activation maps confirmed that the network shifts its attention from early reflections (within 20ms) in convex rooms to late reflections (up to 60ms) in NLOS rooms. This validates the hypothesis that the model actively utilizes high-order echoes to "see" around corners. Furthermore, training on high-noise data improved the model's generalization to different simulation physics, such as ray-tracing.
Conclusion
RGI-Net represents a significant step forward in acoustic scene analysis by enabling robust geometry inference without prior knowledge of wall counts or convexity. While the current model is limited to a maximum of 8 walls and a specific microphone array, its ability to exploit high-order reflections opens new possibilities for 3D audio and spatial computing. Future work will focus on bridging the sim-to-real gap by incorporating more complex physical phenomena and adapting the architecture to diverse hardware configurations.
Summary updated