arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.06445cs.CLcs.AI
收藏

面向GPT类深度模型的提示高效微调:利用随机优化技术减少科学文本生成中的幻觉并提高可复现性

Prompt-Efficient Fine-Tuning for GPT-like Deep Models to Reduce Hallucination and to Improve Reproducibility in Scientific Text Generation Using Stochastic Optimisation Techniques

Higher School of Economics (HSE)(高等经济大学(HSE));AI for Computational biology (AIC)(计算生物学人工智能研究所(AIC))

Daniil Sulimov

AI总结:

本研究提出一种参数高效微调方法(PEFT),通过LoRA适配器微调GPT-2为MS-GPT,用于质谱科学文本生成,以减少幻觉并提高可复现性,实验显示其在BLEU、ROUGE和困惑度上优于基线,并提出了基于余弦相似性的可复现性度量。

摘要:

大型语言模型(LLMs)越来越多地被用于复杂的科学文本生成任务,但它们常常在准确性、一致性和幻觉控制方面存在局限。本论文引入了一种针对GPT类模型的参数高效微调(PEFT)方法,旨在减轻幻觉并增强可复现性,特别是在质谱学的计算领域。我们实现了低秩适应(LoRA)适配器来改进GPT-2,称为MS-GPT,使用专门的质谱文献语料库。通过应用于LLMs的新颖评估方法,包括BLEU、ROUGE和困惑度分数,微调后的MS-GPT模型在文本连贯性和可复现性方面优于基线GPT-2,并通过Wilcoxon秩和检验的统计分析得到确认。此外,我们提出了一种基于模型输出在受控提示下的余弦相似性的可复现性度量,展示了MS-GPT的增强稳定性。这项研究突显了PEFT在优化LLMs用于科学语境方面的潜力,在降低计算成本的同时提高模型可靠性。

英文摘要:

Large Language Models (LLMs) are increasingly adopted for complex scientific text generation tasks, yet they often suffer from limitations in accuracy, consistency, and hallucination control. This thesis introduces a Parameter-Efficient Fine-Tuning (PEFT) approach tailored for GPT-like models, aiming to mitigate hallucinations and enhance reproducibility, particularly in the computational domain of mass spectrometry. We implemented Low-Rank Adaptation (LoRA) adapters to refine GPT-2, termed MS-GPT, using a specialized corpus of mass spectrometry literature. Through novel evaluation methods applied to LLMs, including BLEU, ROUGE, and Perplexity scores, the fine-tuned MS-GPT model demonstrated superior text coherence and reproducibility compared to the baseline GPT-2, confirmed through statistical analysis with the Wilcoxon rank-sum test. Further, we propose a reproducibility metric based on cosine similarity of model outputs under controlled prompts, showcasing MS-GPT's enhanced stability. This research highlights PEFT's potential to optimize LLMs for scientific contexts, reducing computational costs while improving model reliability.

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

↑