量子大语言模型微调
Quantum Large Language Model Fine-Tuning
AI总结:
本文提出一种混合量子-经典架构用于大语言模型微调,通过参数化量子电路与句子变换器结合,在有限采样和噪声模拟下实现最高3.14%的准确率提升。
摘要:
我们提出了一种用于大语言模型微调的混合量子-经典深度学习架构。该架构的经典部分是一个句子变换器,其能力足以在情感预测等复杂任务上表现出显著的准确率。该架构的量子部分由参数化量子电路组成,这些电路利用了量子比特之间的长程连接。我们分析了混合模型在不同超参数设置下的性能,包括量子比特数量、量子电路深度、学习率、重复上传步骤数等。基于主效应筛选研究,我们展示了相较于可比的经典基线在预测准确率上的整体提升,并且准确率随量子比特数量增加而呈上升趋势。在本研究所探测的超参数集合内,我们观察到与模型规模相当的经典架构相比,准确率提升最高可达3.14%。我们通过消融研究展示了架构中每个模块的贡献。我们的研究基于有限次数的采样,并包含基于含噪声量子门的模拟。
英文摘要:
We introduce a hybrid quantum-classical deep learning architecture for large language model fine-tuning. The classical portion of the architecture is a sentence transformer that is powerful enough to display significant accuracy for complex tasks such as sentiment prediction. The quantum portion of the architecture consists of parameterized quantum circuits that utilize long-range connections between qubits. We analyze the performance of the hybrid models for various settings of hyperparameters, including the number of qubits, the depth of the quantum circuits, learning rate, number of re-uploading steps, etc. Based on a screening study of main effects, we show an overall improvement in prediction accuracy over a comparable classical baseline, with a trend of increasing accuracy with number of qubits. We observe up to $3.14\%$ improvements in accuracy over classical architectures of comparable model size, within the set of hyperparameters probed in this study. We demonstrate the contribution of each module in our architecture through ablation studies. Our studies are based on finite shot-counts and include simulations based on noisy quantum gates.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。