journal article·2018-10-28Open access

Improving Convolutional Neural Networks’ Accuracy in Noisy Environments Using k-Nearest Neighbors

Antonio-Javier Gallego, Antonio Pertusa, Jorge Calvo-Zaragoza

Applied Sciences· Volume 8· Issue 11

Abstract

We present a hybrid approach to improve the accuracy of Convolutional Neural Networks (CNN) without retraining the model. The proposed architecture replaces the softmax layer by a k-Nearest Neighbor (kNN) algorithm for inference. Although this is a common technique in transfer learning, we apply it to the same domain for which the network was trained. Previous works show that neural codes (neuron activations of the last hidden layers) can benefit from the inclusion of classifiers such as support vector machines or random forests. In this work, our proposed hybrid CNN + kNN architecture is evaluated using several image datasets, network topologies and label noise levels. The results show significant accuracy improvements in the inference stage with respect to the standard CNN with noisy labels, especially with relatively large datasets such as CIFAR100. We also verify that applying the ℓ 2 norm on neural codes is statistically beneficial for this approach.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Machine Learning and Data Classification · Anomaly Detection Techniques and Applications · Advanced Neural Network Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Pattern Recognition and Artificial Intelligence Group, Department of Software and Computing Systems, University of Alicante, 03690 Alicante, Spain

PRHLT Research Center, Universitat Politècnica de València, 46022 Valencia, Spain

Funding

Ministerio de Ciencia, Innovación y Universidades

References (38)

