arXiv:2504.15815cs.CLcs.HC2025-04ACL被引 5

通过词元模式识别提示与模型变化对生成文本的系统性影响。

What's the Difference? Supporting Users in Identifying the Effects of Prompt and Model Changes Through Token Patterns

  • 基于数据挖掘自动区分随机波动与系统性差异,提取可解释的词元模式。
  • 在三个基准上验证方法可靠性,发现提示与模型改变引发性别/文化相关差异。
  • 帮助用户高效理解模型输出变化,适用于提示工程与人性化模型研究。

大语言模型的提示工程极具挑战性,微小的提示扰动或模型改动都可能显著影响生成结果。现有评估方法(如自动指标或人工评价)存在洞察力不足或成本过高的局限。本文提出Spotlight,一种结合自动化与人工分析的新方法。基于数据挖掘技术,该方法能自动区分解码随机性变化与系统性差异,生成描述系统性差异的词元模式,引导用户高效开展人工分析。我们构建了三个基准,定量测试词元模式提取方法的可靠性,并证实该方法为已有提示数据提供了新洞见。从人本视角出发,通过示范研究和用户实验,证明词元模式有助于用户理解模型输出的系统性差异。我们进一步发现了由提示与模型变化引发的相关差异(如涉及性别、文化),从而支持提示工程与以人为本的模型行为研究。

原文摘要 · Abstract (English)

Prompt engineering for large language models is challenging, as even small prompt perturbations or model changes can significantly impact the generated output texts. Existing evaluation methods of LLM outputs, either automated metrics or human evaluation, have limitations, such as providing limited insights or being labor-intensive. We propose Spotlight, a new approach that combines both automation and human analysis. Based on data mining techniques, we automatically distinguish between random (decoding) variations and systematic differences in language model outputs. This process provides token patterns that describe the systematic differences and guide the user in manually analyzing the effects of their prompts and changes in models efficiently. We create three benchmarks to quantitatively test the reliability of token pattern extraction methods and demonstrate that our approach provides new insights into established prompt data. From a human-centric perspective, through demonstration studies and a user study, we show that our token pattern approach helps users understand the systematic differences of language model outputs. We are further able to discover relevant differences caused by prompt and model changes (e.g. related to gender or culture), thus supporting the prompt engineering process and human-centric model behavior research.

提示工程模型分析词元模式人机交互

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。