How Susceptible are LLMs to Influence in Prompts?

Sotiris Anagnostidis, Jannis Bulian

TL;DR

This paper investigates how susceptible Large Language Models (LLMs) are to external information provided within prompts, even when that information is incorrect. The study reveals that LLMs are highly influenced by such augmented inputs, particularly when presented with explanations, and this influence can be amplified by perceived authoritativeness or confidence, posing risks for reliable deployment.

What Problem Does This Paper Address?

As LLMs become more integrated into various applications, understanding their sensitivity to prompts is crucial for ensuring reliable and robust performance. A key challenge arises when LLMs are presented with additional context or predictions from other models or external sources. This paper addresses the question of how LLMs respond to such augmented inputs, specifically when the supplementary information is a prediction and explanation from another model. This scenario is relevant in multi-agent systems or when LLMs leverage external knowledge bases. The core problem is that LLMs might be overly influenced by this external information, potentially leading to the propagation of errors, reinforcement of biases, or generation of incorrect outputs, even if the LLM possesses correct internal knowledge. The paper aims to quantify this susceptibility and identify factors that exacerbate it.

Methods

The researchers designed an experimental setup where one LLM (the "judge") is tasked with answering questions, and another LLM (the "advocate") provides supplementary information. The core of their method involves:

  • Augmented Prompts: The judge LLM receives prompts that include a question and, crucially, a prediction and explanation generated by an advocate LLM.
  • Varying Influence Factors: They systematically manipulated three key variables in the augmented prompts:
  • Explanation: Whether an explanation for the advocate's prediction was provided.
  • Authoritativeness: The perceived authority of the source of the information, simulated through different "persona levels" (e.g., a child, a professor).
  • Confidence: The stated confidence of the advocate in their prediction.
  • Question Answering Tasks: The judge LLMs were evaluated on a diverse range of question-answering datasets to assess their performance across different domains and difficulty levels.
  • Influence Metric: They defined "influence" as the likelihood that the judge LLM adheres to the advocate's guidance, irrespective of its own unbiased prediction.

Datasets

The study utilized several publicly available datasets for question-answering tasks:

  • Commonsense Reasoning: PIQA, SIQA, CommonsenseQA, OpenBookQA
  • World Knowledge: WikiQA, GPQA
  • Reading Comprehension: QuALITY, BoolQ

The paper notes that they used a maximum of 200 samples per dataset and adapted some datasets (e.g., GPQA's diamond split, QuALITY's validation split) for their experiments.

Key Insights and Ideas

  • Pervasive Susceptibility: LLMs are remarkably susceptible to influence from augmented inputs, even when the input is incorrect or the LLM has a strong prior belief. This highlights a "Clever Hans" effect in LLMs, where they can be swayed by external signals.
  • Explanations Don't Guarantee Accuracy: Providing an explanation for an advocate's prediction doesn't necessarily lead the judge LLM to favor the correct answer. The models are swayed by the presence of an explanation, regardless of its quality or correctness.
  • Authority and Confidence Matter (But Not Dramatically): While LLMs are more likely to be influenced when the input is presented as authoritative or confident, this effect is relatively small. This suggests that the presence of influence is a stronger factor than the degree of authority or confidence.
  • Prompting as a Mitigation Strategy is Limited: Standard prompting techniques (e.g., instructing the model to be critical, using chain-of-thought) show only limited success in mitigating this influence, underscoring the need for more robust solutions.
  • Model Calibration is Key: The study hints that better-calibrated models (those that are more accurate in their unbiased predictions) are slightly more resistant to incorrect influence. This suggests that improving a model's core reasoning abilities is crucial.

Key Results

  • High Influence Scores: The study found substantial influence across all tested LLMs (Llama2, Mixtral, Falcon) and datasets. In many cases, the influence was very high, meaning the judge LLM often adopted the advocate's answer.
  • Explanation Amplifies Influence: When explanations were provided, models were swayed, even if the explanation was incorrect.
  • Authority/Confidence Effect: While present, the effect of authoritativeness and confidence on influence was described as "small in size."
  • Limited Mitigation: Prompting strategies like "critical" or "rejecting" prompts showed some reduction in influence, but it largely persisted. For example, in some scenarios, influence without explanation was around 0.98, while with explanations it remained high.
  • Model Size Matters: Larger Llama2 models (advocates or judges) tended to exhibit higher influence, aligning with the hypothesis that more capable models might be better at misleading or more susceptible to being misled.

Limitations and Future Work

  • Prompting Limitations: The authors found that prompting strategies alone are insufficient to fully mitigate the influence problem, suggesting that more fundamental improvements in reasoning capabilities are needed.
  • Calibration Issues: The study noted a tendency for LLMs to be overconfident and poorly calibrated, which can hinder their ability to integrate external information effectively.
  • Future Work: The paper suggests that future research should focus on developing more robust methods for handling such sensitivities, potentially through advancements in reasoning capabilities and alignment techniques. They also highlight the need to explore how LLMs can better distinguish between reliable and unreliable information from diverse sources. The authors also mention that finetuning models to ignore explanations (using LoRA) showed success in their experiments, suggesting this as a potential avenue for mitigation.

Summary updated

BibTeX
@inproceedings{anagnostidis2024how,
  author = {Sotiris Anagnostidis and Jannis Bulian},
  title = {{How Susceptible are LLMs to Influence in Prompts?}},
  booktitle = {COLM},
  year = {2024},
  url = {https://openreview.net/forum?id=y7JnjDcIQa},
}
Figure