Show source-provided references
1. Deep learning10.1038/nature14539 ↗
2. Jindal, I., Nokleby, M., and Chen, X. (arXiv, 2017). Learning Deep Networks from Noisy Labels with Dropout Regularization, arXiv.10.1109/ICDM.2016.0121 ↗
3. Class Noise vs. Attribute Noise: A Quantitative Study10.1007/s10462-004-0751-8 ↗
4. Classification in the Presence of Label Noise: A Survey10.1109/TNNLS.2013.2292894 ↗
5. Bekker, A.J., and Goldberger, J. (2016, January 20–25). Training deep neural-networks based on unreliable labels. Proceedings of the 2016 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP 2016), Shanghai, China.10.1109/ICASSP.2016.7472164 ↗
6. Sukhbaatar, S., Bruna, J., Paluri, M., Bourdev, L., and Fergus, R. (arXiv, 2014). Training Convolutional Networks with Noisy Labels, arXiv.
7. Reed, S., Lee, H., Anguelov, D., Szegedy, C., Erhan, D., and Rabinovich, A. (arXiv, 2014). Training Deep Neural Networks on Noisy Labels with Bootstrapping, arXiv.
8. Patrini, G., Rozza, A., Krishna Menon, A., Nock, R., and Qu, L. (2017, January 21–26). Making Deep Neural Networks Robust to Label Noise: A Loss Correction Approach. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.240 ↗
9. Factors of Transferability for a Generic ConvNet Representation10.1109/TPAMI.2015.2500224 ↗
10. Yosinski, J., Clune, J., Bengio, Y., and Lipson, H. (2014, January 8–13). How transferable are features in deep neural networks?. Proceedings of the Advances in Neural Information Processing Systems (NIPS), Montreal, QC, USA.
11. Fleet, D., Pajdla, T., Schiele, B., and Tuytelaars, T. (2014). Neural Codes for Image Retrieval. Computer Vision–ECCV 2014, Proceedings of the 13th European Conference, Zurich, Switzerland, 6–12 September 2014, Springer International Publishing. Part I.10.1007/978-3-319-10590-1 ↗
12. Chatfield, K., Simonyan, K., Vedaldi, A., and Zisserman, A. (arXiv, 2014). Return of the Devil in the Details: Delving Deep into Convolutional Nets, arXiv.10.5244/C.28.6 ↗
13. Sharif Razavian, A., Azizpour, H., Sullivan, J., and Carlsson, S. (2014, January 24–27). CNN Features Off-the-Shelf: An Astounding Baseline for Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, Columbus, OH, USA.10.1109/CVPRW.2014.131 ↗
14. Huang, F., and LeCun, Y. (2006, January 17–22). Large-scale learning with SVM and convolutional nets for generic object categorization. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2006), New York, NY, USA.
15. Jarrett, K., Kavukcouglu, K., Ranzato, M., and LeCun, Y. (October, January 29). What is the Best Multi-Stage Architecture for Object Recognition?. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Kyoto, Japan.
16. Gu, J., Wang, Z., Kuen, J., Ma, L., Shahroudy, A., Shuai, B., Liu, T., Wang, X., and Wang, G. (arXiv, 2015). Recent Advances in Convolutional Neural Networks, arXiv.
17. Kontschieder, P., Fiterau, M., Criminisi, A., and Rota Bulo, S. (2015, January 13–16). Deep Neural Decision Forests. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Santiago, Chile.10.1109/ICCV.2015.172 ↗
18. Nearest neighbor pattern classification10.1109/TIT.1967.1053964 ↗
19. Zheng, L., Zhao, Y., Wang, S., Wang, J., and Tian, Q. (arXiv, 2016). Good Practice in CNN Feature Transfer, arXiv.
20. A database for handwritten text recognition research10.1109/34.291440 ↗
21. Gradient-based learning applied to document recognition10.1109/5.726791 ↗
22. Dheeru, D., and Karra Taniskidou, E. (2017). UCI Machine Learning Repository, School of Information and Computer Sciences, University of of California.
23. Calvo-Zaragoza, J., and Oncina, J. (2014, January 24–28). Recognition of Pen-Based Music Notation: The HOMUS Dataset. Proceedings of the International Conference on Pattern Recognition (ICPR), Stockholm, Sweden.10.1109/ICPR.2014.524 ↗
24. Wilkinson, R.A., Geist, J., Janet, S., Grother, P.J., Burges, C.J., Creecy, R., Hammond, B., Hull, J.J., Larsen, N.O., and Vogl, T.P. (1992). The First Census Optical Character Recognition System Conference.10.6028/NIST.IR.4912 ↗
25. Krizhevsky, A., and Hinton, G. (2009). Learning Multiple Layers of Features From Tiny Images, University of Toronto. Technical Report.
26. 80 million tiny images: A large data set for nonparametric object and scene recognition10.1109/TPAMI.2008.128 ↗
27. Simonyan, K., and Zisserman, A. (arXiv, 2014). Very Deep Convolutional Networks for Large-Scale Image Recognition, arXiv.
28. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
29. Bottou, L. (2010, January 22–27). Large-scale machine learning with stochastic gradient descent. Proceedings of the 19th International Symposium on Computational Statistics, Paris, France.
30. Zeiler, M.D. (arXiv, 2012). ADADELTA: An Adaptive Learning Rate Method, arXiv.
31. Natarajan, N., Dhillon, I., Ravikumar, P., and Tewari, A. (2013, January 5–10). Learning with noisy labels. Proceedings of the Advances in Neural Information Processing Systems, Lake Tahoe, NV, USA.
32. Johnson, J., Douze, M., and Jégou, H. (arXiv, 2017). Billion-scale similarity search with GPUs, arXiv.
33. Clustering-based k-nearest neighbor classification for large-scale data with neural codes representation10.1016/j.patcog.2017.09.038 ↗
34. Malkov, Y.A., and Yashunin, D.A. (arXiv, 2016). Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs, arXiv.
35. Statistical Comparisons of Classifiers over Multiple Data Sets
36. Vapnik, V.N. (1998). Statistical Learning Theory, Wiley. [1st ed.].
37. Random Forests10.1023/A:1010933404324 ↗
38. Ren, W., Yu, Y., Zhang, J., and Huang, K. (2014, January 24–28). Learning Convolutional NonLinear Features for K Nearest Neighbor Image Classification. Proceedings of the IEEE International Conference on Pattern Recognition (ICPR), Stockholm, Sweden.10.1109/ICPR.2014.746 ↗