[Paper Review] Google Landmarks Dataset v2 -- A Large-Scale Benchmark for Instance-Level Recognition and Retrieval
This paper introduces Google Landmarks Dataset v2 (GLDv2), a large-scale benchmark with over 5 million images and 200,000 distinct landmark instances, designed to challenge instance-level recognition and image retrieval under realistic conditions. It features extreme long-tailed class distribution, 99% out-of-domain test queries, and high intra-class variability, enabling robust evaluation and transfer learning performance on independent datasets.
While image retrieval and instance recognition techniques are progressing rapidly, there is a need for challenging datasets to accurately measure their performance -- while posing novel challenges that are relevant for practical applications. We introduce the Google Landmarks Dataset v2 (GLDv2), a new benchmark for large-scale, fine-grained instance recognition and image retrieval in the domain of human-made and natural landmarks. GLDv2 is the largest such dataset to date by a large margin, including over 5M images and 200k distinct instance labels. Its test set consists of 118k images with ground truth annotations for both the retrieval and recognition tasks. The ground truth construction involved over 800 hours of human annotator work. Our new dataset has several challenging properties inspired by real world applications that previous datasets did not consider: An extremely long-tailed class distribution, a large fraction of out-of-domain test photos and large intra-class variability. The dataset is sourced from Wikimedia Commons, the world's largest crowdsourced collection of landmark photos. We provide baseline results for both recognition and retrieval tasks based on state-of-the-art methods as well as competitive results from a public challenge. We further demonstrate the suitability of the dataset for transfer learning by showing that image embeddings trained on it achieve competitive retrieval performance on independent datasets. The dataset images, ground-truth and metric scoring code are available at https://github.com/cvdfoundation/google-landmark.
Motivation & Objective
- To address the lack of large-scale, realistic benchmarks for instance-level recognition and image retrieval in real-world settings.
- To simulate practical challenges such as extreme class imbalance, out-of-domain queries, and high intra-class variability.
- To provide a scalable, diverse dataset sourced from Wikimedia Commons to support robust model evaluation and transfer learning.
- To establish a new standard benchmark for large-scale, fine-grained recognition and retrieval tasks.
- To enable evaluation of false-positive rates on non-landmark queries, a critical but underexplored challenge in prior datasets.
Proposed method
- The dataset was constructed from Wikimedia Commons, using only CC0 or Public Domain-licensed images for index and query sets to preserve privacy and prevent metadata leakage.
- Landmark labels were curated through expert human annotation, involving over 800 hours of labeling effort to ensure high-quality ground truth.
- The training set includes 4 million images with instance-level labels, while the index set contains 762,000 images for retrieval.
- The test set comprises 118,000 query images, with only 1.1% being in-domain landmarks and 98.9% out-of-domain, simulating real-world visual search conditions.
- Image embeddings trained on GLDv2 were evaluated on independent datasets to demonstrate transfer learning capability.
- All images were stripped of metadata (e.g., geotags, URLs) to prevent data leakage, with full attribution only released for the training set.
Experimental results
Research questions
- RQ1How does model performance on instance-level recognition and retrieval degrade under extreme long-tailed class distributions?
- RQ2To what extent can models generalize to out-of-domain queries, which are common in real-world visual search applications?
- RQ3Can image embeddings trained on GLDv2 achieve competitive performance on unrelated, independent retrieval benchmarks?
- RQ4How robust are models to high intra-class variability, including viewpoint, lighting, weather, and image domain shifts (e.g., photos, paintings, historical prints)?
- RQ5Can GLDv2 serve as an effective pre-training dataset for downstream instance recognition tasks in low-data regimes?
Key findings
- GLDv2 contains over 5 million images across 200,000 distinct landmark instances, making it the largest instance-level recognition and retrieval benchmark to date.
- The test set includes 118,000 queries, with only 1.1% (1,300) being in-domain landmarks, simulating a realistic 99% out-of-domain query rate.
- Over 800 hours of human annotation were invested to construct the ground truth, ensuring high-quality labels for both recognition and retrieval tasks.
- Image embeddings trained on GLDv2 achieved competitive retrieval performance on independent datasets, demonstrating strong transfer learning potential.
- The dataset includes diverse image types such as digital photos, analog prints, paintings, and architectural drawings, increasing the challenge of domain invariance.
- Baseline results using state-of-the-art methods were reported, and the dataset was used in a public Kaggle challenge to validate its benchmarking utility.
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.