ResDecode: Accelerating Large Language Models Inference via Residual Decoding Heads

Ziqian Zeng, Jiahong Yu, Qianshi Pang, Zihao Wang, Huiping Zhuang, Yu Fan, Hongen Shao, Xiaofeng ZouBig 2025

Abstract

Large language Models (LLMs) have immense potential to enhance the capabilities of Cyber-Physical-Social Intelligence (CPSI) systems, enabling them to better engage with complex cyber, physical, and social environments. However, the high inference latency of LLMs, which is inherited from the autoregressive decoding process, hinders their wide application in CPSI systems. To address this challenge, current approaches have incorporated speculative decoding to enable parallel prediction of multiple subsequent tokens, thereby achieving inference acceleration. Nevertheless, the accuracy of these decoding heads falls short of the autoregressive decoding approach. In light of these limitations, we propose ResDecode, a novel speculative decoding method characterized by its efficient and accurate decoding heads. Within the lightweight draft model, we propose a residual decoding head to compensate for the full context encoder's limited capability on long-range dependencies, thus improving accuracy. ResDecode demonstrates impressive results, achieving a maximum speedup ratio of 3.2× on the MT-bench compared to vanilla autoregressive decoding.
BibTeX
@inproceedings{zeng2025resdecode,
  author = {Ziqian Zeng and Jiahong Yu and Qianshi Pang and Zihao Wang and Huiping Zhuang and Yu Fan and Hongen Shao and Xiaofeng Zou},
  title = {{ResDecode: Accelerating Large Language Models Inference via Residual Decoding Heads}},
  booktitle = {Big},
  year = {2025},
  doi = {10.26599/bdma.2024.9020074},
}

Loading related content...

Figure