Skip to main content
QUICK REVIEW

[论文解读] BayesPrompt: Prompting Large-Scale Pre-Trained Language Models on Few-shot Inference via Debiased Domain Abstraction

Jiangmeng Li, Fei Song|arXiv (Cornell University)|Jan 25, 2024
Topic ModelingComputer Science被引用 3
一句话总结

BayesPrompt 通过使用已知的参数形式(例如高斯分布)近似去偏见的、事实性的领域分布,并对代表性特征进行均匀采样以生成领域区分性提示,提出了一种用于大规模预训练语言模型(PLMs)少样本推理的新颖提示微调方法。该方法通过最小化 PLM 学习到的分布与真实下游领域分布之间的差异,减少了分布偏移,实现了最先进(SOTA)的性能表现。

ABSTRACT

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.

研究动机与目标

  • 为解决提示微调在少样本场景中由于 PLMs 中存在与领域无关的知识干扰而导致的持续泛化失败问题。
  • 缓解因下游训练样本有限导致的有偏经验分布所引发的协变量偏移问题。
  • 通过近似目标领域的真正实事实分布,为 PLMs 提供清晰明确的、领域特定的指导。
  • 通过分布对齐,理论上收紧下游推理的分类误差上界。
  • 开发一种简单但高效的提示学习框架,使其在少样本任务中具有良好的泛化能力。

提出的方法

  • 基于可用的训练数据,使用已知的参数分布形式(例如高斯分布)近似目标下游领域的去偏见事实分布。
  • 从近似分布中均匀采样代表性特征,以生成 PLM 的最终提示。
  • 利用领域自适应理论,最小化 PLM 内部知识与真实下游领域分布之间的分布差异。
  • 优化一个损失函数,该函数隐式地减少 PLM 所诱导分布与真实下游分布之间的距离。
  • 使用冻结的 PLM,仅微调提示参数,从而确保效率并保持与现有 PLM 框架的兼容性。
  • 采用一个依赖于分布差异的分类误差理论上限,该上限在训练过程中被最小化。

实验结果

研究问题

  • RQ1为何现有提示微调方法在少样本场景中仍会泛化失败,尽管其在低样本或零样本设置中表现成功?
  • RQ2PLMs 中的与领域无关的知识如何导致下游任务中的分布偏移和推理模糊性?
  • RQ3通过参数化建模近似下游领域的真正实事实分布,是否能改善少样本学习中的提示泛化能力?
  • RQ4当使用基于无偏见领域抽象生成的提示时,能否为 PLMs 的分类误差提供理论保证?
  • RQ5与基线提示微调方法相比,该方法在分布对齐和下游性能方面表现如何?

主要发现

  • BayesPrompt 在基准少样本 NLP 任务上实现了最先进性能,优于现有的提示微调方法。
  • 通过 Wasserstein 距离度量,该方法显著减少了 PLM 内部知识与真实下游领域分布之间的分布差异。
  • 理论分析表明,与基线方法相比,BayesPrompt 提供了更紧的分类误差上界。
  • 实证结果表明,该方法在多个少样本数据集上均表现出一致的性能提升,尤其在数据量极少的场景下,提示泛化能力最为关键。
  • 采用参数化分布近似和均匀采样,相比标准可训练提示方法,生成的提示更具鲁棒性和区分性。
  • 即使下游训练数据稀疏,该方法仍保持强劲性能,验证了其在少样本场景中的有效性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。