MoPrO-SD:面向立场检测的模块化提示优化
MoPrO-SD: Modular Prompt Optimization for Stance Detection
AI总结:
本研究提出面向立场检测的模块化提示优化框架MoPrO-SD,引入新基准VaccineStance,通过三类优化策略在多数据集与多LLM上验证其性能优于人工提示,相关资源已开源。
摘要:
大型语言模型(LLM)进行立场检测仍面临挑战,原因在于存在隐含观点、讽刺意味以及依赖上下文的立场表达。尽管自动提示优化提供了一种无需更新模型参数即可替代微调的方案,但现有的结构化方法并非专门围绕立场标签语义和类别特定歧义设计。我们提出MoPrO-SD,这是一种针对立场检测的提示优化框架,它将提示分解为功能语义模块,并利用基于LLM的反馈对其进行顺序优化。我们研究了三种优化策略:仅指令优化(I)、带推理的指令优化(I+R)以及带每个样本推理的指令优化(I+R+E),使用类别条件误差进行立场标签优化。我们还引入了VaccineStance,这是一个新的人工标注的疫苗立场检测基准。在四个数据集和五个开放权重LLM上进行的实验表明,MoPrO-SD在许多设置下优于人工编写的Base提示。在SemEval-2016上,对于五个主干模型中的四个,类别条件反馈比池化反馈实现了更高的平均Macro-F1值。两种基于推理的策略I+R和I+R+E均取得了良好的性能,它们的相对有效性因模型和数据集而异,同时与近期的提示优化方法具有竞争力。MoPrO-SD代码和VaccineStance数据集可在GitHub上获取。
英文摘要:
Stance detection remains challenging for large language models (LLMs) due to implicit opinions, sarcasm, and context-dependent expressions of stance. Although automatic prompt optimization offers an alternative to fine-tuning without updating model parameters, existing structured approaches are not specifically designed around stance-label semantics and class-specific ambiguities. We introduce MoPrO-SD, a stance-specific prompt optimization framework that decomposes prompts into functional semantic modules and refines them sequentially using LLM-based feedback. We study three refinement strategies: instruction-only optimization (I), instruction with reasoning (I+R), and instruction with per-example reasoning (I+R+E), using class-conditioned errors for stance-label refinement. We also introduce VaccineStance, a new human-annotated benchmark for vaccine stance detection. Experiments across four datasets and five open-weight LLMs show that MoPrO-SD improves upon the human-written Base prompt in many settings. On SemEval-2016, class-conditioned feedback achieves higher mean Macro-F1 than pooled feedback for four of five backbones. Both reasoning-based strategies, I+R and I+R+E, achieve strong performance, with their relative effectiveness varying across models and datasets, while remaining competitive with recent prompt optimization methods. The MoPrO-SD code and VaccineStance dataset are available on GitHub.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。