ASTRA: Communication-Efficient Acceleration for Multi-Device Transformer Inference

Xiao Liu, Lijun Zhang, Deepak Ganesan, Hui Guan

As AI models like GPT-4 and Llama continue to scale, running them on single consumer devices becomes increasingly impractical due to memory and compute constraints. Distributing the workload across multiple devices is a logical solution. However, traditional parallelization techniques—such as Tensor or Sequence Parallelism—were engineered for data centers with high-speed interconnects. When deployed on edge networks or home Wi-Fi (typically limited to 10–100 Mbps), these methods spend up to 93% of their time transmitting data, often resulting in slower inference than a single-device setup.

ASTRA is a novel framework designed to solve this exact problem, enabling large Transformers to run efficiently across multiple devices even on slow, real-world networks.

Rethinking Inter-Device Communication

The core insight behind ASTRA is that in edge computing, the cost of communication far outweighs the cost of computation. By sacrificing a tiny bit of mathematical precision in the communication layer, ASTRA achieves massive gains in end-to-end speed. It accomplishes this through three key innovations:

  • Mixed-Precision Attention: Instead of transmitting full 32-bit token embeddings across the network, ASTRA employs a hybrid approach. Devices compute attention for their local tokens in full precision but use ultra-compressed, low-bit Vector Quantized (VQ) representations for tokens received from other devices. This asymmetry reduces per-token data transmission by over 2,400×.
  • Noise-Augmented Vector Quantization (NAVQ): To mitigate the accuracy loss typically associated with aggressive quantization, ASTRA injects Gaussian noise during the training or fine-tuning phase. This blurs discrete boundaries, making the model highly robust to the graininess of compressed data.
  • Distributed Class Tokens: In Vision Transformers (ViTs), relying on a single device to hold the global "class token" introduces bias, as it processes perfect local data but compressed remote data. ASTRA replicates this token across all devices and averages the results, mathematically reducing error variance by a factor of $1/N$ (where $N$ is the number of devices).

Key Results and Performance

Researchers evaluated ASTRA across both vision (ViT-Base on CIFAR-100 and ImageNet-1K) and language tasks (GPT-2 and Llama-3-8B on Wikipedia and downstream NLP benchmarks). The results demonstrate remarkable efficiency in bandwidth-constrained environments:

  • Massive Speedups: At a highly constrained bandwidth of 10 Mbps, ASTRA achieves a 2.64× speedup over single-device inference. In contrast, traditional Sequence Parallelism chokes on the network and performs worse than a single device. Compared to prior multi-device baselines, ASTRA is up to 15.25× faster.
  • Extreme Compression: ASTRA reduces communication overhead from nearly 300,000 bits per token down to just 120 bits—a staggering 2,457× reduction.
  • Accuracy Preservation: Despite this aggressive compression, accuracy drops remain minimal. On ImageNet, ASTRA stays within 3.58% of the original model's accuracy. On Llama-3-8B, it maintains a perplexity very close to the uncompressed baseline.
  • Network Robustness: Because ASTRA sends so little data, it is inherently more resilient to real-world network instabilities, such as packet loss and fluctuating speeds, compared to traditional methods.

Limitations and Future Directions

While ASTRA represents a major leap forward for edge AI, it has a few limitations. Currently, the framework primarily accelerates the prefill stage (processing the initial prompt), leaving the token-by-token decoding phase as a challenge for future research.

Additionally, ASTRA is not entirely plug-and-play; it requires a lightweight fine-tuning step to adapt the model to VQ codebooks, and models must currently be trained for a specific number of devices. Finally, the discrete nature of VQ codes can slightly impair zero-shot generalization when the model encounters data significantly different from its training set.

Despite these hurdles, ASTRA successfully proves that high-performance, multi-device AI is viable outside the data center, paving the way for scalable inference on everyday consumer networks.

Summary updated

BibTeX
@inproceedings{liu2026astra,
  author = {Xiao Liu and Lijun Zhang and Deepak Ganesan and Hui Guan},
  title = {{ASTRA: Communication-Efficient Acceleration for Multi-Device Transformer Inference}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=QmiKRq3e4N},
}
Figure