Elamur Research⌕
☰
home / papers / 2005 / A Shortest Path Dependency Kernel for Relation Extraction

A Shortest Path Dependency Kernel for Relation Extraction

Summary

The paper tackles relation extraction: deciding whether, and how, two named entities in one sentence are related. The authors argue that nearly all the useful syntactic evidence lies on the shortest path linking the two entities in the undirected dependency graph, which is a much smaller structure than the minimal subtrees used by earlier tree kernels. Each path is a chain of words and arrows showing dependency direction. To reduce lexical sparsity, every position on the path is expanded into a set of word classes: the word itself, its POS tag, a coarser category, and the entity type at the endpoints. The feature space is the Cartesian product of these sets. An SVM compares examples through a kernel computed over these chains. Dependencies come from either a CCG parser or a CFG parser. On the five top-level ACE relation types, the shortest-path kernel beats the dependency tree kernel of Culotta and Sorensen (2004). The method is also fast and easy to interpret, which shows that a compact, well-chosen input representation can reduce overfitting while making the model more transparent.

Key points

  • Task: extract the 5 top-level relation types from the ACE newspaper corpus, with the entities assumed to be given. Two setups were tested: S1 uses a single multi-class SVM with an extra no-relation class, and S2 first detects a relation with a binary SVM and then classifies it.
  • Results (F-measure): SP-CFG reaches 50.5 (S1) and 52.5 (S2), SP-CCG reaches 48.0 and 50.2, and the baseline K4 kernel reaches 38.0 and 45.8. Most of the gain comes from recall, for example 43.8 vs 35.0 in S2.
  • SP-CFG did better than SP-CCG. Error analysis credited this to Collins' parser capturing local dependencies more accurately, even though CCG can also recover long-distance ones.
  • One example path, "protesters → seized ← stations", expands into 4×1×3×1×4 = 48 features.
  • Efficiency: each SP kernel run took 2–3 hours for training and testing on a 2.6GHz Pentium IV. Paths longer than 10 words were given a kernel value of 0. Normalizing the kernel slightly lowered accuracy.

Interesting ideas

  • I1. Cut the input down to the shortest dependency path. Removing everything except the connecting path acts as strong, linguistically motivated feature selection. It could help any pairwise task over parsed text, such as event–argument linking or entity linking within a sentence.
  • I2. Back off each path position to word classes. Letting every node appear as the word, its POS tag or a broad category produces generalized patterns, including partial ones, without hand-writing templates. This is a practical way to fight sparsity in morphologically rich languages, where exact word forms seldom repeat.
  • I3. Mark negation directly on path nodes. Adding a "(-)" suffix to verbs or nouns modified by words like "not", "never" or "no" keeps polarity inside the path representation at almost no cost. Without it, a relation and its denial would look identical.
  • I4. Use a transparent kernel. Every dimension corresponds to an explicit path feature, so the kernel can be restricted to pattern types considered relevant. That makes models easier to inspect and adjust than opaque tree kernels.
  • I5. Detect first, then classify, when data are skewed. Splitting the task into binary detection followed by multi-class typing improved recall when no-relation cases dominate. This setup could transfer to other imbalanced extraction tasks.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Natural language processing

Cited by

218 papers of our library cite it (of the 140884 whose bibliographies we read); 15 of them have a page here, 203 not yet.

Cite

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{bunescu2005shortest,
  title = {{A Shortest Path Dependency Kernel for Relation Extraction}},
  author = {Bunescu, Razvan and Mooney, Raymond},
  booktitle = {Proceedings of Human Language Technology Conference and Conference on Empirical Methods in Natural Language Processing},
  year = {2005},
  doi = {10.3115/1220575.1220666},
  url = {https://doi.org/10.3115/1220575.1220666}
}

References

14 references, 4 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Richard Campbell. 2004. Using linguistic principles to recover empty categories. In Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics (ACL-04), pages 645–652, Barcelona, Spain, July. find
  2. Michael J. Collins. 1997. Three generative, lexicalised models for statistical parsing. In Proceedings of the 35th Annual Meeting of the Association for Computational Linguistics (ACL-97), pages 16–23. find our card
  3. Nello Cristianini and John Shawe-Taylor. 2000. An Introduction to Support Vector Machines and Other Kernel-based Learning Methods. Cambridge University Press. find
  4. Aron Culotta and Jeffrey Sorensen. 2004. Dependency tree kernels for relation extraction. In Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics (ACL-04), Barcelona, Spain, July. find our card
  5. Ralph Grishman. 1995. Message Understanding Conference 6. http://cs.nyu.edu/cs/faculty/grishman/muc6.html. ↗
  6. Julia Hockenmaier and Mark Steedman. 2002. Generative models for statistical parsing with combinatory categorial grammar. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics (ACL-2002), pages 335–342, Philadelphia, PA. find
  7. Roger Levy and Christopher Manning. 2004. Deep dependencies from context-free statistical parsers: Correcting the surface dependency approximation. In Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics (ACL-04), pages 327–334, Barcelona, Spain, July. find
  8. NIST. 2000. ACE – Automatic Content Extraction. http://www.nist.gov/speech/tests/ace. ↗
  9. Soumya Ray and Mark Craven. 2001. Representing sentence structure in hidden Markov models for information extraction. In Proceedings of the Seventeenth International Joint Conference on Artificial Intelligence (IJCAI-2001), pages 1273–1279, Seattle, WA. find
  10. Bradley L. Richards and Raymond J. Mooney. 1992. Learning relations by pathfinding. In Proceedings of the Tenth National Conference on Artificial Intelligence (AAAI-92), pages 50–55, San Jose, CA, July. find
  11. D. Roth and W. Yih. 2004. A linear programming formulation for global inference in natural language tasks. In Proceedings of the Annual Conference on Computational Natural Language Learning (CoNLL), pages 1–8, Boston, MA. find our card
  12. Mark Steedman. 2000. The Syntactic Process. The MIT Press, Cambridge, MA. find
  13. Vladimir N. Vapnik. 1998. Statistical Learning Theory. John Wiley & Sons. find
  14. D. Zelenko, C. Aone, and A. Richardella. 2003. Kernel methods for relation extraction. Journal of Machine Learning Research, 3:1083–1106. find our card

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/bunescu-2005-shortest-path-dependency-kernel-relation/