Introduction
In the domain of autonomous driving, safety is contingent upon the reliable detection of every road agent, regardless of their frequency in the environment. However, LiDAR-based 3D object detection models often struggle with a "majority rules" bias. This is primarily due to the severe class imbalance inherent in real-world datasets. For instance, in the KITTI dataset, cars constitute approximately 83% of the instances, while cyclists represent a mere 4%.
Standard training procedures naturally gravitate toward minimizing total loss by prioritizing these majority classes, leading to suboptimal performance on rare but critical objects. While existing techniques like Cross-Balanced Grouping and Sampling (CBGS) attempt to mitigate this through oversampling, they often rely on static weights and unrealistic data augmentation—such as "copy-pasting" pedestrians into the middle of highways. This paper proposes a more dynamic and contextually aware approach to training.
Proposed Methodology
The authors introduce a two-pronged strategy to resolve class imbalance: Gradient Balanced Per-class Detection Heads and Contextual Ground Truth (GT) Sampling.
1. Gradient Balanced Per-class Detection Heads
Rather than using a single detection head for all categories, the proposed architecture utilizes multiple per-class heads that share a common encoder backbone. To prevent any single class from dominating the training signal, the system employs Dynamic Weight Average (DWA). This algorithm monitors the rate of loss change for each head over time. If a specific class (e.g., "barrier") is not improving as rapidly as others, DWA automatically increases its weight in the total loss function, forcing the model to allocate more attention to that category.
2. Contextual Ground Truth (GT) Sampling
Traditional GT sampling often places objects in physically impossible locations, which can confuse the model. The authors' Contextual GT Sampling leverages semantic maps—derived from 2D images or point clouds—to identify plausible regions for object placement. For example, it ensures that pedestrians are only augmented onto sidewalks and cars onto roads. This prevents the model from learning from nonsensical data and improves its ability to utilize environmental context for detection.
Experimental Results
The proposed method was evaluated on the KITTI and nuScenes benchmarks, consistently outperforming baselines like PointPillars and CBGS.
- nuScenes Performance: The model achieved an overall 48.4% mAP, a significant improvement over the 44.1% achieved by the PointPillars + CBGS baseline. The most dramatic gains were seen in minority classes: Motorcycle detection jumped from 30.9% to 40.2% mAP, and Bicycle detection nearly doubled from 4.8% to 9.4% mAP.
- KITTI Performance: For the rarest class, Cyclists, the method improved the 3D mAP from 63.95% to 68.79%.
Conclusion and Future Work
By combining specialized per-class heads with context-aware augmentation, the authors demonstrate that models can learn to detect rare objects without sacrificing performance on common ones. While the method currently depends on the accuracy of underlying semantic segmentation maps, it represents a significant step toward more robust and ethical AI in autonomous driving. Future research may involve more sophisticated modeling of object-to-environment relationships to further refine contextual augmentation.
Summary updated