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

少样本统一问答:微调模型还是提示?

Few-shot Unified Question Answering: Tuning Models or Prompts?

Carnegie Mellon University(卡内基梅隆大学);Salesforce Research(赛富时研究院)

Srijan Bansal, Semih Yavuz, Bo Pang, Meghana Bhat, Yingbo Zhou

AI总结:

本文针对低资源少样本场景下的统一问答任务,对比了模型微调与提示微调两种范式,发现提示微调在良好初始化下表现相当且更具优势,为低资源场景下的统一问答系统开发提供了见解。

摘要:

问答(QA)任务通常研究特定的问题类型、知识领域或推理技能,导致出现了迎合特定类别QA任务的专用模型。尽管近期研究探索了统一QA模型的理念,但此类模型通常在高资源场景下进行探索,并且需要重新训练以扩展其能力。为了克服这些缺陷,本文探索了在低资源设置下,模型和提示两种微调范式用于统一QA的潜力。本文使用16个QA数据集对其适用性进行了详尽分析,揭示出在具备良好初始化的少样本设置中,提示微调的表现能与模型微调相媲美。研究还表明,参数共享带来了更优的少样本性能,用于提示初始化的简单知识迁移技术十分有效,并且提示微调在低资源机制下能从预训练中获得显著的性能提升。该研究为少样本设置下提示微调用于统一QA的优势与局限性提供了见解,有助于在低资源场景下开发有效且高效的系统。

英文摘要:

Question-answering (QA) tasks often investigate specific question types, knowledge domains, or reasoning skills, leading to specialized models catering to specific categories of QA tasks. While recent research has explored the idea of unified QA models, such models are usually explored for high-resource scenarios and require re-training to extend their capabilities. To overcome these drawbacks, the paper explores the potential of two paradigms of tuning, model, and prompts, for unified QA under a low-resource setting. The paper provides an exhaustive analysis of their applicability using 16 QA datasets, revealing that prompt tuning can perform as well as model tuning in a few-shot setting with a good initialization. The study also shows that parameter-sharing results in superior few-shot performance, simple knowledge transfer techniques for prompt initialization can be effective, and prompt tuning achieves a significant performance boost from pre-training in a low-resource regime. The research offers insights into the advantages and limitations of prompt tuning for unified QA in a few-shot setting, contributing to the development of effective and efficient systems in low-resource scenarios.

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

↑