Proceedings

FastRE: Towards Fast Relation Extraction with Convolutional Encoder and Improved Cascade Binary Tagging Framework

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 4201-4208.

https://doi.org/10.24963/ijcai.2022/583

Abstract

Recent work for extracting relations from texts has achieved excellent performance. However, most existing methods pay less attention to the efficiency, making it still challenging to quickly extract relations from massive or streaming text data in realistic scenarios. The main efficiency bottleneck is that these methods use a Transformer-based pre-trained language model for encoding, which heavily affects the training speed and inference speed. To address this issue, we propose a fast relation extraction model (FastRE) based on convolutional encoder and improved cascade binary tagging framework. Compared to previous work, FastRE employs several innovations to improve efficiency while also keeping promising performance. Concretely, FastRE adopts a novel convolutional encoder architecture combined with dilated convolution, gated unit and residual connection, which significantly reduces the computation cost of training and inference, while maintaining the satisfactory performance. Moreover, to improve the cascade binary tagging framework, FastRE first introduces a type-relation mapping mechanism to accelerate tagging efficiency and alleviate relation redundancy, and then utilizes a position-dependent adaptive thresholding strategy to obtain higher tagging accuracy and better model generalization. Experimental results demonstrate that FastRE is well balanced between efficiency and performance, and achieves 3-10$\times$ training speed, 7-15$\times$ inference speed faster, and 1/100 parameters compared to the state-of-the-art models, while the performance is still competitive. Our code is available at \url{https://github.com/seukgcode/FastRE}.

  1. [Dauphin et al., 2017] Yann N Dauphin, Angela Fan, Michael Auli, and David Grangier. Language modeling with gated convolutional networks. In ICML, 2017.
  2. [Devlin et al., 2019] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understand- ing. In NAACL, 2019.
  3. [Dong et al., 2014] Xin Dong, Evgeniy Gabrilovich, Geremy Heitz, and et al. Knowledge vault: A web-scale approach to probabilistic knowledge fusion. In SIGKDD, 2014.
  4. [dos Santos et al., 2015] Cícero dos Santos, Bing Xiang, and Bowen Zhou. Classifying relations by ranking with con- volutional neural networks. In ACL, 2015.
  5. [Gehring et al., 2017] Jonas Gehring, Michael Auli, David Grangier, and et al. Convolutional sequence to sequence learning. In ICML, 2017.
  6. [Goyal et al., 2017] Priya Goyal, Piotr Dollár, Ross Gir- shick, and et al. Accurate, large minibatch sgd: Train- ing imagenet in 1 hour. arXiv preprint arXiv:1706.02677, 2017.
  7. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In CVPR, 2016.
  8. [Huguet Cabot and Navigli, 2021] Pere-Lluís Huguet Cabot and Roberto Navigli. REBEL: Relation extraction by end- to-end language generation. In Findings of EMNLP, 2021.
  9. [Lewis et al., 2020] Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In ACL, 2020.
  10. [Loshchilov and Hutter, 2019] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In ICLR, 2019.
  11. [Nayak and Ng, 2020] Tapas Nayak and Hwee Tou Ng. Ef- fective modeling of encoder-decoder architecture for joint entity and relation extraction. In AAAI, 2020.
  12. [Pennington et al., 2014] Jeffrey Pennington, Richard Socher, and Christopher D Manning. Glove: Global vectors for word representation. In EMNLP, 2014.
  13. [Ren et al., 2021] Feiliang Ren, Longhui Zhang, Shujuan Yin, and et al. A novel global feature-oriented relational triple extraction model based on table filling. In EMNLP, 2021.
  14. [Srivastava et al., 2014] Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, and et al. Dropout: a simple way to prevent neural networks from overfitting. The Journal of Machine Learning Research, 15(1):1929-1958, 2014.
  15. [Sui et al., 2021] Dianbo Sui, Yubo Chen, Kang Liu, and et al. Joint entity and relation extraction with set prediction networks. In CoRR, 2021. [Takanobu et al., 2019]
  16. Ryuichi Takanobu, Tianyang Zhang, Jiexi Liu, and Minlie Huang. A hierarchical framework for relation extraction with reinforcement learning. In AAAI, 2019.
  17. [Takase et al., 2015] Sho Takase, Naoaki Okazaki, and Ken- taro Inui. Fast and large-scale unsupervised relation ex- traction. In PACLIC, 2015.
  18. [Tran and Kavuluru, 2019] Tung Tran and Ramakanth Kavu- luru. Neural metric learning for fast end-to-end relation extraction. arXiv preprint arXiv:1905.07458, 2019.
  19. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, and et al. Attention is all you need. In NIPS, 2017.
  20. [Wang et al., 2020] Yucheng Wang, Bowen Yu, Yueyang Zhang, and et al. TPLinker: Single-stage joint extrac- tion of entities and relations through token pair linking. In COLING, 2020.
  21. [Wei et al., 2020] Zhepei Wei, Jianlin Su, Yue Wang, and et al. A novel cascade binary tagging framework for re- lational triple extraction. In ACL, 2020.
  22. [Xie et al., 2021] Chenhao Xie, Jiaqing Liang, Jingping Liu, Chengsong Huang, Wenhao Huang, and Yanghua Xiao. Revisiting the negative data of distantly supervised rela- tion extraction. In ACL, 2021.
  23. [Yu and Koltun, 2016] Fisher Yu and Vladlen Koltun. Multi- scale context aggregation by dilated convolutions. In ICLR, 2016.
  24. [Zeng et al., 2014] Daojian Zeng, Kang Liu, Siwei Lai, Guangyou Zhou, and Jun Zhao. Relation classification via convolutional deep neural network. In COLING, 2014.
  25. [Zeng et al., 2018] Xiangrong Zeng, Daojian Zeng, Shizhu He, and et al. Extracting relational facts by an end-to-end neural model with copy mechanism. In ACL, 2018.
  26. [Zhang et al., 2020] Ranran Haoran Zhang, Qianying Liu, Aysa Xuemo Fan, and et al. Minimize exposure bias of Seq2Seq models in joint entity and relation extraction. In Findings of EMNLP, 2020.
  27. [Zheng et al., 2017] Suncong Zheng, Feng Wang, Hongyun Bao, and et al. Joint extraction of entities and relations based on a novel tagging scheme. In ACL, 2017.
  28. [Zheng et al., 2021] Hengyi Zheng, Rui Wen, Xi Chen, and et al. PRGC: Potential relation and global correspondence based joint relational triple extraction. In ACL, 2021.
  29. [Zhong and Chen, 2021] Zexuan Zhong and Danqi Chen. A frustratingly easy approach for entity and relation extrac- tion. In NAACL, 2021.
  30. [Zhou et al., 2021] Wenxuan Zhou, Kevin Huang, Tengyu Ma, and Jing Huang. Document-level relation extraction with adaptive thresholding and localized context pooling. In AAAI, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards