Mathematical Entities: Corpora and Benchmarks
Jacob Collard, Valeria de Paiva, Eswaran Subrahmanian
TL;DR
NLP for mathematics is underdeveloped due to specialized notation and limited resources. The authors provide three category-theory–focused corpora (TAC, nLab, BCT) with POS tags, lemmas, and dependency annotations, and benchmark terminology extraction, definition extraction, and entity linking using multiple models, complemented by a context-sensitive learning assistant called Parmesan. Results show that terminology and definition extraction generalize poorly to mathematical text, and entity linking achieves only moderate precision, underscoring the need for domain adaptation and richer knowledge resources. The work supplies valuable math-specific language resources and a practical search/navigation tool to support research and education, with potential for expansion to other mathematical domains such as linear algebra.
Abstract
Mathematics is a highly specialized domain with its own unique set of challenges. Despite this, there has been relatively little research on natural language processing for mathematical texts, and there are few mathematical language resources aimed at NLP. In this paper, we aim to provide annotated corpora that can be used to study the language of mathematics in different contexts, ranging from fundamental concepts found in textbooks to advanced research mathematics. We preprocess the corpora with a neural parsing model and some manual intervention to provide part-of-speech tags, lemmas, and dependency trees. In total, we provide 182397 sentences across three corpora. We then aim to test and evaluate several noteworthy natural language processing models using these corpora, to show how well they can adapt to the domain of mathematics and provide useful tools for exploring mathematical language. We evaluate several neural and symbolic models against benchmarks that we extract from the corpus metadata to show that terminology extraction and definition extraction do not easily generalize to mathematics, and that additional work is needed to achieve good performance on these metrics. Finally, we provide a learning assistant that grants access to the content of these corpora in a context-sensitive manner, utilizing text search and entity linking. Though our corpora and benchmarks provide useful metrics for evaluating mathematical language processing, further work is necessary to adapt models to mathematics in order to provide more effective learning assistants and apply NLP methods to different mathematical domains.
