mlsanityData to 7 Oct 2026

Explaining Large Language Models Decisions Using Shapley Values

arXiv 2404.01332 ↗First posted 29 Mar 2024cs.CL cs.AI cs.LGcited by 12

Not on the map. Why?

Abstract (arXiv)

The emergence of large language models (LLMs) has opened up exciting possibilities for simulating human behavior and cognitive processes, with potential applications in various domains, including marketing research and consumer behavior analysis. However, the validity of utilizing LLMs as stand-ins for human subjects remains uncertain due to glaring divergences that suggest fundamentally different underlying processes at play and the sensitivity of LLM responses to prompt variations. This paper presents a novel approach based on Shapley values from cooperative game theory to interpret LLM behavior and quantify the relative contribution of each prompt component to the model's output. Through two applications - a discrete choice experiment and an investigation of cognitive biases - we demonstrate how the Shapley value method can uncover what we term "token noise" effects, a phenomenon where LLM decisions are disproportionately influenced by tokens providing minimal informative content. This phenomenon raises concerns about the robustness and generalizability of insights obtained from LLMs in the context of human behavior simulation. Our model-agnostic approach extends its utility to proprietary LLMs, providing a valuable tool for practitioners and researchers to strategically optimize prompts and mitigate apparent cognitive biases. Our findings underscore the need for a more nuanced understanding of the factors driving LLM responses before relying on them as substitutes for human subjects in survey settings. We emphasize the importance of researchers reporting results conditioned on specific prompt templates and exercising caution when drawing parallels between human behavior and LLMs.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 18 of its 27 references that are in the map. First posted on arXiv 29 Mar 2024.

Builds on

18 of 27 references.

References · 18

  1. 2017Attention Is All You Needcited by 59,932
  2. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  3. 2022Using Large Language Models to Simulate Multiple Humans and Replicate Human Subject Studiescited by 506
  4. 2022Using cognitive psychology to understand GPT-3cited by 389
  5. 2023Do LLMs exhibit human-like response biases? A case study in survey designcited by 176
  6. 2023Benchmarking Cognitive Biases in Large Language Models as Evaluatorscited by 147
  7. 2024Systematic Biases in LLM Simulations of Debatescited by 98
  8. 2022Capturing Failures of Large Language Models via Human Cognitive Biasescited by 97
  9. 2023Put Your Money Where Your Mouth Is: Evaluating Strategic Planning and Execution of LLM Agents in an Auction Arenacited by 78
  10. 2023The Challenge of Using LLMs to Simulate Human Behavior: A Causal Inference Perspectivecited by 57
  11. 2023Exploring the Sensitivity of LLMs' Decision-Making Capabilities: Insights from Prompt Variation and Hyperparameterscited by 32
  12. 2024(Ir)rationality and Cognitive Biases in Large Language Modelscited by 23
6 more
  1. 2023Challenging the appearance of machine intelligence: Cognitive bias in LLMs and Best Practices for Adoptioncited by 21
  2. 2024Simulating Human Strategic Behavior: Comparing Single and Multi-agent LLMscited by 20
  3. 2023Leveraging generative artificial intelligence to simulate student learning behaviorcited by 16
  4. 2023Cognitive Effects in Large Language Modelscited by 14
  5. 2023Cognitive bias in large language models: Cautious optimism meets anti-Panglossian meliorismcited by 4
  6. 2022Modeling Human Behavior Part II -- Cognitive approaches and Uncertaintycited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 6; 2026: 4.

12 papers.