MathDSL:一种通过程序综合生成简洁数学解答的领域特定语言
MathDSL: A Domain-Specific Language for Concise Mathematical Solutions Via Program Synthesis
AI总结:
本研究提出用于数学方程求解的领域特定语言MathDSL,结合程序综合系统DreamCoder,在求解准确率、解答简洁性上均优于现有强化学习方法,还能生成可解释的求解策略,可应用于数学教育。
摘要:
我们提出了MathDSL,这是一种用于数学方程求解的领域特定语言(DSL),当部署在程序综合模型中时,其性能优于当前最先进的基于强化学习的方法。我们还引入了一种衡量数学解答简洁性的量化指标,并证明了与其他方法相比,所生成解答的质量有所提升。我们的系统表明,使用MathDSL的程序综合系统(DreamCoder)生成的求解线性方程的程序,比使用强化学习系统的程序具有更高的准确率和简洁性。此外,我们证明,如果将先前强化学习系统的动作空间作为DSL,MathDSL的性能优于动作空间DSL。我们使用DreamCoder将方程求解策略作为已学习的抽象存储在其程序库中,并证明通过使用MathDSL,这些策略可以转化为人类可解释的解答策略,可应用于数学教育领域。
英文摘要:
We present MathDSL, a Domain-Specific Language (DSL) for mathematical equation solving, which, when deployed in program synthesis models, outperforms state-of-the-art reinforcement-learning-based methods. We also introduce a quantitative metric for measuring the conciseness of a mathematical solution and demonstrate the improvement in the quality of generated solutions compared to other methods. Our system demonstrates that a program synthesis system (DreamCoder) using MathDSL can generate programs that solve linear equations with greater accuracy and conciseness than using reinforcement learning systems. Additionally, we demonstrate that if we use the action spaces of previous reinforcement learning systems as DSLs, MathDSL outperforms the action-space-DSLs. We use DreamCoder to store equation-solving strategies as learned abstractions in its program library and demonstrate that by using MathDSL, these can be converted into human-interpretable solution strategies that could have applications in mathematical education.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。