Pairwise Margin Maximization for Deep Neural Networks

Berry Weinstein, Shai Fine, Yacov Hel-Or
10/9/2021
cs.LGcs.AI

Official code: berryweinst/pairwise-margin-maximization (0 stars, Python, last commit 2021-12-13).

Abstract

The weight decay regularization term is widely used during training to constrain expressivity, avoid overfitting, and improve generalization. Historically, this concept was borrowed from the SVM maximum margin principle and extended to multi-class deep networks.

Show full abstract

Carefully inspecting this principle reveals that it is not optimal for multi-class classification in general, and in particular when using deep neural networks. In this paper, we explain why this commonly used principle is not optimal and propose a new regularization scheme, called {\em Pairwise Margin Maximization} (PMM), which measures the minimal amount of displacement an instance should take until its predicted classification is switched. In deep neural networks, PMM can be implemented in the vector space before the network's output layer, i.e., in the deep feature space, where we add an additional normalization term to avoid convergence to a trivial solution. We demonstrate empirically a substantial improvement when training a deep neural network with PMM compared to the standard regularization terms.

View on arXivView PDF

Code Implementations(1)

00PythonDec 13, 20214 years ago

Similar Papers

Cite this paper

@article{weinstein2021pairwise,
  title  = {Pairwise Margin Maximization for Deep Neural Networks},
  author = {Berry Weinstein and Shai Fine and Yacov Hel-Or},
  year   = {2021},
  eprint = {2110.04519},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.04519}
}

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

Discussion