No One Size Fits All: QueryBandits for Hallucination Mitigation
On the map: LLM reasoning → Hallucination detection and mitigation
Abstract (arXiv)
Advanced reasoning capabilities in Large Language Models (LLMs) have led to more frequent hallucinations; yet most mitigation work focuses on open-source models for post-hoc detection and parameter editing. The dearth of studies focusing on hallucinations in closed-source models is especially concerning, as they constitute the vast majority of models in institutional deployments. We introduce QueryBandits, a model-agnostic contextual bandit framework that adaptively learns online to select the optimal query-rewrite strategy by leveraging an empirically validated and calibrated reward function. Across 16 QA scenarios, our top QueryBandit (Thompson Sampling) achieves an 87.5% win rate over a No-Rewrite baseline and outperforms zero-shot static policies (e.g., Paraphrase or Expand) by 42.6% and 60.3%, respectively. Moreover, all contextual bandits outperform vanilla bandits across all datasets, with higher feature variance coinciding with greater variance in arm selection. This substantiates our finding that there is no single rewrite policy optimal for all queries. We also discover that certain static policies incur higher cumulative regret than No-Rewrite, indicating that an inflexible query-rewriting policy can worsen hallucinations. Thus, learning an online policy over semantic features with QueryBandits can shift model behavior purely through forward-pass mechanisms, enabling its use with closed-source models and bypassing the need for retraining or gradient-based adaptation.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Hallucination detection and mitigation, one of 17 directions in LLM reasoning. Builds on 77 of its 113 references that are in the map. First posted on arXiv 23 Feb 2026.
Builds on
77 of 113 references.
References · 77
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
38 more
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 437
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 428
- 2023Towards Measuring the Representation of Subjective Global Opinions in Language Modelscited by 424
- 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 420
- 2023DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Modelscited by 367
- 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
- 2024A Comprehensive Survey of Hallucination Mitigation Techniques in Large Language Modelscited by 266
- 2013(More) Efficient Reinforcement Learning via Posterior Samplingcited by 233
- 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 211
- 2022Factuality Enhanced Language Models for Open-Ended Text Generationcited by 200
- 2023ReMax: A Simple, Effective, and Efficient Reinforcement Learning Method for Aligning Large Language Modelscited by 184
- 2023LLM Lies: Hallucinations are not Bugs, but Features as Adversarial Examplescited by 177
- 2023GPT-NER: Named Entity Recognition via Large Language Modelscited by 158
- 2023Evaluating Correctness and Faithfulness of Instruction-Following Models for Question Answeringcited by 150
- 2023We're Afraid Language Models Aren't Modeling Ambiguitycited by 124
- 2023Rephrase and Respond: Let Large Language Models Ask Better Questions for Themselvescited by 123
- 2023Prompting and Evaluating Large Language Models for Proactive Dialogues: Clarification, Target-guided, and Non-collaborationcited by 115
- 2023FollowBench: A Multi-level Fine-grained Constraints Following Benchmark for Large Language Modelscited by 112
- 2024TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Spacecited by 90
- 2023Towards Mitigating Hallucination in Large Language Models via Self-Reflectioncited by 81
- 2023Alleviating Hallucinations of Large Language Models through Induced Hallucinationscited by 78
- 2023Language models are not naysayers: An analysis of language models on negation benchmarkscited by 73
50 most cited of 77 All 77 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025QueryBandits for Hallucination Mitigation: Exploiting Semantic Features for No-Regret Rewriting
- 2025Theoretical Foundations and Mitigation of Hallucination in Large Language Models
- 2026HalluGuard: Demystifying Data-Driven and Reasoning-Driven Hallucinations in LLMs
- 2024Rowen: Adaptive Retrieval-Augmented Generation for Hallucination Mitigation in LLMs
- 2024THaMES: An End-to-End Tool for Hallucination Mitigation and Evaluation in Large Language Models
- 2026Token-Guard: Towards Token-Level Hallucination Control via Self-Checking Decoding
- 2026Chain-based Adaptive Reconfiguration Over Lattices for Hallucination Reduction
- 2026Predictive Coding and Information Bottleneck for Hallucination Detection in Large Language Models