Abstract: Although significant progress has been made in room layout estimation, most methods aim to reduce the loss in the 2D pixel coordinate rather than exploiting the room structure in the 3D space. Towards reconstructing the room layout in 3D, we formulate the task of 360 layout estimation as a problem of predicting depth on the horizon line of a panorama. Specifically, we propose the Differentiable Depth Rendering procedure to make the conversion from layout to depth prediction differentiable, thus making our proposed model end-to-end trainable while leveraging the 3D geometric information, without the need of providing the ground truth depth. Our method achieves state-of-the-art performance on numerous 360 layout benchmark datasets. Moreover, our formulation enables a pre-training step on the depth dataset, which further improves the generalizability of our layout estimation model.
TL;DR
LED2-Net reformulates 360° room layout estimation as a 1D depth prediction problem along the horizon. By introducing a novel Differentiable Depth Rendering procedure, the model learns to optimize for 3D geometric accuracy rather than just 2D pixel coordinates, leading to state-of-the-art results and significantly better generalization across different environments.
What Problem Does This Paper Address?
Estimating the 3D layout of a room from a single 360° panorama is a cornerstone of VR/AR and indoor robotics. Traditionally, models like HorizonNet treat this as a 2D task: they predict the boundaries where walls meet the floor and ceiling directly on the equirectangular image.
The fatal flaw in this approach is that it is geometry-agnostic. A small error in 2D pixel coordinates can translate to a massive error in 3D space, depending on how far that point is from the camera. Furthermore, standard 2D losses (like IoU on the panorama) don't distinguish between a "near" corner and a "far" corner. The authors argue that to reconstruct a room accurately in 3D, the training objective itself must exist in 3D.
Methods
The core innovation is the L2D (Layout-to-Depth) transformation, which makes the conversion from 2D layout boundaries to 3D depth maps fully differentiable.
- Horizon-Depth Representation: Instead of predicting a dense 2D depth map (which is computationally expensive and often noisy), the model predicts depth values only along the horizon line. This "horizon-depth" is sufficient to recover the entire 3D structure under the Manhattan World assumption.
- Layout Plane Recovering: The network predicts spherical coordinates for boundary points. These are projected onto 3D planes (floor and ceiling) using a fixed camera height (standardized to 1.6m).
- Grid Re-sampling & Ray Casting: The model casts a set of rays ($M$ rays) from the camera center toward the recovered wall planes.
- Differentiable Rendering: It calculates the intersection distance for each ray. Because this entire pipeline is differentiable, the model can be trained using a simple L1 loss between the predicted 3D depth and the ground truth depth (derived from layout annotations).
The architecture uses a ResNet-50 backbone to extract features, followed by a bi-LSTM to enforce global continuity across the 360° view.
Datasets
The authors evaluated LED2-Net on four major benchmarks:
- Realtor360: Real-world panoramas from real estate listings, often featuring complex, multi-corner rooms.
- Matterport3D: A large-scale dataset with high-quality depth data and complex layouts.
- PanoContext & Stanford2D3D: Standard benchmarks primarily consisting of simpler, cuboid-shaped rooms.
- Structure3D (Pre-training): A synthetic dataset used to pre-train the model on depth, which significantly improves the model's ability to generalize to unseen real-world data.
Key Insights and Ideas
- 3D Loss Matters: By shifting the loss function from 2D pixels to 3D depth, the model naturally learns to be more precise in areas where geometric errors would be most damaging to the final reconstruction.
- Differentiability is Key: Previous attempts to use depth constraints often required non-differentiable post-processing. LED2-Net brings the geometry into the end-to-end training loop.
- Leveraging Synthetic Data: Because the model treats layout as a depth problem, it can leverage synthetic depth datasets. Pre-training on Structure3D provided a major boost in cross-dataset performance, proving the model learns general geometric priors.
- Efficiency through Sparsity: By focusing only on the horizon line and using a flexible number of casting rays ($M$), the model achieves high accuracy without the overhead of dense 3D reconstruction.
Key Results
LED2-Net achieved state-of-the-art (SOTA) performance across the board, with the most notable gains in complex environments:
- Complex Layouts: On the Realtor360 dataset for rooms with 10+ corners, LED2-Net achieved a 76.20% 3D IoU, vastly outperforming the previous SOTA, HorizonNet (73.64%).
- Generalization: In cross-dataset tests, LED2-Net showed much higher robustness. With pre-training, it reached 80.52% 3D IoU on Realtor360, while baselines struggled significantly lower.
Limitations and Future Work
- Manhattan World Assumption: LED2-Net assumes rooms consist of flat planes and perpendicular walls, which may not hold for curved or irregular architecture.
- Fixed Camera Height: The model assumes a fixed camera height of 1.6m to resolve scale, limiting its use in scenarios where camera elevation is variable.
- Future Directions: Expanding the model to handle non-Manhattan geometries or incorporating more diverse 3D priors are promising next steps.
Summary updated