Star Attention: Efficient LLM Inference over Long Sequences
🤗 Paper Upvotes: 32 | cs.CL, cs.AI, cs.LG Authors: Shantanu Acharya, Fei Jia, Boris Ginsburg Title: Star Attention: Efficient LLM Inference over Long Sequences Arxiv: http://arxiv.org/abs/2411.17116v1 Abstract: Inference with Transformer-based Large Language Models (LLMs) on long sequences is both costly and slow due to the quadratic complexity of the self-attention mechanism. We introduce Star Attention, a two-phase block-sparse approximation that improves computational efficiency by sharding attention across multiple hosts while minimizing communication overhead. In the first phase, the context is processed using blockwise-local attention across hosts, in parallel. In the second phase, query and response tokens attend to all prior cached tokens through sequence-global attention. Star Attention integrates seamlessly with most Transformer-based LLMs trained with global attention, reducing memory requirements and inference time by up to 11x while preserving 95-100% of accuracy.
You May Also Like

Il podcast di Piergiorgio Odifreddi: Lezioni e Conferenze.
Vito Rodolfo Albano

Astronomy Daily: Space News Updates
bitesz.com

The Grave Talks | Haunted, Paranormal & Supernatural
Ghost Stores, Haunted, Paranormal & Supernatural Stories

Sasquatch Chronicles
Sasquatch Chronicles - Bigfoot Encounters

Somewhere in the Skies
SpectreVision Radio

UAP Files Podcast
UAP Files Podcast
![Cosmosis [Formerly The UFO Rabbit Hole]](https://megaphone.imgix.net/podcasts/d3ee87c2-574f-11f0-b7e9-5fbb4796470a/image/6f967dac188a10d90dcdbd82d3194a98.png?ixlib=rails-4.3.1&max-w=3000&max-h=3000&fit=crop&auto=format,compress)
Cosmosis [Formerly The UFO Rabbit Hole]
Kelly Chase
Life, Death, and Taxonomy
Life, Death, and Taxonomy

Podcast de Juan Ramón Rallo
Juan Ramón Rallo

Astrobitácora: astronomía con Álex Riveiro
alex_riveiro
Community discussion