[Paper Review] Data Augmentation for Object Detection via Progressive and Selective Instance-Switching
This paper introduces instance-switching (IS) and Progressive and Selective Instance-Switching (PSIS) to augment training data for object detection without external datasets, improving performance across state-of-the-art detectors on MS COCO.
Collection of massive well-annotated samples is effective in improving object detection performance but is extremely laborious and costly. Instead of data collection and annotation, the recently proposed Cut-Paste methods [12, 15] show the potential to augment training dataset by cutting foreground objects and pasting them on proper new backgrounds. However, existing Cut-Paste methods cannot guarantee synthetic images always precisely model visual context, and all of them require external datasets. To handle above issues, this paper proposes a simple yet effective instance-switching (IS) strategy, which generates new training data by switching instances of same class from different images. Our IS naturally preserves contextual coherence in the original images while requiring no external dataset. For guiding our IS to obtain better object performance, we explore issues of instance imbalance and class importance in datasets, which frequently occur and bring adverse effect on detection performance. To this end, we propose a novel Progressive and Selective Instance-Switching (PSIS) method to augment training data for object detection. The proposed PSIS enhances instance balance by combining selective re-sampling with a class-balanced loss, and considers class importance by progressively augmenting training dataset guided by detection performance. The experiments are conducted on the challenging MS COCO benchmark, and results demonstrate our PSIS brings clear improvement over various state-of-the-art detectors (e.g., Faster R-CNN, FPN, Mask R-CNN and SNIPER), showing the superiority and generality of our PSIS. Code and models are available at: https://github.com/Hwang64/PSIS.
Motivation & Objective
- Address the data-hungry nature of object detection and high labeling cost by proposing an internal data augmentation method.
- Preserve visual context while increasing sample diversity through instance-switching (IS).
- Mitigate class imbalance and account for class importance via selective re-sampling and class-balanced loss.
- Progressively augment data to emphasize classes with lower detection performance.
- Demonstrate PSIS effectiveness across multiple detectors on MS COCO.
Proposed method
- Define a candidate set of swappable instances from pairs of images containing the same class based on shape and scale similarity.
- Switch instances between two images by resizing and pasting, followed by boundary smoothing with Gaussian blur to preserve context.
- Enhance instance balance through selective re-sampling to equalize class instance counts and a class-balanced loss to prevent over-fitting (gamma-controlled re-weighting).
- Introduce progressive augmentation by identifying classes with lowest AP during training and increasing augmented samples for them in a principled way.
- Iteratively train detectors with an augmented dataset that grows with progressively generated PSIS samples.
Experimental results
Research questions
- RQ1Can instance-switching produce diverse yet context-coherent synthetic images without external data?
- RQ2Does balancing instance distribution and weighting by class frequency improve detector performance?
- RQ3Can a progressive augmentation strategy boost detection for classes with the lowest accuracy?
- RQ4How does PSIS integrate with multiple modern detectors (e.g., Faster R-CNN, FPN, Mask R-CNN, SNIPER) on MS COCO?
Key findings
- IS improves diversity and contextual coherence without external data, yielding performance gains over the original dataset.
- Equally sampling IS (Ω_equ) improves mAP for Faster R-CNN (ResNet-101) by about 1.1% on COCO validation compared to Ω_ori alone.
- Uniformly augmenting with Ω_uni plus Ω_ori plus a class-balanced loss (ℓ_CB) increases mAP to 29.0% (vs 27.3% baseline).
- Progressive IS targeting low-AP classes yields an additional ~0.7% mAP gain when combined with PSIS.
- PSIS-augmented data consistently improves multiple detectors (FPN, Mask R-CNN, SNIPER) on COCO, with gains ranging from ~0.6% to 1.3% in various metrics.
- The final PSIS dataset (Ω_PSIS) includes about 283k images and provides measurable improvements across architectures, indicating effectiveness and generality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.