AMC-Loss: Angular Margin Contrastive Loss for Improved Explainability in Image Classification

04/21/2020
by   Hongjun Choi, et al.
38

Deep-learning architectures for classification problems involve the cross-entropy loss sometimes assisted with auxiliary loss functions like center loss, contrastive loss and triplet loss. These auxiliary loss functions facilitate better discrimination between the different classes of interest. However, recent studies hint at the fact that these loss functions do not take into account the intrinsic angular distribution exhibited by the low-level and high-level feature representations. This results in less compactness between samples from the same class and unclear boundary separations between data clusters of different classes. In this paper, we address this issue by proposing the use of geometric constraints, rooted in Riemannian geometry. Specifically, we propose Angular Margin Contrastive Loss (AMC-Loss), a new loss function to be used along with the traditional cross-entropy loss. The AMC-Loss employs the discriminative angular distance metric that is equivalent to geodesic distance on a hypersphere manifold such that it can serve a clear geometric interpretation. We demonstrate the effectiveness of AMC-Loss by providing quantitative and qualitative results. We find that although the proposed geometrically constrained loss-function improves quantitative results modestly, it has a qualitatively surprisingly beneficial effect on increasing the interpretability of deep-net decisions as seen by the visual explanations generated by techniques such as the Grad-CAM. Our code is available at https://github.com/hchoi71/AMC-Loss.

READ FULL TEXT

page 2

page 7

research
03/31/2020

A Comparison of Metric Learning Loss Functions for End-To-End Speaker Verification

Despite the growing popularity of metric learning approaches, very littl...
research
09/22/2020

Role of Orthogonality Constraints in Improving Properties of Deep Networks for Image Classification

Standard deep learning models that employ the categorical cross-entropy ...
research
07/20/2023

LBL: Logarithmic Barrier Loss Function for One-class Classification

One-class classification (OCC) aims to train a classifier only with the ...
research
11/12/2020

DSAM: A Distance Shrinking with Angular Marginalizing Loss for High Performance Vehicle Re-identificatio

Vehicle Re-identification (ReID) is an important yet challenging problem...
research
12/22/2022

Deep Simplex Classifier for Maximizing the Margin in Both Euclidean and Angular Spaces

The classification loss functions used in deep neural network classifier...
research
06/03/2019

Rethinking Loss Design for Large-scale 3D Shape Retrieval

Learning discriminative shape representations is a crucial issue for lar...
research
06/29/2021

Fast and Accurate Road Crack Detection Based on Adaptive Cost-Sensitive Loss Function

Numerous detection problems in computer vision, including road crack det...

Please sign up or login with your details

Forgot password? Click here to reset