Near-Duplicate Image Filtering for Unbiased ML Training Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Inclusion of highly correlated images in training data for machine learning models can lead to bias and overestimation of predictions, affecting the model's performance across the entire dataset distribution.
Innovation Solution
A system for near-duplicate detection that clusters feature vectors, generates a cost matrix, and uses the Hungarian method to identify and filter near-duplicate image pairs, improving the quality of training data by removing these images.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If highly correlated images are included in training data, then the training data quantity increases, but the model performance deteriorates due to bias and overestimation
Solution Approach 1:
The patent extracts and removes near-duplicate images from the training data using feature vector clustering and cost matrix analysis. By identifying images with high correlation coefficients and excluding them, the system maintains adequate training data quantity while eliminating the harmful effect of near-duplicates that cause bias and overestimation.
Solution Approach 2:
The patent introduces feature vectors as an intermediary representation between images and the training process. By converting images to feature vectors and using these vectors for similarity comparison and clustering, the system efficiently identifies near-duplicates without directly comparing all image pairs, thus maintaining data quality while preserving training effectiveness.
2Manufacturing precision
If near-duplicate detection is performed using feature vector clustering and cost matrix, then the training data quality improves, but the computational complexity increases
Solution Approach 1:
The patent segments the image comparison process into multiple stages: first clustering images based on feature vectors, then generating cost matrices only for clusters with potential near-duplicates, and finally applying Hungarian algorithm only where needed. This segmentation reduces the computational complexity compared to a brute-force approach while maintaining high data quality.
Solution Approach 2:
The patent applies partial action by using threshold-based filtering to identify only the most suspicious near-duplicate pairs for detailed analysis. By setting a correlation coefficient threshold and only applying the Hungarian algorithm to pairs exceeding this threshold, the system achieves high detection accuracy while reducing unnecessary computational overhead.
Data Source
AI summary
A system filters near-duplicate images to generate data for training or validation of a machine learning model. The system receives a set of images and generates feature vectors from the images. The system clusters the feature vectors. For each cluster of feature vectors, the system determines near-duplicate pairs of images. The system may generate a cost matrix representing a linear assignment problem and find near-duplicate pairs of images by solving the linear assignment problem. The system filters images from the set of images based on the near-duplicate pairs of images. The system uses the filtered set of images for training or validation of the machine learning model.


