Input Similarity from the Neural Network Perspective
arXiv:2102.05262
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. 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 and are, taking a machine learning viewpoint: how much a parameter variation designed to change the output for would impact the output for 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.
Published at NeurIPS 2019
Cited by in corpus (10)
- Inverting Gradients -- How easy is it to break privacy in federated learning?
- Witches' Brew: Industrial Scale Data Poisoning via Gradient Matching
- Evaluation of Similarity-based Explanations
- The Thousand Faces of Explainable AI Along the Machine Learning Life Cycle: Industrial Reality and Current State of Research
- Addressing Class Imbalance in Federated Learning
- An Empirical Comparison of Instance Attribution Methods for NLP
- Differential Privacy, Linguistic Fairness, and Training Data Influence: Impossibility and Possibility Theorems for Multilingual Language Models
- Neural Random Projection: From the Initial Task To the Input Similarity Problem
- Influence Tuning: Demoting Spurious Correlations via Instance Attribution and Instance-Driven Updates
- Adversarial Attacks on Knowledge Graph Embeddings via Instance Attribution Methods