评估 LoRA 微调对非功能需求分类性能影响的研究
A Study to Evaluate the Impact of LoRA Fine-tuning on the Performance of Non-functional Requirements Classification
AI总结:
本文研究 LoRA 微调在非功能需求分类中的应用,实验证明其可最多降低 68% 执行成本且分类性能仅下降 2%-3%,在更大规模场景中具有实用性。
摘要:
在软件开发生命周期中对非功能需求(NFR)进行分类至关重要。受迁移学习理论的启发,研究人员应用强大的预训练模型进行 NFR 分类。然而,由于涉及的参数数量巨大(例如 GPT-3 中有 1750 亿个可训练参数),通过更新预训练模型的所有参数进行全量微调通常不切实际。在本文中,我们将低秩适应(LoRA)微调方法应用于基于提示学习的 NFR 分类,以研究其影响。实验表明,LoRA 可以显著降低执行成本(最多降低 68%),而分类有效性损失不大(仅下降 2%-3%)。结果表明,在具有更大数据集和预训练模型的更复杂分类场景中,LoRA 具有实用性。
英文摘要:
Classifying Non-Functional Requirements (NFRs) in software development life cycle is critical. Inspired by the theory of transfer learning, researchers apply powerful pre-trained models for NFR classification. However, full fine-tuning by updating all parameters of the pre-trained models is often impractical due to the huge number of parameters involved (e.g., 175 billion trainable parameters in GPT-3). In this paper, we apply Low-Rank Adaptation (LoRA) fine-tuning approach into NFR classification based on prompt-based learning to investigate its impact. The experiments show that LoRA can significantly reduce the execution cost (up to 68% reduction) without too much loss of effectiveness in classification (only 2%-3% decrease). The results show that LoRA can be practical in more complicated classification cases with larger dataset and pre-trained models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。