Conditional Similarity Networks

Andreas Veit, Serge Belongie, Theofanis Karaletsos
3/25/2016
8 citations
cs.CVcs.AIcs.LG

Official code: andreasveit/conditional-similarity-networks (222 stars, Python, BSD-3-Clause, last commit 2020-04-17).

Abstract

What makes images similar? To measure the similarity between images, they are typically embedded in a feature-vector space, in which their distance preserve the relative dissimilarity.

Show full abstract

However, when learning such similarity embeddings the simplifying assumption is commonly made that images are only compared to one unique measure of similarity. A main reason for this is that contradicting notions of similarities cannot be captured in a single space. To address this shortcoming, we propose Conditional Similarity Networks (CSNs) that learn embeddings differentiated into semantically distinct subspaces that capture the different notions of similarities. CSNs jointly learn a disentangled embedding where features for different similarities are encoded in separate dimensions as well as masks that select and reweight relevant dimensions to induce a subspace that encodes a specific similarity notion. We show that our approach learns interpretable image representations with visually relevant semantic subspaces. Further, when evaluating on triplet questions from multiple similarity notions our model even outperforms the accuracy obtained by training individual specialized networks for each notion separately.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
22253PythonMar 20, 20176 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{veit2016conditional,
  title  = {Conditional Similarity Networks},
  author = {Andreas Veit and Serge Belongie and Theofanis Karaletsos},
  year   = {2016},
  eprint = {1603.07810},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1603.07810}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1603.07810.svg)](https://codeofpaper.com/paper/1603.07810)

Discussion