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

基于语言模型监督信号的弱监督文本分类

Weakly Supervised Text Classification using Supervision Signals from a Language Model

South China University of Technology(华南理工大学);HKUST(香港科技大学);University of Illinois, Urbana Champaign(伊利诺伊大学厄巴纳-香槟分校);Stanford University(斯坦福大学)

Ziqian Zeng, Weimin Ni, Tianqing Fang, Xiang Li, Xinran Zhao, Yangqiu Song

摘要:

以弱监督的方式解决文本分类对于人类注释稀缺的现实世界应用非常重要。在本文中,我们提出查询一个掩蔽的语言模型与完形填空风格的提示,以获得监督信号。我们设计了一个提示符,它结合了文档本身和“本文正在谈论[MASK]”。“掩码语言模型可以为[MASK]标记生成单词。所生成的概括文档内容的词可以用作监督信号。我们提出了一个潜变量模型来学习一个词分布学习器,该学习器将生成的词与预定义的类别和文档分类器同时关联,而不使用任何注释数据。对AGNews、20Newsgroups和UCinews三个数据集的评估表明,我们的方法可以超过基线2%、4%和3%。

英文摘要:

Solving text classification in a weakly supervised manner is important for real-world applications where human annotations are scarce. In this paper, we propose to query a masked language model with cloze style prompts to obtain supervision signals. We design a prompt which combines the document itself and "this article is talking about [MASK]." A masked language model can generate words for the [MASK] token. The generated words which summarize the content of a document can be utilized as supervision signals. We propose a latent variable model to learn a word distribution learner which associates generated words to pre-defined categories and a document classifier simultaneously without using any annotated data. Evaluation on three datasets, AGNews, 20Newsgroups, and UCINews, shows that our method can outperform baselines by 2%, 4%, and 3%.

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

↑