Boosting Document-Level Relation Extraction by Mining and Injecting Logical Rules
Shengda Fan, Shasha Mo, Jianwei Niu
Abstract
Document-level relation extraction (DocRE) aims at extracting relations of all entity pairs in a document. A key challenge to DocRE lies in the complex interdependency between the relations of entity pairs. Unlike most prior efforts focusing on implicitly powerful representations, the recently proposed LogiRE (Ru et al., 2021) explicitly captures the interdependency by learning logical rules. However, Lo-giRE requires extra parameterized modules to reason merely after training backbones, and this disjointed optimization of backbones and extra modules may lead to sub-optimal results. In this paper, we propose MILR, a logic enhanced framework that boosts DocRE by Mining and Injecting Logical Rules. MILR first mines logical rules from annotations based on frequencies. Then in training, consistency regularization is leveraged as an auxiliary loss to penalize instances that violate mined rules. Finally, MILR infers from a global perspective based on integer programming. Compared with LogiRE, MILR does not introduce extra parameters and injects logical rules during both training and inference. Extensive experiments on two benchmarks demonstrate that MILR not only improves the relation extraction performance (1.1%-3.8% F1) but also makes predictions more logically consistent (over 4.5% Logic). More importantly, MILR also consistently outperforms LogiRE on both counts. Code is available at https:// github.com/XingYing-stack/MILR .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers4
- Generalizing Experience for Language Agents with Hierarchical MetaFlowsShengda Fan, Xin Cong, Zhong Zhang, Yuepeng Fu et al.NeurIPS 2025 · 7 citations
- LogicST: A Logical Self-Training Framework for Document-Level Relation Extraction with Incomplete AnnotationsShengda Fan, Yanting Wang, Shasha Mo, Jianwei NiuEMNLP 2024 · 6 citations
- Document-level Relationship Extraction by Bidirectional Constraints of Beta RulesYichun Liu, Zizhong Zhu, Xiaowang Zhang, Zhiyong Feng et al.EMNLP 2023 · 4 citations
- End-to-end Learning of Logical Rules for Enhancing Document-level Relation ExtractionKunxun Qi, Jianfeng Du, Hai WanACL 2024
Builds on6
- Double Graph Based Reasoning for Document-level Relation ExtractionShuang Zeng, Runxin Xu, Baobao Chang, Lei LiEMNLP 2020 · 238 citations
- Entity Structure Within and Throughout: Modeling Mention Dependencies for Document-Level Relation ExtractionBenfeng Xu, Quan Wang, Yajuan Lyu, Yong Zhu et al.AAAI 2021 · 200 citations
- Integrating Deep Learning with Logic Fusion for Information ExtractionWenya Wang, Sinno Jialin PanAAAI 2020 · 55 citations
- UniKER: A Unified Framework for Combining Embedding and Definite Horn Rule Reasoning for Knowledge Graph InferenceKewei Cheng, Ziqing Yang, Ming Zhang, Yizhou SunEMNLP 2021 · 37 citations
- Learning Logic Rules for Document-Level Relation ExtractionDongyu Ru, Changzhi Sun, Jiangtao Feng, Lin Qiu et al.EMNLP 2021 · 28 citations
Related papers
- Revisiting Document-Level Relation Extraction with Context-Guided Link PredictionMonika Jain, Raghava Mutharaju, Ramakanth Kavuluru, Kuldeep SinghAAAI 2024 · 17 citations
- Towards Better Document-level Relation Extraction via Iterative InferenceLiang Zhang, Jinsong Su, Yidong Chen, Zhongjian Miao et al.EMNLP 2022 · 11 citations
- SRF: Enhancing Document-Level Relation Extraction with a Novel Secondary Reasoning FrameworkFu Zhang, Qi Miao, Jingwei Cheng, Hongsen Yu et al.EMNLP 2024 · 2 citations
- Exploring Self-Distillation Based Relational Reasoning Training for Document-Level Relation ExtractionLiang Zhang, Jinsong Su, Zijun Min, Zhongjian Miao et al.AAAI 2023 · 15 citations
- COMM: Concentrated Margin Maximization for Robust Document-Level Relation ExtractionZhichao Duan, Tengyu Pan, Zhenyu Li, Xiuxing Li et al.AAAI 2025 · 1 citation
