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

CELDA:将黑盒语言模型用作无标签增强分类器

CELDA: Leveraging Black-box Language Model as Enhanced Classifier without Labels

Seoul National University(首尔国立大学);IntelliSys(智能系统研究所)

Hyunsoo Cho, Youna Kim, Sang-goo Lee

AI总结:

针对黑盒语言模型弱监督文本分类性能不足、鲁棒性差的问题,提出CELDA方法,通过提取伪标签数据集和训练轻量鲁棒模型,在无需访问模型内部和数据标签的情况下刷新弱监督文本分类SOTA,且通用性强可扩展。

摘要:

随着许多前沿语言模型(LM)通过API发布且规模庞大,在无法访问内部结构的语言模型利用方式正成为自然语言处理(NLP)领域一种有吸引力的研究范式。这类黑盒场景下的主流方法是提示(prompting),该方法在数据标签稀缺或不可用的场景中已展现出逐步提升的性能。尽管提示方法虽有成效,但仍不及全监督方法,且通常对微小改动普遍较为脆弱。本文提出聚类增强线性判别分析(Clustering-enhanced Linear Discriminative Analysis,即CELDA),这是一种仅需极弱监督信号(即标签名称)即可提升文本分类准确率的新方法。我们的框架无需访问语言模型的权重、梯度,也无需数据标签,就能绘制出精准的决策边界。CELDA的核心思想分为两部分:(1)从未标注数据集中提取经过精炼的伪标签数据集;(2)在语言模型之上训练一个轻量且鲁棒的模型,该模型从提取的含噪数据集中学习准确的决策边界。通过在多个数据集上的深入研究,我们证明CELDA在弱监督文本分类任务上达到了新的state-of-the-art(最优水平),并缩小了与全监督模型的性能差距。此外,我们提出的方法可普遍应用于任何语言模型,且具备扩展到更大模型的潜力,使其成为利用大语言模型的更可行方案。

英文摘要:

Utilizing language models (LMs) without internal access is becoming an attractive paradigm in the field of NLP as many cutting-edge LMs are released through APIs and boast a massive scale. The de-facto method in this type of black-box scenario is known as prompting, which has shown progressive performance enhancements in situations where data labels are scarce or unavailable. Despite their efficacy, they still fall short in comparison to fully supervised counterparts and are generally brittle to slight modifications. In this paper, we propose Clustering-enhanced Linear Discriminative Analysis, a novel approach that improves the text classification accuracy with a very weak-supervision signal (i.e., name of the labels). Our framework draws a precise decision boundary without accessing weights or gradients of the LM model or data labels. The core ideas of CELDA are twofold: (1) extracting a refined pseudo-labeled dataset from an unlabeled dataset, and (2) training a lightweight and robust model on the top of LM, which learns an accurate decision boundary from an extracted noisy dataset. Throughout in-depth investigations on various datasets, we demonstrated that CELDA reaches new state-of-the-art in weakly-supervised text classification and narrows the gap with a fully-supervised model. Additionally, our proposed methodology can be applied universally to any LM and has the potential to scale to larger models, making it a more viable option for utilizing large LMs.

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

↑