LLM as Effective Streaming Processor: Bridging Streaming-Batch Mismatches with Group Position Encoding
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are primarily designed for batch processing. Existing methods for adapting LLMs to streaming rely either on expensive re-encoding or specialized architectures with limited scalability. This work identifies three key mismatches in adapting batch-oriented LLMs to streaming: (1) input-attention, (2) output-attention, and (3) position-ID mismatches. While it is commonly assumed that the latter two mismatches require frequent re-encoding, our analysis reveals that only the input-attention mismatch significantly impacts performance, indicating re-encoding outputs is largely unnecessary. To better understand this discrepancy with the common assumption, we provide the first comprehensive analysis of the impact of position encoding on LLMs in streaming, showing that preserving relative positions within source and target contexts is more critical than maintaining absolute order. Motivated by the above analysis, we introduce a group position encoding paradigm built on batch architectures to enhance consistency between streaming and batch modes. Extensive experiments on cross-lingual and cross-modal tasks demonstrate that our method outperforms existing approaches. Our method requires no architectural modifications, exhibits strong generalization in both streaming and batch modes. The code is available at repository https://github.com/EIT-NLP/StreamingLLM.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 36 of its 49 references that are in the map. First posted on arXiv 22 May 2025.
Builds on
36 of 49 references.
References · 36
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 4,057
- 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
- 2023Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understandingcited by 1,471
24 more
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2023Qwen-Audio: Advancing Universal Audio Understanding via Unified Large-Scale Audio-Language Modelscited by 608
- 2023SpeechGPT: Empowering Large Language Models with Intrinsic Cross-Modal Conversational Abilitiescited by 529
- 2023Large Language Models Are State-of-the-Art Evaluators of Translation Qualitycited by 420
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2024AnyGPT: Unified Multimodal LLM with Discrete Sequence Modelingcited by 217
- 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 117
- 2017DiSAN: Directional Self-Attention Network for RNN/CNN-Free Language Understandingcited by 71
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
- 2024TransLLaMa: LLM-based Simultaneous Translation Systemcited by 34
- 2021Direct Simultaneous Speech-to-Text Translation Assisted by Synchronized Streaming ASRcited by 31
- 2020Streaming Simultaneous Speech Translation with Augmented Memory Transformercited by 30
- 2021Learning When to Translate for Streaming Speechcited by 30
- 2023Hidden Markov Transformer for Simultaneous Machine Translationcited by 25
- 2024SiLLM: Large Language Models for Simultaneous Machine Translationcited by 13
- 2023Non-autoregressive Streaming Transformer for Simultaneous Translationcited by 12
- 2024Simultaneous Masking, Not Prompting Optimization: A Paradigm Shift in Fine-tuning LLMs for Simultaneous Translationcited by 11
- 2024Decoder-only Streaming Transformer for Simultaneous Translationcited by 11
- 2024Let the Code LLM Edit Itself When You Edit the Codecited by 10
- 2023Simultaneous Machine Translation with Large Language Modelscited by 9
- 2024Streaming Decoder-Only Automatic Speech Recognition with Discrete Speech Units: A Pilot Studycited by 6
- 2024Interleaved Speech-Text Language Models for Simple Streaming Text-to-Speech Synthesiscited by 6
Built on by
Citing papers per year: 2025: 2; 2026: 7.
9 papers.
- 2026HiDrop: Hierarchical Vision Token Reduction in MLLMs via Late Injection, Concave Pyramid Pruning, and Early Exitcited by 18
- 2025VisiPruner: Decoding Discontinuous Cross-Modal Dynamics for Efficient Multimodal LLMscited by 17
- 2025StreamingThinker: Large Language Models Can Think While Readingcited by 15
- 2026Speak While Watching: Unleashing TRUE Real-Time Video Understanding Capability of Multimodal Large Language Modelscited by 8
- 2026What Do Visual Tokens Really Encode? Uncovering Sparsity and Redundancy in Multimodal Large Language Modelscited by 7
- 2026Think-as-You-See: Streaming Chain-of-Thought Reasoning for Large Vision-Language Modelscited by 6
- 2026From Static Inference to Dynamic Interaction: A Survey of Streaming Large Language Modelscited by 3
- 2026ProactiveLLM: Learning Active Interaction for Streaming Large Language Modelscited by 0
- 2026AdaSR: Adaptive Streaming Reasoning with Hierarchical Relative Policy Optimizationcited by 0
- 2026AdaSR: Adaptive Streaming Reasoning with Hierarchical Relative Policy Optimization12 Jun 2026
- 2026ProactiveLLM: Learning Active Interaction for Streaming Large Language Models30 May 2026
- 2026From Static Inference to Dynamic Interaction: A Survey of Streaming Large Language Models4 Mar 2026
- 2026Think-as-You-See: Streaming Chain-of-Thought Reasoning for Large Vision-Language Models3 Mar 2026
- 2026What Do Visual Tokens Really Encode? Uncovering Sparsity and Redundancy in Multimodal Large Language Models28 Feb 2026
- 2026HiDrop: Hierarchical Vision Token Reduction in MLLMs via Late Injection, Concave Pyramid Pruning, and Early Exit27 Feb 2026
- 2026Speak While Watching: Unleashing TRUE Real-Time Video Understanding Capability of Multimodal Large Language Models11 Jan 2026
- 2025StreamingThinker: Large Language Models Can Think While Reading20 Oct 2025
- 2025VisiPruner: Decoding Discontinuous Cross-Modal Dynamics for Efficient Multimodal LLMs20 Oct 2025