MEGA Hub

HPFA: Hypergraph-Based Paired Failure Attribution for LLM Reasoning

Authors

Do you know Runchuan Zhu?You can claim authorship or link another user.Do you know Hongbin Lai?You can claim authorship or link another user.Do you know Bowen Jiang?You can claim authorship or link another user.Do you know Junrui Zhang?You can claim authorship or link another user.Do you know Zhangheng LI?You can claim authorship or link another user.Do you know Ostap Kilbasovych?You can claim authorship or link another user.Do you know Junyuan Hong?You can claim authorship or link another user.

Abstract

Reflection is a powerful mechanism for LLM reasoning, yet its effectiveness hinges on accurately attributing failures to specific reasoning steps, a capability that current models notably lack. Existing failure attribution methods either require expensive step-by-step counterfactual testing that scales poorly with trajectory length, or treat reasoning traces as flat sequences that ignore the inherent non-linear logical dependencies. We propose a hypergraph-based paired failure attribution (HPFA) framework that attributes the failure root cause by comparing the hyperedges of the targeted failure reasoning path against a reference successful path. By reducing the search space, our method efficiently localizes root causes and enables scalable synthesis of attribution data for training a lightweight attributor model via supervised fine-tuning and reinforcement learning. Experiments on mathematical reasoning and agentic coding tasks demonstrate that HPFA can dramatically increase attribution accuracy and efficiency, and the trained attributor consistently improves reasoning accuracy at test time, outperforming baselines that lack graph structure or paired analysis.

Community

00