mlsanityData to 7 Oct 2026

Generalizing Neural Networks by Reflecting Deviating Data in Production

arXiv 2110.02718 ↗First posted 6 Oct 2021cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Trained with a sufficiently large training and testing dataset, Deep Neural Networks (DNNs) are expected to generalize. However, inputs may deviate from the training dataset distribution in real deployments. This is a fundamental issue with using a finite dataset. Even worse, real inputs may change over time from the expected distribution. Taken together, these issues may lead deployed DNNs to mis-predict in production. In this work, we present a runtime approach that mitigates DNN mis-predictions caused by the unexpected runtime inputs to the DNN. In contrast to previous work that considers the structure and parameters of the DNN itself, our approach treats the DNN as a blackbox and focuses on the inputs to the DNN. Our approach has two steps. First, it recognizes and distinguishes "unseen" semantically-preserving inputs. For this we use a distribution analyzer based on the distance metric learned by a Siamese network. Second, our approach transforms those unexpected inputs into inputs from the training set that are identified as having similar semantics. We call this process input reflection and formulate it as a search problem over the embedding space on the training set. This embedding space is learned by a Quadruplet network as an auxiliary model for the subject model to improve the generalization. We implemented a tool called InputReflector based on the above two-step approach and evaluated it with experiments on three DNN models trained on CIFAR-10, MNIST, and FMINST image datasets. The results show that InputReflector can effectively distinguish inputs that retain semantics of the distribution (e.g., blurred, brightened, contrasted, and zoomed images) and out-of-distribution inputs from normal inputs.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 28 of its 45 references that are in the map. First posted on arXiv 6 Oct 2021.

Builds on

28 of 45 references.

References · 28

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  3. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
  4. 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
  5. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
  6. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
  7. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  8. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  9. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  10. 2017Random Erasing Data Augmentationcited by 1,235
  11. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
  12. 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 784
16 more
  1. 2019Adversarial Training for Free!cited by 638
  2. 2018SiamRPN++: Evolution of Siamese Visual Tracking with Very Deep Networkscited by 445
  3. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  4. 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
  5. 2016Learning from Simulated and Unsupervised Images through Adversarial Trainingcited by 287
  6. 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
  7. 2020Proxy Anchor Loss for Deep Metric Learningcited by 195
  8. 2017Beyond triplet loss: a deep quadruplet network for person re-identificationcited by 172
  9. 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
  10. 2019Deeper and Wider Siamese Networks for Real-Time Visual Trackingcited by 156
  11. 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 123
  12. 2018Adversarial Sample Detection for Deep Neural Network through Model Mutation Testingcited by 48
  13. 2020Towards Characterizing Adversarial Defects of Deep Learning Software from the Lens of Uncertaintycited by 26
  14. 2021Self-Checking Deep Neural Networks in Deploymentcited by 18
  15. 2018Counterexample-Guided Data Augmentationcited by 15
  16. 2020Wide and Deep Graph Neural Networks with Distributed Online Learningcited by 7

Built on by

Not cited yet.