verl icon indicating copy to clipboard operation
verl copied to clipboard

[RFC] Suffix Decoding + LSTM Speculative Decoding for Faster Generation

Open vx120 opened this issue 10 months ago • 2 comments

Feature request

I’d like to propose an optional decoding-acceleration feature that combines Suffix Decoding with an LSTM draft model for Speculative Decoding

Motivation

A common bottleneck in LLM serving is token-by-token decoding: each token requires a forward pass of a large model, limiting throughput and increasing latency. In many real-world workloads (code generation, long-form continuation, templated responses), sequences exhibit strong local predictability, which makes Speculative Decoding effective: a small, fast “draft model” proposes a chunk of candidate tokens, and the large model verifies them in fewer passes, accepting as many as possible. LSTM would be extremely lightweight and fast, low deployment overhead.

vx120 avatar Jan 05 '26 07:01 vx120

Thanks for the RFC. Based on the current public evidence, I think this needs more information before maintainers can decide whether it fits verl or how it should be implemented.

Current verl already has related speculative-decoding work around MTP/EAGLE: the README mentions verl-SpeCo as a speculative-decoding co-training framework, docs/advance/mtp.md documents MTP accelerated rollout configuration, and the rollout code wires MTP speculative settings into vLLM and SGLang via verl/workers/rollout/vllm_rollout/vllm_async_server.py, verl/workers/rollout/vllm_rollout/utils.py, and verl/workers/rollout/sglang_rollout/async_sglang_server.py. However, I could not find public evidence of an existing LSTM draft model or Suffix Decoding integration point in verl.

Could you add more concrete details, such as: the intended serving/rollout backend, how the LSTM draft model would be trained and synchronized with RL updates, how it interacts with existing MTP/EAGLE support, expected acceptance-rate/latency benchmarks, and a proposed API/config shape?

中文:感谢这个 RFC。基于目前公开证据,我认为该问题还需要更多信息,维护者才好判断它是否适合 verl 以及应如何实现。

verl 当前已经有 MTP/EAGLE 相关的 speculative decoding 工作:README 提到 verl-SpeCo,docs/advance/mtp.md 记录了 MTP accelerated rollout 配置,rollout 代码也在 verl/workers/rollout/vllm_rollout/vllm_async_server.py、verl/workers/rollout/vllm_rollout/utils.py 和 verl/workers/rollout/sglang_rollout/async_sglang_server.py 中接入了 MTP speculative 配置。但我没有找到 verl 中已有 LSTM draft model 或 Suffix Decoding 集成入口的公开证据。

建议补充:目标 rollout/serving backend、LSTM draft model 的训练与 RL 权重同步方式、它与现有 MTP/EAGLE 支持的关系、acceptance rate/latency benchmark,以及期望的 API/config 形态。

This response was generated by a scheduled Codex GPT5.5 issue processing task.

Kirrito-k423 avatar Jul 28 '26 01:07 Kirrito-k423

Thanks for the RFC. Based on the current public evidence, I think this needs more information before maintainers can decide whether it fits verl or how it should be implemented.

Current verl already has related speculative-decoding work around MTP/EAGLE: the README mentions verl-SpeCo as a speculative-decoding co-training framework, docs/advance/mtp.md documents MTP accelerated rollout configuration, and the rollout code wires MTP speculative settings into vLLM and SGLang via verl/workers/rollout/vllm_rollout/vllm_async_server.py, verl/workers/rollout/vllm_rollout/utils.py, and verl/workers/rollout/sglang_rollout/async_sglang_server.py. However, I could not find public evidence of an existing LSTM draft model or Suffix Decoding integration point in verl.

Could you add more concrete details, such as: the intended serving/rollout backend, how the LSTM draft model would be trained and synchronized with RL updates, how it interacts with existing MTP/EAGLE support, expected acceptance-rate/latency benchmarks, and a proposed API/config shape?

中文:感谢这个 RFC。基于目前公开证据,我认为该问题还需要更多信息,维护者才好判断它是否适合 verl 以及应如何实现。

verl 当前已经有 MTP/EAGLE 相关的 speculative decoding 工作:README 提到 verl-SpeCo,docs/advance/mtp.md 记录了 MTP accelerated rollout 配置,rollout 代码也在 verl/workers/rollout/vllm_rollout/vllm_async_server.py、verl/workers/rollout/vllm_rollout/utils.py 和 verl/workers/rollout/sglang_rollout/async_sglang_server.py 中接入了 MTP speculative 配置。但我没有找到 verl 中已有 LSTM draft model 或 Suffix Decoding 集成入口的公开证据。

建议补充:目标 rollout/serving backend、LSTM draft model 的训练与 RL 权重同步方式、它与现有 MTP/EAGLE 支持的关系、acceptance rate/latency benchmark,以及期望的 API/config 形态。

This response was generated by a scheduled Codex GPT5.5 issue processing task.

感谢您的建议,我们的工作已经在verl-speco实现了

vx120 avatar Jul 29 '26 02:07 vx120