{"id":"arxiv:2410.10141","kind":"article","title":"Temperature-Centric Investigation of Speculative Decoding with Knowledge Distillation","authors":["Siru Ouyang","Shuohang Wang","Minhao Jiang","Ming Zhong","Donghan Yu","Jiawei Han","Yelong Shen"],"author_count":7,"year":2024,"published":"2024-10-14","venue":"Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)","cited_by":1,"doi":"10.18653/v1/2024.findings-emnlp.767","arxiv_id":"2410.10141","nct_id":null,"source_url":"https://arxiv.org/abs/2410.10141","archive_url":"https://space-kitty.com/papers/arxiv:2410.10141","updated":"2024-10-14","pmid":null,"pmcid":null,"openalex_id":"W4404792907","pdf_url":"https://arxiv.org/pdf/2410.10141","abstract":"Speculative decoding stands as a pivotal technique to expedite inference in autoregressive (large) language models. This method employs a smaller draft model to speculate a block of tokens, which the target model then evaluates for acceptance. Despite a wealth of studies aimed at increasing the efficiency of speculative decoding, the influence of generation configurations on the decoding process remains poorly understood, especially concerning decoding temperatures. This paper delves into the effects of decoding temperatures on speculative decoding's efficacy. Beginning with knowledge distillation (KD), we first highlight the challenge of decoding at higher temperatures, and demonstrate KD in a consistent temperature setting could be a remedy. We also investigate the effects of out-of-domain testing sets with out-of-range temperatures. Building upon these findings, we take an initial step to further the speedup for speculative decoding, particularly in a high-temperature generation setting. Our work offers new insights into how generation configurations drastically affect the performance of speculative decoding, and underscores the need for developing methods that focus on diverse decoding configurations. Code is publically available at https://github.com/ozyyshr/TempSpec.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":null,"categories":["cs.CL"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[{"slug":"efficient-ai","name":"Efficient Training & Inference","domain_slug":"ai"}],"cited_in_dossiers":[{"slug":"efficient-ai","title":"Efficient Training & Inference: State of the Field (October 2026)","url":"https://space-kitty.com/dossiers/efficient-ai"}]}