Loading...
Translation-invariant optical neural network for image classification
Sadeghzadeh, H ; Sharif University of Technology | 2022
12
Viewed
- Type of Document: Article
- DOI: 10.1038/s41598-022-22291-0
- Publisher: Nature Research , 2022
- Abstract:
- The classification performance of all-optical Convolutional Neural Networks (CNNs) is greatly influenced by components’ misalignment and translation of input images in the practical applications. In this paper, we propose a free-space all-optical CNN (named Trans-ONN) which accurately classifies translated images in the horizontal, vertical, or diagonal directions. Trans-ONN takes advantages of an optical motion pooling layer which provides the translation invariance property by implementing different optical masks in the Fourier plane for classifying translated test images. Moreover, to enhance the translation invariance property, global average pooling (GAP) is utilized in the Trans-ONN structure, rather than fully connected layers. The comparative studies confirm that taking advantage of vertical and horizontal masks along GAP operation provide the best translation invariance property, compared to the alternative network models, for classifying horizontally and vertically shifted test images up to 50 pixel shifts of Kaggle Cats and Dogs, CIFAR-10, and MNIST datasets, respectively. Also, adopting the diagonal mask along GAP operation achieves the best classification accuracy for classifying translated test images in the diagonal direction for large number of pixel shifts (i.e. more than 30 pixel shifts). It is worth mentioning that the proposed translation invariant networks are capable of classifying the translated test images not included in the training procedure. © 2022, The Author(s)
- Keywords:
- Animal ; Cat ; Dog ; Animals ; Cats ; Dogs ; Neural Networks, Computer
- Source: Scientific Reports ; Volume 12, Issue 1 , 2022 ; 20452322 (ISSN)
- URL: https://www.nature.com/articles/s41598-022-22291-0