$\mathcal{G}$-softmax: Improving Intra-class Compactness and Inter-class Separability of Features

Yan Luo, Yongkang Wong, Mohan Kankanhalli, Qi Zhao
4/8/2019
cs.CVcs.LG

No confident code implementation found for this paper.

Abstract

Intra-class compactness and inter-class separability are crucial indicators to measure the effectiveness of a model to produce discriminative features, where intra-class compactness indicates how close the features with the same label are to each other and inter-class separability indicates how far away the features with different labels are. In this work, we investigate intra-class compactness and inter-class separability of features learned by convolutional networks and propose a Gaussian-based softmax ($\mathcal{G}$-softmax) function that can effectively improve intra-class compactness and inter-class separability.

Show full abstract

The proposed function is simple to implement and can easily replace the softmax function. We evaluate the proposed $\mathcal{G}$-softmax function on classification datasets (i.e., CIFAR-10, CIFAR-100, and Tiny ImageNet) and on multi-label classification datasets (i.e., MS COCO and NUS-WIDE). The experimental results show that the proposed $\mathcal{G}$-softmax function improves the state-of-the-art models across all evaluated datasets. In addition, analysis of the intra-class compactness and inter-class separability demonstrates the advantages of the proposed function over the softmax function, which is consistent with the performance improvement. More importantly, we observe that high intra-class compactness and inter-class separability are linearly correlated to average precision on MS COCO and NUS-WIDE. This implies that improvement of intra-class compactness and inter-class separability would lead to improvement of average precision.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{luo2019mathcalgsoftmax,
  title  = {$\mathcal{G}$-softmax: Improving Intra-class Compactness and Inter-class Separability of Features},
  author = {Yan Luo and Yongkang Wong and Mohan Kankanhalli and Qi Zhao},
  year   = {2019},
  eprint = {1904.04317},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.04317}
}

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

Discussion