Monocular temporal 3D detection aims to detect objects in 3D, given a monocular video. Query-based 3D detectors unify detection and cross-view association, but their learnable queries fit the spatial distribution of the training data (e.g., field-of-view). We show that this issue is especially severe when these models are applied to monocular video, hindering generalization to unseen datasets and environments. To address this limitation, we introduce MAGneT-3D, the first method for domain-generalized monocular temporal 3D object detection. Instead of relying on static learnable queries, we propose a Domain-Robust Anchor Generator (DRAG) approach that adaptively derives 3D proposals during inference. To further enable domain generalization, we propose a Temporal Refinement and Identity Merging (TRIM) strategy, reducing dependence on specific 3D proposals. To enable comprehensive domain-generalization evaluation, we establish a cross-dataset benchmark spanning nuScenes, Waymo, Lyft, and ONCE. Under zero-shot domain shifts, MAGneT-3D outperforms all baselines, improving NDS from 12.1% to 18.6% while also increasing in-domain accuracy.
Figures & tables
Figure 1: MAGneT-3D overview. MAGneT-3D bridges monocular, temporal modeling and domain generalization (left) for strong cross-dataset 3D detection (right) . Prior detectors instead treat these settings as distinct or paired, leaving the intersection unexplored (left) . On our new cross-dataset benchmark (right) , MAGneT-3D trained on nuScenes outperforms on both in-domain (source) and all unseen (target) datasets. We report the nuScenes Detection Score (NDS, in %, ↑ ).
Property
nuScenes [ 4 ]
Waymo [ 53 ]
Lyft L5 [ 13 ]
ONCE [ 40 ]
Annotated frames (train / val)
28130 / 6019
53000 / 13280
15498 / 3150
5000 / 3000
Front camera resolution (in px)
1600 × 900
1920 × 1280
1224 × 1024
1920 × 1020
Front focal length fx (in px)
1266
2059
844
960
Front horizontal FOV (in °)
70.0
50.0
70.0
90.0
Number of object categories
10
4
9
5
Country
USA & Singapore
USA
USA
China
Table 1: Cross-dataset benchmark overview. Our cross-dataset domain generalization benchmark comprises four 3D monocular detection datasets, differing markedly in their field-of-view (FOV), intrinsics, resolution & geographic coverage.
Figure 2: Object locations across datasets. Top-view heatmaps of annotated object locations for Waymo [ 53 ] , nuScenes [ 4 ] , Lyft L5 [ 13 ] , and ONCE [ 40 ] . A larger saturation corresponds to a higher density. Object locations differ significantly between datasets.
Figure 3: Query-based 3D detectors [ 59 , 30 , 31 , 32 ] . The current image is fed into a backbone. The resulting image features interact with the learnable queries (bottom) . A propagation transformer takes in query features and historically tracked queries, producing refined 3D detections. Queries (bottom) are learned during training but static during inference and introduce training dataset dependent biases, introducing issues under domain shifts, e.g . , when the field-of-view (FOV) is changing.
Figure 5: MAGneT-3D. Instead of static, learnable queries, we generate dynamic proposals (left top) based on image features (DRAG; cf . Sec. 4.3 ), eliminating source domain biases. The proposals interact spatially with the image features and are fed, alongside historic queries, into the temporal prediction refiner. During training, our soft assigner matches each target to multiple proposals for dense supervision. During inference, duplicate objects are merged via clustering (TRIM; cf . Sec. 4.4 ).
Method
Val
mAP ↑
NDS ↑
Train ↓
nuSCN
Waymo
Lyft
ONCE
Avg. Cross
nuSCN
Waymo
Lyft
ONCE
Avg. Cross
StreamPETR [ 59 ]
nuSCN
26.5
4.8
5.0
8.2
6.0
28.5
13.1
10.6
12.7
12.1
Waymo
4.2
34.5
0.8
5.4
3.4
9.3
38.0
8.9
10.2
9.5
Lyft
1.0
0.0
27.8
5.4
2.1
5.4
4.4
32.6
11.2
7.0
Sparse4D v3 [ 32 ]
nuSCN
24.8
4.4
8.6
11.1
8.0
27.0
9.5
13.1
14.7
12.4
Waymo
4.9
32.8
2.0
4.8
3.9
8.9
38.9
7.8
9.1
8.6
Table 2: Comparison against the state of the art. Each model is trained on a single source dataset (vertical) and evaluated on all target datasets (horizontal) . Avg. Cross is the mean over the three unseen datasets. The best result per training dataset is highlighted in green ■■ ; the second best in yellow ■■ ; in-domain results in gray ■■ . mAP & NDS are both in % ( ↑ ). nuScenes is abbreviated by nuSCN.
Configuration
DRAG
TRIM
mAP ↑
NDS ↑
nuSCN
Waymo
Lyft
ONCE
Avg. Cross
nuSCN
Waymo
Lyft
ONCE
Avg. Cross
1. StreamPETR
26.5
4.8
5.0
8.2
6.0
28.5
13.1
10.6
12.7
12.1
✓
20.0
7.9
8.6
8.8
8.4
25.6
16.3
13.9
13.9
14.7
✓
27.1
6.9
8.6
11.9
9.1
27.0
11.7
13.6
16.4
13.9
4. MAGneT-3D
✓
✓
28.5
10.1
14.3
12.4
12.3
32.9
17.2
19.5
19.1
18.6
Table 3: Main ablation. We start with the StreamPETR baseline ablate both DRAG and TRIM. We train on nuScenes [ 4 ] (nuSCN). mAP & NDS are both in % ( ↑ ). The best result is highlighted in ■■ ; the second best in ■■ ; in-domain results in ■■ .
Setting
mAP ↑
NDS ↑
nuSCN
Waymo
Lyft
ONCE
Avg. Cross
nuSCN
Waymo
Lyft
ONCE
Avg. Cross
MAGneT-3D (Full)
28.5
10.1
14.3
12.4
12.3
32.9
17.2
19.5
19.1
18.6
w/o Two-phase training
26.9
8.2
12.2
12.0
10.8
30.7
16.2
18.3
18.9
17.8
w/o Virtual depth
27.5
6.2
11.6
8.9
8.9
31.2
13.9
17.4
13.0
14.8
w/o Scale invariant feat. assn.
17.6
6.5
5.3
7.1
6.3
23.7
14.5
12.5
11.2
12.7
Table 4: DRAG ablation. We ablate the core components of DRAG. Each row removes one component from the full model, trained on nuScenes [ 4 ] (nuSCN). mAP & NDS are both in % ( ↑ ). The best result is highlighted in ■■ ; the second best in ■■ ; in-domain results in ■■ .
Setting
mAP ↑
NDS ↑
nuSCN
Waymo
Lyft
ONCE
Avg. Cross
nuSCN
Waymo
Lyft
ONCE
Avg. Cross
MAGneT-3D (Full, Nkeep=1 )
28.5
10.1
14.3
12.4
12.3
32.9
17.2
19.5
19.1
18.6
w/ Top- Nkeep clust. ( Nkeep=3 )
26.2
8.9
13.2
11.0
11.0
30.6
16.8
18.5
16.3
17.2
w/ Top- Nkeep clust. ( Nkeep=5 )
25.7
8.5
13.1
10.5
10.7
29.9
16.5
18.4
15.6
16.8
w/o Clustering
25.6
8.4
13.1
10.2
10.6
29.4
16.3
18.4
15.0
16.6
w/ Hungarian assigner
20.0
7.9
8.6
8.8
8.4
25.6
16.3
13.9
13.9
14.7
Table 5: TRIM analysis. We analyze the assigner setting and the inference-time clustering of TRIM, trained on nuScenes [ 4 ] (nuSCN). mAP & NDS are both in % ( ↑ ). The best result is highlighted in ■■ ; the second best in ■■ ; in-domain results in ■■ .
Figure 6: Spatial distribution results. Top-view distribution of 3D detections from MAGneT-3D and our baseline StreamPETR [ 59 ] . Both are trained on nuScenes [ 4 ] (source dataset). The angles represent the prediction range (max-min azimuth). MAGneT-3D adapts to different angles of the target datasets, while StreamPETR fails to adapt to the angle of the target datasets. More saturated colors indicate a higher density. Color coding: ground truth ■■ (low density) ■■ (high density); MAGneT-3D ■■■■ ; StreamPETR ■■■■ . Best viewed in color; zoom in for details.
Figure 7: Qualitative results. MAGneT-3D yields fewer false positives and more accurate predictions than StreamPETR [ 59 ] . All models are trained on nuScenes [ 4 ] and evaluated across nuScenes, Lyft [ 13 ] , and Waymo [ 53 ] . Best viewed in color; zoom in for details. BEV color coding: Ground truth ■■ , StreamPETR ■■ , and MAGneT-3D ■■ .
Department of Computer Science, Georgia State University · Department of Electrical and Computer Engineering, Duke University · School of Computing, University of Connecticut