A Cost-Efficient FPGA Implementation of Tiny Transformer Model using Neural ODE
Not on the map. Why?
Abstract (arXiv)
Transformer has been adopted to image recognition tasks and shown to outperform CNNs and RNNs while it suffers from high training cost and computational complexity. To address these issues, a hybrid approach has become a recent research trend, which replaces a part of ResNet with an MHSA (Multi-Head Self-Attention). In this paper, we propose a lightweight hybrid model which uses Neural ODE (Ordinary Differential Equation) as a backbone instead of ResNet so that we can increase the number of iterations of building blocks while reusing the same parameters, mitigating the increase in parameter size per iteration. The proposed model is deployed on a modest-sized FPGA device for edge computing. The model is further quantized by QAT (Quantization Aware Training) scheme to reduce FPGA resource utilization while suppressing the accuracy loss. The quantized model achieves 79.68% top-1 accuracy for STL10 dataset that contains 96×96 pixel images. The weights of the feature extraction network are stored on-chip to minimize the memory transfer overhead, allowing faster inference. By eliminating the overhead of memory transfers, inference can be executed seamlessly, leading to accelerated inference. The proposed FPGA implementation accelerates the backbone and MHSA parts by 34.01×, and achieves an overall 9.85× speedup when taking into account the software pre- and post-processing. The FPGA acceleration leads to 7.10× better energy efficiency compared to the ARM Cortex-A53 CPU. The proposed lightweight Transformer model is demonstrated on Xilinx ZCU104 board for the image recognition of 96×96 pixel images in this paper and can be applied to different image sizes by modifying the pre-processing layer.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 33 of its 53 references that are in the map. First posted on arXiv 5 Jan 2024.
Builds on
33 of 53 references.
References · 33
- 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
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,845
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
21 more
- 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,332
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Reformer: The Efficient Transformercited by 1,668
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,135
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
- 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 919
- 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 569
- 2019Augmented Neural ODEscited by 397
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2019Attention Augmented Convolutional Networkscited by 363
- 2022How Do Vision Transformers Work?cited by 307
- 2021Incorporating Convolution Designs into Visual Transformerscited by 248
- 2020How to train your neural ODE: the world of Jacobian and kinetic regularizationcited by 228
- 2022Patches Are All You Need?cited by 201
- 2019Neural SDE: Stabilizing Neural ODE Networks with Stochastic Noisecited by 101
- 2019On Robustness of Neural Ordinary Differential Equationscited by 83
- 2020FTRANS: Energy-Efficient Acceleration of Transformers using FPGAcited by 54
- 2021Sparse Attention with Linear Unitscited by 41
- 2022VAQF: Fully Automatic Software-Hardware Co-Design Framework for Low-Bit Vision Transformercited by 27
Built on by
Citing papers per year: 2024: 1; 2025: 3.
4 papers.
- 2025Optimal Control for Transformer Architectures: Enhancing Generalization, Robustness and Efficiencycited by 8
- 2025OT-Transformer: A Continuous-time Transformer Architecture with Optimal Transport Regularizationcited by 7
- 2024Hardware Acceleration of LLMs: A comprehensive survey and comparisoncited by 3
- 2025PointODE: Lightweight Point Cloud Learning with Neural Ordinary Differential Equations on Edgecited by 1
- 2025PointODE: Lightweight Point Cloud Learning with Neural Ordinary Differential Equations on Edge31 May 2025
- 2025Optimal Control for Transformer Architectures: Enhancing Generalization, Robustness and Efficiency16 May 2025
- 2025OT-Transformer: A Continuous-time Transformer Architecture with Optimal Transport Regularization30 Jan 2025
- 2024Hardware Acceleration of LLMs: A comprehensive survey and comparison5 Sep 2024
Similar, not cited
Close in wording, no citation either way
- 2026Lightweight Transformer Architectures for Edge Devices in Real-Time Applications
- 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey
- 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAs
- 2025Energy-Efficient FPGA Framework for Non-Quantized Convolutional Neural Networks
- 2025Real Time FPGA Based Transformers & VLMs for Vision Tasks: SOTA Designs and Optimizations
- 2025Neural Network Quantization for Microcontrollers: A Comprehensive Survey of Methods, Platforms, and Applications
- 2025EfficientQuant: An Efficient Post-Training Quantization for CNN-Transformer Hybrid Models on Edge Devices
- 2025Atleus: Accelerating Transformers on the Edge Enabled by 3D Heterogeneous Manycore Architectures