面向 GQA 的 FPGA 元数据驻留向量子系统论文发布
A Vector Metadata-Residency Subsystem for Grouped-Query Attention on FPGA Accelerators
做推理硬件或 KV cache 优化的人可以看看这篇:作者把标量元数据驻留单元扩成 1024-bit 向量版,在 Kintex UltraScale 上跑到 200 MHz 还不占 DSP,拿 Qwen2.5 和 DeepSeek 的 trace 验证了 top-K 召回。注意它只是调度层证据,不是端到端加速。
arXiv 论文(编号 2611.38777)将原先每周期处理一次元数据决策的标量驻留单元,扩展为面向逐层、逐头及 grouped-query-attention(GQA)部署的向量子系统。标量单元采用动态阈值准入、结构哈希、双bank BRAM 表、小型 CAM stash 与有界分数条件淘汰机制,并带非阻塞旁路/丢弃路径。新增的 1024-bit 向量封装在十六个 64-bit lane 后实例化十六个独立标量单元,在 8:1 GQA 映射下可支持 128 个 query head(八波)或十六个 KV group(一波)。
在 Xilinx Kintex UltraScale xcku13p 上的 out-of-context 综合达到 200 MHz 目标,WNS 为 +0.255 ns,消耗 28698 个 LUT、25955 个寄存器、48 个 RAMB36E2 块,未占用任何 DSP。功能仿真覆盖了 1024-bit/16-lane 封装。
评估层面,Qwen2.5 与 DeepSeek 注意力元数据的 trace 级测试在 K = 16 时即达到完整的最大分数 top-K 召回;对 DeepSeek-R1 1.5B 的详尽扫描覆盖 28 层、每层 12 头、每头 8192 个事件,全部 336 条 trace 均呈现高平均最大分数召回。作者明确指出这是元数据驻留与调度层面的证据,并非端到端 LLM 质量或 GPU 加速结论。
A Vector Metadata-Residency Subsystem for Grouped-Query Attention on FPGA Accelerators
Long-context inference systems increasingly require hardware support for deciding which token or KVcache metadata should remain resident near the accelerator. This paper extends a scalar non-stalling metadata-residency tile into a scalable vector subsystem for per-layer, per-head, and grouped-query-attention (GQA) deployment. The scalar tile performs one metadata decision per cycle using dynamic threshold admission, structural hashing, a dual-bank BRAM table, a small CAM stash, bounded score-conditioned eviction, and non-blocking bypass/drop paths. A new 1024-bit vector wrapper instantiates sixteen independent scalar tiles behind sixteen 64-bit lanes, allowing either eight waves for 128 query heads or one wave for sixteen KV groups under an 8:1 GQA mapping when upstream logic emits per-KV-group metadata. Out-of-context synthesis of the vector1024 subsystem on a Xilinx Kintex UltraScale xcku13p device meets a 200 MHz target with +0.255 ns WNS, using 28698 LUTs, 25955 registers, 48 RAMB36E2 blocks, and zero DSPs. Functional simulation passes for the 1024-bit/16-lane wrapper. Trace-level evaluation on Qwen2.5 and DeepSeek attention metadata shows full maximum-score top-K recall by K = 16 in the evaluated grouped schedule; a separate exhaustive DeepSeek-R1 1.5B archive sweep over 28 layers, 12 heads per layer, and 8192 events per head shows high mean maximum-score recall across all 336 traces. The result is metadata-residency and scheduling evidence, not an end-to-end LLM quality or GPU speedup claim
This report is categorized under AITOP's "Papers" desk. Key entities and technical topics under continuous tracking include FPGA, GQA, KV cache, DeepSeek.
Primary source verification: published directly by arXiv: DeepSeek with first-party authority.