mlsanityData to 14 Oct 2026

LLM as Effective Streaming Processor: Bridging Streaming-Batch Mismatches with Group Position Encoding

arXiv 2505.16983 ↗First posted 22 May 2025cs.CLcited by 9

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  6. 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 4,057
  7. 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
  8. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  9. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  10. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  11. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
  12. 2023Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understandingcited by 1,471
24 more
  1. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  2. 2023Qwen-Audio: Advancing Universal Audio Understanding via Unified Large-Scale Audio-Language Modelscited by 608
  3. 2023SpeechGPT: Empowering Large Language Models with Intrinsic Cross-Modal Conversational Abilitiescited by 529
  4. 2023Large Language Models Are State-of-the-Art Evaluators of Translation Qualitycited by 420
  5. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  6. 2024AnyGPT: Unified Multimodal LLM with Discrete Sequence Modelingcited by 217
  7. 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
  8. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
  9. 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 117
  10. 2017DiSAN: Directional Self-Attention Network for RNN/CNN-Free Language Understandingcited by 71
  11. 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
  12. 2024TransLLaMa: LLM-based Simultaneous Translation Systemcited by 34
  13. 2021Direct Simultaneous Speech-to-Text Translation Assisted by Synchronized Streaming ASRcited by 31
  14. 2020Streaming Simultaneous Speech Translation with Augmented Memory Transformercited by 30
  15. 2021Learning When to Translate for Streaming Speechcited by 30
  16. 2023Hidden Markov Transformer for Simultaneous Machine Translationcited by 25
  17. 2024SiLLM: Large Language Models for Simultaneous Machine Translationcited by 13
  18. 2023Non-autoregressive Streaming Transformer for Simultaneous Translationcited by 12
  19. 2024Simultaneous Masking, Not Prompting Optimization: A Paradigm Shift in Fine-tuning LLMs for Simultaneous Translationcited by 11
  20. 2024Decoder-only Streaming Transformer for Simultaneous Translationcited by 11
  21. 2024Let the Code LLM Edit Itself When You Edit the Codecited by 10
  22. 2023Simultaneous Machine Translation with Large Language Modelscited by 9
  23. 2024Streaming Decoder-Only Automatic Speech Recognition with Discrete Speech Units: A Pilot Studycited by 6
  24. 2024Interleaved Speech-Text Language Models for Simple Streaming Text-to-Speech Synthesiscited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 7.

9 papers.