Relation Classification Using Coarse and Fine-Grained Networks with SDP Supervised Key Words Selection

  • Yiping Sun
  • Yu Cui
  • Jinglu Hu
  • Weijia JiaEmail author
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11061)


In relation classification, previous work focused on either whole sentence or key words, meeting problems when sentence contains noise or key words are extracted falsely. In this paper, we propose coarse and fine-grained networks for relation classification, which combine sentence and key words together to be more robust. Then, we propose a word selection network under shortest dependency path (SDP) supervision to select key words automatically instead of pre-processed key words and attention, which guides word selection network to a better feature space. A novel opposite loss is also proposed by pushing useful information in unselected words back to selected ones. In SemEval-2010 Task 8, results show that under the same features, proposed method outperforms state-of-the-art methods for relation classification.


Relation classification Coarse and fine-grained networks Key words selection Shortest dependency path Opposite loss 



This work is supported by FDCT 0007/2018/A1, DCT-MoST Joint-project No. (025/2015/AMJ) of SAR Macau; University of Macau Funds Nos: CPG2018-00032-FST & SRG2018-00111-FST; Chinese National Research Fund (NSFC) Key Project No. 61532013; National China 973 Project No. 2015CB352401 and 985 Project of Shanghai Jiao Tong University: WF220103001. We also thank Xinsong ZHANG, Lester James V. Miranda and Mingyang YU for revising this paper.


  1. 1.
    Mikolov, T., Sutskever, I., Chen, K., Corrado, G.S., Dean, J.: Distributed representations of words and phrases and their compositionality. In: NIPS, pp. 3111–3119 (2013)Google Scholar
  2. 2.
    Miwa, M., Bansal, M.: End-to-end relation extraction using LSTMs on sequences and tree structures. In: Proceedings of ACL, vol. 1, pp. 1105–1116 (2016)Google Scholar
  3. 3.
    Qin, P., Xu, W., Guo, J.: Designing an adaptive attention mechanism for relation classification. In: IJCNN, pp. 4356–4362. IEEE (2017)Google Scholar
  4. 4.
    Rink, B., Harabagiu, S.: UTD: classifying semantic relations by combining lexical and semantic resources. In: Proceedings of SemEval, pp. 256–259 (2010)Google Scholar
  5. 5.
    Socher, R., Chen, D., Manning, C.D., Ng, A.: Reasoning with neural tensor networks for knowledge base completion. In: NIPS, pp. 926–934 (2013)Google Scholar
  6. 6.
    Xu, K., Feng, Y., Huang, S., Zhao, D.: Semantic relation classification via convolutional neural networks with simple negative sampling. In: Proceedings of EMNLP, pp. 536–540 (2015)Google Scholar
  7. 7.
    Xu, K., Reddy, S., Feng, Y., Huang, S., Zhao, D.: Question answering on freebase via relation extraction and textual evidence. In: Proceedings of ACL, vol. 1, pp. 2326–2336 (2016)Google Scholar
  8. 8.
    Xu, Y., et al.: Improved relation classification by deep recurrent neural networks with data augmentation. In: Proceedings of COLING, pp. 1461–1470 (2016)Google Scholar
  9. 9.
    Xu, Y., Mou, L., Li, G., Chen, Y., Peng, H., Jin, Z.: Classifying relations via long short term memory networks along shortest dependency paths. In: Proceedings of EMNLP, pp. 1785–1794 (2015)Google Scholar
  10. 10.
    Zeng, D., Liu, K., Lai, S., Zhou, G., Zhao, J.: Relation classification via convolutional deep neural network. In: Proceedings of COLING, pp. 2335–2344 (2014)Google Scholar
  11. 11.
    Zhang, S., Zheng, D., Hu, X., Yang, M.: Bidirectional long short-term memory networks for relation classification. In: Proceedings of PACLIC, pp. 73–78 (2015)Google Scholar
  12. 12.
    Zhou, P., et al.: Attention-based bidirectional long short-term memory networks for relation classification. In: Proceedings of ACL, vol. 2, 207–212 (2016)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2018

Authors and Affiliations

  1. 1.School of Electronic Information and Electrical EngineeringShanghai JiaoTong UniversityShanghaiChina
  2. 2.Graduate School of Information, Production and SystemsWaseda UniversityKitakyushu-shiJapan
  3. 3.University of MacauMacauChina

Personalised recommendations