Abstract
Few-shot relation extraction enables the model to extract new relations and achieve impressive success. However, when new relations come from new domains, semantic and syntactic differences cause a dramatic drop in model performance. Therefore, the domain adaptive few-shot relation extraction task becomes important. However, existing works identify relations more by entities than by context, which makes it difficult to effectively distinguish different relations with similar entity semantic backgrounds in professional domains. In this paper, we propose a method called multi-view context representation with discriminative semantic learning (MCDS). This method learns discriminative entity representations and enhances the use of relational information in context, thus effectively distinguishing different relations with similar entity semantics. Meanwhile, it filters partial entity information from the global information through an information filtering mechanism to obtain more comprehensive global information. We perform extensive experiments on the FewRel 2.0 dataset and the results show an average gain of 2.43% in the accuracy of our model on all strong baselines.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Bach, N., Badaskar, S.: A review of relation extraction. Lit. Rev. Lang. Stat. II(2), 1–15 (2007)
Cong, X., Yu, B., Liu, T., Cui, S., Tang, H., Wang, B.: Inductive unsupervised domain adaptation for few-shot classification via clustering. In: Machine Learning and Knowledge Discovery in Databases: European Conference, ECML PKDD 2020, Ghent, Belgium, 14–18 September 2020, Proceedings, Part II, pp. 624–639 (2021)
Distiawan, B., Weikum, G., Qi, J., Zhang, R.: Neural relation extraction for knowledge base enrichment. In: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 229–240 (2019)
Dou, C., Wu, S., Zhang, X., Feng, Z., Wang, K.: Function-words adaptively enhanced attention networks for few-shot inverse relation classification. In: Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, pp. 2937–2943 (2022)
Finn, C., Abbeel, P., Levine, S.: Model-agnostic meta-learning for fast adaptation of deep networks. In: International Conference on Machine Learning, pp. 1126–1135 (2017)
Gao, T., Han, X., Liu, Z., Sun, M.: Hybrid attention-based prototypical networks for noisy few-shot relation classification. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 33, pp. 6407–6414 (2019)
Gao, T., et al.: FewRel 2.0: towards more challenging few-shot relation classification. In: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 6250–6255 (2019)
Gao, T., Yao, X., Chen, D.: SimCSE: simple contrastive learning of sentence embeddings. In: Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 6894–6910 (2021)
Han, J., Cheng, B., Lu, W.: Exploring task difficulty for few-shot relation extraction. In: Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 2605–2616 (2021)
Han, J., Cheng, B., Nan, G.: Learning discriminative and unbiased representations for few-shot relation extraction. In: Proceedings of the 30th ACM International Conference on Information & Knowledge Management, pp. 638–648 (2021)
Han, J., Cheng, B., Wang, X.: Two-phase hypergraph based reasoning with dynamic relations for multi-hop KBQA. In: IJCAI, pp. 3615–3621 (2020)
Han, Y., et al.: Multi-view interaction learning for few-shot relation classification. In: Proceedings of the 30th ACM International Conference on Information & Knowledge Management, pp. 649–658 (2021)
Jiang, T., et al.: PromptBERT: improving BERT sentence embeddings with prompts. arXiv preprint arXiv:2201.04337 (2022)
Jin, L., et al.: Relation extraction exploiting full dependency forests. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, pp. 8034–8041 (2020)
Kenton, J.D.M.W.C., Toutanova, L.K.: BERT: pre-training of deep bidirectional transformers for language understanding. In: Proceedings of NAACL-HLT, pp. 4171–4186 (2019)
Li, W., Qian, T.: Graph-based model generation for few-shot relation extraction. In: Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pp. 62–71 (2022)
Li, Y., Liu, Y., Gu, X., Yue, Y., Fan, H., Li, B.: Dual reasoning based pairwise representation network for document level relation extraction. In: 2022 IEEE International Conference on Multimedia and Expo (ICME), pp. 1–6. IEEE (2022)
Liu, F., et al.: From learning-to-match to learning-to-discriminate: global prototype learning for few-shot relation classification. In: Li, S., et al. (eds.) CCL 2021. LNCS (LNAI), vol. 12869, pp. 193–208. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-84186-7_13
Liu, Y., Hu, J., Wan, X., Chang, T.H.: Learn from relation information: towards prototype representation rectification for few-shot relation extraction. In: Findings of the Association for Computational Linguistics: NAACL 2022, pp. 1822–1831 (2022)
Liu, Y., Hu, J., Wan, X., Chang, T.H.: A simple yet effective relation information guided approach for few-shot relation extraction. In: Findings of the Association for Computational Linguistics: ACL 2022, pp. 757–763 (2022)
Liu, Y., et al.: Powering fine-tuning: learning compatible and class-sensitive representations for domain adaption few-shot relation extraction. In: International Conference on Database Systems for Advanced Applications, pp. 121–131 (2023)
Peng, H., et al.: Learning from context or names? an empirical study on neural relation extraction. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 3661–3672 (2020)
Qian, W., Zhu, Y.: Adversarial learning with domain-adaptive pretraining for few-shot relation classification across domains. In: 2021 IEEE 6th International Conference on Computer and Communication Systems (ICCCS), pp. 134–139 (2021)
Ravi, S., Larochelle, H.: Optimization as a model for few-shot learning. In: International Conference on Learning Representations (2017)
Snell, J., Swersky, K., Zemel, R.: Prototypical networks for few-shot learning. In: Proceedings of the 31st International Conference on Neural Information Processing Systems, pp. 4080–4090 (2017)
Soares, L.B., Fitzgerald, N., Ling, J., Kwiatkowski, T.: Matching the blanks: distributional similarity for relation learning. In: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 2895–2905 (2019)
Vinyals, O., Blundell, C., Lillicrap, T., Wierstra, D.: Matching networks for one shot learning. In: Advances in Neural Information Processing Systems 29 (2016)
Yan, Y., et al.: ConSERT: a contrastive framework for self-supervised sentence representation transfer. In: Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 5065–5075 (2021)
Yang, K., et al.: Enhance prototypical network with text descriptions for few-shot relation classification. In: Proceedings of the 29th ACM International Conference on Information & Knowledge Management, pp. 2273–2276 (2020)
Zhang, P., Lu, W.: Better few-shot relation extraction with label prompt dropout. arXiv preprint arXiv:2210.13733 (2022)
Zhou, P., et al.: Attention-based bidirectional long short-term memory networks for relation classification. In: Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (volume 2: Short papers), pp. 207–212 (2016)
Acknowledgements
This work was supported by No. XDC02050200.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Zhai, M., Dai, F., Gu, X., Fan, H., Liu, D., Li, B. (2024). Learning Discriminative Semantic and Multi-view Context for Domain Adaptive Few-Shot Relation Extraction. In: Luo, B., Cheng, L., Wu, ZG., Li, H., Li, C. (eds) Neural Information Processing. ICONIP 2023. Communications in Computer and Information Science, vol 1969. Springer, Singapore. https://doi.org/10.1007/978-981-99-8184-7_22
Download citation
DOI: https://doi.org/10.1007/978-981-99-8184-7_22
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-8183-0
Online ISBN: 978-981-99-8184-7
eBook Packages: Computer ScienceComputer Science (R0)