Abstract: Mathematical symbol definition extraction is important for improving scholarly reading interfaces and scholarly information extraction (IE). However, the task poses several challenges: math symbols are difficult to process as they are not composed of natural language morphemes; and scholarly papers often contain sentences that require resolving complex coordinate structures. We present SymDef, an English language dataset of 5,927 sentences from full-text scientific papers where each sentence is annotated with all mathematical symbols linked with their corresponding definitions. This dataset focuses specifically on complex coordination structures such as "respectively" constructions, which often contain overlapping definition spans. We also introduce a new definition extraction method that masks mathematical symbols, creates a copy of each sentence for each symbol, specifies a target symbol, and predicts its corresponding definition spans using slot filling. Our experiments show that our definition extraction model significantly outperforms RoBERTa and other strong IE baseline systems by 10.9 points with a macro F1 score of 84.82. With our dataset and model, we can detect complex definitions in scholarly documents to make scientific writing more readable.
Introduction
Scientific literature is notoriously dense with mathematical notation. For human readers and automated systems alike, a major hurdle is the "respectively" construction. Consider the sentence: "Let $A, C$ and $v$ denote the within-layer adjacency, between-layer adjacency and the community label matrix, respectively."
For a machine, this is a nightmare. Standard Information Extraction (IE) systems typically attempt to identify all entities and relations in a single pass. However, in sentences with complex coordination structures, definition spans often overlap or are nested. Traditional tagging methods (like IOB tagging) fail when a single word must belong to multiple distinct definition spans simultaneously.
Methodology: TaDDEx
To address this, researchers developed TaDDEx (Targeted Definition Extraction). Instead of asking a model to find all definitions at once, TaDDEx reframes the problem as a targeted "slot-filling" task: "What is the definition of this specific symbol?"
The TaDDEx process involves four key steps:
- Masking: All mathematical symbols are replaced with a generic
SYMBOLtoken. - Duplication: The sentence is duplicated for every symbol it contains.
- Targeting: In each copy, one specific symbol is wrapped in special target tags (e.g.,
<s>SYMBOL</s>). - Prediction: A model—built on a RoBERTa-large backbone with a Conditional Random Field (CRF) layer—predicts the definition span only for the highlighted target.
By isolating one symbol at a time, the model bypasses the overlap problem entirely. It also incorporates syntactic features, such as parts of speech and dependency trees, to better parse the grammatical structure of the sentence.
The SymDef Dataset
Accompanying the model is SymDef, a dataset of 5,927 sentences extracted from 21 machine learning papers. Unlike previous datasets, SymDef specifically targets sentences with complex coordination, containing 913 such instances. Each sentence is meticulously annotated to link symbols with their corresponding definitions, even when those definitions are discontinuous or overlapping.
Key Results and Performance
TaDDEx achieved a Macro F1 score of 84.82, outperforming the strong RoBERTa baseline by 10.9 points. It also significantly surpassed other state-of-the-art IE frameworks like SciIE (63.22 F1) and DyGIE++ (73.92 F1).
A standout feature of TaDDEx is its stability. While most IE models see performance degrade as sentences become more crowded with symbols, TaDDEx maintains a remarkably consistent performance (around 85 F1) regardless of whether a sentence contains two symbols or ten. In contrast, general-purpose models like GPT-3 (few-shot) struggled significantly with precise span boundaries and the logic of "respectively" constructions.
Conclusion and Future Work
While TaDDEx represents a significant leap forward, it currently requires pre-identified symbol locations and treats all symbols as generic tokens, losing some semantic context (e.g., the standard meaning of $\mu$ or $\sum$). Future work aims to integrate this technology into "smart" reading interfaces, allowing researchers to hover over any symbol in a complex equation to see its definition instantly, significantly improving the accessibility of scientific writing.
Paper Citation: Martin-Boyle, A., Head, A., Lo, K., Sidhu, R., Hearst, M. A., & Kang, D. (2023). Complex Mathematical Symbol Definition Structures: A Dataset and Model for Coordination Resolution in Definition Extraction. arXiv:2305.14660v1.
Summary updated