TRT-ViT: TensorRT-oriented Vision Transformer
Not on the map. Why?
Abstract (arXiv)
We revisit the existing excellent Transformers from the perspective of practical application. Most of them are not even as efficient as the basic ResNets series and deviate from the realistic deployment scenario. It may be due to the current criterion to measure computation efficiency, such as FLOPs or parameters is one-sided, sub-optimal, and hardware-insensitive. Thus, this paper directly treats the TensorRT latency on the specific hardware as an efficiency metric, which provides more comprehensive feedback involving computational capacity, memory cost, and bandwidth. Based on a series of controlled experiments, this work derives four practical guidelines for TensorRT-oriented and deployment-friendly network design, e.g., early CNN and late Transformer at stage-level, early Transformer and late CNN at block-level. Accordingly, a family of TensortRT-oriented Transformers is presented, abbreviated as TRT-ViT. Extensive experiments demonstrate that TRT-ViT significantly outperforms existing ConvNets and vision Transformers with respect to the latency/accuracy trade-off across diverse visual tasks, e.g., image classification, object detection and semantic segmentation. For example, at 82.7% ImageNet-1k top-1 accuracy, TRT-ViT is 2.7× faster than CSWin and 2.0× faster than Twins. On the MS-COCO object detection task, TRT-ViT achieves comparable performance with Twins, while the inference speed is increased by 2.8×.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 41 of its 43 references that are in the map. First posted on arXiv 19 May 2022.
Builds on
41 of 43 references.
References · 41
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2017Mask R-CNNcited by 7,259
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2016Layer Normalizationcited by 5,579
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
29 more
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2022A ConvNet for the 2020scited by 3,545
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
- 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2016Deep Networks with Stochastic Depthcited by 973
- 2020Designing Network Design Spacescited by 954
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2019Panoptic Feature Pyramid Networkscited by 644
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2021Transformer in Transformercited by 632
- 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 566
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2021Mobile-Former: Bridging MobileNet and Transformercited by 234
- 2021Co-Scale Conv-Attentional Image Transformerscited by 224
- 2022Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNscited by 155
- 2022SepViT: Separable Vision Transformercited by 16
- 2022GPUNet: Searching the Deployable Convolution Neural Networks for GPUscited by 7
Built on by
Citing papers per year: 2022: 3; 2023: 5; 2024: 1; 2025: 1.
10 papers.
- 2023Run, Don't Walk: Chasing Higher FLOPS for Faster Neural Networkscited by 129
- 2023FreeSeg: Unified, Universal and Open-Vocabulary Image Segmentationcited by 94
- 2022Next-ViT: Next Generation Vision Transformer for Efficient Deployment in Realistic Industrial Scenarioscited by 65
- 2023DilateFormer: Multi-Scale Dilated Transformer for Visual Recognitioncited by 34
- 2023Unfolding Once is Enough: A Deployment-Friendly Transformer Unit for Super-Resolutioncited by 6
- 2023EfficientRep:An Efficient Repvgg-style ConvNets with Hardware-aware Neural Network Designcited by 5
- 2022Semi-UFormer: Semi-supervised Uncertainty-aware Transformer for Image Dehazingcited by 4
- 2022Multi-Objective Evolutionary for Object Detection Mobile Architectures Searchcited by 0
- 2024iiANET: Inception Inspired Attention Hybrid Network for efficient Long-Range Dependencycited by 0
- 2025Energy-Efficient Vision Transformer Inference for Edge-AI Deploymentcited by 0
- 2025Energy-Efficient Vision Transformer Inference for Edge-AI Deployment28 Nov 2025
- 2024iiANET: Inception Inspired Attention Hybrid Network for efficient Long-Range Dependency10 Jul 2024
- 2023Unfolding Once is Enough: A Deployment-Friendly Transformer Unit for Super-Resolution5 Aug 2023
- 2023FreeSeg: Unified, Universal and Open-Vocabulary Image Segmentation30 Mar 2023
- 2023Run, Don't Walk: Chasing Higher FLOPS for Faster Neural Networks7 Mar 2023
- 2023DilateFormer: Multi-Scale Dilated Transformer for Visual Recognition3 Feb 2023
- 2023EfficientRep:An Efficient Repvgg-style ConvNets with Hardware-aware Neural Network Design1 Feb 2023
- 2022Multi-Objective Evolutionary for Object Detection Mobile Architectures Search5 Nov 2022
- 2022Semi-UFormer: Semi-supervised Uncertainty-aware Transformer for Image Dehazing28 Oct 2022
- 2022Next-ViT: Next Generation Vision Transformer for Efficient Deployment in Realistic Industrial Scenarios12 Jul 2022