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

缓解零样本基于提示的分类器中的词偏置

Mitigating Word Bias in Zero-shot Prompt-based Classifiers

ALTA Institute(ALTA研究所);University of Cambridge(剑桥大学)

Adian Liusie, Potsawee Manakul, Mark J. F. Gales

AI总结:

本文针对零样本基于提示的分类器中因词偏置导致的性能差异问题,提出一种无监督地重新加权类别期望边际概率以实现均匀先验的方法,并建立类别先验与语言模型词先验的理论联系,实现零资源阈值设置,在多项NLP任务上取得显著且一致的性能提升。

摘要:

基于提示的分类器是零样本分类的一种极具吸引力的方法。然而,提示模板和标签词的精确选择会在很大程度上影响性能,语义等价的设置往往会表现出显著的性能差异。这种差异部分可归因于词偏置,即分类器可能偏向于某些类别。为了解决这个问题,可以在带标签的数据集上优化分类阈值,但这会削弱基于提示的分类器的一些优势。本文转而通过检查类别的期望边际概率来处理这个问题。在此,以无监督的方式对概率进行重新加权,使其在类别上具有均匀先验。此外,我们建立了类别先验与语言模型词先验之间的理论联系,并提供了以零资源方式设置阈值的能力。我们表明,匹配类别先验与oracle上界性能高度相关,并在一系列NLP任务中展示了基于提示的设置带来的巨大且一致的性能提升。

英文摘要:

Prompt-based classifiers are an attractive approach for zero-shot classification. However, the precise choice of the prompt template and label words can largely influence performance, with semantically equivalent settings often showing notable performance difference. This discrepancy can be partly attributed to word biases, where the classifier may be biased towards classes. To address this problem, it is possible to optimise classification thresholds on a labelled data set, however, this mitigates some of the advantages of prompt-based classifiers. This paper instead approaches this problem by examining the expected marginal probabilities of the classes. Here, probabilities are reweighted to have a uniform prior over classes, in an unsupervised fashion. Further, we draw a theoretical connection between the class priors and the language models' word prior, and offer the ability to set a threshold in a zero-resource fashion. We show that matching class priors correlates strongly with the oracle upper bound performance and demonstrate large consistent performance gains for prompt settings over a range of NLP tasks.

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

↑