Conditional Similarity Networks
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. 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.
Cite
Text
Veit et al. "Conditional Similarity Networks." Conference on Computer Vision and Pattern Recognition, 2017. doi:10.1109/CVPR.2017.193Markdown
[Veit et al. "Conditional Similarity Networks." Conference on Computer Vision and Pattern Recognition, 2017.](https://mlanthology.org/cvpr/2017/veit2017cvpr-conditional/) doi:10.1109/CVPR.2017.193BibTeX
@inproceedings{veit2017cvpr-conditional,
title = {{Conditional Similarity Networks}},
author = {Veit, Andreas and Belongie, Serge and Karaletsos, Theofanis},
booktitle = {Conference on Computer Vision and Pattern Recognition},
year = {2017},
doi = {10.1109/CVPR.2017.193},
url = {https://mlanthology.org/cvpr/2017/veit2017cvpr-conditional/}
}