paper-with-me

홈 › Papers

ParFormer: A Vision Transformer with Parallel Mixer and Sparse Channel Attention Patch Embedding

2024-03-22 · Novendra Setyawan, Ghufron Wahyu Kurniawan, Chi-Chia Sun, Jun-Wei Hsieh, Jing-Ming Guo, Wen-Kai Kuo

Convolutional Neural Networks (CNNs) and Transformers have achieved remarkable success in computer vision tasks. However, their deep architectures often lead to high computational redundancy, making them less suitable for resource-constrained environments, such as edge devices. This paper introduces ParFormer, a novel vision transformer that addresses this challenge by incorporating a Parallel Mixer and a Sparse Channel Attention Patch Embedding (SCAPE). By combining convolutional and attention mechanisms, ParFormer improves feature extraction. This makes spatial feature extraction more efficient and cuts down on unnecessary computation. The SCAPE module further reduces computational redundancy while preserving essential feature information during down-sampling. Experimental results on the ImageNet-1K dataset show that ParFormer-T achieves 78.9\% Top-1 accuracy with a high throughput on a GPU that outperforms other small models with 2.56$\times$ higher throughput than MobileViT-S, 0.24\% faster than FasterNet-T2, and 1.79$\times$ higher than EdgeNeXt-S. For edge device deployment, ParFormer-T excels with a throughput of 278.1 images/sec, which is 1.38 $\times$ higher than EdgeNeXt-S and 2.36$\times$ higher than MobileViT-S, making it highly suitable for real-time applications in resource-constrained settings. The larger variant, ParFormer-L, reaches 83.5\% Top-1 accuracy, offering a balanced trade-off between accuracy and efficiency, surpassing many state-of-the-art models. In COCO object detection, ParFormer-M achieves 40.7 AP for object detection and 37.6 AP for instance segmentation, surpassing models like ResNet-50, PVT-S and PoolFormer-S24 with significantly higher efficiency. These results validate ParFormer as a highly efficient and scalable model for both high-performance and resource-constrained scenarios, making it an ideal solution for edge-based AI applications.

📄 PDF Abstract BibTeX arXiv:2403.15004

Code (0)

등록된 구현이 없습니다.

Tasks

GPUImage ClassificationInstance Segmentationobject-detectionObject DetectionObject RecognitionSemantic Segmentation

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Vision Transformer The Vision Transformer, or ViT, is a model for image classification that employs a Transformer-like architecture over…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Stochastic Depth Stochastic Depth aims to shrink the depth of a network during training, while keeping it unchanged during testing. This is achieved by randomly dropping entire…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Hierarchical Associative Memory, Parallelized MLP-Mixer, and Symmetry Breaking

2024-06-18 · Ryo Karakida, Toshihiro Ota, Masato Taki

Transformers have established themselves as the leading neural network model in natural language processing and are increasingly foundational in various domains. In vision, the MLP-Mixer model has demonstrated competitiv…

PARFormer: Transformer-based Multi-Task Network for Pedestrian Attribute Recognition

2023-04-14 · Xinwen Fan, Yukang Zhang, Yang Lu, Hanzi Wang

Pedestrian attribute recognition (PAR) has received increasing attention because of its wide application in video surveillance and pedestrian analysis. Extracting robust feature representation is one of the key challenge…

AttributeData AugmentationPedestrian Attribute Recognition

MixerGAN: An MLP-Based Architecture for Unpaired Image-to-Image Translation

2021-05-28 · George Cazenavette, Manuel Ladron De Guevara

While attention-based transformer networks achieve unparalleled success in nearly all language tasks, the large number of tokens (pixels) found in images coupled with the quadratic activation memory usage makes them proh…

Image-to-Image TranslationTranslation

Sparse Backpropagation for MoE Training

2023-10-01 · Liyuan Liu, Jianfeng Gao, Weizhu Chen

One defining characteristic of Mixture-of-Expert (MoE) models is their capacity for conducting sparse computation via expert routing, leading to remarkable scalability. However, backpropagation, the cornerstone of deep l…

Machine Translation

PointMixer: MLP-Mixer for Point Cloud Understanding

2021-11-22 · Jaesung Choe, Chunghyun Park, Francois Rameau, Jaesik Park 외

MLP-Mixer has newly appeared as a new challenger against the realm of CNNs and transformer. Despite its simplicity compared to transformer, the concept of channel-mixing MLPs and token-mixing MLPs achieves noticeable per…

3D Object Classification3D Point Cloud ClassificationPoint cloud reconstructionSemantic Segmentation