DigestAI news desk

Cut through the AI noise.

Research

Researchers introduce FreDraft to boost accepted length in speculative decoding

The paper proposes FreDraft, an on‑policy training technique aimed at improving speculative decoding for large language models.

1 source primary source

Key points

  • FreDraft directly maximizes expected accepted prefix length in speculative decoding
  • Analytical marginalization of acceptance rates reduces gradient variance
  • Experiments report longer accepted prefixes and faster decoding speed‑up

Speculative decoding uses a lightweight draft model to suggest tokens that the target model then verifies, but traditional draft training only aligns token‑level distributions and does not directly maximize how many draft tokens are accepted before a rejection.

FreDraft optimizes the expected accepted prefix length by weighting each draft token according to its contribution to both its own acceptance and that of subsequent tokens. The authors analytically marginalize the token‑level acceptance rate using the target model’s vocabulary distribution, which reduces gradient variance. They also add an explicit penalty for draft tokens whose probabilities are over‑estimated, while preserving the overall gradient expectation. Experiments on several benchmarks and target models show that FreDraft increases the accepted length and yields decoding speed‑ups compared with strong baselines, and it converges faster during on‑policy training.

The authors present these results as evidence that directly targeting accepted length can make speculative decoding more efficient, potentially lowering inference costs for large language model deployments.

Read the original at arXiv cs.CL · by Ziying Zhang, Yaqing Wang, Yong Liu, Quanming Yao primary sourceOpen source ↗

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Research

All →

Related stories