How You Ask Matters! Adaptive RAG Robustness to Query Variations
Organizations: Seoul National University · Max Planck Institute for Security and Privacy, Germany
Abstract
Adaptive Retrieval-Augmented Generation (RAG) promises accuracy and efficiency by dynamically triggering retrieval only when needed and is widely used in practice. However, real-world queries vary in surface form even with the same intent, and their impact on Adaptive RAG remains under-explored. We introduce the first large-scale benchmark of diverse yet semantically identical query variations, combining human-written and model-generated rewrites. Our benchmark facilitates a systematic evaluation of Adaptive RAG robustness by examining its key components across three dimensions: answer quality, computational cost, and retrieval decisions. We discover a critical robustness gap, where small surface-level changes in queries dramatically alter retrieval behavior and accuracy. Although larger models show better performance, robustness does not improve accordingly. These findings reveal that Adaptive RAG methods are highly vulnerable to query variations that preserve identical semantics, exposing a critical robustness challenge.
Figures & tables
| Original Query: Who is the child of the director of film Mukhyamantri (1996 Film)? | ||
| Category | Variation | Sample Rewrites |
| Style | Formality (Form.) | Yo, quick one — who’s the kid of the director behind the 1996 flick Mukhyamantri? |
| Readability (Read.) | By whom is the progeny of the director of Mukhyamantri (1996 Film) constituted? | |
| Type | Declarative (Decl.) | I want to know who is the child of the director of the film Mukhyamantri (1996 Film). |
| Imperative (Impr.) | Name the child of the director of film Mukhyamantri (1996 Film). | |
| Error | Spelling (Spell.) | Who is ght childer ar the directer of filme Mukhyamantri (1996 Film )? |
| SQuAD | 2WIKI | |||||||||||||||
| Target | Mtd. | RE | CVR | RE | CVR | |||||||||||
| Form. | Read. | Decl. | Impr. | Spell. | Gram. | Form. | Read. | Decl. | Impr. | Spell. | Gram. | |||||
| Llama-3.1 | RTR | LB | 0.472 | 0.592 | 0.416 | 0.338 | 0.431 | 0.439 | 0.734 | 0.853 | 0.859 | 0.455 | 0.846 | 0.928 | 0.941 | 0.710 |
| GB | 0.092 | 0.094 | 0.086 | 0.090 | 0.100 | 0.092 | 0.937 | 0.468 | 0.416 | 0.402 | 0.542 | 0.496 | 0.435 | 0.742 | ||
| LLM | LB | 0.441 | 0.592 | 0.396 | 0.313 | 0.416 | 0.411 | 0.767 | 1.001 | 1.001 | 0.427 | 1.007 | 1.093 | 1.130 | 0.742 | |
| GB | 0.056 | 0.059 | 0.048 | 0.055 | 0.061 | 0.051 | 0.963 | 0.447 | 0.404 | 0.401 | 0.520 | 0.477 | 0.418 | 0.745 | ||
| Model | Mtd. | Orig. | Human | Spell. |
| Llama-3.1-8B | LB | 37.6 | 17.9 | 23.0 |
| Llama-3.1-8B | GB | 20.2 | 12.1 | 9.8 |
| QwQ-32B | LB | 26.6 | 20.0 | 21.0 |
| QwQ-32B | GB | 59.2 | 43.4 | 45.8 |
| Original Query | Human Query | ||||
| Which film has the director born earlier, The Adventures Of Priscilla, Queen Of The Desert or Harvest: 3,000 Years? | Who was born first director of The Adventures Of Priscilla, Queen Of The Desert or Harvest: 3,000 Yearst | ||||
| t | Original Subqueries | Human Subqueries | Sim | Hit(O) | Hit(H) |
| 1 | director of the adventures of priscilla, queen of the desert | director of the adventures of priscilla queen of the desert | 0.99 | ✓ | ✓ |
| 2 | director of harvest 3000 years | director of harvest 3000 years | 1.00 | ✓ | ✓ |
| 3 | “harvest: 3,000 years” director birth year | harvest 3000 years movie director | 0.85 | ✓ | ✗ |
| 4 | giuliano carnimeo birth year | harvest 3000 years korean movie director | 0.13 | ✓ | ✗ |
Appendix figures & tables32 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Mtd. | Original | Human | Form. | Read. | Decl. | Impr. | Spell. | Gram. |
| Llama-3.1-8B | |||||||||
| 2WIKI | LB | 37.6 / 2.16 | 17.9 / 2.01 | 23 / 2.03 | 35 / 2.11 | 34 / 2.11 | 36 / 2.04 | 23.0 / 2.23 | 35.6 / 2.14 |
| 2WIKI | GB | 20.2 / 8.24 | 12.1 / 7.27 | 19 / 7.15 | 18.6 / 7.41 | 19.4 / 7.36 | 20.4 / 7.46 | 9.8 / 6.53 | 21.2 / 7.03 |
| SQuAD | LB | 27.6 / 1.69 | 14.5 / 1.82 | 19.4 / 1.80 | 25 / 1.81 | 25.4 / 1.77 | 27.0 / 1.81 | 17.6 / 1.77 | 24.4 / 1.80 |
| SQuAD | GB | 16.4 / 1.93 | 11.0 / 1.95 | 15.4 / 4.90 | 16.2 / 4.90 | 16.8 / 4.87 | 15.8 / 3.92 | 14.8 / 1.94 | 13.8 / 1.92 |
| QwQ-32B | |||||||||
| Temp 0.0 | Temp 0.3 | Temp 0.7 | Temp 1.0 |
| 44.60% | 45.33% | 45.45% | 42.67% |
| Model | Dataset | Original | Human |
| Llama-3.1-8B | 2WIKI | 20.0 / 7.34 | 14.2 / 7.09 |
| Llama-3.1-8B | SQuAD | 16.8 / 1.92 | 10.5 / 1.95 |
| QwQ-32B | 2WIKI | 61.0 / 4.32 | 57.1 / 4.06 |
| QwQ-32B | SQuAD | 33.0 / 1.40 | 28.5 / 1.42 |
| GPT-4o mini | 2WIKI | 27.0 / 3.77 | 14.6 / 4.95 |
| GPT-4o mini | SQuAD | 17.0 / 2.34 | 16.0 / 2.34 |
| Dataset | Variation | F1 | InAccuracy |
| 2WIKI | Original | 0.396 | 37.0 |
| 2WIKI | Human | 0.283 | 23.8 |
| SQuAD | Original | 0.352 | 29.2 |
| SQuAD | Human | 0.260 | 17.0 |
| Dataset | Mtd. | Orig. | Human | Form. | Read. | Decl. | Impr. | Spell. | Gram. |
| Llama-3.1-8B | |||||||||
| SQuAD | SR | ||||||||
| LB | |||||||||
| GB | |||||||||
| NQ | SR | ||||||||
| LB | |||||||||
| Dataset | Mtd. | Orig. | Human | Form. | Read. | Decl. | Impr. | Spell. | Gram. |
| QwQ-32B | |||||||||
| SQuAD | NR | ||||||||
| LB | |||||||||
| GB | |||||||||
| NQ | NR | ||||||||
| LB | |||||||||
| Human Annotation Instruction |
| Task Overview 1. You will be given a query (question) and its corresponding answer. 2. Your task is to rewrite the given query — imagine how you would ask the same question if you were speaking to a large language model (like ChatGPT). What You Should Do 1. Understand the original query. Identify what the user is trying to find out. Grasp the intent and main topic clearly. 2. Rewrite the query in a new way while keeping the same meaning. You may change the tone, phrasing, or structure. Information loss, addition, or simplification is acceptable. The goal is to make the rewritten query similar in meaning but different in expression. Make sure that your rewritten query can still be answered appropriately with the same answer as the original query. 3. Incorporate your personal style. You can make the question sound more casual, detailed, concise, or clear. Different writing styles and tones are encouraged. 4. Avoid copying the original query. Do not simply rephrase it with only minor surface changes. The rewritten query should feel genuinely reworded and natural. 5. Use the answer only for context. The answer helps you understand what the original query intended to ask. You should not change your rewrite based on the answer’s content. Your task is to rewrite the question, not the answer. |
| Dataset | Method | Similarity | Diversity | |||||
| Form. | Read. | Decl. | Impr. | Spell. | Gram. | |||
| Llama-3.1-8B | ||||||||
| SQuAD | WR | 0.568 | 0.580 | 0.598 | 0.635 | 0.538 | 0.584 | 0.459 |
| NR | 0.509 | 0.552 | 0.606 | 0.631 | 0.466 | 0.578 | 0.499 | |
| LB | 0.551 | 0.539 | 0.593 | 0.634 | 0.552 | 0.599 | 0.469 | |
| GB | 0.426 | 0.408 | 0.433 | 0.430 | 0.411 | 0.414 | 0.585 | |
| Dataset | Method | Similarity | Diversity | |||||
| Form. | Read. | Decl. | Impr. | Spell. | Gram. | |||
| QwQ-32B | ||||||||
| SQuAD | WR | 0.566 | 0.576 | 0.602 | 0.634 | 0.549 | 0.593 | 0.438 |
| NR | 0.511 | 0.570 | 0.625 | 0.649 | 0.488 | 0.599 | 0.475 | |
| LB | 0.573 | 0.579 | 0.615 | 0.631 | 0.544 | 0.584 | 0.440 | |
| GB | 0.552 | 0.558 | 0.579 | 0.589 | 0.552 | 0.579 | 0.459 | |
| Dataset | Method | Similarity | Diversity | ||||||
| Human | Form. | Read. | Decl. | Impr. | Spell. | Gram. | |||
| Llama-3.1-8B | |||||||||
| SQuAD | WR | 0.542 | 0.579 | 0.610 | 0.644 | 0.653 | 0.542 | 0.600 | 0.446 |
| NR | 0.505 | 0.580 | 0.544 | 0.613 | 0.622 | 0.479 | 0.607 | 0.503 | |
| LB | 0.527 | 0.557 | 0.557 | 0.599 | 0.626 | 0.566 | 0.584 | 0.469 | |
| GB | 0.447 | 0.416 | 0.421 | 0.423 | 0.449 | 0.427 | 0.449 | 0.583 | |
| Dataset | Method | Similarity | Diversity | ||||||
| Human | Form. | Read. | Decl. | Impr. | Spell. | Gram. | |||
| QwQ-32B | |||||||||
| SQuAD | WR | 0.585 | 0.567 | 0.608 | 0.630 | 0.642 | 0.583 | 0.605 | 0.448 |
| NR | 0.556 | 0.514 | 0.619 | 0.655 | 0.664 | 0.518 | 0.584 | 0.459 | |
| LB | 0.565 | 0.608 | 0.590 | 0.608 | 0.635 | 0.577 | 0.599 | 0.435 | |
| GB | 0.544 | 0.549 | 0.560 | 0.596 | 0.601 | 0.575 | 0.588 | 0.461 | |
| Dataset | Target | Method | RE | CVR | |||||
| Form. | Read. | Decl. | Impr. | Spell. | Gram. | ||||
| Llama-3.1-8B | |||||||||
| SQuAD | Retriever | LB | 0.472 | 0.592 | 0.416 | 0.338 | 0.431 | 0.439 | 0.734 |
| GB | 0.092 | 0.094 | 0.086 | 0.090 | 0.100 | 0.092 | 0.937 | ||
| LLM | LB | 0.441 | 0.592 | 0.396 | 0.313 | 0.416 | 0.411 | 0.767 | |
| GB | 0.056 | 0.059 | 0.048 | 0.055 | 0.061 | 0.051 | 0.963 | ||
| Dataset | Target | Method | RE | CVR | |||||
| Form. | Read. | Decl. | Impr. | Spell. | Gram. | ||||
| QwQ-32B | |||||||||
| SQuAD | Retriever | LB | 0.494 | 0.450 | 0.405 | 0.415 | 0.495 | 0.441 | 0.740 |
| GB | 0.360 | 0.322 | 0.298 | 0.315 | 0.361 | 0.330 | 0.762 | ||
| LLM | LB | 0.477 | 0.466 | 0.389 | 0.399 | 0.491 | 0.424 | 0.760 | |
| GB | 0.265 | 0.230 | 0.225 | 0.238 | 0.250 | 0.243 | 0.858 | ||
| Dataset | Target | Method | RE | CVR | ||||||
| Human | Form. | Read. | Decl. | Impr. | Spell. | Gram. | ||||
| Llama-3.1-8B | ||||||||||
| SQuAD | Retriever | LB | 0.415 | 0.452 | 0.577 | 0.423 | 0.344 | 0.460 | 0.450 | 0.748 |
| GB | 0.105 | 0.090 | 0.100 | 0.105 | 0.090 | 0.120 | 0.120 | 0.946 | ||
| LLM | LB | 0.407 | 0.418 | 0.587 | 0.398 | 0.306 | 0.414 | 0.414 | 0.778 | |
| GB | 0.061 | 0.055 | 0.060 | 0.065 | 0.048 | 0.068 | 0.067 | 0.969 | ||
| Dataset | Target | Method | RE | CVR | ||||||
| Human | Form. | Read. | Decl. | Impr. | Spell. | Gram. | ||||
| QwQ-32B | ||||||||||
| SQuAD | Retriever | LB | 0.439 | 0.500 | 0.568 | 0.446 | 0.404 | 0.451 | 0.547 | 0.741 |
| GB | 0.370 | 0.295 | 0.280 | 0.310 | 0.240 | 0.335 | 0.290 | 0.766 | ||
| LLM | LB | 0.461 | 0.468 | 0.597 | 0.426 | 0.389 | 0.417 | 0.494 | 0.757 | |
| GB | 0.285 | 0.252 | 0.233 | 0.242 | 0.210 | 0.273 | 0.242 | 0.859 | ||
Adaptive RAG
Adaptive retrieval-augmented generation (RAG) adjusts when, what, and how much evidence a language model retrieves for each query.
See all 59 papers