Journal of Jilin University(Engineering and Technology Edition) ›› 2025, Vol. 55 ›› Issue (1): 307-315.doi: 10.13229/j.cnki.jdxbgxb.20230259

Previous Articles    

Entity relationship extraction method based on local attention and local remote supervision

Xiao-ran GUO1(),Tie-jun WANG1,Yue YAN2   

  1. 1.School of Mathematics and Computer Science,Northwest Minzu University,Lanzhou 730030,China
    2.China National Information Technology Research Institute,Northwest Minzu University,Lanzhou 730030,China
  • Received:2023-03-23 Online:2025-01-01 Published:2025-03-28

Abstract:

In order to address the entity relation extraction of overlapping triplets in complex contexts, a joint extraction method called LARE is proposed, which is based on local attention and local remote supervision. First, the pointer hierarchical sequence annotation scheme is designed to solve the problem of entity overlap of triples. Second, a local attention mechanism is proposed, which uses a sliding window to calculate attention to focus on local details. Finally, A knowledge base is established, which is annotated by remote supervision during training, and some entity relationship pairs are randomly replaced to generate new training sentences, so as to enhance the fitting ability of the model. Through comparative experiments,the F1 value of the proposed method on the Baidu dataset and Thangka dataset reaches 81.49% and 53.07%, which improves the performance of relationship extraction in the case of entity overlap.

Key words: computer application, entity relation extraction, entity overlap, local attention mechanism, local remote supervision

CLC Number: 

  • TP391

Fig.1

Structure of entity relationship extraction model LARE"

Fig.2

Example of pointer-based hierarchical sequence labeling scheme"

Fig.3

Structure of DG_ CNN network"

Fig.4

Example of dataset annotation"

Table 1

Experimental parameter setting"

参数名称参数值
DG_CNN层数12
DG_CNN膨胀率1,2,5,1,2,5,1,2,5,1,1,1
DG_CNN卷积核大小3
Local Attention窗口尺寸3
Local Attention隐层维度128
BiLSTM隐层维度128
batch_size16
初始学习率0.001
主语首、尾位置阈值0.3
宾语首、尾位置阈值0.2

Table 2

Ablation experimental results of Baidu dataset"

模型名称P/%R/%F1/%
LARE-CNN80.0976.5178.26
LARE-Muti-head82.3278.5080.36
LARE-LDS82.5677.7580.08
LARE84.0279.1081.49

Table 3

Ablation experiment results of Thangka dataset"

模型名称P/%R/%F1/%
LARE-CNN77.1932.0745.31
LARE-Muti-head69.8636.1547.65
LARE-LDS84.9037.3251.85
LARE88.5137.9053.07

Table 4

Experimental results of model comparison on Thangka data set"

