Skip to main content
QUICK REVIEW

[Paper Review] MIC: Mining Interclass Characteristics for Improved Metric Learning

Karsten Roth, Biagio Brattoli|arXiv (Cornell University)|Sep 25, 2019
Advanced Image and Video Retrieval TechniquesComputer Science41 references17 citations
TL;DR

This paper proposes MIC, a method that improves metric learning by explicitly modeling shared interclass characteristics—such as viewpoint, color, and orientation—using a separate auxiliary encoder. By training this encoder via a surrogate clustering task and reducing mutual information with the main classifier, MIC achieves more compact, robust embeddings, significantly outperforming state-of-the-art methods on five image retrieval benchmarks.

ABSTRACT

Metric learning seeks to embed images of objects suchthat class-defined relations are captured by the embeddingspace. However, variability in images is not just due to different depicted object classes, but also depends on other latent characteristics such as viewpoint or illumination. In addition to these structured properties, random noise further obstructs the visual relations of interest. The common approach to metric learning is to enforce a representation that is invariant under all factors but the ones of interest. In contrast, we propose to explicitly learn the latent characteristics that are shared by and go across object classes. We can then directly explain away structured visual variability, rather than assuming it to be unknown random noise. We propose a novel surrogate task to learn visual characteristics shared across classes with a separate encoder. This encoder is trained jointly with the encoder for class information by reducing their mutual information. On five standard image retrieval benchmarks the approach significantly improves upon the state-of-the-art.

Motivation & Objective

  • To address intra-class variability in metric learning caused by structured factors like viewpoint and illumination, which are often treated as noise.
  • To improve generalization in zero-shot and few-shot retrieval by explicitly modeling shared visual characteristics across object classes.
  • To reduce intra-class variance in learned embeddings by disentangling class-specific from shared, interclass properties.
  • To develop a self-supervised surrogate task that enables training an auxiliary encoder without additional annotations.
  • To enhance standard metric learning frameworks by integrating structured invariance learning through disentangled representation learning.

Proposed method

  • A dual-encoder architecture separates class-discriminative features (α) from shared interclass characteristics (β), with Eα trained on ground-truth labels and Eβ on a surrogate task.
  • The surrogate task generates cluster-based labels for shared characteristics by standardizing features per class and applying clustering to the standardized embeddings.
  • The auxiliary encoder Eβ is trained to reconstruct these cluster labels, learning structured interclass properties without requiring additional annotations.
  • A gradient reversal layer and mutual information loss are applied to minimize information leakage from Eβ to Eα, ensuring Eα remains free from non-discriminative shared features.
  • The method is compatible with standard metric learning losses (e.g., triplet loss, ProxyNCA), which are jointly optimized with the Eα and Eβ objectives.
  • The cluster labels for Eβ are updated periodically during training to reflect evolving feature representations, improving the quality of the shared characteristic modeling.

Experimental results

Research questions

  • RQ1Can explicitly modeling shared interclass visual characteristics such as viewpoint and color improve metric learning performance?
  • RQ2How does disentangling class-specific from shared visual features affect intra-class compactness and generalization in zero-shot retrieval?
  • RQ3What is the impact of using a self-supervised surrogate task based on clustering and standardization for learning interclass characteristics?
  • RQ4How does mutual information regularization between the primary and auxiliary encoders improve feature disentanglement and robustness?
  • RQ5To what extent is the performance of the method sensitive to hyperparameters like the number of clusters and label update frequency?

Key findings

  • The proposed MIC method achieves state-of-the-art performance on five standard image retrieval benchmarks, including CUB200-2011, CARS196, Stanford Online Products, In-Shop Clothes, and PKU VehicleID.
  • On CUB200-2011, MIC improves Recall@1 to 66.1% when combined with triplet loss, outperforming previous SOTA methods.
  • The ablation study confirms that all components—clustering, standardization, and mutual information loss—are essential, with the full model achieving 82.6% Recall@1 on CARS196.
  • Intra-class variance is significantly reduced when Eβ is trained with standardization and mutual information, demonstrating improved class compactness.
  • The method is robust to hyperparameter choices: optimal performance is maintained across a wide range of cluster numbers (±1% Recall@1), and label update frequency between 1 and 10 epochs yields stable results.
  • The model consistently improves performance across multiple metric learning losses, including ProxyNCA and triplet loss with semihard mining, confirming its generalizability.

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.