arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.12790quant-phcs.AI
收藏

量子增强的大语言模型高效微调

Quantum-Enhanced LLM Efficient Fine Tuning

Origin Quantum Computing Company Limited(起源量子计算有限公司);Institute of Artificial Intelligence(人工智能研究院);Anhui Engineering Research Center of Quantum Computing(安徽量子计算工程研究中心);Laboratory of Quantum Information(量子信息实验室);University of Science and Technology of China(中国科学技术大学);National University of Singapore(新加坡国立大学);Anhui University(安徽大学)

Xiaofei Kong, Lei Li, Zhaoyun Chen, Cheng Xue, Xiaofan Xu, Huanyu Liu, Yuchun Wu, Yuan Fang, Han Fang, Kejiang Chen, Yang Yang, Menghan Dou, Guoping Guo

AI总结:

为克服经典低秩近似在微调大语言模型时的表达瓶颈,提出量子张量混合适应方法QTHA,通过结合量子神经网络与张量网络,在减少76%可训练参数的同时显著降低了训练损失并提升了测试性能,为量子增强AGI奠定工程基础。

摘要:

低秩适应(LoRA)通过低秩矩阵近似实现了预训练语言模型的高效微调,在许多场景中取得了良好效果。然而,在复杂任务或高秩依赖设置下,其表示能力受到限制,可能限制模型的适应性。为了克服微调大语言模型(LLMs)时经典低秩近似的表达瓶颈,我们提出了量子张量混合适应(QTHA),这是一种将量子神经网络(QNN)与张量网络集成的参数高效微调方法。QTHA通过将预训练权重分解为量子神经网络和张量网络表示,在低秩空间内探索量子张量混合微调,利用量子态叠加克服经典秩限制。实验表明,QTHA在参数高效微调中实现了与LoRA相当或超越LoRA的性能。与LoRA相比,QTHA在相同训练步数内将可训练参数减少了76%,同时将训练损失降低多达17%,并将测试集性能提升多达17%。本研究不仅实现了量子资源对十亿参数级模型的轻量化适应,也验证了由LLM任务驱动的量子硬件优化的可行性。它为未来量子增强的通用人工智能(AGI)系统奠定了首个工程化就绪的基础。

英文摘要:

Low-Rank Adaptation (LoRA) enables efficient fine-tuning of pre-trained language models through low-rank matrix approximation, achieving effectiveness in many scenarios. However, its representation capacity is constrained in complex tasks or high-rank dependency settings, potentially limiting model adaptability. To overcome the expressive bottleneck in classical low-rank approximation for fine-tuning large language models (LLMs), we propose Quantum Tensor Hybrid Adaptation (QTHA), a parameter-efficient fine-tuning method that integrates a quantum neural network (QNN) with a tensor network. QTHA explores quantum tensor hybrid fine-tuning within low-rank spaces by decomposing pre-trained weights into quantum neural network and tensor network representations, leveraging quantum state superposition to overcome classical rank limitations. Experiments demonstrate that QTHA achieves performance comparable to or surpassing LoRA in parameter-efficient fine-tuning. Compared to LoRA, QTHA reduces trainable parameters by 76% while reducing training loss by up to 17% and improving test set performance by up to 17% within the same training steps. This research not only enables lightweight adaptation of quantum resources to the billion-parameter models but also validates the feasibility of quantum hardware optimization driven by LLM tasks. It establishes the first engineering-ready foundation for future quantum-enhanced Artificial General Intelligence (AGI) systems.

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

↑