TSS: Target-Side Sparsification for Speculative Decoding in Domain-Specific Large Language Models
Organizations: City University of Hong Kong · Mohamed bin Zayed University of Artificial Intelligence
Abstract
Speculative decoding accelerates large language model inference through collaboration between a lightweight draft model and a target verifier. Existing methods mainly improve the draft side, while the target model is typically kept dense and unchanged. We show that, under domain-specific inference, full-depth target verification is not always the optimal choice. Counter-intuitively, skipping selected target layers can reduce verification cost while simultaneously increasing draft acceptance and preserving, or even improving, downstream task performance. Based on this observation, we propose TSS, a target-side sparsification framework for speculative decoding. TSS employs an acceptance- and metric-aware breadth search to explore multi-layer skip configurations without imposing a fixed priority between the two objectives. The selected configurations are stored in a domain-to-configuration mapping and applied by a lightweight skip controller, allowing one complete target model to support multiple sparse verification paths without retraining or permanent parameter pruning. Experiments on Spec-Bench across multiple domains, model scales, and speculative decoding methods show consistent improvements in draft acceptance and downstream task performance. In Translation setting, TSS increases the average accept length from 2.70 to 4.53 (+67.8%), improves BLEU from 0.131 to 0.237 (+80.9%), and raises end-to-end throughput from 75.6 to 127.3 tokens/s, corresponding to a 1.68X speedup.
Figures & tables
| Domain | Method | Accept Len. | Task Metric | Skip Layers | Sparsity | Throughput(tok/s) | vs. Native |
|---|---|---|---|---|---|---|---|
| Vicuna-7B (EAGLE / EAGLE+TSS, ) | |||||||
| Translation | EAGLE | 2.70 | 0.131 | – | – | 75.6 | 1.00 |
| EAGLE+TSS | 4.53 | 0.237 | 9.4% | 127.3 | 1.68 | ||
| Summarization | EAGLE | 3.93 | 0.266 | – | – | 89.4 | 1.00 |
| EAGLE+TSS | 4.01 | 0.270 | 9.4% | 95.5 | 1.07 | ||
| RAG | EAGLE | 3.24 | 0.096 | – | – | 76.0 | 1.00 |
| Method | Accept Len. | Metric | Skip Layers | Throughput |
| Translation | ||||
| SLEB | 3.477 | 0.129 | 101.5 | |
| Random | 3.382 | 0.140 | 100.3 | |
| GM-Skip | 2.995 | 0.109 | 91.1 | |
| Accept-only | 3.769 | 0.126 | 107.9 | |
| Metric-only | 3.029 | 0.139 | 91.1 | |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Setting | Value |
| Decoding | Precision | float16 |
| Temperature | ||
| Max new tokens | ||
| EAGLE total_token | ||
| Data | Random seed | |
| Selection train size | (QA-13B: ) |
| Domain | Score Tol. | Accept Len. | Metric | Skip Layers | Sparsity | Tok/s | Evals |
|---|---|---|---|---|---|---|---|
| Translation | 4.134 | 0.1207 | 12.5% | 120.7 | 351 | ||
| 4.308 | 0.1402 | 12.5% | 122.8 | 349 | |||
| 4.528 | 0.2370 | {3,25,30} | 9.4% | 127.3 | – | ||
| 4.308 | 0.1402 | 12.5% | 122.8 | 348 | |||
| 4.289 | 0.1462 | 12.5% | 125.5 | 347 | |||
| QA | 3.726 | 0.0600 | 12.5% | 100.1 | 354 |
| Model | Domain | Request ID | Skip Layers | Metric | Native | +TSS |
|---|---|---|---|---|---|---|
| 7B | Translation | sb_translation_192 | BLEU | 0.142 | 0.101 | |
| 7B | Summarization | sum_289 | ROUGE-L | 0.281 | 0.430 | |
| 7B | Open-domain QA | nq_57 | F1 | 0.043 | 0.143 | |
| 7B | RAG | sb_rag_513 | F1 | 0.000 | 0.310 | |
| 7B | MMLU | mmlu_prehistory_53 | Acc. | 0 | 0 | |
| 13B | Translation | sb_translation_240 | BLEU | 0.100 | 0.328 |
| Translation ( sb_translation_192 ); skip ; BLEU: 0.142 0.101 | |
|---|---|
| Input | Je dunkler das Fleisch , desto höher der ph-Wert . |
| Native | The darker the meat, the higher the pH value |
| +TSS | The darker the meat, the higher the pH |
| Ref. | The darker the meat , the higher the pH value . |
| Summarization ( sum_289 ); skip ; ROUGE-L: 0.281 0.430 | |
| Input | Arsenal must make a swift decision on Petr Cech this summer or risk losing out on the goalkeeper. The Chelsea shot-stopper looks certain to leave Stamford Bridge at the end of the season after losing the No 1 spot to Thibaut Courtois. Cech will hold talks wit… |
| Translation ( sb_translation_240 ); skip ; BLEU: 0.100 0.328 | |
|---|---|
| Input | Ein Schuldspruch erfolgte außerdem in einer Reihe terrorismusbezogener Anklagepunkte , wozu eine Welle von Sprengstoffanschlägen auf Kirchen in Indonesien an Heiligabend im Jahr 2000 zählten . |
| Native | In addition to the sentence, a series of terrorism-related charges were brought, including a wave of bombings on churches in Indonesia on Christmas in the year 2000. |
| +TSS | A judgment was also handed down in a series of terrorism-related charges, including a wave of bombings on churches in Indonesia on Christmas Eve in the year 2000. |
| Ref. | He was also found guilty of a number of other terrorism-related charges , including a wave of bombings of churches across Indonesia on Christmas Eve in 2000 . |
| Summarization ( sum_246 ); skip ; ROUGE-L: 0.143 0.280 | |
| Input | Campaign: Amanda Burleigh has won her battle. A midwife has won a decade-long battle to give mothers more time attached to their newborns before the umbilical cord is cut. Amanda Burleigh was convinced that clamping the cord within seconds of delivery – shutt… |