Researchers from the Allen Institute for AI, Carnegie Mellon University, NVIDIA, and Johns Hopkins University introduced XYBench on November 13, 2026. This benchmark evaluates how well large language models identify the 'XY problem,' where a user asks for help with a chosen, often ineffective, method instead of their actual goal.

The dataset consists of 8,115 questions covering programming, technical support, and daily tasks. It includes 1,557 questions from Stack Overflow, data from 17 Stack Exchange communities, and approximately 2,500 instructions from WikiHow. About 77% of the questions are synthetic, generated with the help of Claude Sonnet 4.5.

Testing involved Claude Sonnet 4.6, GPT-5, Gemini 3.1 Pro, Qwen3.5-9B, and DeepSeek-V4 Pro. While models identified a useful solution in 71–84% of Stack Overflow cases, they focused on the user's actual goal in only 35–41% of responses. In comparison, human responses achieved a 55% focus rate.

The benchmark uses three metrics: Pragmatic Solution, Pragmatic Emphasis, and Misconception Identification. These evaluate whether a model provides the correct alternative, prioritizes the actual goal over the literal request, and explicitly addresses the user's underlying misconception.

The study highlights that even when models provide a correct recommendation, they often bury it within a detailed explanation of the user's original, flawed approach. Human responses were found to be more effective at identifying misconceptions, succeeding in 79% of cases compared to 60% for the best-performing models.