[Paper Review] Math-KG: Construction and Applications of Mathematical Knowledge Graph
This paper proposes Math-KG, a pipeline-based mathematical knowledge graph constructed from Baidu Baike and Wikipedia using NLP techniques like BERT+CRF for entity recognition and BERT+Attention for relation classification. It achieves 92.62% F1 on knowledge entity recognition and 85.09% on relation classification, enabling applications like fault analysis and semantic search in math education.
Recently, the explosion of online education platforms makes a success in encouraging us to easily access online education resources. However, most of them ignore the integration of massive unstructured information, which inevitably brings the problem of extit{information overload} and extit{knowledge trek}. In this paper, we proposed a mathematical knowledge graph named Math-KG, which automatically constructed by the pipeline method with the natural language processing technology to integrate the resources of the mathematics. It is built from the corpora of Baidu Baike, Wikipedia. We implement a simple application system to validate the proposed Math-KG can make contributions on a series of scenes, including faults analysis and semantic search. The system is publicly available at GitHub \footnote{\url{https://github.com/wjn1996/Mathematical-Knowledge-Entity-Recognition}.}.
Motivation & Objective
- To address information overload and knowledge fragmentation in online math education by integrating unstructured resources.
- To construct a large-scale, structured mathematical knowledge base from semi-structured and unstructured corpora.
- To evaluate the performance of NLP-based pipeline components for knowledge extraction in mathematics.
- To validate Math-KG in practical educational applications such as fault analysis and semantic search.
Proposed method
- Constructed Math-KG using a pipeline of corpus preprocessing, named entity recognition, relation classification, and knowledge fusion.
- Collected data from Baidu Baike and Wikipedia using web crawlers, extracting categories, abstracts, main bodies, infoboxes, and formulas.
- Preprocessed text with spaCy for tokenization, POS tagging, and dependency parsing; converted mathematical formulas to LaTeX using MathOCR.
- Defined six relation types: dependency, affiliation, equivalence, opposition, synonyms, and has properties.
- Trained BERT+CRF on 8,950 samples for knowledge entity recognition (KER), achieving 92.62% F1.
- Trained BERT+Attention+Softmax on 13,365 samples for entity relation classification (ERC), achieving 85.09% F1.
Experimental results
Research questions
- RQ1Can a pipeline-based NLP approach effectively extract structured knowledge from unstructured mathematical texts?
- RQ2How accurately can NLP models identify mathematical entities and their relations in Chinese and English educational texts?
- RQ3Can a constructed mathematical knowledge graph support practical educational applications like fault analysis and semantic search?
- RQ4What is the performance of entity recognition and relation classification in a low-resource mathematical NLP setting?
Key findings
- The knowledge entity recognition (KER) model achieved 92.62% F1 score on the test set, indicating strong performance in identifying mathematical entities.
- The entity relation classification (ERC) model achieved 85.09% F1 score, demonstrating effective recognition of six predefined mathematical relations.
- The final Math-KG contains 1,905 mathematical knowledge point entities and 8,019 triples, with 1,337 concept entities and 568 theorem entities.
- The relation distribution shows 2,016 dependency, 2,609 affiliation, 76 equivalence, 301 opposition, 493 synonyms, and 2,524 'has properties' triples.
- The fault analysis application successfully identified root causes of student errors by analyzing sub-graphs of related knowledge points.
- The semantic search system correctly retrieved multi-hop paths, such as from 'triangle' to 'circumscribed circle radius', using TransE embeddings and similarity scoring.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.