Sparse Multi-Object Render-and-Compare

Florian Langer, Ignas Budvytis, Roberto CipollaarXiv 2023

TL;DR

Multi-SPARC introduces a joint "render-and-compare" framework for aligning CAD models to multiple objects in a single image. By leveraging a Perceiver-based architecture to model inter-object relations and using sparse sampling for efficiency, it achieves state-of-the-art accuracy on the ScanNet benchmark while being up to 5x faster than sequential refinement methods.

What Problem Does This Paper Address?

Reconstructing 3D scenes from a single 2D image is a cornerstone of robotics and augmented reality. While some methods try to "hallucinate" 3D shapes directly, these often result in unrealistic, "blobby" objects. A more robust alternative is retrieval-based alignment: finding a clean CAD model from a database and precisely positioning it to match the image.

However, existing alignment methods face a trade-off. Direct regression methods are fast but inaccurate. Iterative "render-and-compare" methods (like the original SPARC) are accurate but slow because they process every object in a scene one by one, ignoring the spatial relationships between them (e.g., a chair is usually tucked under a table). The authors aim to bridge this gap by creating a system that is both fast and context-aware.

Figure 1: State-of-the-art methods for CAD model alignment from a single image. Using normalised object coordinates ROCA’s [14] alignments suffer from constant offsets. SPARC [24] produces more accurate alignments, but predicts CAD model poses individually which is slow and leads to worse predictions. In our method CAD model alignments are predicted jointly which is faster and more accurate.

Methods

The authors propose Multi-SPARC, an iterative refinement network. The pipeline works in three main stages:

  1. Detection & Initial Estimation: The system uses standard tools (like Mask R-CNN) to detect 2D bounding boxes and retrieve candidate CAD models.
  2. Sparse Input Generation: Instead of processing high-resolution images, the network samples "sparse" information. It picks pixels from the image (RGB, surface normals, depth) and reprojects points from the current 3D CAD model pose back onto the image plane.
  3. Joint Refinement (Multi-SPARC-Net): This is the core innovation. Using a Perceiver-based architecture, the network takes the sparse features of all detected objects simultaneously.
  4. Cross-Attention: Encodes per-object information into a latent space.
  5. Self-Attention: Allows the network to reason about inter-object relations (jointly predicting poses).
  6. Iterative Updates: The network outputs updates for rotation ($\Delta R$), translation ($\Delta T$), and scale ($\Delta S$). This process repeats for three iterations to "snap" the models into place.

A crucial addition is a learned classification score ($\sigma$). Since rotation is ambiguous from a single view, the system tries four different initial rotations and uses this score to pick the most plausible final alignment.

Figure 2: Method: Left side: For all 2D detections we sample the RGB values (RGB), sur- face normals (N), depth values (D) and instance segmentation mask values (S) from inside the detected bounding boxes and for pixel bearing (Px,Py,Pz) onto which a 3D CAD point is reprojected. CAD model information is encoded by reprojecting 3D points and surface normals into the image plane. Right side: Using Multi-SPARC-Net we encode information for each alignment separately into a latent space using cross-attention. Repeating blocks of separate cross-attention followed by self-attention layers three times we decode from each part of the latent space separately to predict pose updates ∆R, ∆T and ∆S as well as a classi- fication score σ. Pose updates are used to iteratively refine CAD model poses and σ is used for choosing the best alignment from different rotation initialisations (see Fig. 4a).

Datasets

  • ScanNet (ScanNet25k): The primary real-world benchmark consisting of indoor scenes. Evaluation follows the Scan2CAD protocol.
  • 3D-Future: A large-scale synthetic dataset of furniture. The authors used this for pre-training because these models are "watertight" and produce cleaner surface normal renders than the older ShapeNet models typically used in the field.

Key Insights and Ideas

  • Joint Reasoning is Better: Aligning objects together isn't just a speed hack; it improves accuracy. By seeing multiple objects at once, the network can learn that objects shouldn't overlap and should follow common scene layouts.
  • Sparse is Sufficient: You don't need every pixel to align a 3D model. Sampling just a few hundred points from the image and the CAD model provides enough geometric signal for high-precision alignment while drastically reducing computational load.
  • Separate Encoding/Decoding: The authors found that while joint reasoning (self-attention) is vital, it is equally important to encode and decode each object's specific features separately to prevent the network from getting "confused" between different instances.
  • Synthetic Pre-training Matters: Training on 10 million synthetic renders from 3D-Future provided a massive 4% accuracy boost on real-world data, proving that geometric alignment features generalize well from synthetic to real domains.

Key Results

Multi-SPARC sets a new state-of-the-art for single-view CAD alignment on ScanNet:

  • Accuracy: Instance alignment accuracy jumped from 31.8% (ROCA) to 40.3%. This performance is remarkably close to state-of-the-art multi-view methods (41.0%) that use entire video sequences.
  • Speed: By processing objects jointly, the system is up to 5x faster than sequential iterative methods. A scene with five objects can be reconstructed in roughly 864ms.
  • Calibration: The learned 3D classification score is significantly better at identifying successful alignments than standard 2D detection confidence scores.

Limitations and Future Work

Despite the gains, the system still struggles with fine-grained orientation. For example, it sometimes confuses the front and back of a computer monitor because they look similar when represented by sparse pixels.

Future directions include extending this joint "render-and-compare" logic to multi-view video settings and exploring the use of larger foundational vision models to improve the initial feature extraction.

Summary updated

BibTeX
@misc{langer2023sparse,
  author = {Florian Langer and Ignas Budvytis and Roberto Cipolla},
  title = {{Sparse Multi-Object Render-and-Compare}},
  year = {2023},
  eprint = {2310.11184},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.11184},
}
Figure