Source-linked AI summary

Holistic 3D Scene Parsing and Reconstruction from a Single RGB Image

Siyuan Huang, Siyuan Qi, Yixin Zhu, Yinxue Xiao, Yuanlu Xu, Song-Chun Zhu

arXiv:1808.02201v1cs.CV

TL;DR

Indoor-scene understanding involves more than recognizing visible objects; it also requires reasoning about latent human context, geometry, and physical plausibility. This paper uses a Holistic Scene Grammar for joint reconstruction from a single RGB image and reports improved results across tasks and over other methods.

  • Problem

    Indoor-scene understanding must go beyond visible-object recognition and appearance- and geometry-based tasks to represent latent human context, hierarchical 3D structure, and physically plausible configurations.

    Source: §1 · p. 1
  • Method

    The Holistic Scene Grammar represents latent functional groups and geometric object relations, then uses analysis-by-synthesis comparisons of rendered depth, normals, and segmentation to reconstruct scenes from one RGB image.

    Source: §1 · p. 2
  • Results

    Joint inference significantly improves results across various individual tasks and outperforms other methods; 3D layout performance improves by 8.2% after jointly inferring objects and layout.

    Source: §5 · p. 12, §6 · p. 14
  • Takeaways & Limitations

    The work is presented as a step toward a unifying framework for holistic 3D scene understanding.

    Source: §6 · p. 14

    Room-geometry initialization assumes cameras are 1.2 m high and ceilings are 3.0 m high.

    Source: §4.1 · p. 9

Abstract

from arXiv · show

We propose a computational framework to jointly parse a single RGB image and reconstruct a holistic 3D configuration composed by a set of CAD models using a stochastic grammar model. Specifically, we introduce a Holistic Scene Grammar (HSG) to represent the 3D scene structure, which characterizes a joint distribution over the functional and geometric space of indoor scenes. The proposed HSG captures three essential and often latent dimensions of the indoor scenes: i) latent human context, describing the affordance and the functionality of a room arrangement, ii) geometric constraints over the scene configurations, and iii) physical constraints that guarantee physically plausible parsing and reconstruction. We solve this joint parsing and reconstruction problem in an analysis-by-synthesis fashion, seeking to minimize the differences between the input image and the rendered images generated by our 3D representation, over the space of depth, surface normal, and object segmentation map. The optimal configuration, represented by a parse graph, is inferred using Markov chain Monte Carlo (MCMC), which efficiently traverses through the non-differentiable solution space, jointly optimizing object localization, 3D layout, and hidden human context. Experimental results demonstrate that the proposed algorithm improves the generalization ability and significantly outperforms prior methods on 3D layout estimation, 3D object detection, and holistic scene understanding.

1 Introduction

The paper proposes a Holistic Scene Grammar for reconstructing a scene’s functional hierarchy and 3D geometry from one RGB image, using latent human context, geometric relations, and physical constraints. Joint inference compares rendered depth, normal, and segmentation projections with image estimates.

1 Introduction

  • Analysis-by-synthesis combines a stochastic grammar, direct depth, normal, and segmentation estimates, and rendered images; MCMC with simulated annealing iteratively refines a parse graph.The objective compares observed-image estimates with projections rendered from the inferred 3D structure.Source: §1 · pp. 2–3, §1.2 · p. 4

1.1 Related Work

  • Prior single-image reconstruction approaches predict layouts, align object proposals, or jointly estimate layouts and objects; unlike Izadinia et al., this method adds hierarchical structure, human context, and physical constraints.The HSG also differs from earlier grammar models by representing objects with CAD models and inferring hidden people and activity groups.Source: §1.1 · pp. 3–4

