Ai2 releases XYBench, which tests if AI finds the real problem

In short

8,115 questions in XYBench; 5 models tested; 35–41% answers focused on the real goal, five models (Stack Overflow); 55% top human answers doing the same

What does XYBench test?

The idea comes from the "XY problem". A person wants to do X, decides approach Y will work, and asks only about Y. Ai2's example: someone asks how to thicken frosting that keeps sliding off their cupcakes. The real problem is that the cupcakes are still too warm to frost. A helpful answer says so. A narrow answer lists ways to thicken frosting.

The paper's own example is "How do I parse XML with regex?" The better reply points out that regular expressions are fragile for this job and suggests an XML parser. Ai2 says a useful assistant has to cope with people who do not know the right question to ask, not only with those who do.

How the questions were built

For the forum questions, Ai2 used the three highest-scored human answers and the accepted answer, where there was one, to work out the intended goal and the possible fixes. It dropped cases where answering the literal request would have been enough. For WikiHow, it used Claude Sonnet 4.5 to write questions around plausible misconceptions in how-to guides, then refined them so an expert could infer the goal without it being stated. The Hugging Face page lists 6,268 WikiHow queries, four fewer than the blog's 6,272; we did not check which is right.

Each answer is scored on three things: whether it includes a solution to Y and to X, whether it focuses mainly on X, Y or both, and whether it steers the user to X while discouraging the mistaken approach. Ai2 calls these pragmatic solution, pragmatic emphasis and misconception identification. "Pragmatics" is the part of linguistics about how context and intent shape meaning.

What Ai2 found

Ai2 tested Claude Sonnet 4.6, GPT-5, Gemini 3.1 Pro, Qwen3.5-9B and DeepSeek-V4 Pro, one answer per question, in a single turn. Human reference answers were scored the same way.

Knowing versus doing

Ai2 also gave the same five models plus GPT-4.1 a multiple-choice version: one answer focused on the literal request, one explaining the misconception. On Stack Overflow all six picked the goal-focused answer in 71–84% of cases, yet the answers the five models wrote themselves centred on the goal only 35–41% of the time. The authors say models recognise good advice better than they produce it.

Handing the model the real goal helped only partly. In an "oracle" test where Ai2 supplied both Y and X, Sonnet 4.6's rate of including a solution to X rose from 59% to 67% on Stack Overflow, but its misconception-identification rate fell from 47% to 34%. Every model in that test still trailed humans on spotting the misconception.

The catch

Can anyone download XYBench?

The dataset is on Hugging Face as allenai/XYBench-dataset, under CC BY-NC-SA 3.0: you may share and adapt it with credit, but not commercially, and adaptations must carry the same licence. Access is gated: you accept the terms on the page first. Human reference answers cover the Stack Overflow, Stack Exchange and hand-curated subsets, not WikiHow. Code to generate, judge and score model responses is on GitHub.

Ai2 says XYBench won the Best Resource Paper Award at EMNLP 2026, a conference on natural-language processing; that claim comes from Ai2's blog and dataset page.

Official channels of Ai2: Website · LinkedIn · X

Sources

Sources

Related stories

More from AI Research Labs

All stories from AI Research Labs