BayesPrompt:通过去偏领域抽象提示大规模预训练语言模型进行少样本推理
BayesPrompt: Prompting Large-Scale Pre-Trained Language Models on Few-shot Inference via Debiased Domain Abstraction
AI总结:
针对提示微调在少样本模式下泛化能力不足的问题,提出BayesPrompt方法,通过去偏领域抽象学习包含领域判别信息的提示,抵御无关知识干扰,在基准测试上取得最优性能。
摘要:
作为一种基于大规模预训练语言模型(PLMs)的新型有效微调范式,提示微调旨在缩小下游任务与预训练目标之间的差距。尽管提示微调在各类任务中持续取得进展,但该方法仍存在一个固有缺陷:提示微调方法无法泛化到特定的少样本模式。从分布分析的角度来看,我们揭示该现象背后的内在原因是PLMs中包含的过于庞杂的概念知识以及目标下游领域知识的缺失,这两者共同导致PLMs在通用知识嵌入空间中错误定位与目标领域相对应的知识分布。为此,我们直观地探索以去偏的方式近似下游任务未缺失的目标领域,随后将这些领域进行抽象以生成具有判别力的提示,从而为PLMs提供去模糊的指导。基于这一直觉,我们提出了一种简单而有效的方法,即BayesPrompt,用于学习包含领域判别信息的提示,以抵御领域无关知识的干扰。BayesPrompt初步利用已知分布来近似目标领域的去偏事实分布,并进一步从近似分布中均匀采样特定代表性特征,以生成供PLMs使用的最终提示。我们提供了与领域自适应相关的理论见解。在经验上,我们的方法在基准测试上取得了最先进的性能。
英文摘要:
As a novel and effective fine-tuning paradigm based on large-scale pre-trained language models (PLMs), prompt-tuning aims to reduce the gap between downstream tasks and pre-training objectives. While prompt-tuning has yielded continuous advancements in various tasks, such an approach still remains a persistent defect: prompt-tuning methods fail to generalize to specific few-shot patterns. From the perspective of distribution analyses, we disclose that the intrinsic issues behind the phenomenon are the over-multitudinous conceptual knowledge contained in PLMs and the abridged knowledge for target downstream domains, which jointly result in that PLMs mis-locate the knowledge distributions corresponding to the target domains in the universal knowledge embedding space. To this end, we intuitively explore to approximate the unabridged target domains of downstream tasks in a debiased manner, and then abstract such domains to generate discriminative prompts, thereby providing the de-ambiguous guidance for PLMs. Guided by such an intuition, we propose a simple yet effective approach, namely BayesPrompt, to learn prompts that contain the domain discriminative information against the interference from domain-irrelevant knowledge. BayesPrompt primitively leverages known distributions to approximate the debiased factual distributions of target domains and further uniformly samples certain representative features from the approximated distributions to generate the ultimate prompts for PLMs. We provide theoretical insights with the connection to domain adaptation. Empirically, our method achieves state-of-the-art performance on benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。