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

匹配任务与目标:编码器-解码器预训练语言模型的微调和提示调优策略

Matching Tasks to Objectives: Fine-Tuning and Prompt-Tuning Strategies for Encoder-Decoder Pre-trained Language Models

Ahmad Pouramini, Hesham Faili

AI总结:

提出MTO框架,通过匹配任务与预训练目标,在少样本和全数据集场景下显著提升编码器-解码器模型的生成与问答性能,性能增益超120%。

摘要:

基于提示的学习已成为自然语言处理中的主导范式。本研究探讨了不同预训练目标对编码器-解码器预训练语言模型在生成和问答任务中性能的影响,重点关注常识知识检索与补全。我们强调了在预训练和微调阶段融入多个目标的好处。我们引入了匹配任务与目标(MTO)框架以及为给定任务确定合适目标的方法。该框架提供了自动化方法,通过无监督训练基于识别出的目标来准备任务相关数据以进行适配。在微调阶段,我们设计了与预训练和适配阶段目标相一致的新型模板。当与任务要求对齐时,这些策略在少样本设置下相比传统方法可获得超过120%的性能提升。它们在少样本设置下显著优于相关工作,并且即使在完整数据集场景中也超过基线。此外,我们将该方法扩展到包括提示调优方法,为更有效的软提示工程和优化提供指导。我们的策略也显著提升了提示调优性能。这些见解具有重要价值,精确指导针对特定任务定制模型的选取和优化。代码可在以下网址获取:https://this URL

英文摘要:

Prompt-based learning has emerged as a dominant paradigm in natural language processing. This study explores the impact of diverse pre-training objectives on the performance of encoder-decoder pre-trained language models across generation and question answering tasks, with a focus on commonsense knowledge retrieval and completion. We highlight the benefits of incorporating multiple objectives during both pre-training and fine-tuning stages. We introduce the Match Task to Objective (MTO) framework and methods for determining the appropriate objective for a given task. This framework offers automated methods to prepare task-related data for adaptation through unsupervised training, based on the identified objective. In the fine-tuning stage, we design novel templates that align with the objectives of the pre-training and adaptation stages. When aligned with task requirements, these strategies can achieve a performance gain of over 120\% compared to conventional methods in few-shot settings. They significantly outperform related works in few-shot settings and exceed the baseline even in full-dataset scenarios. Furthermore, we extend this approach to include prompt-tuning methodologies, providing guidance for more effective soft prompt engineering and optimization. Our strategies significantly enhance prompt-tuning performance as well. These insights hold substantial value, precisely guiding the selection and optimization of models customized for specific tasks. Code is available at https://github.com/puraminy/MTO/

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

↑