📄 论文 | 🤗 数据 | 💻 代码
真正有用的 AI 助手需要能够帮助那些提出错误问题的用户,而不仅仅是帮助那些以恰当细节提出正确问题的用户。我们发布了 XYBench,这是一个包含 8,000 多个问题的基准测试,用于评估 AI 助手如何回应基于误解的请求。例如,有人问如何让一直从纸杯蛋糕上滑落的糖霜变稠,但真正的问题其实是纸杯蛋糕的温度还太高,无法涂抹糖霜。XYBench 获得了 EMNLP 2026 的最佳资源论文奖。
某人询问的方法与其想要实现的目标之间的不匹配被称为 XY 问题:一个人想要完成 X,假设某种特定的方法 Y 会有效,并请求帮助解决 Y。在纸杯蛋糕的例子中,这个人过于执着于让糖霜粘住,以至于没有考虑到纸杯蛋糕的温度才是真正需要解决的问题。
XYBench 由卡内基梅隆大学、英伟达和约翰斯·霍普金斯大学的研究人员共同开发,揭示了大语言模型(LLM)在故障排除能力方面的一个关键差距:识别用户的请求是否基于隐含的误解,并适当引导他们找到解决其实际目标的方法。我们收集了 8,115 个涵盖编程以及烹饪和家庭维修等日常活动的真实世界问题,引入了一个基准测试,用于衡量模型是否能够识别这些误解,并在其回答中优先提供有效的解决方案。
我们在 XYBench 上评估的模型——Claude Sonnet 4.6、GPT-5、Gemini 3.1 Pro、Qwen3.5-9B 和 DeepSeek-V4 Pro——经常针对用户的问题提出解决方案,但将其回答集中在最初错误的方法上。与人类参考回答相比,这五个模型都不太可能引导用户远离该方法,转而寻求适合其目标的解决方案。
人们使用 AI 系统时的知识水平各不相同,并且可能并不总是知道如何最好地处理问题。我们希望 XYBench 能帮助研究人员衡量模型的改进是否使助手更擅长识别错误的假设,解释为什么提出的方法可能行不通,并建议更有效的替代方案——即使用户不知道应该提出正确的问题。
构建 XYBench
我们基于四个来源构建了 XYBench:来自 Stack Overflow 的 1,557 个问题、来自 Stack Exchange 的 184 个问题、102 个手动策划的例子,以及从 WikiHow 指南生成的 6,272 个问题。对于每个问题,我们确定了陈述的请求(Y),即人们明确询问的内容,以及预期的请求(X)——可以从上下文中推断出的潜在目标。
对于公共论坛的问题,我们使用了得分最高的三个人类回答以及可用的已采纳回答,以确定预期的请求和可能的解决方案。我们过滤掉了那些被认为只需回答陈述的请求就足够解决的情况。对于 WikiHow,我们使用 Sonnet 4.5 围绕程序性指南中可能存在的误解生成问题,然后对其进行细化,以包含足够的上下文,使专家能够推断出潜在目标,而无需明确说明。我们删除了那些仅回答字面请求就能在很大程度上解决问题的例子。
评估答案的帮助程度
一个模型可能会花几段篇幅推荐更强大的吸尘器,然后简要建议检查软管是否堵塞。如果是堵塞导致吸力减弱,清除堵塞就可以解决问题。
更有用的回答会认识到用户想要恢复吸力,并专注于诊断原因。这涉及到语用学,即语言学中研究语境和交际意图如何塑造意义的分支。为了测试模型是否在其回答中利用这种理解,XYBench 衡量每个回答的三个方面:
语用解决方案——记录模型的回答是否包含对陈述请求(Y)和预期请求(X)的解决方案,并分别进行检查。
务实性侧重——衡量模型的回答是否聚焦于明确提出的请求(Y)、是否聚焦于用户真正的意图请求(X),或是平衡两者。
误解识别——衡量模型的回应是否引导用户走向潜在目标(X),同时劝阻或避免错误的做法(Y)。
在 XYBench 中,Claude Sonnet 4.5 担任自动评判者。它对每个模型回答中的各项建议进行分类,并评估回答的务实性侧重。
为了验证 Sonnet 4.5 的判断,两名人类评审员独立评估了 500 个针对 XYBench 问题的模型回答。与评判者的一致性(以评审员的平均值计算)在“是否包含解决方案”方面为 97.5%–100%,在“误解识别”方面为 84.6%–93.3%,在“务实性侧重”方面为 74.2%–79.8%。
实验结果表明
我们在单轮设置下(每个问题仅生成一次回答)对 Sonnet 4.6、GPT-5、Gemini 3.1 Pro、Qwen3.5-9B 和 DeepSeek-V4 Pro 在 XYBench 上进行了评估。我们使用相同的指标单独评估了人类参考回答。
在所有四个数据源中,每个模型更有可能包含针对明确请求(Y)的解决方案,而非潜在目标(X)。在 Stack Overflow 上,明确请求的解决方案出现在 75%–86% 的回答中,而潜在目标的解决方案仅出现在 59%–71% 的回答中。
提及解决方案并不意味着它就是回答的重点。以吸尘器为例,模型可能会简要建议疏通软管,但将其回答的大部分重点放在购买更强大的吸尘器上。我们会将该回答计为包含针对潜在目标的解决方案,尽管模型强调的是明确请求。我们单独测量了整体侧重:在 Stack Overflow 上,模型仅在 35%–41% 的回答中主要聚焦于潜在目标,而在 47%–57% 的回答中主要聚焦于明确请求。在其余回答中,模型对明确请求和潜在目标的侧重程度相似。
我们还测试了使用户的目标显性化是否会有所帮助。在一个“先知”实验中,我们在每个问题旁同时提供了明确请求(Y)和意图请求(X)。在 Stack Overflow 上,Sonnet 4.6 包含潜在目标解决方案的比例从 59% 上升至 67%,但其误解识别率从 47% 下降至 34%。在所有拥有人类参考回答的数据源中,该实验中的每个模型在误解识别方面仍落后于人类。提供意图信息有所帮助,但并未始终缩小与人类回答的差距。这表明检测意图只是挑战的一部分:当意图与明确请求不一致时,模型还需要据此采取行动。
另一项实验测试了模型在评判回答而非生成回答时,能否识别出有用的建议。我们向同样的五个模型以及 GPT-4.1 提供每个问题及其两个可能的答案:一个聚焦于字面请求,另一个解释误解并解决潜在目标。在 Stack Overflow 上,所有六个模型中有 71%–84% 的情况选择了聚焦于目标的答案。相比之下,在我们主要评估中由五个模型生成的回答里,仅有 35%–41% 的回答主要聚焦于潜在目标。结果揭示了“识别有用建议”与“生成有用建议”之间的差距,而仅靠多项选择题测试无法发现这一差距。
这对评估意味着什么
研究人员可以使用 XYBench 来测试提示词或训练方法的改进是否有助于模型识别误解、为用户提供针对其潜在问题的解决方案,并将这些解决方案作为回答的重点。单独测量每种行为可以让研究人员看到某一方面的进步是否也改善了其他方面。
未来的工作可以测试哪些训练方法有助于模型根据推断的意图采取行动——即关注用户真正需要什么,而不仅仅是他们字面上问了什么。目前的 XYBench 主要涵盖英语查询和程序性问题;将其扩展到其他语言、文化和对话场景仍是一个有待探索的方向。
我们希望XYBench能够助力研究人员构建出这样的模型:即使用户的初始问题基于错误的前提,该模型仍能提供有益的建议。
📄 Paper | 🤗 Data | 💻 Code
Truly useful AI assistants need to be able to help users who ask misguided questions—not just users who ask the right question with the right amount of detail. We’re releasing XYBench , a benchmark of 8K+ questions that tests how AI assistants respond to requests based on misconceptions, such as asking how to thicken frosting that keeps sliding off cupcakes when the real problem is that the cupcakes are still too warm to frost. XYBench won the Best Resource Paper Award at EMNLP 2026.
A mismatch between the approach someone asks about and the goal they want to achieve is known as the XY problem : a person wants to accomplish X, assumes a particular approach Y will work, and asks for help with Y. In the cupcake example, the person is so committed to making the frosting stick that they fail to consider the warmth of the cupcake as the true problem to be addressed.
Developed with researchers at Carnegie Mellon, NVIDIA, and Johns Hopkins, XYBench exposes a critical gap in LLMs' ability to troubleshoot problems: recognizing when a user's request is based on an implicit misconception and appropriately redirecting them toward a solution that addresses their actual goal. Drawing on 8,115 real-world questions spanning programming and everyday activities such as cooking and home repair, we introduce a benchmark that measures whether models identify these misconceptions and are able to prioritize effective solutions in their responses.
The models we evaluated on XYBench – Claude Sonnet 4.6, GPT-5, Gemini 3.1 Pro, Qwen3.5-9B, and DeepSeek-V4 Pro – often suggested a solution to the user’s problem but kept their answers focused on the original, mistaken approach. Unlike human reference answers, all five models were less likely to steer users away from that approach and toward a solution suited to their goal.
People use AI systems with different levels of knowledge and may not always know how best to approach a problem. We hope XYBench helps researchers measure whether model improvements make assistants better at recognizing mistaken assumptions, explaining why a proposed approach might not work, and suggesting more effective alternatives—even when users don't know the right questions to ask.
Building XYBench
We built XYBench from four sources: 1,557 questions from Stack Overflow, 184 from Stack Exchange, 102 manually curated examples, and 6,272 questions generated from WikiHow guides. For each question, we identified the stated request (Y), what the person explicitly asks for, and the intended request (X)—the underlying goal that can be inferred from context.
For the public forum questions, we used the three highest-scored human answers and the accepted answer, where available, to establish the intended request and possible solutions. We filtered out cases where answering the stated request was judged sufficient. For WikiHow, we used Sonnet 4.5 to generate questions around plausible misconceptions in procedural guides, then refined them to include enough context for an expert to infer the underlying goal without stating it outright. We removed examples where answering the literal request would largely resolve the problem.
Evaluating how an answer helps
A model might spend several paragraphs recommending a more powerful vacuum cleaner, then briefly suggest checking for a clogged hose. If a clog is causing the weak suction, clearing it could solve the problem.
A more helpful answer would recognize that the user wants to restore suction and focus on diagnosing the cause. This draws on pragmatics, the branch of linguistics concerned with how context and communicative intent shape meaning. To test whether models use this understanding in their answers, XYBench measures three aspects of each response:
Pragmatic solution —records whether a model’s response includes solutions to the stated request (Y) and the intended request (X), checking each separately.
Pragmatic emphasis —measures whether a model’s answer focuses on the stated request (Y), focuses on the intended request (X), or balances the two.
Misconception identification —measures whether a model’s response steers the user toward the underlying goal (X) while discouraging or avoiding the mistaken approach (Y).
In XYBench, Claude Sonnet 4.5 serves as the automated judge. It classifies individual suggestions within each model’s response and assesses the answer’s pragmatic emphasis.
To validate Sonnet 4.5’s judgments, two human reviewers independently assessed 500 model responses to XYBench questions. Agreement with the judge, averaged across the reviewers, ranged from 97.5–100% on whether a solution appeared, 84.6–93.3% on misconception identification, and 74.2–79.8% on pragmatic emphasis.
What the experiments show
We evaluated Sonnet 4.6, GPT-5, Gemini 3.1 Pro, Qwen3.5-9B, and DeepSeek-V4 Pro on XYBench in a single-turn setting, with one response per question. We evaluated human reference answers separately using the same metrics.
Across all four sources, every model was more likely to include a solution to the stated request (Y) than to the underlying goal (X). On Stack Overflow, stated-request solutions appeared in 75–86% of responses, compared with 59–71% for underlying-goal solutions.
A passing mention of a solution does not make it the focus of an answer. In the vacuum example, a model could briefly suggest unclogging the hose but focus most of its response on buying a more powerful vacuum. We would count that response as containing a solution to the underlying goal, even though the model emphasized the stated request. We measured overall emphasis separately: on Stack Overflow, models focused primarily on the underlying goal in only 35–41% of their responses, and on the stated request in 47–57%. In the remaining responses, models gave similar emphasis to the stated request and the underlying goal.
We also tested whether making the user’s goal explicit would help. In an oracle experiment, we supplied both the stated request (Y) and the intended request (X) alongside each question. On Stack Overflow, Sonnet 4.6’s rate of including a solution to the underlying goal rose from 59% to 67%, but its misconception-identification rate fell from 47% to 34%. Across the sources with human reference answers, every model in this experiment still trailed humans on misconception identification. Supplying intent helped, but did not consistently close the gap with human responses. This suggests that detecting intent is only part of the challenge: models also need to act on it when it diverges from the stated request.
A separate experiment tested whether models could identify useful advice when judging responses instead of writing them. We gave the same five models, plus GPT-4.1, each question with two possible answers: one focused on the literal request and one explaining the misconception and addressing the underlying goal. On Stack Overflow, all six chose the goal-focused answer in 71–84% of cases. By comparison, only 35–41% of the answers written by the five models in our main evaluation primarily focused on the underlying goal. The results expose a gap between recognizing useful advice and producing it, which a multiple-choice test alone would miss.
What this means for evaluation
Researchers can use XYBench to test whether changes to prompting or training help models identify misconceptions, offer solutions to users’ underlying problems, and make those solutions the focus of their answers. Measuring each behavior individually lets researchers see whether progress in one also improves the others.
Future work could test which training methods help models act on inferred intent—AKA what users need and not just what they literally asked for. The XYBench currently covers English-language queries and mainly procedural problems; extending it to other languages, cultures, and conversational settings remains an open direction.
We hope XYBench enables researchers to build models that offer useful advice even when a user’s first question rests on a mistaken assumption.
首次收录 · 2026-11-14 · 10.7 分