1.2 Contributions

  • The method integrates CAD-based geometry and physical constraints to jointly optimize room layouts and object configurations, including learned support relations that allow objects not to rest on the ground.It aims to improve parsing and reconstruction on SUN RGB-D while accommodating complex real-world object relations.Source: §1.2 · p. 4
  • The grammar represents hidden human context by imagining latent poses in activity groups, allowing joint optimization of visible and invisible scene components.Its functional hierarchy includes activity groups and models human-object relations alongside object-object relations.Source: §1 · p. 2, §1.2 · p. 4
  • The framework uses inferred depth, surface normals, and object segmentation to assist reconstruction of room layouts and multiple objects, extending similar intermediate representations beyond single objects.The paper presents this as the first use of these maps for parsing and reconstructing both room layout and multiple objects.Source: §1.2 · p. 4

2 Holistic Scene Grammar

The Holistic Scene Grammar (HSG) represents indoor scenes by linking a hierarchy of functional context to geometric object arrangements. Its parse graph combines functional and geometric components with contextual relations among terminal objects.

2 Holistic Scene Grammar

  • HSG combines a functional-space probabilistic context-free grammar with a geometric-space Markov random field, forming a stochastic context-sensitive grammar.The functional hierarchy models activity groups, while the geometric space captures spatial context among terminal objects.Source: §2 · p. 5
  • The HSG is defined by a five-tuple of root node, functional and geometric vertices, production rules, terminal-node relations, and a parse-graph probability model.Source: §2 · p. 5
  • Terminal object entities are CAD models parameterized by 3D size, location, and orientation, while room layouts are cuboids decomposed into five planar surfaces.The surfaces are the left wall, right wall, middle wall, floor, and ceiling in camera coordinates.Source: §2 · p. 5
  • Production rules expand scenes into categories and activity groups into functional objects, while relations encode object positions, orientations, grouping, and support.For example, a scene may expand to an office or kitchen, and sitting may decompose into a desk and chair.Source: §2 · p. 5
  • A scene configuration is a parse graph split into functional and geometric parts, with terminal nodes representing room layouts and objects together with their attributes and relations.Source: §2 · p. 5

3 Probabilistic Formulation

The formulation infers a parse graph by maximum a posteriori estimation, combining functional and geometric priors with an image likelihood. Its energies model scene grammar, object relations, latent human context, physical plausibility, and agreement between observed and rendered scene features.

Probabilistic formulation

  • The optimal parse graph is estimated by MAP inference, with its prior factorized into functional and geometric components and image likelihood conditioned on geometry.The joint distribution is modeled with a Gibbs distribution whose energies correspond to the functional prior, geometric prior, and image likelihood.Source: §3 · p. 6

Functional prior

  • The functional prior encodes hierarchical structure and production rules, using multinomial selection probabilities for alternative and combination rules and probability 1 for deterministic expansion.Source: §3 · p. 6

Geometric prior

  • The geometric prior models object size, position, and orientation, plus support relations using relative heights, overlap, and prior relation frequencies.Object scale distributions are modeled non-parametrically with kernel density estimation.Source: §3 · p. 6

Human-centric grouping

  • Human-centric grouping links activity groups to imagined latent human poses, jointly modeling human-object relations alongside visible scene entities.Each imagined human is parameterized by activity type, mean pose, translation, rotation, and scale; geometric distances, heights, and orientation differences relate the pose to objects.Source: §3 · p. 7

Physical constraints

  • Physical constraints penalize objects that overlap one another or extend beyond the room cuboid.The formulation measures overlapping area between objects and area extending beyond the layout.Source: §3 · p. 7

Image likelihood

  • The image likelihood compares observed and rendered depth, surface-normal, and object-segmentation maps pixel by pixel, rather than comparing RGB images.The observed maps are estimated from the image, while the parse graph is rendered through forward graphics; energy-term weights are learned by cross-validation or set empirically.Source: §3 · pp. 7–8

4 Inference

Inference seeks the parse graph that best explains the input image while recovering 3D scene structure. It proceeds through room geometry estimation, object initialization, and joint optimization of objects, layout, and hidden human context.

4.1 Room Geometry Estimation

  • A learned network estimates the 2D room layout and camera parameters, whose projection initializes a 3D room cuboid.The method assumes camera and ceiling heights of 1.2 m and 3.0 m, respectively.Source: §4.1 · pp. 8–9

