Abstract
A prerequisite relation describes a basic relation among concepts in cognition, education and other areas. However, as a semantic relation, it has not been well studied in computational linguistics. We investigate the problem of measuring prerequisite relations among concepts and propose a simple link-based metric, namely reference distance (RefD), that effectively models the relation by measuring how differently two concepts refer to each other. Evaluations on two datasets that include seven domains show that our single metric based method outperforms existing supervised learning based methods.
Introduction
When learning a new field, such as "Deep Learning," students intuitively recognize that certain concepts must be mastered before others—for instance, understanding "Neural Networks" is a prerequisite for "Deep Learning." While computational linguistics has extensively mapped synonyms and hierarchical "is-a" relations, the "must-know-before" dependency has been largely overlooked. Previous attempts to automate the identification of these relations relied on complex supervised learning with extensive hand-crafted features. This research introduces a more elegant, cognitively-motivated metric called Reference Distance (RefD) to measure these dependencies using the interconnected structure of Wikipedia.
The Reference Distance (RefD) Metric
The core innovation of this work is the RefD metric, which posits that a concept is defined by its "frame"—the set of other concepts related to it. If Concept A is a prerequisite for Concept B, we expect an asymmetry in how their respective frames interact.
RefD calculates the difference between two proportions:
- How often the concepts linked by Concept A refer to Concept B.
- How often the concepts linked by Concept B refer to Concept A.
The metric is normalized between -1 and 1. A high positive value indicates that B is a prerequisite for A, while a negative value suggests the inverse. The researchers explored two weighting schemes for these references: EQUAL (treating all links identically) and TF-IDF (weighting links that are more specific to the concept more heavily).
Datasets and Evaluation
The effectiveness of RefD was evaluated on two distinct benchmarks:
- CrowdComp: 1,600 concept pairs across five domains (e.g., Meiosis, Newton’s Laws) labeled by crowdsourced workers.
- Course Dataset: A new, more rigorous benchmark created by mapping university course prerequisites in Computer Science (CS) and Mathematics to Wikipedia articles, totaling 1,336 pairs.
Key Results
Experimental results demonstrate that this single, link-based metric surprisingly outperforms complex supervised models. On the Course dataset, RefD (using TF-IDF weighting) achieved F1 scores of 75.1% for CS and 71.9% for Math, significantly exceeding the Maximum Entropy (MaxEnt) baseline, which utilized a wide array of features including PageRank and content similarity.
Beyond raw performance, RefD showed remarkable robustness in "leave-one-domain-out" tests, suggesting it generalizes across different subjects better than supervised models that may overfit to specific domain features. In practical tests, RefD correctly identified "Machine Learning" as a prerequisite for "Deep Learning" while identifying "Deep Belief Networks" as a subsequent, more specialized topic.
Limitations and Future Work
While powerful, RefD's performance is tied to the richness of the underlying link structure. "Stub" articles or concepts without dedicated Wikipedia pages limit the metric's predictive power. Additionally, converting the continuous RefD score into a binary decision requires setting a threshold ($\theta$), which was found to vary slightly between datasets (e.g., 0.02 for the Course dataset vs. 0.05 for CrowdComp).
Future research aims to apply RefD to textbooks and scientific corpora to automate the creation of pedagogical reading orders and to integrate RefD as a high-signal feature within larger supervised learning frameworks.
Summary updated