TL;DR
DetAny4D introduces an open-set, end-to-end framework for 4D object detection directly from streaming RGB video, eliminating the temporal jitter of frame-by-frame methods and the error propagation typical of multi-stage pipelines. To power this approach, the authors release DA4D, a massive dataset containing over 280k sequences with spatiotemporal-aligned 3D bounding box annotations.
What Problem Does This Paper Address?
3D object detection from streaming video (often formulated as 4D object detection) is a foundational task for robotics and autonomous driving. However, existing methods generally fall into two flawed paradigms:
- Monocular frame-by-frame detection: These methods predict 3D boxes on individual frames independently. Because they lack temporal awareness, transforming these boxes into global coordinates results in severe inter-frame jitter and inconsistency.
- Multi-stage pipelines: These approaches attempt to fix the jitter by post-processing single-frame detections with separate tracking and 3D association modules. However, they are complex, cumbersome, and highly prone to error propagation across cascaded stages.
Furthermore, progress in open-set 4D detection has been severely bottlenecked by the lack of large-scale, continuous video datasets featuring high-quality, spatiotemporal-aligned 3D bounding box annotations.
Methods
The authors propose DetAny4D, an open-set, end-to-end framework that directly predicts globally consistent 3D bounding boxes from sequential RGB inputs.
Key components of the architecture include:
- Multi-Modal Feature Extraction: The model fuses visual features from pre-trained foundation models (SAM and DINOv2) with geometric priors (metric depth and camera intrinsics) predicted via an integrated depth/camera head.
- Spatiotemporal Decoder: Instead of independent frame processing, features are fed into a decoder composed of Causal Attention Blocks (CAB). By utilizing a lower-triangular causal mask, the model ensures that predictions for the current frame leverage historical context without illegally "looking into the future," making it fully compatible with real-time streaming applications.
- Multi-Task Heads: The network simultaneously optimizes for camera intrinsics, relative camera pose, and 3D bounding boxes across the sequence.
- Symmetry-Aware & Consistency Losses: To handle geometrically symmetric objects (where length and width definitions can easily flip depending on the viewpoint), the authors design a robust soft dimension loss ($L_{dim}$). Additionally, they introduce spatiotemporal consistency losses ($L_{spatial}$ and $L_{temp}$) that penalize discrepancies between per-frame predictions and their global temporal average.
Datasets
A major contribution of this work is DA4D, a large-scale 4D object detection dataset. It unifies 12 different datasets into a single benchmark:
- Single-frame base: Built upon Omni3D (which includes ArkitScenes, Hypersim, KITTI, nuScenes, Objectron, and SUNRGBD).
- Sequential additions: Integrates continuous video sequences from Replica, MP3D, HM3D, HSSD, Gibson, and ScanNet.
The resulting dataset contains over 280k sequences (170k multi-frame sequences for 4D training and 110k single frames).
To ensure high-quality ground truth, the authors designed a data processing pipeline that filters out heavily occluded or out-of-view objects. Crucially, they implement a 3D B-box adaptation strategy (shown in Figure 2): if an object is only partially visible when it enters the frame, the ground-truth box dynamically expands based on the accumulated point cloud rather than naively projecting the full global box immediately.
Key Insights and Ideas
- End-to-End Temporal Modeling Mitigates Jitter: By embedding causal attention directly into the decoding process, the network learns to smooth out bounding box transitions implicitly, bypassing the need for fragile, hand-crafted tracking filters (like Kalman filters).
- Dynamic Ground-Truth Adaptation: Recognizing that predicting a full 3D box for a barely visible object causes training instability, the authors' strategy of incrementally growing the ground-truth box based on historical visibility provides a much cleaner supervisory signal.
- Softmin Dimension Matching: Standard L1 losses fail when a model correctly predicts a box's shape but swaps its length and width orientation due to symmetry. The softmin-based dimension loss elegantly resolves this optimization hurdle.
Key Results
The authors evaluated DetAny4D against leading monocular 3D detectors and multi-stage video methods across several sub-datasets:
- Significant Jitter Reduction: DetAny4D achieves a 10% to 30% reduction in cross-frame variance ($Var_v$ and $Var_c$) compared to top-performing single-frame baselines like DetAny3D and Cube R-CNN, demonstrating vastly superior temporal stability.
- Competitive Accuracy: On the Full DA4D benchmark, DetAny4D achieves an Average Precision ($AP_{3D}$) of 27.48, outperforming both single-frame baselines and multi-stage video-based detectors (such as Kinematic3D at 25.46).
- Strong Open-Set Performance: When evaluated on open-set global box prediction tasks, DetAny4D achieves an F1 score at [email protected] of 49.7, comfortably beating point-cloud-based methods like SpatialLM (27.1) and multi-stage RGB-D methods like ConceptGraphs (45.6).
Limitations and Future Work
Not discussed in the main paper text (relegated to the supplementary materials).
Summary updated