arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.14690cs.CYcs.AIcs.CLcs.LG
收藏

将图注意力机制结合到基于深度强化学习的几何问题求解中

Incorporating Graph Attention Mechanism into Geometric Problem Solving Based on Deep Reinforcement Learning

University of Electronic Science and Technology of China(电子科技大学);West Virginia Clinical and Translational Science Institute(西弗吉尼亚临床与转化科学研究所)

Xiuqin Zhong, Shengyuan Yan, Gongqi Lin, Hongguang Fu, Liang Xu, Siwen Jiang, Lei Huang, Wei Fang

AI总结:

针对几何问题中自动添加辅助组件效率低的问题,提出基于BERT和图注意力机制(AttnStrategy)的深度强化学习框架A3C-RL,缩减策略搜索空间,平均准确率较MCTS提升32.7%并在高考几何题上超越人类。

摘要:

在在线教育背景下,设计几何问题的自动求解器一直被认为是迈向通用数学人工智能(AI)的关键一步,该过程由自然语言理解和传统逻辑推理赋能。在大多数情况下,问题是通过添加辅助组件(如线或点)来解决的。然而,由于选择合适辅助组件的复杂性,特别是在必须做出关键决策时,自动添加辅助组件具有挑战性。目前的最佳性能是通过穷举类别库中的所有可能策略,以识别具有最大似然的策略来实现的。然而,必须应用广泛的策略搜索,以牺牲准确率来换取效率。为了自动且高效地添加辅助组件,我们提出了基于语言模型(如BERT)的深度强化学习框架。我们首先应用图注意力机制来缩减策略搜索空间,称为AttnStrategy,该方法仅关注与结论相关的组件。同时,提出了一种名为使用强化学习框架自动添加辅助组件(A3C-RL)的新算法,通过强制智能体选择顶级策略,该算法将AttnStrategy和BERT作为记忆组件。大量实验结果表明,与传统的MCTS相比,所提出的A3C-RL算法可将平均准确率显著提高32.7%。此外,A3C-RL算法在中国年度大学入学数学考试的几何问题上优于人类。

英文摘要:

In the context of online education, designing an automatic solver for geometric problems has been considered a crucial step towards general math Artificial Intelligence (AI), empowered by natural language understanding and traditional logical inference. In most instances, problems are addressed by adding auxiliary components such as lines or points. However, adding auxiliary components automatically is challenging due to the complexity in selecting suitable auxiliary components especially when pivotal decisions have to be made. The state-of-the-art performance has been achieved by exhausting all possible strategies from the category library to identify the one with the maximum likelihood. However, an extensive strategy search have to be applied to trade accuracy for ef-ficiency. To add auxiliary components automatically and efficiently, we present deep reinforcement learning framework based on the language model, such as BERT. We firstly apply the graph attention mechanism to reduce the strategy searching space, called AttnStrategy, which only focus on the conclusion-related components. Meanwhile, a novel algorithm, named Automatically Adding Auxiliary Components using Reinforcement Learning framework (A3C-RL), is proposed by forcing an agent to select top strategies, which incorporates the AttnStrategy and BERT as the memory components. Results from extensive experiments show that the proposed A3C-RL algorithm can substantially enhance the average precision by 32.7% compared to the traditional MCTS. In addition, the A3C-RL algorithm outperforms humans on the geometric questions from the annual University Entrance Mathematical Examination of China.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