arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.09783cs.CL
收藏

利用大型语言模型中的偏差:用于有效少样本学习的“bias-kNN”

Leveraging Biases in Large Language Models: "bias-kNN'' for Effective Few-Shot Learning

Ping An Technology (Shenzhen) Co., Ltd.(平安科技(深圳)有限公司);Lanzhou University(兰州大学);University of Maryland(马里兰大学)

Yong Zhang, Hanzhang Li, Zhitao Li, Ning Cheng, Ming Li, Jing Xiao, Jianzong Wang

AI总结:

本文提出bias-kNN方法,将LLM的偏差输出作为kNN特征并结合黄金标签,在多领域文本分类和GPT-2规模上验证其少样本性能与稳健性。

摘要:

大型语言模型(LLM)已在包括零样本和少样本学习在内的多种应用中展现出显著前景。然而,其性能可能受到固有偏差的妨碍。不同于传统上寻求旨在最小化或纠正这些偏差的方法,本研究提出了一种名为“bias-kNN”的新方法。该方法利用带有偏差的输出,将其作为kNN的主要特征,并以黄金标签进行补充。我们在涵盖不同领域的文本分类数据集以及不同GPT-2模型规模上进行了综合评估,结果表明“bias-kNN”方法具有适应性和有效性。值得注意的是,该方法不仅在少样本场景中优于传统的上下文学习,而且在一系列样本、模板和言语化器上表现出稳健性。因此,本研究为利用偏差提供了独特视角,将其转化为提升模型性能的资产。

英文摘要:

Large Language Models (LLMs) have shown significant promise in various applications, including zero-shot and few-shot learning. However, their performance can be hampered by inherent biases. Instead of traditionally sought methods that aim to minimize or correct these biases, this study introduces a novel methodology named ``bias-kNN''. This approach capitalizes on the biased outputs, harnessing them as primary features for kNN and supplementing with gold labels. Our comprehensive evaluations, spanning diverse domain text classification datasets and different GPT-2 model sizes, indicate the adaptability and efficacy of the ``bias-kNN'' method. Remarkably, this approach not only outperforms conventional in-context learning in few-shot scenarios but also demonstrates robustness across a spectrum of samples, templates and verbalizers. This study, therefore, presents a unique perspective on harnessing biases, transforming them into assets for enhanced model performance.

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

↑