NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Finding Short Definitions of Terms on Web Pages

Gerasimos Lampouras, Ion AndroutsopoulosEMNLP 2009

Abstract

This paper presents a system to automatically find short, single-snippet definitions of terms on the Web, targeting words too new, obscure, or specialized for standard online encyclopedias. It uses a Maximum Entropy classifier trained on automatically labeled Web snippets, leveraging the ROUGE-W metric to pseudo-label training data without human intervention, resulting in a highly accurate and language-independent definition extraction tool.

The Challenge of Defining the "Undefined"

Standard search engines often rely on curated sources like Wikipedia or dictionary.com to provide definitions. However, these repositories frequently lag behind the emergence of new slang, niche industry jargon, or highly specific scientific concepts. While definitions for these terms often exist within the vast expanse of the Web—hidden in blogs, news articles, or forums—generic search engines struggle to isolate these specific definitional snippets from pages that merely mention the term.

The authors address this by developing a system to extract self-contained, single-snippet definitions (approximately 250 characters) from arbitrary Web pages. A key constraint of the project was to achieve high accuracy without the need for expensive, manually labeled training data.

Methodology: Unsupervised Learning via ROUGE-W

The core of the system is a Maximum Entropy (MAXENT) classifier that evaluates candidate text "windows" centered around a target term. To train this classifier without manual labeling, the authors introduced Automatic Tagging of Training Windows (ATTW).

Automatic Tagging and Feature Engineering

The ATTW method identifies terms that already have known encyclopedia definitions and fetches corresponding Web snippets. It then compares these snippets to the gold-standard encyclopedia text using ROUGE-W (a weighted longest common subsequence measure). Snippets with high ROUGE-W scores are automatically labeled as positive training examples, while those with low scores are labeled negative.

Precision-recall curves for positive training examples, comparing the proposed ATTW (ROUGE-W) method against the centroid baseline.

As shown in the figure above, the ATTW method significantly outperforms traditional centroid-based cosine similarity. By capturing the structural flow of a definition rather than just bag-of-words overlap, ATTW provides a much cleaner training set for the classifier.

Soft Pattern Matching

Beyond standard features like page rank and snippet position, the system employs "soft-matching" for lexical patterns (e.g., "[term], a/an/the..."). Instead of rigid Boolean matching, it uses ROUGE-W to calculate a continuous similarity score between a text snippet and learned patterns. This makes the system robust to the noisy and varied phrasing typical of Web content. Notably, the system avoids heavy linguistic tools like POS taggers, ensuring it remains easily portable to other languages.

Performance and Comparative Analysis

The system was tested using 200 distinct terms, with Web snippets extracted via the Altavista search engine. The evaluation focused on the system's ability to retrieve at least one correct definition within its top results.

Percentage of correct responses as a function of training set size, showing the proposed system outperforming several baselines.

Key Results

  • High Accuracy: When trained on 1,500 terms, the system successfully returned at least one correct definition in its top 5 results for 80-90% of test queries.
  • Effective Ranking: The system achieved a Mean Reciprocal Rank (MRR) of approximately 0.65, indicating that the first correct definition typically appears as the first or second result.
  • Superiority over Baselines: The system significantly outperformed existing state-of-the-art methods, such as the soft-pattern matching system by Cui et al., which relies more heavily on complex linguistic preprocessing.

Conclusion and Future Directions

The proposed system demonstrates that high-quality definition extraction can be achieved through unsupervised pseudo-labeling and robust soft-pattern matching. While currently limited to plain text snippets, future iterations could exploit HTML markup (like italics or bold text) and hyperlink structures to further refine results. The authors intend to integrate this technology into "INDIGO," an autonomous robotic museum guide, allowing it to provide real-time definitions for niche exhibits based on live Web data.

Summary updated

BibTeX
@inproceedings{lampouras2009finding,
  author = {Gerasimos Lampouras and Ion Androutsopoulos},
  title = {{Finding Short Definitions of Terms on Web Pages}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2009},
  url = {https://openreview.net/forum?id=VJsymbZwjTu},
}
Figure