Abstract
Modern object detectors often struggle when deployed in environments different from their training data. This performance drop is largely attributed to "spurious correlations"—statistical dependencies between objects and their backgrounds. This paper introduces Region Aware Proposal reweighTing (RAPT), a model-agnostic framework designed to eliminate these dependencies. By reweighting region proposals based on invariant features, RAPT enables detectors to generalize to unseen domains without requiring target-domain data during training.
Introduction
While object detection has seen significant progress, models remain "brittle" under distribution shifts. A detector trained on sunny city streets may fail on rainy highways or in dense crowds due to changes in lighting, weather, and object density. While Domain Adaptation (DA) addresses this by using target-domain data, Domain Generalization (DG) seeks to build models that perform well on entirely unknown environments.
The primary obstacle to generalization is the spurious correlation. For instance, if a training dataset consistently places pedestrians on sidewalks, a model may learn to associate sidewalk textures with the "person" category. Consequently, it may fail to detect a person in a forest or on a road. RAPT addresses this by decorrelating category-relevant features from irrelevant contextual noise.
The RAPT Framework
RAPT operates at the proposal level within a two-stage detector (like Faster R-CNN). It ensures that the model focuses on features that define an object across any domain, rather than the background.
Key Components:
- Clustering: To make statistical decorrelation computationally feasible, RAPT clusters proposals based on visible features and spatial positions. This ensures the model compares similar regions when identifying correlations.
- Spatial Pooling: This reduces the dimensionality of Region of Interest (RoI) features while preserving essential spatial information.
- RFF-based Decorrelation: Using Random Fourier Features (RFF), the method captures non-linear relationships between features. It learns specific weights for each proposal, reweighting the loss function to suppress features that are tied to specific backgrounds.
Evaluation Benchmarks
The authors propose a rigorous evaluation framework consisting of four shifts:
- Classic DG: Training on multiple source datasets (e.g., BDD100k, Cityscapes, KITTI) and testing on a distinct target (e.g., Sim10k).
- Density Shift: Evaluating performance as crowd density increases (e.g., from sparse streets to dense plazas).
- Context Shift: Moving from driving scenes to open-world environments like parks or shopping malls.
- Random Shift: Testing robustness against unpredictable environmental changes.
Key Results
Experimental results demonstrate that RAPT significantly improves generalization. In the "Classic DG" benchmark, RAPT combined with Faster R-CNN achieved a mean Average Precision (mAP) of 0.414, outperforming standard DG methods like RSC and StableNet.
In pedestrian detection tasks involving heavy occlusion and high density, RAPT consistently reduced the miss rate. For example, on the CityPersons "Heavy" occlusion subset, RAPT achieved a miss rate of 0.4724, a notable improvement over the Faster R-CNN baseline of 0.4971.
Conclusion
RAPT offers a powerful, model-agnostic solution to the domain gap in object detection. By breaking spurious correlations at the proposal level, it allows models to rely on truly invariant features. While future work may explore its application to one-stage detectors and Transformer architectures, RAPT currently sets a new standard for robust, generalizable object detection.
Summary updated