atlas

Research map / Learning theory and algorithms / Prediction and decision losses

Mean Field Theory in Deep Metric Learning

ICLR 2024 · Learning theory and algorithms › Prediction and decision losses · approach: Loss landscape analysis · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Applies mean field theory from statistical physics to deep metric learning to convert pair-based losses (Contrastive, class-wise MultiSimilarity) into classification-style losses with learnable mean-field class centers, reducing training complexity from O(|D|^2).

Problem

Pair-based deep metric learning losses have polynomial (O(|D|^2)) training complexity and are sensitive to pair/triplet sampling, making large-scale training hard.

Approach

Derive classification-type losses from pair-based losses by expanding around learnable mean fields (one per class) and ignoring fluctuation cross-terms; this suits pair losses without anchors, complementing proxy-based methods. Yields MeanFieldContrastive and MeanFieldClassWiseMultiSimilarity losses.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace Contrastive loss with MeanFieldContrastivedeep metric learning with BN-Inception · CUB (modern protocol, 128D)MAP@R: 21.0±0.1 -> 22.0±0.1Helped
Replace ClassWiseMultiSimilarity with MeanFieldClassWiseMultiSimilaritydeep metric learning with BN-Inception · SOP (modern protocol, 128D)MAP@R: 41.5±0.2 -> 44.6±0.2Helped
Use mean-field losses instead of ProxyAnchordeep metric learning · Cars (traditional protocol)MAP@R: 26.3 ± 0.2 -> 24.7 ± 0.2Hurt
Use mean-field losses instead of ProxyAnchordeep metric learning · CUB, SOP, and InShop (traditional protocol)MAP@RHelped
Increase embedding dimensions (ablation)MFCont. and MFCWMS · CUBMAP@RHelped
Increase MFCWMS batch size (ablation)MFCWMS · CUB and CarsMAP@R: 23.3 ± 0.3 -> 25.4 ± 0.3; 22.0 ± 0.3 -> 24.2 ± 0.3Helped
Increase MFCWMS batch size (ablation)MFCWMS · SOPMAP@R: 51.1 ± 0.1 -> 53.0 ± 0.3Helped
Increase MFCWMS batch size (ablation)MFCWMS · InShopMAP@R: 67.4 ± 0.2; 67.8 ± 0.2; 67.0 ± 0.6Mixed
Vary mean-field regularization coefficient (ablation)MFCont. and MFCWMS · CUBMAP@R: 25.2 ± 0.3; 25.3 ± 0.3; 25.2 ± 0.2; 25.2 ± 0.3; 25.0 ± 0.3; 25.3 ± 0.2; 25.3 ± 0.3; 25.3 ± 0.3; 25.3 ± 0.3; 25.2 ± 0.3; No clear effect
Vary β and δ (ablation)MFCWMS · CUBMAP@RNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CUB-200-2011 Cars-196 Stanford Online Products In-Shop

Benchmarks: CUB-200-2011 Cars-196 Stanford Online Products In-Shop

Metrics: MAP@R P@1 R-precision

Baselines: Contrastive MultiSimilarity ArcFace CosFace ProxyNCA ProxyAnchor NormalizedSoftmax

Builds on: Contrastive loss MultiSimilarity loss ProxyAnchor loss Metric Learning Reality Check

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy