Query Disambiguation via Answer-Free Context: Doubling Performance on Humanity's Last Exam
Organizations: National Institute of Standards and Technology · University of Maryland Baltimore County
Abstract
How carefully and unambiguously a question is phrased has a profound impact on the quality of the response, for Language Models (LMs) as well as people. While model capabilities continue to advance, the interplay between grounding context and query formulation remains under-explored. This work investigates how the quality of background grounding information in a model's context window affects accuracy. We find that combining well-grounded dynamic context construction (i.e, RAG) with query rewriting reduces question ambiguity, resulting in significant accuracy gains. Given a user question with associated answer-free grounding context, rewriting the question to reduce ambiguity produces benchmark improvements without changing the answer itself, even compared to prepending that context before the question. Using gpt-oss-20b to rewrite a subset of Humanity's Last Exam using answer-free grounding context improves gpt-5-mini accuracy from 0.14 to 0.37. We demonstrate that this accuracy improvement cannot be fully recovered just through prompting at inference time; rather, distinct rewriting and answering phases are required. Code and data are available at https://github.com/mmajurski/lm-rewrite-uplift
Figures & tables
| Dataset | Release Date |
| Public Datasets | |
| Humanity’s Last Exam [ 18 ] | 2025 |
| Squadv2 [ 19 ] | 2018 |
| HotpotQA [ 32 ] | 2018 |
| TrivaQA-web [ 11 ] | 2017 |
| NaturalQuestionsShort [ 13 ] | 2019 |
| Model | Knowledge-Cutoff | Public-Release |
| gpt-5 | Sep 2024 | Aug 2025 |
| gpt-5-mini | May 2024 | Aug 2025 |
| gpt-5-nano | May 2024 | Aug 2025 |
| gpt-oss-20b | Jun 2024 | Aug 2025 |
| gpt-oss-120b | Jun 2024 | Aug 2025 |
| gemma-3-1b-it | Aug 2024 | Mar 2025 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Query Reformulation
Query reformulation transforms user questions into retrieval-ready queries to improve search, evidence coverage, and downstream answers.
See all 42 papers