Learning similarity measures from data
Not on the map. Why?
Abstract (arXiv)
Defining similarity measures is a requirement for some machine learning methods. One such method is case-based reasoning (CBR) where the similarity measure is used to retrieve the stored case or set of cases most similar to the query case. Describing a similarity measure analytically is challenging, even for domain experts working with CBR experts. However, data sets are typically gathered as part of constructing a CBR or machine learning system. These datasets are assumed to contain the features that correctly identify the solution from the problem features, thus they may also contain the knowledge to construct or learn such a similarity measure. The main motivation for this work is to automate the construction of similarity measures using machine learning, while keeping training time as low as possible. Our objective is to investigate how to apply machine learning to effectively learn a similarity measure. Such a learned similarity measure could be used for CBR systems, but also for clustering data in semi-supervised learning, or one-shot learning tasks. Recent work has advanced towards this goal, relies on either very long training times or manually modeling parts of the similarity measure. We created a framework to help us analyze current methods for learning similarity measures. This analysis resulted in two novel similarity measure designs. One design using a pre-trained classifier as basis for a similarity measure. The second design uses as little modeling as possible while learning the similarity measure from data and keeping training time low. Both similarity measures were evaluated on 14 different datasets. The evaluation shows that using a classifier as basis for a similarity measure gives state of the art performance. Finally the evaluation shows that our fully data-driven similarity measure design outperforms state of the art methods while keeping training time low.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 15 Jan 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 1; 2024: 3; 2025: 1.
8 papers.
- 2022Automatic vehicle trajectory data reconstruction at scalecited by 8
- 2023SPINEX: Similarity-based Predictions and Explainable Neighbors Exploration for Regression and Classification Tasks in Machine Learningcited by 3
- 2021Applying the Case Difference Heuristic to Learn Adaptations from Deep Network Featurescited by 2
- 2024Towards certifiable AI in aviation: landscape, challenges, and opportunitiescited by 2
- 2024fruit-SALAD: A Style Aligned Artwork Dataset to reveal similarity perception in image embeddingscited by 1
- 2024Case-Enhanced Vision Transformer: Improving Explanations of Image Similarity with a ViT-based Similarity Metriccited by 1
- 2021On the Explanation of Similarity for Developing and Deploying CBR Systemscited by 0
- 2025Small Data Explainer -- The impact of small data methods in everyday lifecited by 0
- 2025Small Data Explainer -- The impact of small data methods in everyday life15 Jul 2025
- 2024Towards certifiable AI in aviation: landscape, challenges, and opportunities13 Sep 2024
- 2024Case-Enhanced Vision Transformer: Improving Explanations of Image Similarity with a ViT-based Similarity Metric24 Jul 2024
- 2024fruit-SALAD: A Style Aligned Artwork Dataset to reveal similarity perception in image embeddings3 Jun 2024
- 2023SPINEX: Similarity-based Predictions and Explainable Neighbors Exploration for Regression and Classification Tasks in Machine Learning1 Jun 2023
- 2022Automatic vehicle trajectory data reconstruction at scale15 Dec 2022
- 2021Applying the Case Difference Heuristic to Learn Adaptations from Deep Network Features15 Jul 2021
- 2021On the Explanation of Similarity for Developing and Deploying CBR Systems9 May 2021