TL;DR
Large Language Models (LLMs) exhibit a cognitive bias known as the "anchoring effect," where they rely too heavily on initial information when making judgments. This paper introduces a new dataset, SynAnchors, to study this effect and finds that while LLMs are susceptible, the bias is shallow and can be partially mitigated through reasoning.
What Problem Does This Paper Address?
As LLMs become more integrated into our lives, understanding their potential for cognitive biases, similar to humans, is crucial for building trustworthy AI. One such bias is the "anchoring effect," where an initial piece of information (the anchor) disproportionately influences subsequent judgments, even if that information is irrelevant or misleading. While this bias is well-studied in humans, its presence, underlying mechanisms, and potential mitigation in LLMs remain underexplored. This paper aims to bridge this gap by systematically investigating the anchoring effect in LLMs.
Methods
The researchers employed a multi-pronged approach:
- Dataset Creation: They developed SynAnchors, a novel dataset specifically designed to study the anchoring effect in LLMs. This dataset includes both semantic priming (e.g., "Is it higher or lower than X?") and numerical priming (e.g., providing an irrelevant number before asking a question) paradigms. The dataset was curated using a human-LLM loop to ensure quality, relevance, and unfamiliarity to common LLM training data.
- Evaluation Metrics: They utilized established psychological metrics like the Anchor Index (A-Index) for semantic tasks and Relative Error (R-Error) for numerical tasks to quantify the intensity of the anchoring effect. Statistical significance tests (t-tests) were used to determine the presence of the bias.
- Mechanism Exploration: To understand how LLMs are affected, they used causal tracing techniques, specifically activation patching, on the Llama-3.1-8B-Instruct model. This involved manipulating specific tokens and their activations within the model's attention and feed-forward network modules to observe their impact on the final output.
- Mitigation Strategies: They tested various strategies, including prompt-based interventions (e.g., "Question-Aware Prompt," "Knowledge Enhancement," "Self-Improving"), adversarial finetuning, and a novel "Anti-DP" (Anti-Dual-Process) strategy designed to encourage more deliberate reasoning.
Datasets
- SynAnchors: A newly introduced dataset for studying the anchoring effect in LLMs. It comprises semantic and numerical anchoring questions designed to be unfamiliar to LLMs and to elicit anchoring biases. The dataset is available at https://huggingface.co/datasets/TimTargaryen/SynAnchors.
Key Insights and Ideas
- LLMs are Anchored: The study confirms that LLMs, including advanced reasoning models, are indeed susceptible to the anchoring effect.
- Shallow Bias: The anchoring effect in LLMs appears to be a "shallow" phenomenon, primarily affecting the earlier layers of the model. This suggests it's more about how initial information is processed early on rather than a deep-seated cognitive flaw.
- Reasoning as a Cure: Encouraging LLMs to engage in more explicit reasoning processes shows promise in mitigating the anchoring effect. This aligns with human dual-process theories where System 2 (deliberate reasoning) can override System 1 (intuitive, heuristic-based) biases.
- Conventional Methods Fall Short: Standard mitigation strategies, often used for other AI safety concerns, were largely ineffective at eliminating the anchoring bias.
Key Results
- Prevalence: The study found that anchoring bias occurs in a significant percentage of questions, ranging from 22% to 61% across different LLMs.
- Model Differences: While all tested LLMs showed anchoring, larger and reasoning-focused models exhibited milder effects compared to smaller models.
- Numerical vs. Semantic: Numerical anchoring questions generally triggered fewer anchoring effects than semantic ones, likely because the irrelevant numerical anchors were less semantically connected.
- Mitigation Effectiveness: Mitigation strategies offered only partial alleviation, with some showing up to a 10% reduction in anchoring effects. The "Anti-DP" strategy, which encourages a more analytical and criterion-based reasoning process, showed the most promising results in reducing the anchoring effect.
Limitations and Future Work
The authors acknowledge that current mitigation strategies do not fully eliminate the anchoring bias. They suggest that future work should focus on scaling the SynAnchors dataset to cover more diverse scenarios and further explore how to leverage LLMs' reasoning capabilities for more robust deanchoring. The study also highlights the need for continued research into cognitive biases within LLMs to improve their reliability and trustworthiness.
Summary updated