A Self-Encoder for Learning Nearest Neighbors

Armand Boschin, Thomas Bonald, Marc Jeanmougin
6/25/2023
cs.LG

No confident code implementation found for this paper.

Abstract

We present the self-encoder, a neural network trained to guess the identity of each data sample. Despite its simplicity, it learns a very useful representation of data, in a self-supervised way. Specifically, the self-encoder learns to distribute the data samples in the embedding space so that they are linearly separable from one another. This induces a geometry where two samples are close in the embedding space when they are not easy to differentiate. The self-encoder can then be combined with a nearest-neighbor classifier or regressor for any subsequent supervised task. Unlike regular nearest neighbors, the predictions resulting from this encoding of data are invariant to any scaling of features, making any preprocessing like min-max scaling not necessary. The experiments show the efficiency of the approach, especially on heterogeneous data mixing numerical features and categorical features.

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!

Cite this paper

@article{boschin2023selfencoder,
  title  = {A Self-Encoder for Learning Nearest Neighbors},
  author = {Armand Boschin and Thomas Bonald and Marc Jeanmougin},
  year   = {2023},
  eprint = {2306.14257},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.14257v1}
}

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

Discussion