cd /news/artificial-intelligence/beyond-kv-reconstruction-functional-… · home topics artificial-intelligence article
[ARTICLE · art-81317] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Beyond KV Reconstruction: Functional Reconstruction for MLA Draft Models in Speculative Decoding

A new method called Functional Reconstruction improves draft-token acceptance in speculative decoding for multi-head latent attention (MLA) draft models, according to a paper on arXiv (2607.27269v1). The method optimizes converted MLA attention modules to reproduce the post-output-projection response of original MHA/GQA counterparts, and in evaluations across 192 configurations, it materially improved acceptance in 37 of 64 matched task cells, left 26 practically unchanged, and materially decreased one, with a 0.5-percentage-point reporting tolerance.

read1 min views1 publishedJul 31, 2026

arXiv:2607.27269v1 Announce Type: new Abstract: Multi-head latent attention (MLA) is increasingly important for long-context LLM inference because compact latent states replace the growing key-value (KV) cache and reduce decoding memory traffic. Yet most capable open checkpoints use multi-head or grouped-query attention (MHA/GQA), so conversion is needed to obtain MLA's cache efficiency without retraining from scratch. Speculative decoding offers complementary acceleration, but its speedup depends on agreement between draft proposals and target verification. We find that direct MHA/GQA-to-MLA conversion can sharply reduce this agreement: low-rank factorization and RoPE handling introduce attention-function errors that may be tolerable for standalone generation but substantially lower draft-token acceptance. We therefore formulate MLA draft construction as functional reconstruction rather than cache compression. Our end-to-end (E2E) method optimizes each converted MLA attention module to reproduce the post-output-projection response of its original MHA/GQA counterpart on calibration hidden states. This converter-agnostic post-conversion procedure preserves the converted cache and inference graph and requires neither verifier logits nor verifier supervision. We evaluate 192 model-converter-backend-method-task configurations spanning four Llama/Qwen draft-target pairs, TransMLA and MHA2MLA, HF and vLLM, and four 200-prompt tasks. With a 0.5-percentage-point reporting tolerance, Functional Reconstruction materially improves acceptance in 37 of 64 matched task cells, leaves 26 practically unchanged, and materially decreases one. Code and evaluation artifacts are available at https://github.com/swyhahaha/FunctionalMLA.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @arxiv 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/beyond-kv-reconstruc…] indexed:0 read:1min 2026-07-31 ·