# To Copy or Not to Copy: Controlling Speculative Decoding via Intrinsic Model Signals

*Roy Eisenstadt, Ido Cohen, Edo Cohen-Karlik, Lior Wolf, Itamar Zimerman*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152547) · [Open on the map](../papers.html#p152547)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Speculative Decoding Optimization](../pgroup/529.md) · Type: new method · Keywords: speculative decoding, copy intent detection, adaptive switching, LLM inference speedup, lightweight probing

## Summary
SwitchSD is an adaptive speculative decoding framework that uses lightweight probes on the target model's internal representations to detect genuine copy intent and dynamically switches between neural drafting (e.g., EAGLE) and context-based copying, achieving up to 15% throughput gains over baselines.

## Explained to a 5-year-old
When a big computer makes sentences, it can speed things up by guessing ahead. It has two ways to guess: making new words or copying words it already said. Copying is fast, but sometimes it copies by accident, which makes the sentence wrong. The new idea looks inside the computer's brain to see if the copy was intentional. It uses a tiny helper to decide if the copy is real.

## Explained to a 5-year-old, longer
When a big computer makes sentences, it can speed things up by guessing ahead. It has two ways to guess: making new words or copying words it already said. Copying is fast, but sometimes it copies by accident, which makes the sentence wrong. The new idea looks inside the computer's brain to see if the copy was intentional. It uses a tiny helper to decide if the copy is real. If the copy is real, it uses copying; if not, it makes new guesses. This helps the computer be faster and more accurate. It works on many kinds of computer brains, like Llama and Qwen. The improvement is about fifteen percent faster than before. It also makes the copying decisions very reliable, with over ninety-nine percent accuracy. This makes the computer's talk smoother and more useful.

## For a technical reader
Speculative decoding speeds up LLM inference by generating draft tokens before they are validated. Existing copy-based methods rely on simple n-gram matches, which can trigger false copies and hurt speed. The paper adds a lightweight probe that reads the model’s internal representations to detect genuine copy intent. Based on this signal, the system switches between neural drafts (e.g., EAGLE) and copying on the fly. The result is up to 15% higher throughput on popular LLM families while maintaining accuracy.

## Problem
Speculative decoding must balance neural drafting and copy-based drafting, but copy-based methods often misinterpret accidental repetitions as intentional copies, causing false triggers that reduce decoding speed.

## Method
The approach trains lightweight probes on the target model's internal representations to detect genuine copy intent, then uses this signal to adaptively switch between neural drafting (e.g., EAGLE) and context-based copying.

## Results
The approach achieves throughput gains of up to 15% over baselines such as EAGLE3 on Llama and Qwen models, and the copy-intent probes attain AUC > 0.99.

## Contributions
It introduces a method to treat copying as a latent control signal, uses lightweight probes to precisely identify copy intent, and provides an adaptive switching mechanism that improves speculative decoding throughput.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152547)
