AI Pulse by Inblix

Tencent open-sources AngelSpec to fix why one-size-fits-all draft models fail

MarkTechPost · Jul 30, 2026 · 2 min read · Read original article →

Curated by the Inblix editorial team


Featured image for article: Tencent open-sources AngelSpec to fix why one-size-fits-all draft models fail

Speculative decoding has a dirty secret: a single drafter model, no matter how well-tuned on benchmarks, breaks down under real-world traffic. The mix of chatty, high-entropy conversations and rigid, low-entropy code completions pulls the accuracy-speed tradeoff in opposite directions. Tencent’s newly open-sourced AngelSpec framework admits that tension outright and ships two specialized drafters instead of one compromise, integrating them into a PyTorch-native training pipeline.

The framework pairs an autoregressive multi-token prediction (MTP) model for open-ended dialogue with the block-parallel DFlash family, now upgraded to DFly, for code and math. The team found that a standard MTP drafter, trained with a single prediction layer, never learned to handle the recurrent self-unrolling used at inference. Errors compounded so severely that third-position acceptance cratered. Their fix applies a multi-depth training scheme where the block unrolls itself during training, feeding its own top prediction into the next step while the teacher target advances one position. Crucially, the target model’s backbone and LM head stay frozen and detached—improving the drafter’s proposals without polluting the distribution verification must preserve.

The numbers tell a sharp story. The new MTP regimen lifts mean acceptance from 52.8% to 66.4% at temperature zero, with the biggest gains concentrated exactly where the old method fell apart. On GSM8K, the third draft position’s acceptance rate rockets from 0.290 to 0.706. On HumanEval, it jumps from 0.387 to 0.757. The first position barely budges, proving the gains target the real failure mode.

On the block-diffusion side, DFly introduces two structural repairs. Instead of a one-size-fits-all context feature concatenated from target hidden states, it learns per-layer fusion weights as a residual refinement, giving each draft layer its own lens on the target’s hierarchy. A tiny sequential autoregressive head is then bolted on after the parallel backbone, converting position-wise guesses into prefix-conditioned distributions. The heavy lifting stays parallel; only a lightweight head runs left-to-right. AngelSpec doesn’t try to be clever for cleverness’s sake. It identifies exactly where existing drafters bleed acceptance rate and patches the holes with surgical, trainable fixes.

💡 Key Takeaways

  1. AngelSpec ships two specialized drafters—autoregressive MTP for chat and block-parallel DFly for code—because the acceptance-rate dynamics of high- and low-entropy text are fundamentally opposed.
  2. A multi-depth training scheme with target-model rollout lifts MTP's mean acceptance from 52.8% to 66.4%, with third-position rates on GSM8K soaring from 0.29 to 0.71.
  3. DFly adds per-layer fusion weights and a small sequential head to DFlash, fixing layer specialization and suffix decay without sacrificing the parallel backbone's speed.

Keep reading: See related articles below for more coverage on this topic.

Get smarter about AI

The sharpest AI news, curated daily. Delivered free to your inbox.

Learn more

Glossary terms

← Back to all articles