arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.08600cs.CLcs.AIcs.LG
收藏

Recover-LoRA:通过低秩适配实现退化语言模型的无数据精度恢复

Recover-LoRA: Data-Free Accuracy Recovery of Degraded Language Models via Low-Rank Adaptation

Advanced Micro Devices, Inc. (AMD)(先进微器件公司(AMD))

Devleena Das, Rajeev Patwari, Ashish Sirasao

AI总结:

Recover-LoRA是一种轻量级、与数据集无关的方法,利用合成数据和logit蒸馏在选择性层上学习LoRA适配器,从量化、序列化等导致的权重退化中恢复语言模型精度,在MHA和GQA小语言模型上实现5-17%的精度提升。

摘要:

量化、剪枝、格式与数据类型转换、模型导出及序列化等推理优化可能导致语言模型任务性能的功能退化。虽然大多数针对部署的性能恢复工作聚焦于稳健的量化技术,但我们关注的是从任何导致模型权重退化的来源(如不当的模型序列化)中恢复模型精度。在本工作中,我们提出Recover-LoRA,一种轻量级且与数据集无关的方法,用于恢复退化模型的精度。Recover-LoRA使用合成数据和logit蒸馏,在选择性层上学习LoRA适配器,以促进退化模型与其全精度模型的对齐。我们在一组多样的小语言模型(SLMs)上研究了Recover-LoRA的效用,包括具有不同注意力架构(多头注意力(MHA)和分组查询注意力(GQA))的模型,以及多个评估数据集。我们的结果表明,Recover-LoRA在MHA和GQA SLMs上将模型精度恢复了5-17%。

英文摘要:

Inference optimizations such as quantization, pruning, format and datatype conversion, model export, and serialization can lead to functional degradations in language model task performance. While most efforts on performance recovery for deployment focus on robust quantization techniques, we focus on recovering model accuracies from any sources that degrade model weights, such as improper model serialization. In this work, we propose Recover-LoRA, a lightweight and dataset agnostic method to recover accuracy in degraded models. Recover-LoRA uses synthetic data and logit distillation to learn LoRA adapters on selective layers that facilitate aligning the degraded model to its full precision model. We investigate the utility of Recover-LoRA across a diverse set of small language models (SLMs), including models with varying attention architectures, multi-head attention (MHA) and group-query attention (GQA), as well as several evaluation datasets. Our results show that Recover-LoRA recovers model accuracies by 5-17% on MHA and GQA SLMs.

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

↑