Dual Quadrics from Object Detection BoundingBoxes as Landmark Representations in SLAM

Niko Sünderhauf, Michael MilfordarXiv 2017

TL;DR

This paper introduces a novel SLAM formulation that uses dual quadrics (3D ellipsoids) as compact, semantically meaningful landmarks. By leveraging 2D bounding boxes from standard object detectors, the authors demonstrate how to jointly estimate robot poses and 3D object parameters within a factor graph framework, bridging the gap between high-level computer vision and geometric mapping.

What Problem Does This Paper Address?

Traditional Simultaneous Localization and Mapping (SLAM) systems typically rely on geometric primitives like points, lines, or planes. While effective for navigation, these maps lack "semantic richness"—they don't tell a robot what objects are in its environment or how to interact with them.

Existing attempts to add semantics often fall into two extremes: either requiring a-priori known 3D CAD models of every object (which is brittle in the real world) or creating dense, computationally expensive point clouds with semantic labels. There is a missing middle ground: a compact, object-oriented representation that can be directly constrained by the output of modern deep-learning-based object detectors (like Faster R-CNN or SSD).

Methods

The authors propose using dual quadrics as the primary landmark representation. In projective geometry, a quadric (like an ellipsoid) can be represented by a $4 \times 4$ symmetric matrix.

The core technical contribution is the derivation of how 2D bounding boxes constrain these 3D quadrics:

  1. From Boxes to Planes: A 2D bounding box consists of four lines. When back-projected through a camera, these lines become four 3D planes that form an "envelope" around the object.
  2. The Dual Constraint: The authors utilize the property that a dual quadric projected onto an image plane creates a dual conic. They formulate a constraint where the planes derived from the bounding box must be tangent to the 3D quadric.
  3. Factor Graph Optimization: These constraints are integrated into a factor graph. This allows the system to jointly optimize the robot's trajectory (odometry) and the landmarks' shapes and positions (quadric parameters) using standard nonlinear least-squares solvers like GTSAM.

The method supports both purely monocular setups and "RGB-D" scenarios where additional depth information provides relative position constraints.

Datasets

The authors evaluated their approach using a synthetic dataset designed to simulate realistic robotic challenges:

  • Environment: A 130-meter trajectory with 10 randomly placed 3D objects (cubes).
  • Noise Profile: They added Gaussian noise to the robot's odometry, the corners of the 2D bounding boxes, and the depth measurements to test the robustness of the optimization.
  • Comparison: The system was tested in two modes: monocular vision only and vision with relative pose (depth) information.

Key Insights and Ideas

  • Compactness is Key: Unlike dense reconstructions, a dual quadric is defined by just 9 degrees of freedom. This makes it incredibly efficient for large-scale mapping while still capturing an object's position, orientation, and approximate size.
  • Direct Integration: The "aha moment" is that you don't need to fit ellipses to objects in the image first (a common pre-processing step in earlier work). The 2D bounding box edges themselves act as the tangential constraints for the 3D ellipsoid.
  • Loop Closure via Objects: Because the system treats objects as landmarks, re-observing a previously seen object naturally facilitates loop closure, helping to correct the accumulated drift in the robot's odometry.

Key Results

The evaluation showed that the joint SLAM solution significantly outperforms raw odometry.

Figure 1: Six example robot trajectories and landmark positions from the evaluation. The initial estimate based on noisy odometry readings is plotted in blue, green shows the ground truth. The SLAM solution obtained by solving the factor graph is illustrated in red and shows how our proposed system can significantly improve both the robot trajectory estimate and the estimated landmark centroids.

As seen in Figure 1, the optimized red trajectories closely align with the green ground truth, effectively "pulling" the noisy blue odometry back into place.

Quantitatively, the results in Table 1 highlight the impact of the dual quadric representation: Extracted table from page 7 showing RMSE improvements.

Extracted table from page 7 showing RMSE improvements.

In the monocular case, the average position error ($RMSE_{pos}$) dropped from 5.31m to 4.12m. When depth information was included, the error plummeted to 1.75m, demonstrating how semantic landmarks provide strong geometric anchors for the SLAM system.

Limitations and Future Work

The authors identify a few critical areas for improvement:

  • Degenerate Trajectories: The system struggles with strictly planar camera motion (e.g., a robot moving on a flat floor without looking up/down). This can lead to "badly constrained" systems where the quadric parameters are difficult to resolve.
  • Shape Approximation: Quadrics are ellipsoids. While great for many objects, they are poor approximations for very elongated or complex shapes. The authors suggest that quadrics could eventually serve as "anchors" for more detailed 3D reconstructions like truncated signed distance fields (TSDFs).
  • Data Association: The current work assumes the robot knows which detection belongs to which physical object. Future work will need to integrate robust data association to handle real-world clutter and misdetections.

Summary updated

BibTeX
@misc{sunderhauf2017dual,
  author = {Niko Sünderhauf and Michael Milford},
  title = {{Dual Quadrics from Object Detection BoundingBoxes as Landmark Representations in SLAM}},
  year = {2017},
  eprint = {1708.00965},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.00965},
}
Figure