Due to the complex attention mechanisms and model design, most existing vision Transformers (ViTs) can not perform as efficiently as convolutional neural networks (CNNs) in realistic industrial deployment scenarios, e.g. TensorRT and CoreML. This poses a distinct challenge: Can a visual neural network be designed to infer as fast as CNNs and perform as powerful as ViTs? Recent works have tried to design CNN-Transformer hybrid architectures to address this issue, yet the overall performance of these works is far away from satisfactory. To end these, we propose a next generation vision Transformer for efficient deployment in realistic industrial scenarios, namely Next-ViT, which dominates both CNNs and ViTs from the perspective of latency/accuracy trade-off. In this work, the Next Convolution Block (NCB) and Next Transformer Block (NTB) are respectively developed to capture local and global information with deployment-friendly mechanisms. Then, Next Hybrid Strategy (NHS) is designed to stack NCB and NTB in an efficient hybrid paradigm, which boosts performance in various downstream tasks. Extensive experiments show that Next-ViT significantly outperforms existing CNNs, ViTs and CNN-Transformer hybrid architectures with respect to the latency/accuracy trade-off across various vision tasks. On TensorRT, Next-ViT surpasses ResNet by 5.5 mAP (from 40.4 to 45.9) on COCO detection and 7.7% mIoU (from 38.8% to 46.5%) on ADE20K segmentation under similar latency. Meanwhile, it achieves comparable performance with CSWin, while the inference speed is accelerated by 3.6x. On CoreML, Next-ViT surpasses EfficientFormer by 4.6 mAP (from 42.6 to 47.2) on COCO detection and 3.5% mIoU (from 45.1% to 48.6%) on ADE20K segmentation under similar latency. Our code and models are made public at: https://github.com/bytedance/Next-ViT
Benchmarking Edge Inference Strategies for Deep Learning Models in Industrial Machine Vision
Spanish Ministry of Science, Innovation and Universities(西班牙科学、创新与大学部);Spanish State Research Agency(西班牙国家研究机构);European Regional Development Fund(欧洲区域发展基金);European Union(欧洲联盟);European Health and Digital Executive Agency(欧洲健康与数字执行机构)
Fixed-Threshold Evaluation of a Hybrid CNN-ViT for AI-Generated Image Detection Across Photos and Art
Department of Computer Science and Engineering, Indian Institute of Technology Kharagpur, India(计算机科学与工程系,印度理工学院Kharagpur分校);Department of Electrical and Electronic Engineering, Chittagong University of Engineering and Technology, Bangladesh(电气与电子工程系,查塔格工学院)
ALow-Cost Real-Time Framework for Industrial Action Recognition Using Foundation Models
College of Information Science and Engineering, Northeastern University, Shenyang, China(信息科学与工程学院,东北大学,沈阳,中国);School of Mechanical Engineering and Automation, Northeastern University, Shenyang, China(机械工程与自动化学院,东北大学,沈阳,中国);Enterprise AI, Midea AI Innovation Center, Foshan, China(企业人工智能,美的人工智能创新中心,佛山,中国);Foshan Graduate School of innovation, Northeastern University, Foshan, China(佛山创新研究生学院,东北大学,佛山,中国)
TAP-ViTs: Task-Adaptive Pruning for On-Device Deployment of Vision Transformers
State Key Laboratory of Blockchain and Data Security(区块链与数据安全国家重点实验室);College of Computer Science and Technology(计算机科学与技术学院);College of Computer Science and Electronic Engineering(计算机科学与电子工程学院)
I-ViT: Integer-only Quantization for Efficient Vision Transformer Inference
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
I&S-ViT: An Inclusive & Stable Method for Pushing the Limit of Post-Training ViTs Quantization
Institute of Artificial Intelligence, Xiamen University(厦门大学人工智能学院);MAC Lab, Department of Artificial Intelligence, School of Informatics, Xiamen University(厦门大学信息学院人工智能系);Rakuten;Peng Cheng Laboratory(鹏城实验室)
Productive Reproducible Workflows for DNNs: A Case Study for Industrial Defect Detection
University of Glasgow(格拉斯哥大学)
随着深度神经网络(DNN)成为越来越普遍的工作负载,可用于帮助其开发和部署的库和工具的范围显着增长。可扩展的生产质量工具在许可证下免费提供,并且可以访问,即使是小团队也可以非常高效。然而,在研究界,对上述工具的认识和使用并不一定广泛,研究人员可能会错过利用最新工具和工作流程带来的潜在生产力收益。本文介绍了一个案例研究,我们讨论了我们最近的经验,生产一个端到端的人工智能应用程序的工业缺陷检测。我们详细介绍了高级深度学习库、容器化工作流、持续集成/部署管道和开源代码模板,我们利用它们来产生有竞争力的结果,使其他排名解决方案的性能与我们的三个目标数据集相匹配。我们强调了利用这些系统可以带来的价值,即使是研究,并详细介绍了我们的解决方案,并在服务器级GPU上的准确性和推理时间方面展示了我们的最佳结果,以及服务器级CPU和Raspberry Pi 4上的推理时间。
DFQ-ViT: Data-Free Quantization for Vision Transformers without Fine-tuning
School of Computer Science and Artificial Intelligence, Wuhan University of Technology, Hubei Key Laboratory of Transportation Internet of Things(计算机科学与人工智能学院,武汉理工大学,交通物联网重点实验室);NEC Corporation(日本日电株式会社);State Key Laboratory of Internet of Things for Smart City, University of Macau(智慧城市物联网国家重点实验室,澳门大学)