Instance-Aware Sampling for Rare-Class Object Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for addressing class imbalance in object detection, such as Repeat Factor Sampling (RFS), fail to adequately represent rare classes due to imbalances between the number of images and bounding boxes, leading to biased training and underrepresentation of minor classes.
Innovation Solution
Instance-aware Repeat Factor Sampling (I-RFS) method that considers both the number of images and bounding boxes for each class, using combined factors to determine the sampling strategy, ensuring rare classes are prioritized.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If class-balanced sampling is used to up-sample minor classes, then performance on minor classes is improved, but training becomes biased towards augmented minor classes and available data representation of major classes is not properly exploited
Solution Approach 1:
The patent changes the sampling parameters by introducing instance-aware repeat factors that are calculated based on the actual instance counts of each class. This dynamically adjusts the sampling strategy to balance between up-sampling minor classes and maintaining proper representation of major classes, resolving the bias issue while improving minor class performance
2Reliability
If larger up-sampling and down-sampling ratio is used to handle significant imbalance, then minor classes are better represented, but major classes are under-represented and training becomes biased
Solution Approach 1:
The patent applies local quality by calculating separate repeat factors for each class based on their individual instance counts and image distributions. This allows tailored sampling rates for different classes - higher for minor classes and lower for major classes - rather than applying a uniform sampling ratio, thus preventing under-representation of major classes
3Productivity
If single-phase training with modified loss function is used, then optimization is carried out on long-tailed data, but minor classes are significantly under-represented due to large imbalance
Solution Approach 1:
The patent performs preliminary action by calculating instance-aware repeat factors before training and using these factors to reweight the training samples. This pre-processing step ensures that minor classes are adequately represented in the training set before the optimization process begins, preventing their under-representation during single-phase training
Data Source
AI summary
An approach for handling long-tail distribution with data imbalance. Disclosed embodiments improve Repeat Factor Sampling methods by considering both images and bounding boxes (i.e., instances) to generate improved sets of training data. Disclosed embodiments may be useful in image analysis domains, such as object detection and classification.


