Input Similarity from the Neural Network Perspective

Guillaume Charpiat, Nicolas Girard, Loris Felardos, Yuliya Tarabalka
2/10/2021
112 citations
cs.LGcs.CVstat.ML

Official code: Lydorn/netsimilarity (26 stars, Python, last commit 2020-10-28).

Abstract

We first exhibit a multimodal image registration task, for which a neural network trained on a dataset with noisy labels reaches almost perfect accuracy, far beyond noise variance. This surprising auto-denoising phenomenon can be explained as a noise averaging effect over the labels of similar input examples.

Show full abstract

This effect theoretically grows with the number of similar examples; the question is then to define and estimate the similarity of examples. We express a proper definition of similarity, from the neural network perspective, i.e. we quantify how undissociable two inputs $A$ and $B$ are, taking a machine learning viewpoint: how much a parameter variation designed to change the output for $A$ would impact the output for $B$ as well? We study the mathematical properties of this similarity measure, and show how to use it on a trained network to estimate sample density, in low complexity, enabling new types of statistical analysis for neural networks. We analyze data by retrieving samples perceived as similar by the network, and are able to quantify the denoising effect without requiring true labels. We also propose, during training, to enforce that examples known to be similar should also be seen as similar by the network, and notice speed-up training effects for certain datasets.

View on arXivView PDF

Code Implementations(1)

Input Similarity from the Neural Network Perspective

263Python, Jupyter NotebookJun 2, 20196 years ago

Similar Papers

Cite this paper

@article{charpiat2021input,
  title  = {Input Similarity from the Neural Network Perspective},
  author = {Guillaume Charpiat and Nicolas Girard and Loris Felardos and Yuliya Tarabalka},
  year   = {2021},
  eprint = {2102.05262},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.05262}
}

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

Discussion