{"title":"Co-Attention Based Few-Shot Relation Classification Model with Dynamic Routing","authors":"Chun-Yuan Huang, Yuliang Wei, Bailing Wang, Guodong Xin, Wei Wang, Qinggang He","doi":"10.1109/ICISCAE51034.2020.9236846","DOIUrl":null,"url":null,"abstract":"With the development of natural neural networks, supervised methods are usually confronted with the problem of lacking labeled data. Few-shot learning methods are now a mainstream research method that allows models to classify relation base on a small amount of data. Relation classification is a basic task in natural language processing and it is the most critical step in the construction of a knowledge graph. This paper focus on few-shot relation classification and we propose a co-attention based few-shot relation classification model with dynamic routing. This model is divided into three parts: encoder layer, aggregation layer and matching layer. The encoder layer is used to extract the important features from support set and query set and convert it into vectors. Aggregation layer is to aggregate the vectors of instances in the same class. The matching layer is to compute the score between the query instances which is extracted form encoder layer and the class vector which is output by aggregation layer. We apply this model on FewRel dataset and the experiment result shows that our method is better than other methods.","PeriodicalId":355473,"journal":{"name":"2020 IEEE 3rd International Conference on Information Systems and Computer Aided Education (ICISCAE)","volume":"50 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE 3rd International Conference on Information Systems and Computer Aided Education (ICISCAE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICISCAE51034.2020.9236846","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
With the development of natural neural networks, supervised methods are usually confronted with the problem of lacking labeled data. Few-shot learning methods are now a mainstream research method that allows models to classify relation base on a small amount of data. Relation classification is a basic task in natural language processing and it is the most critical step in the construction of a knowledge graph. This paper focus on few-shot relation classification and we propose a co-attention based few-shot relation classification model with dynamic routing. This model is divided into three parts: encoder layer, aggregation layer and matching layer. The encoder layer is used to extract the important features from support set and query set and convert it into vectors. Aggregation layer is to aggregate the vectors of instances in the same class. The matching layer is to compute the score between the query instances which is extracted form encoder layer and the class vector which is output by aggregation layer. We apply this model on FewRel dataset and the experiment result shows that our method is better than other methods.