ProactiveLLM: Learning Active Interaction for Streaming Large Language Models

Junlong Tong, Yao Zhang, Anhao Zhao, Yingqi Fan, Yunpu Ma +1 more
5/30/2026
cs.CL

Official code: EIT-NLP/StreamingLLM (105 stars, Python, Apache-2.0, last commit 2026-04-16).

Abstract

Standard Large Language Models (LLMs) follow a read-then-generate paradigm, causing unnecessary latency and computation. Streaming LLMs alleviate this issue by generating while receiving inputs, but still struggle to decide when to interact with the stream.

Show full abstract

Existing methods either hard-code interaction timing or rely on costly external alignment signals, such as timing labels, reasoning trajectories, or stronger teachers. In this paper, we propose ProactiveLLM, which achieves active interaction by leveraging the model's endogenous states to guide interaction decisions. The model first learns to perceive semantic sufficiency from partial inputs through two complementary training mechanisms: mask-based streaming modeling and synchronized privileged self-distillation (SPSD). The former applies monotonic random masking to the input during training, simulating progressively revealed streaming inputs and enabling the model to learn local semantic dependencies from partial-input views. The latter aligns the partial-context student view with a full-context teacher view generated by the same evolving model, allowing privileged full-context evidence to guide the student's understanding under incomplete observations. Together, these mechanisms induce endogenous sufficiency cues without requiring external teachers or annotations, providing a versatile foundation for the plug-and-play integration of diverse decision heads. Extensive evaluation across text and speech streaming tasks confirms that ProactiveLLM significantly reduces interaction latency while maintaining quality, validating its capacity for dynamic and active interaction. Code is publicly available at https://github.com/EIT-NLP/StreamingLLM/tree/main/ProactiveLLM.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Repository of Streaming LLMs

1057Python, ShellMay 22, 20257 months agoApache-2.0

Similar Papers

Cite this paper

@article{tong2026proactivellm,
  title  = {ProactiveLLM: Learning Active Interaction for Streaming Large Language Models},
  author = {Junlong Tong and Yao Zhang and Anhao Zhao and Yingqi Fan and Yunpu Ma and Xiaoyu Shen},
  year   = {2026},
  eprint = {2606.00523},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.00523v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.00523.svg)](https://codeofpaper.com/paper/2606.00523)

Discussion