Explainable Image Similarity: Integrating Siamese Networks and Grad-CAM

Ioannis E. Livieris, Emmanuel Pintelas, Niki Kiriakidou, Panagiotis Pintelas
10/11/2023
cs.CVcs.AIcs.LG

Official code: ioannislivieris/Grad_CAM_Siamese (17 stars, last commit 2024-09-12).

Abstract

With the proliferation of image-based applications in various domains, the need for accurate and interpretable image similarity measures has become increasingly critical. Existing image similarity models often lack transparency, making it challenging to understand the reasons why two images are considered similar. In this paper, we propose the concept of explainable image similarity, where the goal is the development of an approach, which is capable of providing similarity scores along with visual factual and counterfactual explanations. Along this line, we present a new framework, which integrates Siamese Networks and Grad-CAM for providing explainable image similarity and discuss the potential benefits and challenges of adopting this approach. In addition, we provide a comprehensive discussion about factual and counterfactual explanations provided by the proposed framework for assisting decision making. The proposed approach has the potential to enhance the interpretability, trustworthiness and user acceptance of image-based systems in real-world image similarity applications. The implementation code can be found in https://github.com/ioannislivieris/Grad_CAM_Siamese.git.

View on arXivView PDF

Code Implementations(1)

172Python, Jupyter NotebookAug 12, 20232 years ago

Similar Papers

Cite this paper

@article{livieris2023explainable,
  title  = {Explainable Image Similarity: Integrating Siamese Networks and Grad-CAM},
  author = {Ioannis E. Livieris and Emmanuel Pintelas and Niki Kiriakidou and Panagiotis Pintelas},
  year   = {2023},
  eprint = {2310.07678},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.07678v2}
}

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/2310.07678.svg)](https://codeofpaper.com/paper/2310.07678)

Discussion