arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.02710cs.CL
收藏

通过高效上下文学习与高效微调的ELearnFit增强新闻摘要

Enhancing News Summarization with ELearnFit through Efficient In-Context Learning and Efficient Fine-Tuning

AllianceBernstein(AllianceBernstein( AllianceBernstein 是一家全球投资管理公司,中文可译为“ AllianceBernstein 公司”,保留原名更准确));University of California, Berkeley(加利福尼亚大学伯克利分校)

Che Guan, Andrew Chin, Puya Vahabi

AI总结:

本文提出ELearnFit模型,结合高效上下文学习与参数高效微调,通过增加提示示例、使用简单模板及微调LLMs首层等方法优化XSum新闻摘要性能,并揭示了提示与微调在有限标注样本下的权衡。

摘要:

随着每日新闻周期带来的海量信息,人们越来越需要有效且高效地总结新闻源以供快速消费。我们利用大语言模型(LLMs)——相较于传统语言模型具有更先进的学习和生成能力——为XSum数据集中的新闻文章生成简洁连贯的摘要。本文聚焦于LLMs的两个关键方面:高效上下文学习(ELearn)和参数高效微调(EFit)。在ELearn方面,我们发现增加提示中的示例数量(shots)以及利用简单的模板通常能提高摘要质量。我们还发现,在ELearn的少样本学习中使用相关示例并不能提升模型性能。此外,我们使用不同方法研究了EFit,并证明微调LLMs的第一层比微调其他层或使用LoRA能产生更好的结果。我们还发现,利用选择性层来使用更多相关训练样本并不会带来更好的性能。通过结合ELearn和EFit,我们创建了一个新模型(ELearnFit),该模型利用了少样本学习和微调两者的优势,并产生了优于任一单独模型的性能。我们还利用ELearnFit揭示了提示与微调之间的权衡,特别是在仅有有限数量标注样本可用的情境下。最终,我们的研究提供了在提示和微调阶段优化新闻摘要的实用技术,并增强了对新闻文章的合成能力。

英文摘要:

With the deluge of information delivered by the daily news cycle, there is a growing need to effectively and efficiently summarize news feeds for quick consumption. We leverage large language models (LLMs), with their advanced learning and generative abilities as compared to conventional language models, to generate concise and coherent summaries for news articles from the XSum dataset. Our paper focuses on two key aspects of LLMs: Efficient in-context Learning (ELearn) and Parameter Efficient Fine-tuning (EFit). Under ELearn, we find that increasing the number of shots in prompts and utilizing simple templates generally improve the quality of summaries. We also find that utilizing relevant examples in few-shot learning for ELearn does not improve model performance. In addition, we studied EFit using different methods and demonstrate that fine-tuning the first layer of LLMs produces better outcomes as compared to fine-tuning other layers or utilizing LoRA. We also find that leveraging more relevant training samples using selective layers does not result in better performance. By combining ELearn and EFit, we create a new model (ELearnFit) that leverages the benefits of both few-shot learning and fine-tuning and produces superior performance to either model alone. We also use ELearnFit to highlight the trade-offs between prompting and fine-tuning, especially for situations where only a limited number of annotated samples are available. Ultimately, our research provides practical techniques to optimize news summarization during the prompting and fine-tuning stages and enhances the synthesis of news articles.

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

↑