[Paper Review] Efficient Deduplication and Leakage Detection in Large Scale Image Datasets with a focus on the CrowdAI Mapping Challenge Dataset
This paper proposes a lightweight, perceptual hashing-based pipeline for efficient deduplication and data leakage detection in large-scale remote sensing image datasets, specifically applied to the CrowdAI Mapping Challenge Dataset. The method identifies 90% duplication in the training set and 93% data leakage from training to validation splits, revealing severe overfitting in prior state-of-the-art models.
Recent advancements in deep learning and computer vision have led to widespread use of deep neural networks to extract building footprints from remote-sensing imagery. The success of such methods relies on the availability of large databases of high-resolution remote sensing images with high-quality annotations. The CrowdAI Mapping Challenge Dataset is one of these datasets that has been used extensively in recent years to train deep neural networks. This dataset consists of $ \sim\ $280k training images and $ \sim\ $60k testing images, with polygonal building annotations for all images. However, issues such as low-quality and incorrect annotations, extensive duplication of image samples, and data leakage significantly reduce the utility of deep neural networks trained on the dataset. Therefore, it is an imperative pre-condition to adopt a data validation pipeline that evaluates the quality of the dataset prior to its use. To this end, we propose a drop-in pipeline that employs perceptual hashing techniques for efficient de-duplication of the dataset and identification of instances of data leakage between training and testing splits. In our experiments, we demonstrate that nearly 250k($ \sim\ $90%) images in the training split were identical. Moreover, our analysis on the validation split demonstrates that roughly 56k of the 60k images also appear in the training split, resulting in a data leakage of 93%. The source code used for the analysis and de-duplication of the CrowdAI Mapping Challenge dataset is publicly available at https://github.com/yeshwanth95/CrowdAI_Hash_and_search .
Motivation & Objective
- Address the critical issue of data quality degradation in large-scale remote sensing datasets used for deep learning.
- Identify and quantify excessive image duplication and data leakage in the widely used CrowdAI Mapping Challenge Dataset.
- Develop a lightweight, drop-in data validation pipeline that requires no pretraining or complex feature extraction.
- Demonstrate that prior state-of-the-art methods may have overfitted due to data leakage, invalidating reported performance gains.
- Provide a publicly available de-duplicated dataset and code to support reproducible and reliable research in remote sensing.
Proposed method
- Apply perceptual hashing (e.g., using the pHash algorithm) to generate compact, image-semantic-aware hashes for all dataset images.
- Detect duplicate images by comparing hash collisions across training and validation splits.
- Extend detection to augmented duplicates by applying rotations (90°, 180°, 270°) and flips to images before hashing.
- Perform collision detection between hashes of training and validation sets to identify data leakage.
- Remove exact and augmented duplicates from both training and validation splits to create a de-duplicated dataset.
- Re-split the merged unique images into new 90%/10% training and validation sets to ensure data integrity.
Experimental results
Research questions
- RQ1To what extent is the CrowdAI Mapping Challenge Dataset compromised by image duplication and data leakage between training and validation splits?
- RQ2How effective is perceptual hashing in detecting both exact and augmented duplicates in large-scale remote sensing datasets?
- RQ3What impact does data leakage have on the reported performance of state-of-the-art building footprint segmentation models?
- RQ4Can a lightweight, non-pretrained pipeline effectively identify and remove duplicates in large-scale datasets without requiring complex feature learning?
- RQ5To what degree do recent models overfit to incorrect or duplicated annotations due to data leakage?
Key findings
- Approximately 250,000 out of 280,741 images in the official training split were identified as exact or augmented duplicates, representing 90% duplication.
- Roughly 56,368 out of 60,317 validation images were found to be duplicates in the training split, indicating a data leakage rate of 93.45%.
- After de-duplication, only 15,392 unique images remained in the training split and 14,166 in the validation split, confirming severe redundancy.
- The study reveals that recent state-of-the-art models like PolyWorld and HiSup likely overfit to incorrect or duplicated annotations due to data leakage.
- Qualitative analysis shows these models replicate incorrect ground truth annotations, indicating strong overfitting to leaked data.
- The authors release both the de-duplicated dataset and the full source code at https://github.com/yeshwanth95/CrowdAI_Hash_and_search for community reuse and validation.
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.