paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DFVG: A Heterogeneous Architecture for Speculative Decoding with <u>D</u> raft-on- <u>F</u> PGA and <u>V</u> erify-on- <u>G</u> PU

DFVG:一种基于 FPGA 起草与 GPU 验证的推测解码异构架构
ASPLOS Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22026匹配度 2/10 · 论文聚焦于LLM推测解码的FPGA/GPU异构硬件加速,属于体系结构与推理系统优化,与用户关注的静态分析、程序分析、形式化验证、浮点/贝叶斯程序分析等PL与AI交叉方向无直接关联。引用 2 inbox
Shaoqiang Lu, Yangbo Wei, Junhong Qian, Dongge Qin, Shiji Gao, Yizhi Ding, Qifan Wang, Chen Wu, Xiao Shi, Lei He
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 DFVG 异构架构,把推测解码的草稿生成卸载到 FPGA、验证交给 GPU,最高取得 3.26× 加速与 5.8× 能效提升。

推测解码通过先生成草稿再验证来加速 LLM 推理,但现有系统面临三重挑战:草稿模型与验证模型的资源需求不均衡,同构部署时利用率与能效偏低;固定模式的 token 树产生大量候选却少有有效路径,导致草稿冗余;两阶段频繁交替的异步执行带来空等与回滚开销。本文提出 DFVG 异构架构,将草稿生成卸载到 FPGA、验证保留在 GPU,利用二者互补优势,并设计重叠处理器以提升吞吐;提出硬件感知的动态草稿生成,依据模型置信度并考虑硬件并行度上限,动态预测推测分支与 token 长度;设计紧耦合异构流水线与阶段解耦调度,为两阶段分配执行窗口,并配合轻量级跨设备对齐与回滚预测策略。在 OPT、LLaMA、Qwen 等主流模型上的评估显示,DFVG 相比现有方法最高取得 3.26× 加速与 5.8× 能效提升。

问题
推测解码中草稿模型与验证模型的资源需求不均衡,固定模式的 token 树冗余严重,且两阶段异步切换导致空等与回滚开销。
方法
提出异构架构,将草稿生成卸载到 FPGA、验证交给 GPU,并设计重叠处理器;采用基于模型置信度与硬件并行度限制的动态草稿生成;配合紧耦合异构流水线、阶段解耦调度、跨设备对齐与回滚预测。
评估
在 OPT、LLaMA、Qwen 等主流模型上与现有方法对比,DFVG 最高实现 3.26× 推理加速和 5.8× 能效提升。
原文摘要(Abstract)

Speculative decoding is a promising paradigm that accelerates LLM inference by generating drafts and performing verification. However, such systems still face three major challenges: (1) The imbalance in resource requirements between draft and verification models result in low utilization and energy inefficiency when deployed together. (2) Fixed-pattern token trees produce many candidates but few valid paths, resulting in redundant drafts due to the lack of full leverage of the inherent confidence in dynamic generation. (3) Asynchronous execution with frequent alternation between the two stages suffers from idle waiting and rollback overhead. To address these issues, we propose DFVG, a heterogeneous speculative decoding architecture that offloads draft generation to FPGAs and verification to GPUs, exploiting their complementary strengths. We introduce three key contributions: (1) Heterogeneous architecture design that partitions speculative decoding into FPGA-based drafting and GPU-based verification, exploiting complementary hardware strengths with an overlap processor for high-throughput execution; (2) Hardware-aware dynamic draft generation that dynamically predicts speculative branches and token lengths based on model confidence while considering hardware parallelism limits; (3) Tightly-coupled heterogeneous pipeline with stagedecoupled scheduling that allocates execution windows between stages, combined with lightweight cross-device alignment and rollback prediction strategies. Comprehensive evaluation on mainstream models (OPT, LLaMA, Qwen) demonstrates DFVG achieves up to 3.26× speedup and 5.8× energy efficiency improvement over existing approaches. The source code at: https://github.com/ShaoqiangLu/DFVG

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{LuWQQGDWW0026,
  title = {DFVG: A Heterogeneous Architecture for Speculative Decoding with
                    <u>D</u>
                    raft-on-
                    <u>F</u>
                    PGA and
                    <u>V</u>
                    erify-on-
                    <u>G</u>
                    PU},
  author = {Shaoqiang Lu and Yangbo Wei and Junhong Qian and Dongge Qin and Shiji Gao and Yizhi Ding and Qifan Wang and Chen Wu and Xiao Shi and Lei He},
  booktitle = {ASPLOS},
  year = {2026},
  doi = {10.1145/3779212.3790153}
}