TopoBench:在复杂拓扑推理上对LLM进行基准测试
TopoBench: Benchmarking LLMs on Hard Topological Reasoning
AI总结:
TopoBench通过测试LLM在复杂拓扑推理任务上的表现,揭示了模型在提取空间约束方面的瓶颈,并提出缓解策略。
摘要:
解决拓扑网格谜题需要推理全局空间不变量,如连通性、回路闭合性和区域对称性,这对即使是最强大的大型语言模型(LLM)来说仍然是具有挑战性的。为了在受控环境下研究这些能力,我们引入了TopoBench,一个包含三个难度级别的六个谜题家族的基准测试。我们评估了强大的推理LLM在TopoBench上的表现,并发现即使是最前沿的模型也难以解决硬实例,其中两个家族几乎未被解决。为了调查这些失败是源于推理限制还是难以提取和维护空间约束,我们标注了750条思维链轨迹,并建立了一种错误分类法,揭示了四种候选因果失败模式,然后通过针对性干预模拟每种错误类型进行测试。这些干预表明,某些错误模式如过早承诺和约束遗忘对解决谜题的能力有直接影响,而重复推理是搜索的良性影响。最后我们研究了缓解策略,包括提示引导、单元对齐网格表示和基于工具的约束检查,发现瓶颈在于从空间表示中提取约束,而不是在这些约束上进行推理。代码和数据可在github.com/mayug/topobench-benchmark获取。
英文摘要:
Solving topological grid puzzles requires reasoning over global spatial invariants such as connectivity, loop closure, and region symmetry and remains challenging for even the most powerful large language models (LLMs). To study these abilities under controlled settings, we introduce TopoBench, a benchmark of six puzzle families across three difficulty levels. We evaluate strong reasoning LLMs on TopoBench and find that even frontier models solve fewer than one quarter of hard instances, with two families nearly unsolved. To investigate whether these failures stem from reasoning limitations or from difficulty extracting and maintaining spatial constraints, we annotate 750 chain of thought traces with an error taxonomy that surfaces four candidate causal failure modes, then test them with targeted interventions simulating each error type. These interventions show that certain error patterns like premature commitment and constraint forgetting have a direct impact on the ability to solve the puzzle, while repeated reasoning is a benign effect of search. Finally we study mitigation strategies including prompt guidance, cell-aligned grid representations and tool-based constraint checking, finding that the bottleneck lies in extracting constraints from spatial representations and not in reasoning over them. Code and data are available at github.com/mayug/topobench-benchmark.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。