Generating Holistic 3D Scene Abstractions for Text-Based Image Retrieval

Ang Li, Jin Sun, Joe Yue-Hei Ng, Ruichi Yu, Vlad I. Morariu, Larry S. Davis

Introduction

Retrieving images based on complex natural language descriptions remains a significant challenge in computer vision. While humans naturally describe scenes in terms of 3D spatial relationships—such as "a lamp on a nightstand behind a bed"—most current retrieval systems operate primarily in 2D. This paper introduces a novel framework that bridges this gap by parsing text into 3D scene abstractions and matching their 2D projections against real-world images.

The Challenge of 2D Retrieval

Existing image retrieval methods typically attempt to map natural language directly to 2D image coordinates. This approach faces three major hurdles:

  1. Viewpoint Ambiguity: A 3D relationship like "behind" can manifest as "above," "left," or even be completely obscured in a 2D projection, depending on the camera angle.
  2. Data Scarcity: Learning these complex mappings requires vast amounts of precisely annotated data, which is difficult to obtain for rare spatial configurations.
  3. Holistic Consistency: Independent pairwise models often fail to ensure that all objects in a retrieved scene are viewed from a single, consistent perspective.

The Generative 3D Pipeline

To overcome these issues, the authors propose a generative pipeline that translates text into 3D space before projecting it back to 2D for matching.

Overview of the proposed generative pipeline for text-based image retrieval.

Text Parsing and Semantic Triplets

The process begins by converting natural language queries into a structured scene graph. Using the Stanford CoreNLP library, the system extracts "semantic triplets" (e.g., [lamp-0, night-stand-0, on]). This stage handles object counts and co-references to ensure a coherent initial model.

Example of natural language descriptions converted into semantic triplets.

3D Scene Generation and Interval Analysis

Objects are represented as 3D cuboids, and spatial relations are defined as mathematical inequality constraints based on physical properties. To find valid layouts, the system employs an Interval Analysis Solver. Rather than searching for a single point, it identifies "feasible regions" where objects can reside without violating physics or the textual description. A key innovation, Interval Shrinkage, prunes the search space efficiently, allowing the solver to find solutions in approximately 6 seconds, compared to over 10 minutes for standard implementations.

2D Projection and Matching

The system samples feasible 3D layouts and projects them into 2D from various hypothetical camera angles. These projections serve as "reference layouts" which are then compared against object detection bounding boxes in the target image database. An Intersection over Union (IoU) based scoring function determines the final ranking.

Experimental Evaluation

The framework was evaluated on the SUN RGB-D and 3DGP indoor scene datasets. The results demonstrate the power of incorporating physical 3D priors:

  • Superior Accuracy: On SUN RGB-D, the proposed model achieved a Recall@100 of 48.1%, significantly higher than the keyword-based baseline (20.0%) and the 2D-learning baseline (44.0%).
  • Complementary Strengths: When integrated with 2D learned models, performance reached 50.7% R@100, indicating that 3D modeling captures spatial nuances that purely data-driven 2D methods overlook.

Discussion and Limitations

By using physics as a prior, the system achieves impressive "zero-shot" understanding of spatial relations without requiring massive labeled datasets. However, several limitations remain. The current system relies on a fixed vocabulary of objects and relations and uses simplified cuboid geometry. Furthermore, retrieval performance is heavily dependent on the quality of the underlying object detector. Future work may involve incorporating more complex 3D meshes and extending the physical priors to accommodate outdoor environments.

Summary updated

BibTeX
@inproceedings{li2017generating,
  author = {Ang Li and Jin Sun and Joe Yue-Hei Ng and Ruichi Yu and Vlad I. Morariu and Larry S. Davis},
  title = {{Generating Holistic 3D Scene Abstractions for Text-Based Image Retrieval}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.210},
}
Figure