Home

Awesome

<div align="center">

Sparse4D: Sparse-based End-to-end Multi-view Temporal Perception

</div>

Github
Sparse4D v1: Multi-view 3D Object Detection with Sparse Spatial-Temporal Fusion
Sparse4D v2: Recurrent Temporal Fusion with Sparse Model
Sparse4D v3: Advancing End-to-End 3D Detection and Tracking
SparseDrive: End-to-End Autonomous Driving via Sparse Scene Representation
Chinese Interpretation of the Papers

【2024/06】Our follow-up project, SparseDrive (an end-to-end planning model based on the sparse framework), has been released!!! arxiv & github.

Overall Architecture

<center> <img style="border-radius: 0.3125em; box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.08);" src="resources/sparse4d_architecture.jpg" width="1000"> <br> <div style="color:orange; border-bottom: 1px solid #d9d9d9; display: inline-block; color: #999; padding: 2px;">Overall Framework of Sparse4D, which conforms to an encoder-decoder structure. The inputs mainly consists of three components: multi-view images, newly initialized instances, propagated instances from previous frame. The output is the refined instances (3D anchor boxes and corresponding features), serve as the perception results for the current frame. Additionally, a subset of these refined instances is selected and propagated to the next frame.</div> </center> <center> <img style="border-radius: 0.3125em; box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.08);" src="resources/efficient_deformable_aggregation.jpg" width="1000"> <br> <div style="color:orange; border-bottom: 1px solid #d9d9d9; display: inline-block; color: #999; padding: 2px;"> Illustration of our Efficient Deformable Aggregation Module. (a) The basic pipeline: we first generate multiple 3D key points inside 3D anchor, then sampling multi-scale/view image feature for each keypoint, and fuse these feature with predicted weight. (b) The parallel implementation: to further improve speed and reduce memory cost, we achieve a parallel implementation, where feature sampling and multi-view/scale weighted sum are combined as a CUDA operation. Our CUDA implementation supports handling different feature resolutions from different views. </div> </center>

nuScenes Benchmark

Results on Validation Split

These experiments were conducted using 8 RTX 3090 GPUs with 24 GB memory.

modelbackbonepretrainimg sizeEpochTraningFPSNDSmAPAMOTAAMOTPIDSconfigckptlog
Sparse4D-T4Res101FCOS3D640x1600242Day5H2.90.54380.4409---cfgckptlog
Sparse4Dv2Res50ImageNet256x70410015H20.30.53840.4392---cfgckptlog
Sparse4Dv2Res101nuImage512x14081002Day8.40.59390.5051------
Sparse4Dv3Res50ImageNet256x70410022H19.80.56370.46460.4771.167456cfgckptlog
Sparse4Dv3Res101nuImage512x14081002Day8.20.6230.5370.5671.027557---

Results on Test Split

modelbackboneimg sizeNDSmAPmATEmASEmAOEmAVEmAAEAMOTAAMOTPIDS
Sparse4D-T4VoV-99640x16000.5950.5110.5330.2630.3690.3170.124---
Sparse4Dv2VoV-99640x16000.6380.5560.4620.2380.3280.2640.115---
Sparse4Dv3VoV-99640x16000.6560.5700.4120.2360.3120.2100.1170.5740.970669
Sparse4Dv3-offlineEVA02-large640x16000.7190.6680.3460.2340.2790.1420.1450.6770.761514

PS: In the nuscenes leaderboard, Sparse4Dv3 selected external data=True because the eva02-large pretraining utilized imagenet, object365, and coco, as well as supervised by CLIP. Therefore, we consider using the model pre-trained with eva02 as incorporating external data. However, we did not use external 3D detection data for training. This clarification is provided to facilitate fair comparisons.

Quick Start

Quick Start

Citation

@misc{2311.11722,
    Author = {Xuewu Lin and Zixiang Pei and Tianwei Lin and Lichao Huang and Zhizhong Su},
    Title = {Sparse4D v3: Advancing End-to-End 3D Detection and Tracking},
    Year = {2023},
    Eprint = {arXiv:2311.11722},
}
@misc{2305.14018,
    Author = {Xuewu Lin and Tianwei Lin and Zixiang Pei and Lichao Huang and Zhizhong Su},
    Title = {Sparse4D v2: Recurrent Temporal Fusion with Sparse Model},
    Year = {2023},
    Eprint = {arXiv:2305.14018},
}
@misc{2211.10581,
    Author = {Xuewu Lin and Tianwei Lin and Zixiang Pei and Lichao Huang and Zhizhong Su},
    Title = {Sparse4D: Multi-view 3D Object Detection with Sparse Spatial-Temporal Fusion},
    Year = {2022},
    Eprint = {arXiv:2211.10581},
}

Acknowledgement