TRACE: Transformer Residual Activation Codebook Encoding for Communication-efficient Distributed Edge Inference
Not on the map. Why?
Abstract (arXiv)
Distributed Transformer inference across co-located edge devices is fundamentally communication-bound, as exchanging activations between sequence-parallel partitions dominates inference latency under commodity edge bandwidths. Existing compression schemes reduce this cost but retain a structural bottleneck: the received data must still undergo key/value projection before attention can proceed, serializing computation behind communication. This paper presents Transformer Residual Activation Codebook Encoding (Trace), a framework that addresses these limitations. Trace places a Vector Quantizer (VQ) at the post-attention residual of every Transformer layer and precomputes codebook-indexed key/value representations. During inference, exchanged activations are encoded into compact codebook indices, allowing receivers to directly recover keys and values through table lookup instead of executing the downstream computations required to derive them. By eliminating the received data downstream computation, Trace enables communication--computation overlap and reduces a key latency bottleneck in distributed Transformer inference. A hierarchical clustering further structures the learned codebook into a multi-resolution hierarchy, enabling runtime adaptation of the communication bitrate without retraining. The framework supports two operating variants: one prioritizing accuracy and the other balancing accuracy and efficiency through buffer-compatible quantization. Experiments on ViT-Base (ImageNet-1K and CIFAR-100) and ViViT-B (UCF-101) show that Trace achieves up to 1.89% higher accuracy and up to 1.27x end-to-end inference speedup compared with the state-of-the-art VQ-based distributed inference framework. Compared with uncompressed sequence-parallel inference, Trace reduces communication overhead by up to 22,624x.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 23 of its 36 references that are in the map. Submitted 15 Oct 2026.
Builds on
23 of 36 references.
References · 23
- 2017Attention Is All You Needcited by 62,125
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,279
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,772
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,661
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,811
- 2024Qwen2.5 Technical Reportcited by 5,527
- 2017Neural Discrete Representation Learningcited by 4,968
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,688
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 2,029
- 2021ViViT: A Video Vision Transformercited by 1,642
- 2022Efficiently Scaling Transformer Inferencecited by 581
11 more
- 2023HiFi-Codec: Group-residual Vector quantization for High Fidelity Audio Codeccited by 171
- 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 137
- 2024USP: A Unified Sequence Parallelism Approach for Long Context Generative AIcited by 69
- 2023HexGen: Generative Inference of Large Language Model over Heterogeneous Environmentcited by 34
- 2025Jupiter: Fast and Resource-Efficient Collaborative Inference of Generative LLMs on Edge Devicescited by 16
- 2022STI: Turbocharge NLP Inference at the Edge via Elastic Pipeliningcited by 15
- 2024Demystifying the Communication Characteristics for Distributed Transformer Modelscited by 8
- 2020Distributed Inference with Sparse and Quantized Communicationcited by 4
- 2025PRISM: Distributed Inference for Foundation Models at Edgecited by 3
- 2024Embedded Distributed Inference of Deep Neural Networks: A Systematic Reviewcited by 2
- 2025ASTRA: Communication-Efficient Acceleration for Multi-Device Transformer Inferencecited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025EdgeFlex-Transformer: Transformer Inference for Edge Devices
- 2026The Residual Stream Is All You Need: On the Redundancy of the KV Cache in Transformer Inference
- 2025CoFormer: Collaborating with Heterogeneous Edge Devices for Scalable Transformer Inference
- 2022QuantPipe: Applying Adaptive Post-Training Quantization for Distributed Transformer Pipelines in Dynamic Edge Environments
- 2026Transformer Accelerator (TFA): A Macro-Op INT8 Hardware Chip for Transformer Inference and Machine Translation
- 2024Galaxy: A Resource-Efficient Collaborative Edge AI System for In-situ Transformer Inference
- 2026ChunkFlow: Communication-Aware Chunked Prefetching for Layerwise Offloading in Distributed Diffusion Transformer Inference
- 2026LEAP: Layer-wise Exit-Aware Pretraining for Efficient Transformer Inference