Skip to main content
QUICK REVIEW

[Paper Review] Google Landmark Recognition 2020 Competition Third Place Solution

Qishen Ha, Bo Liu|arXiv (Cornell University)|Oct 11, 2020
Multimodal Machine Learning ApplicationsComputer Science3 references9 citations
TL;DR

This paper presents a third-place solution to the Google Landmark Recognition 2020 competition using an ensemble of global feature-only Sub-center ArcFace models. It introduces dynamic margins for ArcFace loss—continuous functions of class size that boost performance on the imbalanced GLDv2 dataset—combined with progressive finetuning and multi-stage postprocessing, achieving 0.6344 private leaderboard score.

ABSTRACT

We present our third place solution to the Google Landmark Recognition 2020 competition. It is an ensemble of global features only Sub-center ArcFace models. We introduce dynamic margins for ArcFace loss, a family of tune-able margin functions of class size, designed to deal with the extreme imbalance in GLDv2 dataset. Progressive finetuning and careful postprocessing are also key to the solution. Our two submissions scored 0.6344 and 0.6289 on private leaderboard, both ranking third place out of 736 teams.

Motivation & Objective

  • Address the extreme class imbalance in the GLDv2 dataset, which hampers model convergence and generalization.
  • Improve performance of global feature-only models by replacing constant margins in ArcFace with adaptive, class size-dependent margins.
  • Optimize training efficiency and model generalization on a large-scale, long-tailed dataset through a progressive finetuning schedule.
  • Enhance inference accuracy by combining feature similarity search with ArcFace head scores via power-based postprocessing.
  • Demonstrate that local features do not improve performance over global features in this task, given recent advances in backbone models.

Proposed method

  • Propose dynamic margins for ArcFace loss as continuous functions of class size: $ f(n) = a \cdot n^{-\lambda} + b $, where $ n $ is class size and $ a, b, \lambda $ are tunable parameters.
  • Use Sub-center ArcFace with $ K=3 $ sub-centers per class to better capture intra-class variations in landmark images.
  • Implement a three-stage progressive finetuning strategy: pretrain on 4.1M images at 256px, finetune on 3.2M images at 512–768px, and further finetune at 672–1024px.
  • Apply data augmentations including horizontal flip, compression, shift, scale, rotate, and cutout, while avoiding excessive augmentations that degrade performance.
  • Perform postprocessing by combining top-k nearest neighbor predictions using an 8th-power function on cosine similarities, then further refine with 12th-power fusion of ArcFace head scores.
  • Construct two diverse ensembles: one with 7 models using standard finetuning, and another with 9 models including additional finetuning epochs and model variants for improved diversity and performance.

Experimental results

Research questions

  • RQ1Can global feature-only models outperform hybrid global-local models in landmark recognition given recent backbone advancements?
  • RQ2How can ArcFace loss be adapted to handle extreme class imbalance in long-tailed datasets like GLDv2?
  • RQ3What is the optimal dynamic margin function for ArcFace that improves generalization across both small and large classes?
  • RQ4How does progressive finetuning across multiple image resolutions affect model performance on large-scale landmark recognition?
  • RQ5To what extent can postprocessing combining feature similarity and ArcFace logits improve final inference accuracy?

Key findings

  • The best dynamic margin function, $ n^{-1/4} $ with bounds 0.05 and 0.5, achieved a 0.025 improvement in validation GAP over the constant margin baseline on a ResNet-B0 model.
  • Ensemble 1 achieved a private leaderboard score of 0.6289 and a public score of 0.6604, ranking third.
  • Ensemble 2 achieved a higher private score of 0.6344 and a public score of 0.6581, also ranking third.
  • Postprocessing with 8th-power fusion of top-5 nearest neighbor similarities improved the best single model’s private score from 0.5859 to 0.6040.
  • Incorporating ArcFace head scores via 12th-power fusion further increased the best single model’s score to 0.6244 on private leaderboard.
  • Local feature models like DELG did not improve ensemble performance, confirming the effectiveness of global features with advanced architectures and loss adaptation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.