Skip to main content
QUICK REVIEW

[Paper Review] Learning Similarity Conditions Without Explicit Supervision

Reuben Tan, Mariya I. Vasileva|arXiv (Cornell University)|Aug 22, 2019
Multimodal Machine Learning ApplicationsComputer Science41 references8 citations
TL;DR

This paper proposes SCE-Net, a weakly supervised deep learning model that jointly learns multiple visual similarity conditions—such as color, shape, and category—without requiring explicit labels during training. By using a condition weight branch to dynamically assign relevance of learned similarity condition masks to image pairs, the model achieves state-of-the-art performance on outfit compatibility, triplet prediction, and fill-in-the-blank tasks, even generalizing to unseen categories.

ABSTRACT

Many real-world tasks require models to compare images along multiple similarity conditions (e.g. similarity in color, category or shape). Existing methods often reason about these complex similarity relationships by learning condition-aware embeddings. While such embeddings aid models in learning different notions of similarity, they also limit their capability to generalize to unseen categories since they require explicit labels at test time. To address this deficiency, we propose an approach that jointly learns representations for the different similarity conditions and their contributions as a latent variable without explicit supervision. Comprehensive experiments across three datasets, Polyvore-Outfits, Maryland-Polyvore and UT-Zappos50k, demonstrate the effectiveness of our approach: our model outperforms the state-of-the-art methods, even those that are strongly supervised with pre-defined similarity conditions, on fill-in-the-blank, outfit compatibility prediction and triplet prediction tasks. Finally, we show that our model learns different visually-relevant semantic sub-spaces that allow it to generalize well to unseen categories.

Motivation & Objective

  • To address the limitation of existing metric learning models that rely on strong supervision for similarity conditions, which hinders generalization to unseen categories.
  • To learn disentangled, semantically meaningful visual subspaces for multiple similarity conditions (e.g., color, shape, category) in a weakly supervised manner.
  • To enable models to generalize to novel categories and attributes by learning similarity conditions as latent variables without pre-defined labels.
  • To demonstrate that a weighted combination of learned subspaces outperforms single-subspace models, even when the latter are strongly supervised.
  • To show that the model learns visually interpretable and semantically relevant subspaces, such as gender, heel height, and closure type in fashion items.

Proposed method

  • The model uses a shared convolutional neural network (CNN) to embed input images into a general feature space, producing visual features $V_1$ and $V_2$.
  • A condition weight branch, conditioned on the visual features, generates a dynamic weight vector $W_1, ..., W_M$ that determines the relevance of each of $M$ learned similarity condition masks.
  • Each similarity condition mask $C_i$ is applied via element-wise multiplication with the visual features to produce masked embeddings, which are then weighted by the condition weights to form final representations $E_1$ and $E_2$.
  • The final similarity score is computed based on the distance between $E_1$ and $E_2$, with the model trained end-to-end to optimize for downstream tasks.
  • The approach treats the number and identity of similarity conditions as latent variables, learned without explicit supervision during training.
  • The model leverages a dynamic attention-like mechanism to assign condition masks contextually based on input image content, enabling flexible and adaptive similarity reasoning.

Experimental results

Research questions

  • RQ1Can a deep learning model learn multiple, disentangled visual similarity conditions (e.g., color, shape, category) without explicit supervision?
  • RQ2Does a dynamic, attention-based weighting of learned similarity condition masks improve performance compared to fixed or pre-defined subspaces?
  • RQ3Can a weakly supervised model generalize effectively to unseen categories and attributes, even when strong supervision is not available at test time?
  • RQ4Is a weighted combination of multiple learned semantic subspaces more effective than restricting similarity learning to a single subspace?
  • RQ5Do the learned subspaces correspond to visually meaningful and interpretable attributes, such as heel height, gender, or closure type in fashion items?

Key findings

  • SCE-Net outperforms the state-of-the-art CSN model—trained with strong supervision on similarity conditions—by 3.2% on the UT-Zappos50k test set when using four similarity condition masks.
  • Even with only three similarity condition masks, SCE-Net achieves a 7.53% error rate on the UT-Zappos50k test set, outperforming the CSN model with four masks and strong supervision.
  • The model generalizes well to unseen categories, as demonstrated by its superior performance on zero-shot compatibility and retrieval tasks.
  • t-SNE visualizations confirm that the learned subspaces encode semantically meaningful attributes: e.g., one subspace differentiates shoes by class (boots vs. slippers), another by closure type (laced vs. slip-on), and another by heel height and gender.
  • The dynamic condition weight branch enables better representation learning than fixed or pre-defined subspaces, showing that multi-subspace fusion is more effective than single-subspace learning.
  • The number of required similarity condition masks increases with dataset complexity, suggesting that model capacity should scale with the diversity of visual attributes.

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.