Distance Learner: Incorporating Manifold Prior to Model Training

Aditya Chetan, Nipun Kwatra
7/14/2022
1 citation
cs.LGcs.AI

Official code: microsoft/distance-learner (15 stars, Python, MIT, last commit 2022-07-29).

Abstract

The manifold hypothesis (real world data concentrates near low-dimensional manifolds) is suggested as the principle behind the effectiveness of machine learning algorithms in very high dimensional problems that are common in domains such as vision and speech. Multiple methods have been proposed to explicitly incorporate the manifold hypothesis as a prior in modern Deep Neural Networks (DNNs), with varying success.

Show full abstract

In this paper, we propose a new method, Distance Learner, to incorporate this prior for DNN-based classifiers. Distance Learner is trained to predict the distance of a point from the underlying manifold of each class, rather than the class label. For classification, Distance Learner then chooses the class corresponding to the closest predicted class manifold. Distance Learner can also identify points as being out of distribution (belonging to neither class), if the distance to the closest manifold is higher than a threshold. We evaluate our method on multiple synthetic datasets and show that Distance Learner learns much more meaningful classification boundaries compared to a standard classifier. We also evaluate our method on the task of adversarial robustness, and find that it not only outperforms standard classifier by a large margin, but also performs at par with classifiers trained via state-of-the-art adversarial training.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation for "Distance Learner: Incorporating Manifold Prior to Model Training"

152Python, ShellJun 25, 20224 years agoMIT

Similar Papers

Cite this paper

@article{chetan2022distance,
  title  = {Distance Learner: Incorporating Manifold Prior to Model Training},
  author = {Aditya Chetan and Nipun Kwatra},
  year   = {2022},
  eprint = {2207.06888},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.06888v1}
}

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

Discussion