Skip to main content
QUICK REVIEW

[Paper Review] Fast and accurate annotation of short texts with Wikipedia pages

Paolo Ferragina, Ugo Scaiella|arXiv (Cornell University)|Jun 17, 2010
Topic ModelingComputer Science21 references10 citations
TL;DR

This paper introduces Tagme, a fast and accurate system for on-the-fly annotation of short texts—such as tweets, news snippets, and search results—with Wikipedia pages. By leveraging a novel scoring function that resolves synonymy and polysemy through in-link overlap and efficient window-based processing, Tagme achieves state-of-the-art performance on short texts, outperforming prior systems in both speed (1.7ms per anchor) and accuracy, while scaling linearly on long texts.

ABSTRACT

We address the problem of cross-referencing text fragments with Wikipedia pages, in a way that synonymy and polysemy issues are resolved accurately and efficiently. We take inspiration from a recent flow of work [Cucerzan 2007, Mihalcea and Csomai 2007, Milne and Witten 2008, Chakrabarti et al 2009], and extend their scenario from the annotation of long documents to the annotation of short texts, such as snippets of search-engine results, tweets, news, blogs, etc.. These short and poorly composed texts pose new challenges in terms of efficiency and effectiveness of the annotation process, that we address by designing and engineering TAGME, the first system that performs an accurate and on-the-fly annotation of these short textual fragments. A large set of experiments shows that TAGME outperforms state-of-the-art algorithms when they are adapted to work on short texts and it results fast and competitive on long texts.

Motivation & Objective

  • Address the challenge of accurately and efficiently annotating short, poorly structured texts—such as tweets, search snippets, and news items—with Wikipedia pages.
  • Overcome limitations of existing systems, which are optimized for long texts and suffer from high computational cost or low performance on short inputs.
  • Design a system that performs on-the-fly annotation without pre-processing, suitable for real-time applications like search engines and social media platforms.
  • Achieve high precision and recall in entity linking despite limited context and statistical signals in short texts.
  • Ensure scalability and low memory usage for deployment in production environments with high-throughput demands.

Proposed method

  • Use Wikipedia anchor texts as candidate spans (spots) to be annotated, with their corresponding Wikipedia pages as potential senses.
  • Model the annotation task as a global optimization problem that maximizes a coherence score combining in-link overlap and statistical features.
  • Introduce a fast, approximate scoring function based on in-link overlap between Wikipedia pages to resolve polysemy and synonymy efficiently.
  • Apply a sliding window mechanism (size w ≈ 10) over long texts to enable incremental computation of scores, reducing time complexity to O(L × w × s²) and achieving linear scaling with the number of anchors.
  • Implement a two-stage pipeline: (1) anchor parsing to extract candidate spans, and (2) disambiguation and pruning using the scoring function.
  • Optimize for low memory usage (200MB) and high speed by avoiding large in-memory caches, unlike prior systems such as Milne & Witten’s.

Experimental results

Research questions

  • RQ1Can a system achieve high precision and recall in annotating short texts with Wikipedia pages when traditional statistical signals are weak due to limited context?
  • RQ2How can polysemy and synonymy be resolved efficiently in short texts where multiple Wikipedia pages may correspond to the same anchor?
  • RQ3What is the time complexity of on-the-fly annotation, and can it be made linear in the number of anchors for long texts?
  • RQ4How does the performance of the proposed system compare to state-of-the-art systems like [10] and [14] on both short and long texts?
  • RQ5Can the system be deployed in real-time environments with low memory and low latency, such as search engines or social media platforms?

Key findings

  • Tagme achieves an F-measure superior to prior systems on short texts, outperforming both [10] and [14] in accuracy and speed.
  • On short texts with ~10 anchors, Tagme processes each text in approximately 18ms, with 1.7ms per anchor, which is more than an order of magnitude faster than the 95ms per text reported in [14].
  • When applied to long texts, Tagme scales linearly with the number of anchors (O(L × w × s²)), while [10] scales mildly quadratically, making Tagme significantly more scalable.
  • Tagme uses only 200MB of internal memory, compared to 1.4GB required by the cached version of [14], and avoids heap overflow issues during batch processing.
  • The system maintains high precision and recall on diverse datasets, including manually annotated news from the iitb dataset, confirming its robustness in real-world settings.
  • User studies and performance on large-scale Wikipedia-based datasets suggest that Tagme’s performance generalizes well to real-world applications beyond synthetic benchmarks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.