paper-with-me

Papers

DeViT: Decomposing Vision Transformers for Collaborative Inference in Edge Devices

2023-09-10 · Guanyu Xu, Zhiwei Hao, Yong Luo, Han Hu, Jianping An, Shiwen Mao

Recent years have witnessed the great success of vision transformer (ViT), which has achieved state-of-the-art performance on multiple computer vision benchmarks. However, ViT models suffer from vast amounts of parameters and high computation cost, leading to difficult deployment on resource-constrained edge devices. Existing solutions mostly compress ViT models to a compact model but still cannot achieve real-time inference. To tackle this issue, we propose to explore the divisibility of transformer structure, and decompose the large ViT into multiple small models for collaborative inference at edge devices. Our objective is to achieve fast and energy-efficient collaborative inference while maintaining comparable accuracy compared with large ViTs. To this end, we first propose a collaborative inference framework termed DeViT to facilitate edge deployment by decomposing large ViTs. Subsequently, we design a decomposition-and-ensemble algorithm based on knowledge distillation, termed DEKD, to fuse multiple small decomposed models while dramatically reducing communication overheads, and handle heterogeneous models by developing a feature matching module to promote the imitations of decomposed models from the large ViT. Extensive experiments for three representative ViT backbones on four widely-used datasets demonstrate our method achieves efficient collaborative inference for ViTs and outperforms existing lightweight ViTs, striking a good trade-off between efficiency and accuracy. For example, our DeViTs improves end-to-end latency by 2.89$\times$ with only 1.65% accuracy sacrifice using CIFAR-100 compared to the large ViT, ViT-L/16, on the GPU server. DeDeiTs surpasses the recent efficient ViT, MobileViT-S, by 3.54% in accuracy on ImageNet-1K, while running 1.72$\times$ faster and requiring 55.28% lower energy consumption on the edge device.

📄 PDF Abstract BibTeX arXiv:2309.05015

Code (0)

등록된 구현이 없습니다.

Tasks

Collaborative InferenceGPUKnowledge Distillation

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Residual Connection 설명 없음
Vision Transformer The Vision Transformer, or ViT, is a model for image classification that employs a Transformer-like architecture over…

Similar Papers 제목 키워드 기반

DeViT: Deformed Vision Transformers in Video Inpainting

2022-09-28 · Jiayin Cai, Changlin Li, Xin Tao, Chun Yuan 외

This paper proposes a novel video inpainting method. We make three main contributions: First, we extended previous Transformers with patch alignment by introducing Deformed Patch-based Homography (DePtH), which improves …

Video Inpainting

Scaling through abstractions -- high-performance vectorial wave simulations for seismic inversion with Devito

2020-04-22 · Mathias Louboutin, Fabio Luporini, Philipp Witte, Rhodri Nelson 외

[Devito] is an open-source Python project based on domain-specific language and compiler technology. Driven by the requirements of rapid HPC applications development in exploration seismology, the language and compiler h…

Seismic Inversion

Ask the Expert: Collaborative Inference for Vision Transformers with Near-Edge Accelerators

2026-02-11 · Hao Liu, Suhaib A. Fahmy arxiv

Deploying Vision Transformers on edge devices is challenging due to their high computational complexity, while full offloading to cloud resources presents significant latency overheads. We propose a novel collaborative i…

AI Agent for Reverse-Engineering Legacy Finite-Difference Code and Translating to Devito

2026-01-26 · Yinghan Hou, Zongyou Yang arxiv

To facilitate the transformation of legacy finite difference implementations into the Devito environment, this study develops an integrated AI agent framework. Retrieval-Augmented Generation (RAG) and open-source Large L…

Reinforcement LearningSemantic SimilarityCommunity DetectionCode Translation

Learning in Focus: Detecting Behavioral and Collaborative Engagement Using Vision Transformers

2025-08-05 · Sindhuja Penchala, Saketh Reddy Kontham, Prachi Bhattacharjee, Nima Mahmoodi 외 arxiv

In early childhood education, accurately detecting collaborative and behavioral engagement is essential to foster meaningful learning experiences. This paper presents an AI driven approach that leverages Vision Transform…