paper-with-me

Papers

FMViT: A multiple-frequency mixing Vision Transformer

2023-11-09 · Wei Tan, Yifeng Geng, Xuansong Xie

The transformer model has gained widespread adoption in computer vision tasks in recent times. However, due to the quadratic time and memory complexity of self-attention, which is proportional to the number of input tokens, most existing Vision Transformers (ViTs) encounter challenges in achieving efficient performance in practical industrial deployment scenarios, such as TensorRT and CoreML, where traditional CNNs excel. Although some recent attempts have been made to design CNN-Transformer hybrid architectures to tackle this problem, their overall performance has not met expectations. To tackle these challenges, we propose an efficient hybrid ViT architecture named FMViT. This approach enhances the model's expressive power by blending high-frequency features and low-frequency features with varying frequencies, enabling it to capture both local and global information effectively. Additionally, we introduce deploy-friendly mechanisms such as Convolutional Multigroup Reparameterization (gMLP), Lightweight Multi-head Self-Attention (RLMHSA), and Convolutional Fusion Block (CFB) to further improve the model's performance and reduce computational overhead. Our experiments demonstrate that FMViT surpasses existing CNNs, ViTs, and CNNTransformer hybrid architectures in terms of latency/accuracy trade-offs for various vision tasks. On the TensorRT platform, FMViT outperforms Resnet101 by 2.5% (83.3% vs. 80.8%) in top-1 accuracy on the ImageNet dataset while maintaining similar inference latency. Moreover, FMViT achieves comparable performance with EfficientNet-B5, but with a 43% improvement in inference speed. On CoreML, FMViT outperforms MobileOne by 2.6% in top-1 accuracy on the ImageNet dataset, with inference latency comparable to MobileOne (78.5% vs. 75.9%). Our code can be found at https://github.com/tany0699/FMViT.

📄 PDF Abstract BibTeX arXiv:2311.05707

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SFMViT: SlowFast Meet ViT in Chaotic World

2024-04-25 · Jiaying Lin, Jiajun Wen, Mengyuan Liu, Jinfu Liu 외

The task of spatiotemporal action localization in chaotic scenes is a challenging task toward advanced video understanding. Paving the way with high-quality video feature extraction and enhancing the precision of detecto…

Action LocalizationVideo Understanding

Scattering Vision Transformer: Spectral Mixing Matters

2023-11-02 · NeurIPS 2023 11

Vision transformers have gained significant attention and achieved state-of-the-art performance in various computer vision tasks, including image classification, instance segmentation, and object detection. However, chal…

image-classificationImage ClassificationInstance Segmentationobject-detection+3

ReLaMix: Residual Latency-Aware Mixing for Delay-Robust Financial Time-Series Forecasting

2026-03-21 · Tianyou Lai, Wentao Yue, Jiayi Zhou, Chaoyuan Hao 외 arxiv

Financial time-series forecasting in real-world high-frequency markets is often hindered by delayed or partially stale observations caused by asynchronous data acquisition and transmission latency. To better reflect such…

Mixing and Shifting: Exploiting Global and Local Dependencies in Vision MLPs

2022-02-14 · Huangjie Zheng, Pengcheng He, Weizhu Chen, Mingyuan Zhou

Token-mixing multi-layer perceptron (MLP) models have shown competitive performance in computer vision tasks with a simple architecture and relatively small computational cost. Their success in maintaining computation ef…

Rethinking Token-Mixing MLP for MLP-based Vision Backbone

2021-06-28 · Tan Yu, Xu Li, Yunfeng Cai, Mingming Sun 외

In the past decade, we have witnessed rapid progress in the machine vision backbone. By introducing the inductive bias from the image processing, convolution neural network (CNN) has achieved excellent performance in num…

Inductive Bias