{"title":"Law Recommendation Based on Self - Attention Mechanism and Feature Fusion","authors":"Lei Liu, Dezhi An","doi":"10.1145/3520084.3520101","DOIUrl":null,"url":null,"abstract":"Aiming at the problem of insufficient understanding of features and time-consuming calculation of long short-term memory networks in convolutional neural networks when extracting features, and the problem that both of them cannot reflect the importance of each word in the whole when extracting features, a method of law recommendation based on self-attention mechanism and feature fusion is proposed. Firstly, the text is preprocessed and Word2vec is used for word vectorization. Then the BIGRU model is used to extract the context features of the text, and the self-attention mechanism is added to extract the weighted information after the BIGRU features are extracted. CNN model is used to extract local features of text; finally, the characteristics of attention mechanism and CNN are fused to effectively solve the problems existing in a single model. The experimental results of the data set from the Judiciary Artificial Intelligence Challenge of China Law Research Cup show that the proposed model is better than the single model and its improved model.","PeriodicalId":444957,"journal":{"name":"Proceedings of the 2022 5th International Conference on Software Engineering and Information Management","volume":"18 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2022 5th International Conference on Software Engineering and Information Management","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3520084.3520101","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Aiming at the problem of insufficient understanding of features and time-consuming calculation of long short-term memory networks in convolutional neural networks when extracting features, and the problem that both of them cannot reflect the importance of each word in the whole when extracting features, a method of law recommendation based on self-attention mechanism and feature fusion is proposed. Firstly, the text is preprocessed and Word2vec is used for word vectorization. Then the BIGRU model is used to extract the context features of the text, and the self-attention mechanism is added to extract the weighted information after the BIGRU features are extracted. CNN model is used to extract local features of text; finally, the characteristics of attention mechanism and CNN are fused to effectively solve the problems existing in a single model. The experimental results of the data set from the Judiciary Artificial Intelligence Challenge of China Law Research Cup show that the proposed model is better than the single model and its improved model.