Skip to content

XYBench: Can LLMs Respond Pragmatically to Queries with Misconceptions?

optionalextendedfrontierbenchmarkrubric 8/122026 · EMNLP 2026 · ~20 min

Akhila Yerukola, Jena D. Hwang, Mingqian Zheng, … Maarten Sap

Read first: Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena

Status

TL;DR. An “XY problem” is a question about a chosen method (X) that will not really solve the user’s goal (Y), for example “How do I parse XML with regex?” XYBench collects 8,115 such queries:

  • Stack Overflow: 1,557 real queries;
  • 17 Stack Exchange sites: 184 real queries;
  • Hand-curated posts: 102 queries the authors collected from recent posts;
  • WikiHow: 6,272 synthetic queries.

Each query comes with a stated request, an intended request, solutions for both, and the misconception linking them. Models almost always answer the stated request (0.57–0.91), mention the intended solution much less often (0.33–0.71), and identify the misconception at most 60–63% of the time on Stack Overflow and Stack Exchange, against 79–90% for human answers.

A cooperative answer (in the tradition of Grice and of Joshi et al.) has three parts:

  1. help with what was asked, if that is feasible;
  2. explain why it may not serve the goal;
  3. offer the better path.

XYBench scores each part with an LLM judge (Claude Sonnet 4.5) and combines them into Fully Pragmatic (misconception identified + intended solution + pragmatic emphasis) and Fully Cooperative (adds the stated solution and allows balanced emphasis). The reference answers come from top-voted and accepted community answers, so human behaviour is the yardstick.

Results (Table 2, paper-reported). On Stack Overflow, Fully Pragmatic ranges from 0.25 to 0.31 across models against 0.47 for all human answers. On the curated subset, which models are unlikely to have seen, models reach 0.17–0.25 against 0.68 for the human reference. In a two-option multiple-choice setting, models pick the pragmatic answer 71–84% of the time on Stack Overflow, so they recognise the better answer but do not produce it. Giving the stated and intended requests at generation time raises pragmatic emphasis up to twofold. Only Gemini 3.1 Pro then matches humans, and only on Stack Overflow and Stack Exchange; misconception identification does not improve.

  • Judging: LLM-as-judge and rubric evaluation. XYBench’s decomposition into tagged units is one answer to judge unreliability.
  • Related failure: sycophancy. Answering the literal request even when it is a bad idea is a mild form of telling users what they asked to hear.
  • Search angle: query intent and query reformulation are the IR versions of this problem. Agentic search systems such as those in BrowseComp-Plus assume the question is well posed, while XYBench tests what happens when it is not.
  • Not to be confused with xbench, the profession-aligned agent benchmark.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Mechanism

    XYBench does not ask a judge whether a response "identified the misconception". Instead the judge splits each response into approach units, tags each one, and a logical rule decides: misconception identified if (steers away from the stated request AND encourages the intended request) OR (encourages the intended request AND does not encourage the stated request). Explain why the authors decompose the judgment, what each disjunct captures, and what the rule would miss.

    What a strong answer covers
    • Direct prompting proved unreliable: judges are misled by surface words such as "alternative" or "best approach", and long advice-style answers hide what was actually recommended. Tagging small units and combining them with a fixed rule matched human labels much better.
    • First disjunct: explicit correction, which says the stated approach is a bad idea and points to the better one.
    • Second disjunct: implicit correction, which simply redirects to the intended goal without endorsing the stated approach.
    • Misses: a response that explains the misconception in prose but recommends nothing, and a response that gives both solutions with a vague caveat. Tagging errors propagate through the rule.
    • Validation: on 500 responses, human–judge agreement was at least 0.742 exact (Krippendorff α at least 0.587), against at least 0.955 between the two humans. The judge is usable but noticeably noisier than people.
  2. Derive / compute

    On Stack Overflow (1,557 queries), GPT-5 gets: stated-solution present 0.83, intended-solution present 0.71, emphasis split 0.47 / 0.12 / 0.41 (literal / balanced / pragmatic), misconception identified 0.60, Fully Pragmatic 0.31. Human answers get 0.58, 0.67, 0.39 / 0.06 / 0.55, 0.79 and 0.47. (a) Fully Pragmatic requires misconception identified AND intended solution present AND pragmatic emphasis. Give an upper bound from the marginals and compare with the observed values. (b) On the 102-query manually curated set, models reach at most 0.25 Fully Pragmatic against 0.68 for humans. Is that gap larger than sampling noise?

    What a strong answer covers
    • (a) A conjunction cannot exceed its smallest component. GPT-5: min(0.60, 0.71, 0.41) = 0.41, observed 0.31. Humans: min(0.79, 0.67, 0.55) = 0.55, observed 0.47.
    • For GPT-5 the binding constraint is emphasis: only 41% of responses are mainly pragmatic. Even when it mentions the better solution, it usually builds the answer around the literal request.
    • GPT-5 mentions the intended solution more often than humans (0.71 vs 0.67) but humans are more often pragmatic (0.55 vs 0.41) and better at naming the misconception (0.79 vs 0.60).
    • (b) SE for p = 0.25, n = 102: sqrt(0.25 × 0.75 / 102) ≈ 0.043; for 0.68 ≈ 0.046. The difference of 0.43 is about 7 combined standard errors, far beyond noise. Correlated errors from one judge could still shift both values.
  3. Design

    IR has long held that searchers often cannot state what they need (Belkin's "anomalous states of knowledge", which XYBench cites). XYBench shows models prefer the pragmatic answer in multiple choice (71–84% on Stack Overflow) but rarely produce it, and that giving them the intended request helps without closing the gap. Design a RAG or search-assistant pipeline that handles XY queries better, and say how you would evaluate it on XYBench without leaking the answer.

    What a strong answer covers
    • The bottleneck is not only detecting intent. Even with the oracle intended request, most models stay below humans, and naming the misconception does not improve. Generation needs explicit structure, not just a better guess of intent.
    • Pipeline: (1) infer candidate underlying goals; (2) retrieve for both the literal request and each goal; (3) check whether the literal approach is fragile or unusual for that goal (for example, from community answers); (4) answer with a fixed outline: brief literal answer if feasible, why it may not serve the goal, then the recommended alternative.
    • Use the multiple-choice preference as a self-check: generate several drafts and let the model pick the most pragmatic one, which uses the capability it already shows in the multiple-choice setting.
    • Evaluation: run on the query only (never the stated or intended request), report Fully Pragmatic and Fully Cooperative separately per source, and watch the stated-solution rate so the system does not become preachy and ignore what users asked.
    • Leakage: Stack Overflow is likely memorised, so the benchmark rewrites queries; weight the hand-curated and WikiHow subsets more for a new system.

Done with this page?

Status