arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.05819cs.LG
收藏

HCInfer:通过误差补偿实现资源受限设备的高效推理系统

HCInfer: An Efficient Inference System via Error Compensation for Resource-Constrained Devices

Tsinghua University(清华大学);Huazhong University of Science and Technology(华中科技大学)

Shen Xu, Xiangwen Zhuge, Zhe Xu, Yingkun Hu, Zheng Yang, Yunhao Liu

AI总结:

本文提出HCInfer系统,通过将残差补偿任务卸载到CPU,利用GPU执行压缩主干网络,并引入异步补偿管道和敏感性感知的动态秩分配,以提高精度恢复和吞吐量。

摘要:

大语言模型(LLMs)由于参数规模庞大,常在消费级硬件上面临内存受限的部署难题。尽管现有解决方案如模型压缩和卸载能提高部署可行性,但常导致显著的精度下降或严重的吞吐量瓶颈。最近的误差补偿方法通过辅助LoRA式分支恢复精度,我们观察到这些分支本质上适合卸载:它们需要大量参数存储,但在每次推理步骤中仅访问少量补偿参数。受此启发,我们提出HCInfer,一种异构推理系统,将残差补偿卸载到CPU,同时在GPU上执行压缩主干网络,并进一步引入异步补偿管道和敏感性感知的动态秩分配,以隐藏补偿开销并最大化精度恢复。实验结果表明,HCInfer在下游任务上相比压缩模型最大精度提升达5.2%,且相比全精度模型最大加速达10.4倍。

英文摘要:

LLMs often struggle with memory-constrained deployment on consumer-grade hardware due to their massive parameter sizes. While existing solutions such as model compression and offloading improve deployment feasibility, they often suffer from substantial accuracy degradation or severe throughput bottlenecks. Recent error compensation methods recover accuracy through auxiliary LoRA-style branches, and we observe that these branches are inherently amenable to offloading: they require substantial parameter storage but access only a small subset of compensation parameters during each inference step. Motivated by this opportunity, we propose HCInfer, a heterogeneous inference system that offloads residual compensation to the CPU while executing the compressed backbone on the GPU, and further introduces an asynchronous compensation pipeline and sensitivity-aware dynamic rank allocation to hide compensation overhead and maximize accuracy recovery. Experimental results show that HCInfer achieves a maximum accuracy improvement of 5.2% on downstream tasks compared to compression model and sustaining a maximum speedup of 10.4x compared to full-precision model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