HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Inter-GPS: Interpretable Geometry Problem Solving with Formal Language and Symbolic Reasoning

Pan Lu; Ran Gong; Shibiao Jiang; Liang Qiu; Siyuan Huang; Xiaodan Liang; Song-Chun Zhu

Inter-GPS: Interpretable Geometry Problem Solving with Formal Language and Symbolic Reasoning

Abstract

Geometry problem solving has attracted much attention in the NLP community recently. The task is challenging as it requires abstract problem understanding and symbolic reasoning with axiomatic knowledge. However, current datasets are either small in scale or not publicly available. Thus, we construct a new large-scale benchmark, Geometry3K, consisting of 3,002 geometry problems with dense annotation in formal language. We further propose a novel geometry solving approach with formal language and symbolic reasoning, called Interpretable Geometry Problem Solver (Inter-GPS). Inter-GPS first parses the problem text and diagram into formal language automatically via rule-based text parsing and neural object detecting, respectively. Unlike implicit learning in existing methods, Inter-GPS incorporates theorem knowledge as conditional rules and performs symbolic reasoning step by step. Also, a theorem predictor is designed to infer the theorem application sequence fed to the symbolic solver for the more efficient and reasonable searching path. Extensive experiments on the Geometry3K and GEOS datasets demonstrate that Inter-GPS achieves significant improvements over existing methods. The project with code and data is available at https://lupantech.github.io/inter-gps.

Code Repositories

lupantech/InterGPS
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
mathematical-question-answering-on-geometry3kInter-GPS
Accuracy (%): 57.5
mathematical-question-answering-on-geometry3kRandom
Accuracy (%): 25.0
mathematical-question-answering-on-geometry3kHuman Expert
Accuracy (%): 90.9
mathematical-question-answering-on-geometry3kInter-GPS (GT)
Accuracy (%): 78.3
mathematical-question-answering-on-geometry3kHuman
Accuracy (%): 56.9
mathematical-question-answering-on-geosInter-GPS
Accuracy (%): 67
mathematical-reasoning-on-pgps9kInter-GPS
Completion accuracy: 59.8
scene-parsing-on-pgdp5kInter-GPS
Total Accuracy: 27.3

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Inter-GPS: Interpretable Geometry Problem Solving with Formal Language and Symbolic Reasoning | Papers | HyperAI