paper-with-me

Papers

Communication-Efficient Multi-Device Inference Acceleration for Transformer Models

2025-05-25 · Xiao Liu, Lijun Zhang, Deepak Ganesan, Hui Guan

Transformer models power many AI applications but suffer from high inference latency, limiting their use in real-time settings. Multi-device inference can reduce latency by parallelizing computation. Yet, existing methods require high inter-device bandwidth, making them impractical for bandwidth-constrained environments. We propose ASTRA, a communication-efficient framework that accelerates Transformer inference through a novel integration of sequence parallelism and a Mixed-Precision Attention mechanism designed to minimize inter-device communication. ASTRA compresses non-local token embeddings via vector quantization and preserves task accuracy through two optimizations, Noise-Augmented Quantization and Distributed Class Tokens. Experiments on ViT and GPT2 across vision and NLP tasks show that ASTRA achieves up to 2.64X speedups over single-device inference and up to 15.25X speedups over state-of-the-art multi-device inferences, while operating under bandwidths as low as 10 Mbps. ASTRA is open-sourced at https://github.com/xl1990/Astra.

📄 PDF Abstract BibTeX arXiv:2505.19342

Code (1)

xl1990/astra 공식 구현 pytorch

Tasks

Quantization

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
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…
Residual Connection 설명 없음
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…
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$…
Position-Wise Feed-Forward Layer 설명 없음

Similar Papers 제목 키워드 기반

Going Beyond the Edge: Distributed Inference of Transformer Models on Ultra-Low-Power Wireless Devices

2026-05-15 · Alexander Gräfe, Ding Huo, Vincent de Bakker, Johannes Berger 외 arxiv

Transformer models are rapidly becoming a cornerstone of modern Internet of Things (IoT) applications, yet their computational and memory demands far exceed the capabilities of a single typical ultra-low-power IoT device…

Galaxy: A Resource-Efficient Collaborative Edge AI System for In-situ Transformer Inference

2024-05-27 · Shengyuan Ye, Jiangsu Du, Liekang Zeng, Wenzhong Ou 외

Transformer-based models have unlocked a plethora of powerful intelligent applications at the edge, such as voice assistant in smart home. Traditional deployment approaches offload the inference workloads to the remote c…

Collaborative Inference

AEGIS: Scaling Long-Sequence Homomorphic Encrypted Transformer Inference via Hybrid Parallelism on Multi-GPU Systems

2026-04-03 · Zhaoting Gong, Ran Ran, Fan Yao, Wujie Wen arxiv

Fully Homomorphic Encryption (FHE) enables privacy-preserving Transformer inference, but long-sequence encrypted Transformers quickly exceed single-GPU memory capacity because encoded weights are already large and encryp…

Ladder-residual: parallelism-aware architecture for accelerating large model inference with communication overlapping

2025-01-11 · Muru Zhang, Mayank Mishra, Zhongzhu Zhou, William Brandon 외

Large language model inference is both memory-intensive and time-consuming, often requiring distributed algorithms to efficiently scale. Various model parallelism strategies are used in multi-gpu training and inference t…

GPULarge Language Model

Spin: An Efficient Secure Computation Framework with GPU Acceleration

2024-02-04 · Wuxuan Jiang, Xiangjun Song, Shenbai Hong, Haijun Zhang 외

Accuracy and efficiency remain challenges for multi-party computation (MPC) frameworks. Spin is a GPU-accelerated MPC framework that supports multiple computation parties and a dishonest majority adversarial setup. We pr…

CPUGPU