研究看点:层级化注意力对齐数学证明结构:五级层次约束在 miniF2F 与 ProofNet 上分别提升证明成功率 2.05% 和 1.69%,并降低证明复杂度 23.81% 和 16.50%
Large language models (LLMs) have shown promise in formal theorem proving, but their token-level processing often fails to capture the inherent hierarchical nature of mathematical proofs. We introduce , a regularization method that aligns LLMs’ attention mechanisms with mathematical reasoning structures. Our approach establishes a five-level hierarchy from foundational elements to high-level concepts, ensuring structured information flow in proof generation. Experiments demonstrate that our method improves proof success rates by 2.05% on miniF2F and 1.69% on ProofNet while reducing proof complexity by 23.81% and 16.50% respectively. The code is available at https://github.com/Car-pe/HAGBP.

生成讲解博客的中文版本

生成AI智能校验的中文版本