Tree Speculative Decoding with In-Call KV Repair on a Commercial Static-Graph NPU
원문 초록
Tree speculative decoding verifies many draft branches in one target call, but common implementations assume dynamic query shapes and direct control over the KV cache. Static-graph NPUs offer neither: each compiled graph fixes its query length, and the runtime owns the physical KV layout. We propose a tree verifier for this setting that packs repair rows and tree rows into one fixed 32-row call. Per-token rotary tables and an ancestor mask express the tree, and an exact-watermark rule re-scores accepted tokens whose KV is out of canonical order inside the next call, so no separate cache-movement call is needed. On the Rebellions ATOM+ NPU with the DFlash drafter, removing chunk-boundary replay first raises the linear baseline from 59.3 to 92.3 tokens/s. In a pre-specified study on 120 GSM8K questions, the tree verifier with a grouped 32-row projection head beats the fastest linear baseline by 12.2% on Qwen3-4B (95% CI 10.7-13.8%) and by 13.2% on Qwen3-8B (CI 12.1-14.4%), and it cuts board energy per token by 10.0% and 11.1%. Changing the compiled verification shape also changes floating-point outputs on 55 of 120 questions for 4B and 9 for 8B, and a matched-prefix diagnostic traces the one lost 4B answer to the query-shape change alone.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2611.35587v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.