[Paper Review] Description of the Odin Event Extraction Framework and Rule Language
This paper introduces Odin, a domain-independent, rule-based event extraction framework that combines syntactic dependency patterns with surface-level token patterns for robust and efficient information extraction. It enables rapid development of complex event models through a declarative YAML-based rule language, achieving over 100 sentences per second in real-world applications with high accuracy and extensibility via custom Scala actions.
This document describes the Odin framework, which is a domain-independent platform for developing rule-based event extraction models. Odin aims to be powerful (the rule language allows the modeling of complex syntactic structures) and robust (to recover from syntactic parsing errors, syntactic patterns can be freely mixed with surface, token-based patterns), while remaining simple (some domain grammars can be up and running in minutes), and fast (Odin processes over 100 sentences/second in a real-world domain with over 200 rules). Here we include a thorough definition of the Odin rule language, together with a description of the Odin API in the Scala language, which allows one to apply these rules to arbitrary texts.
Motivation & Objective
- To address the lack of a standardized, accessible language for rule-based information extraction in NLP.
- To enable rapid development of domain-specific event extraction grammars with minimal setup time.
- To combine syntactic and surface-level patterns for robustness against parsing errors.
- To provide a high-performance, extensible framework that supports complex event structures and semantic constraints.
Proposed method
- The Odin framework uses a declarative YAML-based rule language to define event triggers and arguments using both dependency and token-level patterns.
- Rules are expressed using named arguments, quantifiers, and zero-width assertions to model complex syntactic and semantic constraints.
- The system integrates with NLP pipelines (e.g., Stanford CoreNLP) to access part-of-speech, lemma, named entity, and dependency parse information.
- Event extraction is accelerated by using lexico-morphological triggers as shallow filters to reduce search space before applying complex syntactic patterns.
- Custom actions in Scala can be attached to rules for handling complex phenomena like coreference resolution or post-processing.
- The Odin API allows programmatic instantiation of grammars and execution on annotated text, with output in structured JSON format.
Experimental results
Research questions
- RQ1How can a rule-based event extraction system be designed to be both powerful and simple to use across diverse domains?
- RQ2What design principles enable high performance and robustness in event extraction despite parsing errors?
- RQ3How can a unified rule language support both surface-level and syntactic patterns in a single framework?
- RQ4What is the impact of using trigger-based filtering on processing speed in real-world applications?
- RQ5How can extensibility be achieved without sacrificing performance or maintainability?
Key findings
- Odin achieves over 100 sentences per second on a standard laptop with a grammar of 211 rules in a real-world biomedical domain.
- The framework supports complex event structures, including recursive events and multiple arguments with the same name.
- Mixing surface-level and syntactic patterns enables robust extraction even when dependency parsing fails.
- The rule language allows for powerful pattern matching using extended regular expressions over dependency graphs with directional operators.
- Custom actions in Scala can be seamlessly integrated into the rule system for handling non-trivial post-processing tasks.
- The system can be up and running in minutes with minimal configuration, supporting rapid prototyping and domain transfer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.