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

基于概念引导的思维链提示用于大语言模型对文本进行成对比较评分

Concept-Guided Chain-of-Thought Prompting for Pairwise Comparison Scoring of Texts with Large Language Models

American University(美国大学);New York University(纽约大学);Center for Social Media and Politics(社交媒体与政治中心)

Patrick Y. Wu, Jonathan Nagler, Joshua A. Tucker, Solomon Messing

AI总结:

本文提出概念引导的思维链(CGCoT)方法,利用大语言模型将成对文本比较转化为模式识别任务,在Twitter政治厌恶言论评分中优于Wordfish等无监督方法,并达到与微调RoBERTa-Large相当的预测效果。

摘要:

现有的文本评分方法需要大型语料库,难以处理短文本,或者需要人工标注数据。我们开发了一个文本评分框架,利用生成式大语言模型(LLMs)来(1)将文本置于来自近乎全部网络和数字化媒体信息的背景之下,以及(2)有效地将成对文本比较从一个推理问题转变为一个模式识别任务。我们的方法,即概念引导的思维链(CGCoT),利用一系列由研究者设计的提示与大语言模型一起为每个文本生成特定于概念的分解,类似于提供给人类编码员的指导。然后,我们使用大语言模型对分解结果进行成对比较,并通过概率模型将答案聚合为分数。我们将这一方法应用于更好地理解Twitter上反映对特定政党厌恶情绪的言论,这一主题因其对民主倒退的潜在贡献而受到越来越多的关注。与广泛使用的无监督文本评分方法(如Wordfish)相比,我们取得了与人类判断更强的相关性。在有监督设置下,除了用于开发CGCoT提示的小型试点数据集外,我们的度量不需要额外的人工标注数据,并且产生的预测与在数千条人工标注推文上微调的RoBERTa-Large相当。该项目展示了将人类专业知识与大语言模型相结合用于评分任务的潜力。

英文摘要:

Existing text scoring methods require a large corpus, struggle with short texts, or require hand-labeled data. We develop a text scoring framework that leverages generative large language models (LLMs) to (1) set texts against the backdrop of information from the near-totality of the web and digitized media, and (2) effectively transform pairwise text comparisons from a reasoning problem to a pattern recognition task. Our approach, concept-guided chain-of-thought (CGCoT), utilizes a chain of researcher-designed prompts with an LLM to generate a concept-specific breakdown for each text, akin to guidance provided to human coders. We then pairwise compare breakdowns using an LLM and aggregate answers into a score using a probability model. We apply this approach to better understand speech reflecting aversion to specific political parties on Twitter, a topic that has commanded increasing interest because of its potential contributions to democratic backsliding. We achieve stronger correlations with human judgments than widely used unsupervised text scoring methods like Wordfish. In a supervised setting, besides a small pilot dataset to develop CGCoT prompts, our measures require no additional hand-labeled data and produce predictions on par with RoBERTa-Large fine-tuned on thousands of hand-labeled tweets. This project showcases the potential of combining human expertise and LLMs for scoring tasks.

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

↑