ConvShareViT: Enhancing Vision Transformers with Convolutional Attention Mechanisms for Free-Space Optical Accelerators
Not on the map. Why?
Abstract (arXiv)
This paper introduces ConvShareViT, a novel deep learning architecture that adapts Vision Transformers (ViTs) to the 4f free-space optical system. ConvShareViT replaces linear layers in multi-head self-attention (MHSA) and Multilayer Perceptrons (MLPs) with a depthwise convolutional layer with shared weights across input channels. Through the development of ConvShareViT, the behaviour of convolutions within MHSA and their effectiveness in learning the attention mechanism were analysed systematically. Experimental results demonstrate that certain configurations, particularly those using valid-padded shared convolutions, can successfully learn attention, achieving comparable attention scores to those obtained with standard ViTs. However, other configurations, such as those using same-padded convolutions, show limitations in attention learning and operate like regular CNNs rather than transformer models. ConvShareViT architectures are specifically optimised for the 4f optical system, which takes advantage of the parallelism and high-resolution capabilities of optical systems. Results demonstrate that ConvShareViT can theoretically achieve up to 3.04 times faster inference than GPU-based systems. This potential acceleration makes ConvShareViT an attractive candidate for future optical deep learning applications and proves that our ViT (ConvShareViT) can be employed using only the convolution operation, via the necessary optimisation of the ViT to balance performance and complexity.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 25 of its 52 references that are in the map. First posted on arXiv 15 Apr 2025.
Builds on
25 of 52 references.
References · 25
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2015SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentationcited by 1,487
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 849
- 2020A Survey on Visual Transformercited by 654
- 2024YOLOv10: Real-Time End-to-End Object Detectioncited by 515
13 more
- 2013Do Deep Nets Really Need to be Deep?cited by 474
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2022Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNscited by 155
- 2021A Survey of Visual Transformerscited by 117
- 2018Training of photonic neural networks through in situ backpropagationcited by 45
- 2022Hardware Approximate Techniques for Deep Neural Network Accelerators: A Surveycited by 39
- 2023Understanding Why ViT Trains Badly on Small Datasets: An Intuitive Perspectivecited by 28
- 2022Vision Transformers in Medical Computer Vision -- A Contemplative Retrospectioncited by 22
- 2020Massively Parallel Amplitude-Only Fourier Neural Networkcited by 21
- 2018An Optical Frontend for a Convolutional Neural Networkcited by 18
- 2023Optical Transformerscited by 10
- 2020Channel Tiling for Improved Performance and Accuracy of Optical Neural Network Acceleratorscited by 3
- 2022FatNet: High Resolution Kernels for Classification Using Fully Convolutional Optical Neural Networkscited by 3
Built on by
Not cited yet.