arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.10353cs.CLcs.LG
收藏

面向语言模型零样本/少样本学习性能提升的基于提示的偏差校准

Prompt-Based Bias Calibration for Better Zero/Few-Shot Learning of Language Models

Purdue University(普渡大学)

Kang He, Yinghan Long, Kaushik Roy

AI总结:

针对预训练语言模型固有偏差导致提示式零/少样本学习性能不佳的问题,提出零输入提示的高效偏差校准方法,仅更新0.1%参数,在多数据集上显著提升两类场景的学习性能。

摘要:

基于提示的学习易受预训练语言模型(LM)固有偏差的影响,导致基于提示的零样本/少样本场景下性能欠佳。本文提出一种零输入提示方法,用于校准预训练LM中编码的固有偏差。现有研究主要针对社会公平性处理固有偏差,且往往计算成本过高,与之不同,本文的目标是在探索提升LM下游零样本/少样本学习性能的同时,兼顾固有偏差校准的效率。具体而言,我们利用由GPT-4生成的一组多样化的自动筛选零语义输入,探测预训练LM的固有偏差。借助反映偏差的概率分布,我们构建了用于偏差校准的分布差异损失,仅更新LM中占总参数0.1%的偏差参数,使其向等概率分布收敛。实验结果表明,该校准方法在保留语言建模能力的同时,为LM提供了更公平的起点。在涵盖情感分析、主题分类在内的广泛数据集上,本文方法显著提升了LM在上下文学习和基于提示的微调两种场景下的零样本/少样本学习性能,平均提升幅度分别为9%和2%。

英文摘要:

Prompt-based learning is susceptible to intrinsic bias present in pre-trained language models (LMs), leading to sub-optimal performance in prompt-based zero/few-shot settings. In this work, we propose a null-input prompting method to calibrate intrinsic bias encoded in pre-trained LMs. Different from prior efforts that address intrinsic bias primarily for social fairness and often involve excessive computational cost, our objective is to explore enhancing LMs' performance in downstream zero/few-shot learning while emphasizing the efficiency of intrinsic bias calibration. Specifically, we leverage a diverse set of auto-selected null-meaning inputs generated from GPT-4 to probe intrinsic bias of pre-trained LMs. Utilizing the bias-reflected probability distribution, we formulate a distribution disparity loss for bias calibration, where we exclusively update bias parameters ($0.1\%$ of total parameters) of LMs towards equal probability distribution. Experimental results show that the calibration promotes an equitable starting point for LMs while preserving language modeling abilities. Across a wide range of datasets, including sentiment analysis and topic classification, our method significantly improves zero/few-shot learning performance of LMs for both in-context learning and prompt-based fine-tuning (on average $9\%$ and $2\%$, respectively).

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

↑