Prompt Sensitivity in Tool-Augmented Model Comparisons
Organizations: Institute of Computer Science, Warsaw University of Technology
Abstract
Language models are compared on question-answering benchmarks that pose each question in one wording, and a reworded question can change which of two models scores higher. We ask whether giving the models tools makes such comparisons more stable. An accuracy gain cannot answer this, because tools change several steps between the question and the scored answer at once. We propose a matched protocol that separates those steps: the answer readout, reasoning, the decision to call, the tool's answer, and the report supplied without a call. We apply it to six open models in five domains under five wordings. We find that tools raise accuracy where a program answers the question and widen the wording sensitivity of many pairwise comparisons. The widening follows how often a model calls, and call frequency follows the wording for some models and not others. It also depends on the interface and the instructions: a native tool-calling interface and a second tool description leave no detected widening in molecules, and sensitivity persists where tools return intermediate results. These findings show that deterministic reports do not guarantee stable comparisons. We recommend reporting call frequency and comparison stability under several wordings beside accuracy.
Figures & tables
| Domain | Items | Written forms; what the tools return |
|---|---|---|
| Molecules | 504, four options, PubChem | SMILES, random SMILES, InChI, IUPAC name; RDKit answers every question type |
| Graphs | 504, four options, generated | edge list, neighbor list, friendship; NetworkX answers every type |
| Music | 361, four options, ABC-Eval | ABC, MusicXML, note events; music21 answers bar count, and key and time partly |
| Tables | 500, numeric, FinQA | markdown, CSV, sentences; rows, columns and a calculator |
| Mathematics | 336, numeric, MATH-500 | one form; a calculator and an equation solver |
| Qwen3 8B | Phi-4 | Llama 8B | Gemma 12B | Mistral 24B | Qwen3 30B | |
| Molecules | ||||||
| first-token read | 0.36 | 0.46 | 0.34 | 0.41 | 0.47 | 0.46 |
| fixed readout | 0.43 | 0.52 | 0.38 | 0.42 | 0.50 | 0.49 |
| reasoning | 0.52 | 0.57 | 0.46 | 0.54 | 0.55 | 0.55 |
| supplied report | 0.99 | 0.98 | 0.99 | 0.98 | 1.00 | 1.00 |
| tools | 0.92 | 0.75 | 0.94 | 0.98 | 0.94 | 1.00 |
| Molec. | Graphs | Music | Tables | Math. | |
|---|---|---|---|---|---|
| pairs written forms | 60 | 45 | 45 | 45 | 15 |
| fixed readout vs. first-token read | 0/5 | 0/36 | 0/3 | – | – |
| reasoning vs. fixed readout | 0/0 | 0/1 | 0/0 | 0/0 | 0/0 |
| supplied report vs. fixed readout | 0/21 | 0/5 | 0/0 | – | – |
| tools vs. fixed readout | 39/1 † | 10/0 | 19/0 | – | – |
| tools vs. supplied report | 54/0 | 16/0 | 22/0 | – | – |
| call-rate range (mean call rate) | pairs wider | |||
| Condition | Qwen3 8B | Phi-4 | Llama 8B | than fixed |
| plain-text loop (reference) | 0.43 (0.84) | 0.27 (0.50) | 0.22 (0.89) | 10 of 12 |
| episode budget | 0.41 (0.85) | 0.25 (0.53) | – | 4 of 4 |
| 10% of reports wrong | 0.43 (0.83) | 0.22 (0.53) | 0.23 (0.88) | 8 of 12 |
| 30% of reports wrong | 0.42 (0.84) | 0.27 (0.50) | 0.23 (0.89) | 6 of 12 |
| 50% of reports wrong | 0.42 (0.84) | 0.25 (0.49) | 0.23 (0.89) | 0 of 12 |
| Model | Repository | Revision (first 12) | Weights |
|---|---|---|---|
| Qwen3-8B | Qwen/Qwen3-8B | b968826d9c46 | bf16 |
| Phi-4 | microsoft/phi-4 | 2db69c1c3e91 | 8-bit float |
| Llama-3.1-8B | meta-llama/Llama-3.1-8B-Instruct | 0e9e39f249a1 | bf16 |
| Gemma-3-12B | google/gemma-3-12b-it | 96b6f1eccf38 | bf16 |
| Mistral-Small-24B | mistralai/Mistral-Small-24B-Instruct-2501 | 9527884be6e5 | 8-bit float |
| Qwen3-30B-A3B | Qwen/Qwen3-30B-A3B-Instruct-2507-FP8 | 5a5a776300a4 | 8-bit float |
| Domain | Contrast | Rows | Bootstrap | Exchange |
|---|---|---|---|---|
| Molecules | tools vs. fixed | 60 | 34/2 | 39/1 |
| Molecules | tools vs. reasoning | 60 | 37/2 | 41/1 |
| Molecules | fixed vs. first token | 60 | 0/5 | 0/11 |
| Graphs | tools vs. reasoning | 45 | 12/0 | 14/0 |
| Graphs | fixed vs. first token | 45 | 0/36 | 1/39 |
| Music | tools vs. reasoning | 45 | 17/0 | 19/0 |
| Qwen3 8B | Phi-4 | Llama 8B | |
|---|---|---|---|
| description of the main text | 0.84 (0.43) | 0.50 (0.27) | 0.89 (0.22) |
| second description | 0.97 (0.07) | 0.94 (0.06) | 1.00 (0.00) |
| third description | 0.88 (0.34) | 0.64 (0.30) | 0.98 (0.11) |
| Qwen3 8B | Phi-4 | Llama 8B | Qwen2.5 72B | |
|---|---|---|---|---|
| graphs, original wordings | 0.10 | 0.34 | 0.69 | 0.99 |
| graphs, clause removed | 0.21 | 0.31 | 0.09 | 0.00 |
| molecules, original wordings | 0.43 | 0.27 | 0.22 | 0.97 |
| molecules, clause removed | 0.35 | 0.21 | 0.08 | 0.00 |
| Qwen3 8B | Llama 8B | Mistral 24B | ||||
|---|---|---|---|---|---|---|
| Domain | text | native | text | native | text | native |
| Molecules | 0.43 | 0.00 | 0.22 | 0.00 | 0.26 | 0.00 |
| Graphs | 0.10 | 0.01 | 0.69 | 0.01 | 0.06 | 0.07 |
| Music | 0.34 | 0.10 | 0.48 | 0.01 | 0.24 | 0.23 |
| Tables | 0.36 | 0.01 | 0.45 | 0.00 | 0.29 | 0.63 |
| Mathematics | 0.09 | 0.60 | 0.06 | 0.00 | 0.10 | 0.12 |
LLM Evaluation
Large language model evaluation measures what models can do, how reliably they do it, and whether benchmark scores predict real-world performance.
See all 2,408 papers