arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.01332cs.CLcs.AIcs.LG
收藏

使用 Shapley 值解释大型语言模型的决策

Token Noise and the Illusion of Preference: A Shapley Value Framework for Auditing LLM-Simulated Choice Experiments

Carnegie Mellon University(卡内基梅隆大学)

Behnam Mohammadi

AI总结:

本文提出基于合作博弈论 Shapley 值的模型无关方法,量化提示词各组件对 LLM 输出的贡献,揭示了 LLM 决策受低信息量 token 过度影响的“token 噪声”效应,为优化提示词和减轻认知偏差提供工具。

摘要:

大型语言模型(LLMs)的出现为模拟人类行为和认知过程开辟了令人兴奋的可能性,在市场营销研究和消费者行为分析等多个领域具有潜在应用。然而,由于存在明显的分歧表明其背后存在根本不同的运作过程,以及 LLM 响应对提示词变化的敏感性,将 LLM 用作人类受试者替代者的有效性仍不确定。本文提出了一种基于合作博弈论中 Shapley 值的新颖方法,用于解释 LLM 行为并量化每个提示词组件对模型输出的相对贡献。通过两个应用——一项离散选择实验和一项认知偏差调查——我们展示了 Shapley 值方法如何揭示我们所说的“token 噪声”效应,这是一种 LLM 决策不成比例地受到提供极少信息量的 token 影响的现象。这一现象引发了人们对在人类行为模拟背景下从 LLM 获得的见解的鲁棒性和泛化性的担忧。我们的模型无关方法将其效用扩展到了专有 LLM,为从业者和研究人员提供了一个有价值的工具,以战略性地优化提示词并减轻明显的认知偏差。我们的研究结果强调,在依赖 LLM 作为调查环境中人类受试者替代品之前,需要更细致地理解驱动 LLM 响应的因素。我们强调研究人员报告基于特定提示词模板的结果的重要性,并在人类行为和 LLM 之间进行类比时保持谨慎。

英文摘要:

Large language models are increasingly used to simulate human respondents in choice experiments, yet their answers depend on the exact tokens of a prompt rather than on the offered products alone. I show that invisible characters, blank lines, or minor wording changes shift or reverse simulated choice probabilities. This sensitivity, which I term token noise, creates an illusion of preference and exposes studies to prompt hacking. I introduce a Shapley value audit that divides a model's choice response among the pieces of its prompt and reads each share beside the effect of removing that piece. The edit game divides the effect of several wording and formatting changes beside an actual price change. The word game divides a prompt's response across its words or tokens and summarizes the credit earned by the product attributes as the attribute share. Across four open-weight models and three product categories, wording and formatting edits could rival a substantive price change, while product attributes consistently received a minority of the word-level credit, sometimes less than the answer instruction. Framing cues could take credit from the very price they emphasized and frequently vanished or reversed across equivalent wordings of the question. A persona (even a bare statement that the respondent is a consumer) also shifted choice probabilities and the attributes' credit. Declared with its "players," reference, scale, and uncertainty, my audit separates what a simulated respondent prefers from how the question was asked, the distinction a study must draw before it reads a simulated choice as a preference.

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

↑