GADePo: Graph-Assisted Declarative Pooling Transformers for Document-Level Relation Extraction

Andrei Coman, Christos Theodoropoulos, Marie-Francine Moens, James Henderson


Abstract
Document-level relation extraction typically relies on text-based encoders and hand-coded pooling heuristics to aggregate information learned by the encoder. In this paper, we leverage the intrinsic graph processing capabilities of the Transformer model and propose replacing hand-coded pooling methods with new tokens in the input, which are designed to aggregate information via explicit graph relations in the computation of attention weights. We introduce a joint text-graph Transformer model and a graph-assisted declarative pooling (GADePo) specification of the input, which provides explicit and high-level instructions for information aggregation. GADePo allows the pooling process to be guided by domain-specific knowledge or desired outcomes but still learned by the Transformer, leading to more flexible and customisable pooling strategies. We evaluate our method across diverse datasets and models and show that our approach yields promising results that are consistently better than those achieved by the hand-coded pooling functions.
Anthology ID:
2024.knowledgenlp-1.1
Volume:
Proceedings of the 3rd Workshop on Knowledge Augmented Methods for NLP
Month:
August
Year:
2024
Address:
Bangkok, Thailand
Editors:
Wenhao Yu, Weijia Shi, Michihiro Yasunaga, Meng Jiang, Chenguang Zhu, Hannaneh Hajishirzi, Luke Zettlemoyer, Zhihan Zhang
Venues:
KnowledgeNLP | WS
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
1–14
Language:
URL:
https://aclanthology.org/2024.knowledgenlp-1.1
DOI:
Bibkey:
Cite (ACL):
Andrei Coman, Christos Theodoropoulos, Marie-Francine Moens, and James Henderson. 2024. GADePo: Graph-Assisted Declarative Pooling Transformers for Document-Level Relation Extraction. In Proceedings of the 3rd Workshop on Knowledge Augmented Methods for NLP, pages 1–14, Bangkok, Thailand. Association for Computational Linguistics.
Cite (Informal):
GADePo: Graph-Assisted Declarative Pooling Transformers for Document-Level Relation Extraction (Coman et al., KnowledgeNLP-WS 2024)
Copy Citation:
PDF:
https://aclanthology.org/2024.knowledgenlp-1.1.pdf