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

Gen-Z:基于上下文标签描述的生成式零样本文本分类

Gen-Z: Generative Zero-Shot Text Classification with Contextualized Label Descriptions

Allen Institute for AI(艾伦人工智能研究所);Carnegie Mellon University(卡内基梅隆大学);University of Washington(华盛顿大学)

Sachin Kumar, Chan Young Park, Yulia Tsvetkov

AI总结:

针对语言模型提示易受错误校准和提示变化影响的问题,提出生成式框架Gen-Z,通过测量输入文本在标签描述条件下的似然实现零样本分类,整合上下文信息提升性能并增强鲁棒性。

摘要:

语言模型提示——一种解决NLP任务的流行范式——已被证明容易受到错误校准和对轻微提示变化的脆弱性影响,这源于其判别式提示方法,即给定输入预测标签。为解决这些问题,我们提出Gen-Z——一个用于零样本文本分类的生成式提示框架。GEN-Z是生成式的,因为它测量输入文本的语言模型似然,条件为标签的自然语言描述。该框架是多变量的,因为标签描述使我们能够无缝整合关于标签的额外上下文信息以提高任务性能。在各种标准分类基准上,使用六个开源语言模型家族,我们表明,带有评估集数据源简单上下文化的零样本分类始终优于零样本和少样本基线,同时提高对提示变化的鲁棒性。此外,我们的方法通过将作者、主题或读者信息纳入标签描述,实现了零样本方式下的个性化分类。

英文摘要:

Language model (LM) prompting--a popular paradigm for solving NLP tasks--has been shown to be susceptible to miscalibration and brittleness to slight prompt variations, caused by its discriminative prompting approach, i.e., predicting the label given the input. To address these issues, we propose Gen-Z--a generative prompting framework for zero-shot text classification. GEN-Z is generative, as it measures the LM likelihood of input text, conditioned on natural language descriptions of labels. The framework is multivariate, as label descriptions allow us to seamlessly integrate additional contextual information about the labels to improve task performance. On various standard classification benchmarks, with six open-source LM families, we show that zero-shot classification with simple contextualization of the data source of the evaluation set consistently outperforms both zero-shot and few-shot baselines while improving robustness to prompt variations. Further, our approach enables personalizing classification in a zero-shot manner by incorporating author, subject, or reader information in the label descriptions.

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

↑