TAGME: On-the-fly Annotation of Short Text Fragments (by Wikipedia Entities)
Paper · 2010 · Paolo Ferragina and Ugo Scaiella
Summary
TAGME links mentions in very short, noisy texts to Wikipedia pages. Its targets are search-result snippets, tweets and news items. Earlier annotators handle these inputs poorly. Milne&Witten depend on unambiguous context anchors, which short fragments often lack. Chakrabarti et al. are too slow for query-time use.
TAGME treats Wikipedia anchor texts as candidate spots and their target pages as possible senses, built from the November 6, 2009 Wikipedia snapshot. To rank the senses of one anchor, every other anchor in the fragment casts a vote. The vote is the average relatedness of that anchor's own senses to the candidate, weighted by how common each sense is. A threshold-based disambiguator then keeps the best-scoring senses and picks the most common one among them. A pruning step drops anchors whose link probability and coherence with the rest of the text are both weak.
On short fragments TAGME beats the adapted baselines, with an F-measure of about 78% and a tunable precision/recall trade-off. It needs under 2ms per anchor. This makes concept-graph annotation cheap enough for on-the-fly use.
Key points
- Resources:
- The dictionary has about 3M anchors and about 2.7M sense pages, both indexed with Lucene.
- A link graph of about 147M edges is held in memory with Webgraph.
- Disambiguation, list and redirect pages are removed from the senses.
- Datasets:
- The iitb dataset has about 100 documents and 19K anchors, 40% of them marked as no-annotation (na). It was cut into 30-word fragments.
- Wiki-Disamb30 has 1.4M short Wikipedia texts and was used to test disambiguation.
- Wiki-Annot30 was used to test the full system.
- Tuning:
- The best settings were Disambiguation by Threshold (dt) with τ = 2% and ε = 30%.
- For pruning, ρ AVG was preferred over the regression-trained ρ LR because it needs no training. LR was trained on 50K fragments and tested on 100K.
- Results:
- F-measure is about 78%, with precision up to 90% or recall up to 80%.
- On long texts, a sliding window of about 10 anchors gives results above Milne&Witten's reported 74.8%.
- Speed:
- TAGME takes under 2ms per anchor, versus more than 2 secs for 15 anchors reported for Chakrabarti's system.
- Its cost grows linearly with the number of anchors.
Interesting ideas
- I1. Ambiguous neighbours still contribute context: each one votes with the prior-weighted average fit of all its readings, so a fragment without any unambiguous anchor can still be resolved.
- I2. Two-stage choice: first keep the senses whose contextual score is close to the best, then let the prior (commonness) decide among them, since context scores are too rough to separate near-ties.
- I3. An explicit "no annotation" outcome (na) is controlled by one threshold, so the system can choose not to link and expose a precision/recall knob to users.
- I4. Long gold-annotated documents are chopped into 30-word pieces to build a realistic short-input benchmark without new annotation work.
- I5. Link probability (how often a phrase appears as a link versus as plain text) is a cheap signal of whether a span deserves annotation at all.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (world): when grounding entity mentions to Wikidata, let every mention vote with the prior-weighted relatedness of its candidates, rather than relying only on mentions already resolved.
- I2 (frames): when several VerbNet classes or frames fit the context almost equally well, pick the most frequent among the near-top ones, and record that rule in the explanation trace.
- I3 (learn): report linking and frame-assignment quality as a curve over such an abstain threshold, not as a single point, so trade-offs stay visible.
- I4 (learn): slice existing annotated stories and treebank documents into short windows to test how components behave when context is scarce.
- I5 (tokens): use a similar corpus-derived "is it usually a unit/name" ratio to decide when multiword spans should be kept together as candidate named units.
Institutions
Fields, topics and concepts
Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 worksInformation Systems · 1,888 works
Concepts 2Key ideas and methods explained on our concept pages.Linguistic annotation · 26 worksInverted index · 26 works
Cite
Cite as Paolo Ferragina and Ugo Scaiella. 2010. TAGME: On-the-fly Annotation of Short Text Fragments (by Wikipedia Entities). CIKM 2010.
@inproceedings{ferragina2010tagme,
title = {{TAGME: On-the-fly Annotation of Short Text Fragments (by Wikipedia Entities)}},
author = {Paolo Ferragina and Ugo Scaiella},
booktitle = {CIKM 2010},
year = {2010},
doi = {10.1145/1871437.1871689},
url = {https://doi.org/10.1145/1871437.1871689}
}References
- C. Carpineto, S. Osiński, G. Romano, and D. Weiss. A survey of web clustering engines. ACM Comput. Surv., 41(3):1–38, 2009. OpenAlex ↗ · Scholar ↗
- S. Cucerzan. Large-scale named entity disambiguation based on Wikipedia data. Proc. of Empirical Methods in NLP, 2007. OpenAlex ↗ · Scholar ↗
- P. Ferragina and A. Gulli. A personalized search engine based on web-snippet hierarchical clustering. Softw. Pract. & Exper., 38(2): 189-225, 2008. OpenAlex ↗ · Scholar ↗
- P. Ferragina and U. Scaiella. TAGME: On-the-fly annotation of short text fragents (by Wikipedia entities). Available on http://arxiv.org/abs/1006.3498. — arXiv:1006.3498 OpenAlex ↗ · Scholar ↗
- S. Kulkarni, A. Singh, G. Ramakrishnan, and S. Chakrabarti. Collective annotation of Wikipedia entities in web text. In Proc. ACM KDD, 457–466, 2009. OpenAlex ↗ · Scholar ↗
- R. Mihalcea and A. Csomai. Wikify!: linking documents to encyclopedic knowledge. In Proc. ACM CIKM, 233–242, 2007. OpenAlex ↗ · Scholar ↗
- D. Milne and I. H. Witten. An effective, low-cost measure of semantic relatedness obtained from Wikipedia links. In Proc. AAAI Workshop on Wikipedia and Artificial Intelligence, 2008. OpenAlex ↗ · Scholar ↗
- D. Milne and I. H. Witten. Learning to link with Wikipedia. In Proc. ACM CIKM, 509–518, 2008. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/ferragina-2010-tagme-fly-annotation-short/