模型名称P/%R/%F1/%
BiLSTM-LSTM58.4628.6538.45
CopyRE56.3739.2646.28
LARE88.5137.9053.07
1 张少伟, 王鑫, 陈子睿, 等. 有监督实体关系联合抽取方法研究综述[J].计算机科学与探索, 2022, 16(4): 713-733.
Zhang Shao-wei, Wang Xin, Chen Zi-rui,et al. Survey of supervised joint entity relation extraction methods[J]. Journal of Frontiers of Computer Science and Technology, 2022, 16(4): 713-733.
2 欧阳丹彤, 肖君, 叶育鑫. 基于实体对弱约束的远监督关系抽取[J]. 吉林大学学报: 工学版, 2019, 49(3): 912-919.
Ouyang Dan-tong, Xiao Jun, Ye Yu-xin. Distant supervision for relation extraction with weak constraints of entity pairs[J]. Journal of Jilin University(Engineering and Technology Edition), 2019, 49(3): 912-919.
3 Kambhatla N. Combining lexical, syntactic, and semantic features with maximum entropy models for extracting relations[C]∥Proc of the ACL on Interactive Poster and Demonstration Sessions, Stroudsburg, USA, 2004: 22-26.
4 Miwa M, Bansal M. End-to-end relation extraction using LSTMs on sequences and tree structures[J/OL]. [2023-02-12]. .
5 Zheng S, Hao Y, Lu D, et al. Joint entity and relation extraction based on a hybrid neural network[J]. Neurocomputing, 2017, 257: 59-66.
6 Li F, Zhang M, Fu G, et al. A neural joint model for entity and relation extraction from biomedical text[J]. Bmc Bioinformatics, 2017, 18(1): 198-208.
7 Zheng S, Wang F, Bao H, et al. Joint extraction of entities and relations based on a novel tagging scheme[J/OL]. [2023-02-13]. arXiv preprint arXiv:1706. 05075v1.
8 Bekoulis G, Deleu J, Demeester T, et al. Joint entity recognition and relation extraction as a multi-head selection problem[J]. Expert Systems with Applications, 2018, 114: 34-45.
9 Zeng X R, Zeng D J, He S Z, et al. Extracting relational facts by an end-to-end neural model with copy mechanism[C]∥Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, Melbourne, Australia, 2018: 506-514.
10 Wang S, Zhang Y, Che W, et al. Joint extraction of entities and relations based on a novel graph scheme[C]∥The 27th International Joint Conference on Artificial Intelligence, Stockholm, Sweden,2018: 4461-4467.
11 Fu T J, Li P H, Ma W Y. GraphRel: modeling text as relational graphs for joint entity and relation extraction[C]∥Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy, 2019: 1409-1418.
12 冯冲, 康丽琪, 石戈, 等. 融合对抗学习的因果关系抽取[J].自动化学报, 2018, 44(5): 811-818.
Feng Chong, Kang Li-qi, Shi Ge, et al. Causality extraction with GAN[J]. Acta Automatica Sinica, 2018, 44(5): 811-818.
13 黄培馨, 赵翔, 方阳, 等. 融合对抗训练的端到端知识三元组联合抽取[J].计算机研究与发展, 2019, 56(12): 2536-2548.
Huang Pei-xin, Zhao Xiang, Fang Yang. End-to end knowledge triplet extraction combined with adversarial training[J]. Journal of Computer Research and Development, 2019, 56(12): 2536-2548.
14 杨穗珠, 刘艳霞, 张凯文, 等. 远程监督关系抽取综述[J].计算机学报,2021, 44(8): 1636-1660.
Yang Sui-zhu, Liu Yan-xia, Zhang Kai-wen, et al. Survey on distantly-supervised relation extraction[J]. Chinese Journal of Computers,2021,44(8):1636-1660.
15 Mintz M, Bills S, Snow R, et al. Distant supervision for relation extraction without labeled data[C]∥Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP, Suntec, Singapore, 2009: 1003-1011.
16 Zeng D J, Liu K, Chen Y B, et al. Distant supervision for relation extraction via piecewise convolutional neural networks[C]∥Conference on Empirical Methods in Natural Language Processing, Lisbon, Portugal, 2015: 1753- 1762.
17 Lin Y K, Shen S Q, Liu Z Y, et al. Neural relation extraction with selective attention over instances[C]∥The 54th Annual Meeting of the Association for Computational Linguistics, Berlin, Germany, 2016: 2124-2133.
18 Wu Y, Bamman D, Russell S. Adversarial training for relation extraction[C]∥Conference on Empirical Methods in Natural Language Processing, Copenhagen, Denmark, 2017: 1778-1783.
19 Feng J, Huang M L, Zhao L, et al. Reinforcement learning for relation classification from noisy data[C]∥The 32th AAAI Conference on Artificial Intelligence, New Orleans, USA, 2018: 5779-5786.
20 Shang Y, Huang H Y, Mao X L, et al. Are noisy sentences useless for distant supervised relation extraction?[C]∥The 34th AAAI Conference on Artificial Intelligence, New York, USA,2020: 8799-8806.
21 苏剑林. 百度2019语言与智能技术竞赛baseline模型 [EB/OL]. [2023-02-20].
Su Jian-lin. Baidu 2019 language and intelligent technology competition baseline model[EB/OL]. [2023-02-20].
22 Yu F, Koltun V. Multi-scale context aggregation by dilated convolutions[J/OL]. [2023-02-14]. .
23 Dauphin Y N, Fan A, Auli M, et al. Language modeling with gated convolutional networks[C]∥Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia, 2017: 933-941.
[1] Yuan-ning LIU,Zi-nan ZANG,Hao ZHANG,Zhen LIU. Deep learning-based method for ribonucleic acid secondary structure prediction [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(1): 297-306.
[2] Lu Li,Jun-qi Song,Ming Zhu,He-qun Tan,Yu-fan Zhou,Chao-qi Sun,Cheng-yu Zhou. Object extraction of yellow catfish based on RGHS image enhancement and improved YOLOv5 network [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(9): 2638-2645.
[3] Hong-wei ZHAO,Hong WU,Ke MA,Hai LI. Image classification framework based on knowledge distillation [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2307-2312.
[4] Yun-zuo ZHANG,Yu-xin ZHENG,Cun-yu WU,Tian ZHANG. Accurate lane detection of complex environment based on double feature extraction network [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(7): 1894-1902.
[5] Ming-hui SUN,Hao XUE,Yu-bo JIN,Wei-dong QU,Gui-he QIN. Video saliency prediction with collective spatio-temporal attention [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(6): 1767-1776.
[6] Yan-feng LI,Ming-yang LIU,Jia-ming HU,Hua-dong SUN,Jie-yu MENG,Ao-ying WANG,Han-yue ZHANG,Hua-min YANG,Kai-xu HAN. Infrared and visible image fusion based on gradient transfer and auto-encoder [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(6): 1777-1787.
[7] Li-ping ZHANG,Bin-yu LIU,Song LI,Zhong-xiao HAO. Trajectory k nearest neighbor query method based on sparse multi-head attention [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(6): 1756-1766.
[8] Li-ming LIANG,Long-song ZHOU,Jiang YIN,Xiao-qi SHENG. Fusion multi-scale Transformer skin lesion segmentation algorithm [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(4): 1086-1098.
[9] Yun-zuo ZHANG,Wei GUO,Wen-bo LI. Omnidirectional accurate detection algorithm for dense small objects in remote sensing images [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(4): 1105-1113.
[10] Dondrub LHAKPA,Duoji ZHAXI,Jie ZHU. Tibetan text normalization method [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(12): 3577-3588.
[11] Feng-feng ZHOU,Tao YU,Yu-si FAN. Generative adversarial autoencoder integrated voting algorithm based on mass spectral data [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(10): 2969-2977.
[12] Jin-peng TIAN,Bao-jun HOU. Compressive sensing image reconstruction based on deep unfolding self-attention network [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(10): 3018-3026.
[13] Na CHE,Yi-ming ZHU,Jian ZHAO,Lei SUN,Li-juan SHI,Xian-wei ZENG. Connectionism based audio-visual speech recognition method [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(10): 2984-2993.
[14] Fa-sheng WANG,Bing HE,Fu-ming SUN,Hui ZHOU. Adaptive content aware spatially-regularized correlation filter for object tracking [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(10): 3037-3049.
[15] Guang HUO,Da-wei LIN,Yuan-ning LIU,Xiao-dong ZHU,Meng YUAN,Di GAI. Lightweight iris segmentation model based on multiscale feature and attention mechanism [J]. Journal of Jilin University(Engineering and Technology Edition), 2023, 53(9): 2591-2600.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!