Related Experiment Video
Updated: Oct 21, 2025

Deep Neural Networks for Image-Based Dietary Assessment
Published on: March 13, 2021
Visual Explanation for Deep Metric Learning
Abstract:
This work explores the visual explanation for deep metric learning and its applications. As an important problem for learning representation, metric learning has attracted much attention recently, while the interpretation of the metric learning model is not as well-studied as classification. To this end, we propose an intuitive idea to show where contributes the most to the overall similarity of two input images by decomposing the final activation. Instead of only providing the overall activation map of each image, we propose to generate point-to-point activation intensity between two images so that the relationship between different regions is uncovered. We show that the proposed framework can be directly applied to a wide range of metric learning applications and provides valuable information for model understanding. Both theoretical and empirical analyses are provided to demonstrate the superiority of the proposed overall activation map over existing methods. Furthermore, our experiments validate the effectiveness of the proposed point-specific activation map on two applications, i.e. cross-view pattern discovery and interactive retrieval. Code is available at https://github.com/Jeff-Zilence/Explain_Metric_Learning.
Related Concept Videos
Dimensional Analysis
Dimensional analysis allows us to analyze and compare physical quantities on a...
Introduction to Learning
In contrast to learned behaviors, unlearned behaviors such as crying, sexual...
Dot Product: Problem Solving
Identify the problem: Start by reading the problem and...
Problem Solving: Dimensional Analysis
Dot Product
In engineering, the dot product of any two vectors is the product of the magnitudes of the vectors and the cosine of the angle between them. It is denoted by a dot symbol between the two vectors.
Consider a vehicle pulling an object along the ground using a rope. If the rope makes an angle with the horizontal axis, the work done can be calculated using the dot product of the force applied and the object's displacement.
The dot...
Observational Learning

