Research map / Large language models / Retrieval and knowledge
Conflicting Needles in a Haystack: How LLMs behave when faced with contradictory information
Murathan Kurfalı, Robert Östling
RISE Research Institutes of Sweden · Stockholm University
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
7improved
1no clear effect
4hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| repeat a needle 5x instead of once | Llama-3.1-8B · conflicting-needle haystacks, probability-based | odds ratio of selection: OR 63.05 | Improved |
| repeat a needle 5x instead of once | Llama-3.3-70B · conflicting-needle haystacks, probability-based | odds ratio of selection: OR 2.34 | Improved |
| repeat a needle 5x instead of once | Gemma-2-9b · generation-based single-needle outputs | odds ratio of selection: OR 181.012 | Improved |
| place needle in 2nd or 3rd position vs 1st | Qwen2.5-32B · probability-based | odds ratio of selection: 2nd 7.86; 3rd 6.23 | Improved |
| place needle in 3rd position vs 1st | Gemma-2-9b, Llama-3.1-8B, Llama-3.3-70B · probability-based | odds ratio of selection: 3rd: 0.12, 0.12, 0.22 | Hurt |
| place needle at the end of the document (3rd x End-Seq / end-5%-apart) | Llama-3.2-3B · probability-based | odds ratio of selection: 3rd x End-Seq 15.86; 3rd x end-5%-apart 79.24 | Improved |
| use needle name Fyrundell vs Dralveth | Llama-3.1-8B · probability-based | odds ratio of selection: OR 0.42 | Hurt |
| use needle name Zequarith vs Dralveth | Llama-3.1-8B · probability-based | odds ratio of selection: OR 0.08 | Hurt |
| make haystack topic semantically related to question, with 5x repetition | Gemma-2-9b · probability-based | odds ratio of selection: 5x x Related OR 0.32 | Hurt |
| make haystack topic semantically related to question, with 5x repetition | Llama-3.3-70B · probability-based | odds ratio of selection: 5x x Related OR 2.12 | Improved |
| larger model size | Qwen2.5 and Llama models · repetition bias, probability-based 5x | odds ratio of selection: Qwen2.5-32B 8.00 vs Qwen 2.5-3B 21.19 | No clear effect |
| use larger commercial models (GPT-4o, GPT-4.1) instead of mini/nano | OpenAI models · 50 haystacks preliminary | refusal to commit | Improved |
Open problems this paper states
- “Haystacks use a fixed set of Wikipedia articles with fabricated contradictory statements, with few repetition levels or contradiction types.” → Benchmarks use synthetic dialogues that may not match real users. (an open problem in long-context and personalized retrieval)
Open problems in long-context and personalized retrieval
How can long-term memory for LLM assistants work beyond text-only, English, synthetic and costly multi-call setups?
- Memory handles text only, with no images, audio or sensor data. · 20 papers state it
- Extra LLM calls and multi-stage pipelines raise latency and cost. · 20 papers state it
- Evaluation covers English or only a few languages. · 17 papers state it
Closest papers by meaning
- Accommodate Knowledge Conflicts in Retrieval-augmented LLMs: Towards Robust Response Generation in the Wild (AAAI 2026 · similarity 0.89)
- ClashEval: Quantifying the tug-of-war between an LLM’s internal prior and external evidence (NeurIPS 2024 · similarity 0.88)
- Delving into the Reversal Curse: How Far Can Large Language Models Generalize? (NeurIPS 2024 · similarity 0.87)
- The Factorization Curse: Which Tokens You Predict Underlie the Reversal Curse and More (NeurIPS 2024 · similarity 0.87)
- From Artificial Needles to Real Haystacks: Improving Retrieval Capabilities in LLMs by Finetuning on Synthetic Data (ICLR 2025 · similarity 0.87)
- Distinguishing the Knowable from the Unknowable with Language Models (ICML 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.