现有的推测解码方法通常需要额外的模型结构与训练流程来辅助模型生成草稿token,这使得加速方法向新模型迁移的成本更高,对设备显存的要求也更严苛。为解决该问题,我们提出Make Some Noise(MSN,制造噪声)训练框架,用以替代大语言模型的监督微调阶段。该训练方法仅需在输入端引入一定噪声,让模型学习去噪任务,就能在不影响模型原有任务能力的前提下,显著增强其并行解码能力。此外,我们提出基于树的检索增强Jacobi(TR-Jacobi)解码策略,进一步提升MSN模型的推理速度。在通用领域与代码领域的实验均表明,MSN可在不损失模型性能的情况下将推理速度提升2.3-2.7倍。在Spec-Bench基准上,MSN模型也取得了与带有额外模型结构的SOTA模型相当的加速比。
英文摘要:
Existing speculative decoding methods typically require additional model structure and training processes to assist the model for draft token generation. This makes the migration of acceleration methods to the new model more costly and more demanding on device memory. To address this problem, we propose the Make Some Noise (MSN) training framework as a replacement for the supervised fine-tuning stage of the large language model. The training method simply introduces some noise at the input for the model to learn the denoising task. It significantly enhances the parallel decoding capability of the model without affecting the original task capability. In addition, we propose a tree-based retrieval-augmented Jacobi (TR-Jacobi) decoding strategy to further improve the inference speed of MSN models. Experiments in both the general and code domains have shown that MSN can improve inference speed by 2.3-2.7x times without compromising model performance. The MSN model also achieves comparable acceleration ratios to the SOTA model with additional model structure on Spec-Bench.
Unlocking the Power of Large Language Models for Entity Alignment
Institute of Computing Technology, CAS(中国科学院计算技术研究所);School of Computer Science and Technology, University of Chinese Academy of Science(中国科学院大学计算机科学与技术学院);IDEA Research, International Digital Economy Academy(国际数字经济学院IDEA研究院)
Unlocking the Power of Large Language Models for Multi-table Entity Matching
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)
Zoom in, Click out: Unlocking and Evaluating the Potential of Zooming for GUI Grounding
Xi’an Jiaotong University(西安交通大学);Princeton University(普林斯顿大学);Peking University(北京大学);University of Chinese Academy of Sciences(中国科学院大学);The University of Hong Kong(香港大学);Michigan State University(密歇根州立大学)
Think Natively: Unlocking Multilingual Reasoning with Consistency-Enhanced Reinforcement Learning
Key Laboratory of Big Data & Artificial Intelligence in Transportation, Beijing Jiaotong University(大数据与人工智能在交通中的关键实验室,北京交通大学);School of Computer Science and Technology, Beijing Jiaotong University(计算机科学与技术学院,北京交通大学);Pattern Recognition Center, WeChat AI, Tencent Inc(模式识别中心,微信AI,腾讯公司)