4.2 Objects Initialization

  • Detected objects are initialized with retrieved CAD models and estimated 3D poses, positions, and sizes, without assuming all objects rest on the floor.Retrieval ranks rendered candidates by feature cosine distance and returns the top 10 models; object depth is estimated from pixels shared by the detection box and segmentation map, while size is sampled from a learned distribution.Source: §4.2 · p. 9

4.3 Joint Inference

  • Joint inference uses MCMC to optimize objects and layout, assign activity groups, infer human poses, and iteratively optimize the full parse graph.Objects may belong to multiple activity groups; sampled poses are estimated for the activity groups, including multiple poses for objects shared across groups.Source: §4.3 · pp. 10–11, Figure 4 · p. 11

5 Experiments

The experiments evaluate 3D layout estimation, 3D object detection, and holistic scene understanding using RGB-only input on all 5,050 SUN RGB-D test images. Results report gains over initialization, prior methods, and component ablations.

Holistic Scene Understanding

  • Holistic scene understanding improves initialization by 12.2% on geometric precision, 7.5% on geometric recall, 6.1% on semantic recall, and 4.1% on free-space estimation.The authors attribute the overall improvement to joint inference.Source: Table 1 · p. 12, §5 · p. 14

3D Layout Estimation

  • Joint inference improves 3D layout estimation by 8.2% and outperforms 3DGP by a large margin.On the entire set of living rooms and bedrooms, the method also surpasses IM2CAD, especially with joint inference.Source: Table 1 · p. 12, §5 · p. 12

Holistic Scene Understanding

  • The method improves free-space IoU by 3.1% over IM2CAD under the 3D layout estimation comparison setting.The holistic evaluation uses geometric precision, geometric recall, semantic recall, and free-space IoU at an IoU threshold of 0.15.Source: Table 1 · p. 12, §5 · pp. 13–14

3D Object Detection

  • On IM2CAD’s distance-threshold subset, mAP is 80.2% versus 74.6%; Table 2 reports 15 of 30 categories using IoU threshold 0.15.The full object-category detection table is in the supplementary material.Source: Table 2 · p. 12, §5 · p. 13

Experimental Setup

  • The evaluation uses RGB images alone and covers all SUN RGB-D scene categories, addressing generalization challenges from camera-parameter errors and cluttered-scene occlusions.The authors also report state-of-the-art 2D layout estimation results on LSUN and Hedau in the supplementary material.Source: §5 · p. 12

Ablative Analysis

  • In office-scene ablations, physical constraints influence performance the most, and omitting iterative joint inference causes a large performance drop.The ablation varies support relations, physical constraints, latent human context, and inference settings.Source: Table 3 · p. 14, §5 · p. 14

6 Conclusion

The paper presents an analysis-by-synthesis framework for recovering indoor-scene 3D structure from one RGB image using a stochastic grammar model that integrates latent human context, geometry, and physics. It reports improvements across individual tasks, better performance than other methods, and evidence that each module contributes to the framework.

6 Conclusion

  • The framework recovers indoor-scene 3D structure from a single RGB image using a stochastic grammar model integrating latent human context, geometry, and physics.It uses an analysis-by-synthesis approach.Source: §6 · p. 14
  • The joint inference algorithm significantly improves results across various individual tasks and outperforms other methods.The conclusion does not specify individual metrics or comparison values.Source: §6 · p. 14
  • Ablative analysis shows that each module plays an important role in the overall framework, which the authors view as a step toward unified holistic 3D scene understanding.Source: §6 · p. 14

1 Learning of Prior Knowledge

Prior knowledge is learned in two stages: scene and object statistics from SUN RGB-D, and human-centric grouping and geometric relations from Watch-n-Patch.

