mlsanityData to 14 Oct 2026

A Self-Encoder for Learning Nearest Neighbors

arXiv 2306.14257 ↗First posted 25 Jun 2023cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 4 of its 8 references that are in the map. First posted on arXiv 25 Jun 2023.

Builds on

4 of 8 references.

References · 4

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2013Auto-Encoding Variational Bayescited by 4,053
  4. 2021Deep Neural Networks and Tabular Data: A Surveycited by 491

Built on by

Not cited yet.