Introduction
In specialized fields like biomedicine, extracting relationships often involves identifying links between three or more entities ($n$-ary relations) that may be scattered across multiple sentences. For instance, identifying a ternary relation between a drug, a gene, and a specific mutation is crucial for precision medicine.
Traditional approaches often simplify document graphs into Directed Acyclic Graphs (DAGs) to fit standard LSTM architectures. However, this "graph-splitting" process leads to significant information loss by breaking cycles and ignoring sibling relationships. Furthermore, sequential DAG processing fails to fully utilize modern GPU parallelism.
Methodology: Graph State LSTM
The Graph State LSTM (GS-LSTM), presented at EMNLP 2018, addresses these issues by treating the entire document graph as a single state. Instead of sequential processing, the model updates the hidden states of all words in parallel through message passing.
Each word node receives information from its neighbors via gated transitions, allowing the model to decide which linguistic features are most relevant. By iterating this process over multiple steps, information propagates across the graph, capturing long-range dependencies without sacrificing structural integrity. This parallel update mechanism makes the GS-LSTM significantly more efficient than its predecessors.
Evaluation and Results
The model was benchmarked on the PubMed N-ary Relation Dataset, which contains thousands of drug-gene-mutation relation instances.
Performance and Speed
The GS-LSTM achieved a state-of-the-art accuracy of 83.2% on ternary relation tasks, outperforming the bidirectional DAG-LSTM baseline by 5.9%. Crucially, the model is 8x to 10x faster during both training and decoding because it avoids the sequential constraints of DAG-based models.
Robustness to Complexity
The GS-LSTM showed a marked advantage as document length and complexity increased. In multi-class classification tasks identifying specific drug response types, it outperformed the baseline by nearly 20 percentage points (71.1% vs 51.7%), highlighting the importance of preserving full linguistic context for nuanced understanding.
Conclusion
The Graph State LSTM offers a more accurate and efficient framework for $n$-ary relation extraction. By modeling documents as unified graph states and utilizing parallel updates, it overcomes the limitations of previous graph-simplification methods, providing a robust solution for complex information extraction tasks in specialized domains.
Summary updated