[论文解读] Prompting and Fine-Tuning Open-Sourced Large Language Models for Stance Classification
该论文在五个数据集上用四种提示方案评估开源 LLM 的立场分类能力,结果往往接近有监督模型但并非始终优于它们,并强调上下文丰富的提示是影响最大的因素。
Stance classification, the task of predicting the viewpoint of an author on a subject of interest, has long been a focal point of research in domains ranging from social science to machine learning. Current stance detection methods rely predominantly on manual annotation of sentences, followed by training a supervised machine learning model. However, this manual annotation process requires laborious annotation effort, and thus hampers its potential to generalize across different contexts. In this work, we investigate the use of Large Language Models (LLMs) as a stance detection methodology that can reduce or even eliminate the need for manual annotations. We investigate 10 open-source models and 7 prompting schemes, finding that LLMs are competitive with in-domain supervised models but are not necessarily consistent in their performance. We also fine-tuned the LLMs, but discovered that fine-tuning process does not necessarily lead to better performance. In general, we discover that LLMs do not routinely outperform their smaller supervised machine learning models, and thus call for stance detection to be a benchmark for which LLMs also optimize for. The code used in this study is available at \url{https://github.com/ijcruic/LLM-Stance-Labeling}
研究动机与目标
- 评估未微调情况下,开源 LLMs 与提示对立场分类的表现
- 比较四种提示方案:仅任务信息到上下文加推理,在多个数据集上的差异
- 在尽量少标注数据(少样本)条件下评估,以模拟真实世界情境
- 探讨提示是否能实现无监督立场检测和跨语言的适用性
提出的方法
- 使用五个公开立场数据集(covid-lies, election2016, phemerumors, semeval2016, wtwt)
- 测试逐步增加上下文信息的四种提示方案(任务信息、上下文、上下文+少样本、上下文+少样本+推理)
- 对编码-解码模型(Flan-Alpaca-GPT4-T5-3B 与 Flan-UL2)在零样本与少样本提示下进行评估
- 进行重复运行(每种设置三次),报告平均宏-F1 分数
- 将结果与原始数据集中的已有监督基线进行比较
- 进行情感提示代理实验以评估立场与情感处理的关系

实验结果
研究问题
- RQ1开源 LLMs 通过提示是否可在不微调的情况下达到或超过有监督的立场分类模型?
- RQ2哪种提示方案在各数据集上表现最佳?
- RQ3在提示中包含上下文或推理是否提升立场分类?
- RQ4编码-解码模型在立场任务上是否始终优于仅解码模型?
- RQ5情感提示是否是可行的立场分类代理?
主要发现
- 编码-解码 LLMs 结合提示在某些基线上可超越,但并非所有数据集都稳定优于对手
- 在提示中包含上下文始终提升立场分类表现
- 少样本提示并不普遍提升结果,取决于样本选择
- 与编码-解码模型相比,解码仅模型在该任务上表现不佳
- 使用提示的方法在某些情境下接近有监督模型的表现,但并非始终优于它们
- 基于上下文的提示能实现多语言且具备泛化能力的立场分析,无需显式的目标数据
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。