Paper: 2606.14694 Authors: Junlong Tong, Wenqi Xu, Yingqi Fan, Anhao Zhao, Xuan Lu, Yang Tan, Xiaoyu Shen Categories: cs.CL
The Gap
Existing large reasoning models operate on a “read-then-think” paradigm: they ingest the complete input, reason over a static context, and only then produce an answer. This works for text, but fails for dynamic streams like audio or video where information trickles in over time. Recent streaming reasoning methods (e.g., StreamLLM, LLM in a Flash) try to think while reading, but they rely on supervised imitation learning from pre-constructed trajectories — essentially memorizing when to pause and reason. That’s brittle: it cannot adapt to varying input rates, task difficulty, or latency budgets.
AdaSR fills this gap by framing streaming reasoning as a sequential decision problem and optimizing it with reinforcement learning. The core insight: the model should learn when to think (streaming reasoning phase) and how much to compute (deep reasoning phase), guided by a reward that penalizes latency and rewards accuracy.
[Logic Topology: Gap to Conclusion]
Problem: Static reasoning fails on dynamic streams
|
v
Assumption: RL can teach a model to allocate computation adaptively during a stream
|
v
Method: AdaSR + HRPO (Hierarchical Relative Policy Optimization)
| - Two-phase reasoning (streaming + deep)
| - Fine-grained advantage assignment per phase
| - Reward: format + accuracy + adaptive thinking
|
v
Evidence: Experiments show better accuracy / efficiency / latency trade-off vs SFT baselines
|
v
Conclusion: Adaptive streaming reasoning is achievable, and RL is the right tool
The Increment
One sentence: Before this paper, streaming reasoning models imitated fixed think-when-to-think behaviors; after this paper, models can learn adaptive compute allocation via hierarchical RL rewards.
Core Mechanism
AdaSR operates in two phases:
-
Streaming Reasoning Phase: As tokens of the input stream arrive one by one, the model produces partial answers (or continues its internal chain-of-thought) on the fly. At each step, it decides whether to output a reasoning token or wait for more stream data. The policy is optimized to minimize latency while maintaining correctness.
-
Deep Reasoning Phase: Once the stream ends, the model enters a final deliberation stage where it can revisit previous partial reasoning, integrate all information, and produce a final answer. This phase has no latency pressure; the model can allocate more computation as needed.
The training uses Hierarchical Relative Policy Optimization (HRPO). Standard PPO assigns a single sequence-level advantage uniformly to every token. HRPO splits the advantage into two parts: one for the streaming phase and one for the deep phase. This allows the reward signal to distinguish between “good streaming decisions” (e.g., outputting a correct partial answer early) and “good final deliberation decisions” (e.g., correcting an earlier mistake). On top of that, three reward terms are combined:
- Format reward: enforce valid reasoning protocol (e.g., output tags like
… ) - Accuracy reward: final answer correctness
- Adaptive thinking reward: penalize excessive streaming-phase computation and reward low latency
[Internal Data Flow Diagram]
Input Stream (token by token):
[token_1] -> [token_2] -> ... -> [token_n]
|--- Streaming Reasoning Phase ---|
v v
+------------+ +------------+ +------------+
| Partial | | Partial | | Partial |
| Reasoning | | Reasoning | | Reasoning |
| Step 1 | | Step 2 | | Step N |
+------------+ +------------+ +------------+
|
| stream ends
v
+--------------------+
| Deep Reasoning |
| (Final Deliberation)|
+--------------------+
|
v
Final Answer
|
Training: HRPO applies advantage per phase, not per token.
Advantage = baseline(token) - reward(token) but grouped by phase.
Structural metaphor: The Improvising Chef
Think of a live cooking show where ingredients arrive one by one. The chef (model) must start cooking while waiting for the next ingredient. The chef has a sous chef (streaming reasoning) who makes preliminary decisions — “I’ll chop the tomatoes now because they’re here, even though the basil hasn’t arrived yet.” The sous chef can also send out partial dishes (partial answers) if they’re good enough.
But as soon as the last ingredient arrives, the head chef (deep reasoning) takes over. She reviews the sous chef’s work, adjusts seasoning, and finalizes the dish. The restaurant has a critic (reward function) who judges:
- “You didn’t follow the recipe format” → format penalty
- “The final dish tastes great” → accuracy reward
- “You took too long to serve” → latency penalty
The kitchen manager (HRPO) doesn’t give the same bonus to the sous chef and head chef. If the sous chef makes a clever anticipation that saves time, she gets a special streaming-phase advantage. If the head chef fixes a mistake the sous chef made, the advantage goes to deep reasoning. This targeted feedback lets each phase learn its own optimal behavior.
Key Concepts
-
Hierarchical Advantage Assignment: In RL, an “advantage” measures how much better an action was compared to the average. Standard PPO computes one advantage for the whole sequence. HRPO splits it per phase. Example: a streaming-action that outputs a correct partial answer early gets high streaming-phase advantage, even if the final answer is wrong due to later confusion. This prevents the streaming phase from being penalized for downstream errors it didn’t cause.
-
Adaptive Thinking Reward: A reward term that encourages the model to minimize computation during the streaming phase without hurting accuracy. It’s computed as a function of latency (e.g., number of tokens output before stream ends). This is essential for real-time applications where early partial answers are valuable.
Framework Shift
Before (mainstream approach): After (this paper):
Input stream Input stream
| |
v v
[Wait for complete input] [Streaming Reasoning Phase]
| | (think while reading)
v v
[Static Reasoning] [Partial decisions / outputs]
| |
v | stream ends
[Final Answer] v
[Deep Reasoning Phase]
|
v
[Final Answer]
Both phases use same model, but optimized separately via HRPO.
Key difference: reasoning is decomposed into two temporally distinct stages,
each with its own reward structure. No more one-size-fits-all advantage.
One sentence: From static read-then-think to adaptive two-phase reasoning with phase-specific RL rewards, the core shift is treating streaming decisions as learnable, not imitable.
Expert Assessment
Problem choice: Real gap. Streaming AI is a growing area (live captioning, real-time translation, robotics) and most reasoning models are built for offline text. The paper sits at a timely intersection of streaming processing and reinforcement learning.
Method maturity: Clever insight — the hierarchical advantage decomposition is elegant and likely to be extended. However, the approach is fairly complex: training with RL, three reward terms, two-phase architecture. It’s not brute force, but it’s not minimal either. A simpler approach could be to use a learned router for when to think, but that might not capture the full optimization. So the complexity is justified.
Experimental integrity: The baselines are SFT models fine-tuned on pre-collected trajectories. That’s fair — it shows RL beats imitation. But I’d want to see comparisons with other RL methods (e.g., standard PPO without hierarchy) to isolate the benefit of HRPO. Also, the paper doesn’t discuss training stability or reward shaping sensitivity. Numbers seem plausible but no dramatic SotA claims — okay.
Writing quality: The main paper is solid but the reward design section is thin. It says “format, accuracy, adaptive thinking rewards” but doesn’t give exact formulas or hyperparameter choices. A more detailed ablation would elevate it.
Verdict: weak accept — interesting direction with a clean RL formulation, but needs stronger baselines and more transparency in reward engineering.
Takeaways
- Hierarchical advantage assignment can be applied to any multi-stage decision process: code generation (plan then write), robot control (explore then exploit), or multi-turn dialogue (short-term vs long-term goals). The idea is to reward each stage for its own contributions, not homogenize credit.
- The adaptive thinking reward is a practical proxy for latency. Practitioners building real-time LLM applications can adopt this directly to optimize speed vs quality trade-offs.
- The two-phase reasoning pattern (streaming + deep) is a reusable architecture: you can plug any base model into this framework and train with HRPO.
论文: 2606.14694 作者: Junlong Tong, Wenqi Xu, Yingqi Fan, Anhao Zhao, Xuan Lu, Yang Tan, Xiaoyu Shen 分类: cs.CL
缺口
现有的大型推理模型遵循”读后再思考”范式:它们先完整接收所有输入,在静态上下文中推理,然后才生成答案。这对文本可行,但对音视频等动态流束手无策——信息是逐片到达的。 最近的流式推理方法(如StreamLLM、LLM in a Flash)尝试边读边思考,但它们依赖对预设轨迹的监督模仿——也就是记忆何时该暂停推理。 这种方法的弊端是僵化:无法适应不同的输入速率、任务难度或延迟预算。
AdaSR通过将流式推理建模为序列决策问题,并用强化学习来优化,填补了这一空白。 核心洞见是:模型应该学习 何时 思考(流式推理阶段)以及 投入多少 计算(深度推理阶段),并由奖励函数来权衡延迟和准确率。
[逻辑拓扑:从缺口到结论]
问题:静态推理无法处理动态流
|
v
假设:强化学习能让模型在流式输入中自适应分配计算资源
|
v
方法:AdaSR + HRPO(分层相对策略优化)
| - 两阶段推理(流式 + 深度)
| - 每个阶段有精细的优劣值(advantage)分配
| - 奖励函数:格式 + 准确率 + 自适应思考
|
v
证据:实验显示,相比SFT基线,AdaSR在准确率、计算效率和延迟之间取得了更优平衡
|
v
结论:自适应流式推理是可行的,而强化学习是正确的工具
增量
一句话: 本文之前,流式推理模型通过模仿固定轨迹来决定何时思考;本文之后,模型通过分层RL奖励学会了自适应计算分配。
核心机制
AdaSR分两阶段运行:
-
流式推理阶段:输入流的令牌(token)逐一到达,模型边接收边产生部分答案(或继续内部思维链)。每一步,它决定是输出一个推理令牌还是等待更多流数据。策略优化的目标是:在保证正确性的同时,最小化延迟。
-
深度推理阶段:流结束后,模型进入最终推敲阶段,可以重新审视之前的推理、整合全部信息,并输出最终答案。该阶段没有延迟压力,模型可以投入更多计算。
训练采用分层相对策略优化(HRPO)。标准PPO为整个序列分配一个统一的优劣值(advantage),平摊到每个令牌上。HRPO将优劣值拆分为两部分:一部分用于流式阶段,一部分用于深度阶段。这样,奖励信号可以区分”好的流式决策”(例如及时输出正确部分答案)和”好的最终推敲决策”(例如纠正早期错误)。此外,三个奖励项叠加:
- 格式奖励:确保遵循有效推理协议(如使用
… 标签) - 准确率奖励:最终答案的正确性
- 自适应思考奖励:惩罚流式阶段过度计算,奖励低延迟
[内部数据流图]
输入流(逐令牌到达):
[令牌1] -> [令牌2] -> ... -> [令牌n]
|--- 流式推理阶段 ---|
v v
+-----------+ +-----------+ +-----------+
| 部分推理 | | 部分推理 | | 部分推理 |
| 步骤1 | | 步骤2 | | 步骤N |
+-----------+ +-----------+ +-----------+
|
| 流结束
v
+--------------------+
| 深度推理 |
| (最终推敲) |
+--------------------+
|
v
最终答案
|
训练:HRPO 按阶段分配优劣值,而非按令牌。
优劣值 = 基线(令牌) - 奖励(令牌),但按阶段分组。
核喻:即兴大厨
想象一档直播烹饪节目,食材逐一送达。大厨(模型)必须一边等食材一边开始做菜。副厨(流式推理)做出初步决策——“番茄到了,先切番茄,即使罗勒还没到”。副厨可以先把半成品端出去(部分答案),如果质量够好。
但最后一样食材一到,主厨(深度推理)就接手了。她检查副厨的成果,调整调味,最终装盘。餐厅有一位食评家(奖励函数)给出三个判分:
- “你没按食谱格式来” → 格式惩罚
- “最终菜品味道真好” → 准确率奖励
- “上菜太慢了” → 延迟惩罚
厨房主管(HRPO)不会给副厨和主厨同样的奖金。如果副厨提前做出聪明的预判节省了时间,她会得到流式阶段的专项奖励。如果主厨纠正了副厨犯下的错误,奖励算在深度阶段。这种有针对性的反馈让每个阶段都学会自己的最优行为。
关键概念
-
分层优劣值分配:在强化学习中,“优劣值”衡量某个动作相对于平均表现的优势。标准PPO只计算整个序列的一个优劣值。HRPO按阶段拆分。举例:流式动作在早期输出正确部分答案,即使最终答案因后续混淆而出错,该动作也会获得高流式阶段优劣值。这样流式阶段就不会因为下游错误而受到不当惩罚。
-
自适应思考奖励:一个奖励项,鼓励模型在不牺牲准确率的前提下,最小化流式阶段的计算量。它根据延迟(例如流结束前输出的令牌数)计算。这对实时应用至关重要——早期部分答案本身就有价值。
框架转变
之前(主流方法): 之后(本文方法):
输入流 输入流
| |
v v
[等待完整输入] [流式推理阶段]
| | (边读边思考)
v v
[静态推理] [部分决策 / 输出]
| |
v | 流结束
[最终答案] v
[深度推理阶段]
|
v
[最终答案]
两阶段使用同一模型,但通过HRPO分别优化。
关键区别:推理被分解为两个时间上分离的阶段,
每个阶段有自己的奖励结构。不再是一个统一的优劣值一统天下。
一句话: 从静态的”读后再思考”到自适应两阶段推理(各阶段有专用RL奖励),核心转变是将流式决策视为可学习的、而非可模仿的行为。
专家评审
选题眼光: 真缺口。流式AI(实时字幕、翻译、机器人)正在快速增长,而绝大多数推理模型是为离线文本设计的。论文恰好处在流式处理和强化学习的交叉点,有前瞻性。
方法成熟度: 巧劲——分层优劣值分配是一个优雅的设计,很可能被拓展使用。但整体方法偏复杂:RL训练、三项奖励、两阶段架构。不是蛮力,但也不是最小可行方案。更简单的替代方案是训练一个”思考时机路由器”,但可能捕捉不到全部的优化空间。因此复杂度是合理的。
实验诚意: 基线是SFT模型(在预收集轨迹上训练),对比是公平的——结果显示RL胜过了模仿。但我希望看到与其他RL方法(如不带分层的标准PPO)的比较,来剥离HRPO的贡献。另外,论文没有讨论训练稳定性或奖励调参的敏感性。数字看起来合理,但没有夸大SotA——可以接受。
写作功力: 主体部分扎实,但奖励设计一节太薄。只说”格式、准确率、自适应思考奖励”,没给出具体公式或超参数选择。如果重写这一部分,论文会整体上一个台阶。
判决: 弱接收——方向有趣,RL公式干净,但需要更强基线和方法透明度。
要点总结
- 分层优劣值分配可被应用到任何多阶段决策过程:代码生成(规划→编写)、机器人控制(探索→利用)、多轮对话(短期目标→长期目标)。核心思想是让每个阶段因自身贡献而得到奖励,而非一刀切地分配信用。
- 自适应思考奖励是延迟的实用代理变量。做实时LLM应用的工程师可以直接用它来优化速度与质量的权衡。
- 两阶段推理模式(流式+深度)是一种可复用的架构:你可以将任何基础模型插入这个框架,并用HRPO训练。