1 Learning of Prior Knowledge

  • The method learns scene categories, object categories, object sizes, and support relations from SUN RGB-D, then grouping occurrences and human-object geometry from Watch-n-Patch.These statistics provide priors for the scene grammar.Source: §1 · p. 18
  • SUN RGB-D priors model scene types, object categories, and support relations with multinoulli distributions, while object-size distributions use non-parametric kernel density estimation [1].Branching probabilities count alternative-choice frequencies; for example, a lamp is supported by the floor with probability 0.4 and by a desk with probability 0.2.Source: §1 · p. 18
  • Watch-n-Patch office videos provide activity-conditioned object-occurrence priors and human-object relations modeled as normal distributions of relative distance, height, and orientation [2].The learned activities are reading, play-computer, take-item, and put-down-item; object occurrences are counted around humans within a distance threshold.Source: §1 · p. 18

2 2D Room Layout Estimation

The room-layout network jointly predicts room type and keypoints from one image, using a stacked-hourglass architecture and heatmap and classification losses.

2 2D Room Layout Estimation

  • One model predicts room type and 48 keypoints across 11 room types, trained with Euclidean heatmap-regression and room-type cross-entropy losses.The 11 room types cover most indoor-scene configurations under the Manhattan-world assumption.Source: §2 · pp. 18–19, Figure 1 · p. 19
  • The network replaces SegNet with stacked hourglass modules for repeated bottom-up and top-down inference.The stacked-hourglass architecture is used instead of the SegNet architecture in.Source: §2 · p. 19, Figure 2 · p. 19
  • Training uses 256x256 inputs, 64x64 keypoint heatmaps, Adam, batch size 16, learning rate 0.0001, and 150 epochs.Background-pixel gradients are scaled by 0.2 to address foreground-background imbalance; training takes about two days on a 12GB NVIDIA Titan X GPU.Source: §2 · p. 19

3 Implementation Details

The implementation combines SUN RGB-D object detection and layout training with pretrained image-estimation models and constrained joint inference.

3 Implementation Details

  • The detector is fine-tuned on SUN RGB-D for 30 categories, and heatmap features further train camera parameters and scene categories from ’s layout model.Because and lack camera-parameter ground truth, initializes layout training; three fully connected layers (512-16-1) use heatmap features. Depth, surface-normal, and segmentation models,, and are trained on SUN RGB-D or NYU v2. Human-context inference is used only for offices; scene category, object categories, and support relations are fixed during joint inference. OpenGL renders each map in about 1 second, and joint inference averages about one hour per image on one CPU core.Source: §3 · p. 20

4 Additional Experiment Results

The experiments evaluate 2D and 3D layout estimation, camera parameter estimation, and 3D object detection. The reported results show strong 2D layout performance and camera estimates that generalize across indoor scenes, while geometry-based methods struggle in some cluttered or specific scene categories.

4.1 Evaluation of 2D Layout Estimation

  • 5.22% keypoint error outperforms existing methods, with pixel error comparable to the previous best on both LSUN and Hedau.The evaluation uses pixel errors and keypoint errors for 2D layout estimation.Source: Table 1 · p. 20, §4.1 · pp. 20–21

4.2 Evaluation of Camera Parameter Estimation

  • The method significantly improves mean absolute camera-parameter error over the traditional geometry-based method and estimates across indoor scenes, while geometry-based methods falter in cluttered scenes.Geometry-based methods perform well in clean scenes with clear orthogonal lines, such as receptions, but poorly in cluttered scenes such as storage rooms.Source: Table 2 · p. 21, §4.2 · p. 21, Figure 3 · p. 22

4.4 Evaluation of 3D Object Detection

  • The 3D object detection evaluation covers 30 object categories on SUN RGB-D.Table 3 presents the comparisons, but the supplied passage does not report specific detection results.Source: Table 3 · p. 21, §4.4 · p. 22

4.3 Evaluation of 3D Layout Estimation

  • Figure 4 compares 3D layout estimation across categories and shows 3DGP failing in categories including dinette and cafeteria.The paper identifies these failures as reflecting drawbacks of geometry-based methods.Source: §4.3 · p. 21, Figure 4 · p. 22

5 More Qualitative Results

This section presents additional qualitative results in Figure 5 and its continuation panels.

Loading 1808.02201v1…