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

通过统一模式提示提高任务泛化能力

Improving Task Generalization via Unified Schema Prompt

Sun Yat-sen University(中山大学);Chinese University of Hong Kong(香港中文大学);Tsinghua University(清华大学);Langboat Technology(澜舟科技);Microsoft Research Asia(微软亚洲研究院)

Wanjun Zhong, Yifan Gao, Ning Ding, Zhiyuan Liu, Ming Zhou, Jiahai Wang, Jian Yin, Nan Duan

摘要:

任务泛化一直是自然语言处理(NLP)中的一个难题。最近的研究试图通过将NLP任务映射到人类可读的提示形式来提高预训练语言模型的任务泛化能力。然而,这些方法需要费力且不灵活的提示的手动收集,并且同一下游任务上的不同提示可能接收不稳定的性能。我们提出了统一模式提示,一个灵活的和可扩展的提示方法,自动定制的学习提示每个任务根据任务输入模式。该模型在保持不同任务模式特点的同时,对任务间的共享知识进行建模,从而提高了任务泛化能力。模式提示符采用每个任务的显式数据结构来制定提示符,因此只需要很少的人力。为了测试图式提示的任务泛化能力,我们对各种各样的一般NLP任务进行了基于图式提示的多任务预训练。该框架在来自8种任务类型(例如,QA、NLI等)。此外,全面的分析表明,每个组件的有效性,在模式提示,其灵活性的任务组合,并能够提高性能下的全数据微调设置。

英文摘要:

Task generalization has been a long standing challenge in Natural Language Processing (NLP). Recent research attempts to improve the task generalization ability of pre-trained language models by mapping NLP tasks into human-readable prompted forms. However, these approaches require laborious and inflexible manual collection of prompts, and different prompts on the same downstream task may receive unstable performance. We propose Unified Schema Prompt, a flexible and extensible prompting method, which automatically customizes the learnable prompts for each task according to the task input schema. It models the shared knowledge between tasks, while keeping the characteristics of different task schema, and thus enhances task generalization ability. The schema prompt takes the explicit data structure of each task to formulate prompts so that little human effort is involved. To test the task generalization ability of schema prompt at scale, we conduct schema prompt-based multitask pre-training on a wide variety of general NLP tasks. The framework achieves strong zero-shot and few-shot generalization performance on 16 unseen downstream tasks from 8 task types (e.g., QA, NLI, etc). Furthermore, comprehensive analyses demonstrate the effectiveness of each component in the schema prompt, its flexibility in task compositionality, and its ability to improve performance under a full-data fine-tuning setting.

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

↑