Artificial intelligence · 10 min read
Right diagnosis,wrong answer.
XYBench (Ai2, EMNLP 2026) measures whether a model answers the question it was asked or the problem behind it. The five models tested pick the useful answer 71–84% of the time in a multiple-choice setup, but produce it in only 35–41% of free-form responses. That gap between recognising and writing is the real story.
Key takeaways
- XYBench is built from 8,115 real questions where the stated request (Y) does not reach the goal (X): 1,557 Stack Overflow, 184 Stack Exchange, 102 hand-curated, 6,272 generated from WikiHow guides. Three separate metrics: presence of the useful solution, emphasis on it, identification of the false assumption.
- On Stack Overflow, models include a fix for the stated request in 75–86% of responses versus 59–71% for the underlying goal — and they focus on the underlying goal in only 35–41% of responses. Same models, same knowledge: the action does not follow.
- The same models pick the useful answer 71–84% of the time in multiple choice. A judge that ranks answers will never see this hole: score emphasis in your own outputs, not the presence of a mention.
The problem is not in the question
The Ai2 blog example works because it is mundane: someone asks how to thicken frosting that keeps sliding off cupcakes. The actual problem is that the cupcakes are still warm. Thickening works half the time; cooling the cupcakes removes the cause. In software the canonical case is "how do I parse XML with a regex" — the useful answer is not a better regex, it is an XML parser.
This is the XY problem: the person wants X, assumes Y gets them there, and asks for help with Y. An assistant that answers Y is factually correct and practically useless. On a support bot that shows up as a fluent, on-topic, well-sourced answer — and a ticket that comes back three days later with the same question. It is the worst kind of failure: it does not look like one.
The bias is structural. A model trained to be helpful, to answer what it is asked and not to contradict the user learns exactly the wrong priority for this case. Saying "your approach is wrong" costs a conversational turn and some perceived authority. XYBench, published by Ai2 on November 13, 2026 and awarded Best Resource Paper at EMNLP 2026, puts a number on that cost.
What XYBench measures, and with which judge
The dataset holds 8,115 questions built on one principle: a stated request (Y) and an implicit goal (X) inferred from context. Sources are 1,557 Stack Overflow questions, 184 from Stack Exchange, 102 hand-written examples and 6,272 questions generated from procedural WikiHow guides. Cases where answering literally was sufficient were filtered out — otherwise the benchmark would measure politeness.
Each response is scored on three separate axes, and that split is what makes the result readable:
- Pragmatic solution: does the response contain a solution to Y, to X, or both? This is a presence metric.
- Pragmatic emphasis: what is the response centred on? Y, X, or both equally? This is the metric that matters in production.
- Misconception identification: does the response steer the user away from Y while leading them to X?
The automated judge is Claude Sonnet 4.5. Human validation covers 500 responses annotated independently by two reviewers: agreement with the judge ranges from 97.5–100% on whether a solution appears, 84.6–93.3% on misconception identification, and 74.2–79.8% on pragmatic emphasis. In other words, the most interesting metric for an engineer is also the noisiest. Read it as a directional signal, not a score to two decimals.
The detail that mattersThe authors evaluate five models: Claude Sonnet 4.6, GPT-5, Gemini 3.1 Pro, Qwen3.5-9B and DeepSeek-V4 Pro. All five show the same profile: they mention the real problem, then spend most of the response on the literal request.
The real gap: pick versus write
On Stack Overflow questions the hierarchy is clear. Solutions to the stated request appear in 75–86% of responses, solutions to the underlying goal in 59–71%. And when you measure emphasis rather than presence, models centre their answer on the underlying goal in only 35–41% of cases, versus 47–57% on the literal request. On misconception identification, humans sit at 79–90% while models top out at 63%.
In the table: Y is the stated request, X the underlying goal. "Choice" is the two-option test, "free form" is generation with no options.
| Metric (Stack Overflow) | Models | Reference |
|---|---|---|
| Solution Y | 75–86% | — |
| Solution X | 59–71% | — |
| Centred on X | 35–41% | 47–57% on Y |
| Misconception | ≤ 63% | 79–90% humans |
| Choice | 71–84% | — |
| Free form | 35–41% | — |
The last two rows are the central result. The model gets the same question with two candidate answers: one handles the literal request, the other explains the false assumption and addresses the real goal. The six models tested in this experiment choose the second 71–84% of the time. Then they are asked to write, with no options: the share drops to 35–41%. The model knows; it does not act.
This is not a knowledge problem, it is a priority problem at generation time. And it invalidates a good chunk of LLM-as-judge evaluation: a judge comparing two answers makes the same choice the model makes, and will sign off on output a user finds useless.
The oracle experiment is more instructive still. When the authors supply the goal X explicitly alongside the request Y, Sonnet 4.6's rate of including a fix for the underlying goal rises from 59% to 67%. But its misconception-identification rate falls from 47% to 34%. Giving the intent helps the model aim, and removes the warning: it serves the goal without telling you the requested method will not work. That is exactly the behaviour you get from a prompt that says "answer the user's request directly".
The pattern: state the assumption before answering
Nothing in this benchmark asks you to change models. It asks you to change the shape of the call. The pattern I use on assistants that answer non-experts has two stages: a short pass that makes the assumption explicit, then a generation constrained by its verdict.
First pass, structured output on the request alone, no retrieval context:
{
"stated_request": "how do I thicken frosting so it stops sliding",
"assumed_goal": "frosting stays on the cupcake",
"load_bearing_assumption": "the cupcakes are cool",
"assumption_status": "likely_false",
"root_cause_hypothesis": "cupcakes still warm",
"redirection_allowed": true
}
Second pass, with a template that depends on assumption_status: if the assumption holds, answer normally; if it is doubtful, open with the root cause and its fix, then handle the literal request in two closing sentences. That separation matters — the literal answer must still exist, or the user feels blocked and rephrases the question.
Three implementation choices matter more than the prompt wording:
- Score emphasis, not presence. In your eval, grade the first two sentences of the response, not the whole thing. A mention of the real fix in paragraph four is exactly what XYBench records as a failure — and a presence-based eval will record it as a success.
- Do not put the goal in the system prompt. The oracle experiment shows that injecting intent degrades the warning. Let the model infer it, then verify; otherwise you buy accuracy and lose the alert.
- Make the disagreement visible in the UI. A banner saying "your approach probably will not fix this, here is why" is more honest than a buried paragraph, and it is measurable in click-through.
The cost is real: one extra call, a JSON schema to maintain, and a risk of paternalism when the model gets the assumption wrong. On an internal assistant used by people who know their job, this produces condescending answers. The guard is redirection_allowed: if the assumption cannot be verified with the available context, answer literally and ask a question.
What the benchmark does not sayXYBench is English-only and mostly covers procedural problems (code, cooking, home repair). Nothing guarantees those numbers transfer to a regulated domain or to a ten-turn conversation. Measure on your tickets, not on this leaderboard.
When it is not worth it
If your assistant is a document search engine or a text-to-SQL layer over an explicit schema, the user has no hidden goal: the question is the task. Adding a restatement pass doubles cost per query and hurts perceived latency for no measurable gain.
Second case: requests where Y is legitimate and the model has no way to know the context differs — asking for a regex on a format with no parser, for instance. A system that redirects too aggressively ends up ignoring valid requests. Same trade-off as agent guardrails: every added refusal needs an observed failure behind it, or it is just noise.
Evaluation checklist
- Sample your real tickets. Take 50 to 100 support or internal helpdesk requests and annotate the real goal next to the stated request. If you cannot find a distinct goal, your product is not affected.
- Measure emphasis. Replay the responses and grade only the first one or two sentences: do they address the goal or the requested method? It is the XYBench metric that tracks dissatisfaction most closely.
- Run the multiple choice before the generation. If your model picks the right answer but misses it when writing, the problem sits in your prompt or priority, not in the model. Switching models will not fix it.
- Ship the assumption pass behind a flag. Roll out to 10% of traffic, compare ticket reopen rate and escalation rate. That is the only number that decides.
- Log the disagreement. When the model redirects, store the request, the assumption and the answer: that is your evaluation set for the next model, and the only way to catch wrong redirections.