METHODS AND APPARATUSES FOR TRAINING SERVICE MODEL AND DETERMINING TEXT CLASSIFICATION CATEGORY
Patent №
US 11,216,620
Granted
2022-01-04
Filed 2021
Owner
ALIPAY (HANGZHOU) INFORMATION TECHNOLOGY CO., LTD.
Lab
—
AI components
5
ml · nlp · vision · kr · hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
17356112
Implementations of the present specification provide a method and an apparatus for training a service model, and a method and an apparatus for determining a text classification category. During specific implementation, on the one hand, text is processed by using an encoding network to obtain a corresponding semantic vector; on the other hand, a relationship network is established for classification categories based on a hierarchical relationship, and the relationship network is processed by using a graph convolutional network, to fuse information of nodes to obtain category expression vectors. Then, the semantic vector of the text is fused with the category expression vectors to determine a prediction result of a classification category. In a phase of training a service model, the prediction result can be compared with a sample label to determine a loss and adjust model parameters. In a phase of determining a text classification category by using a trained service model, the corresponding classification category can be determined based on the prediction result. This implementation can improve text classification accuracy.
AI classification
Ownership
ALIPAY (HANGZHOU) INFORMATION TECHNOLOGY CO., LTD.
assignment · 567450664
Assignors
JIN, MINGMIN
On an employer assignment, the assignors are typically the inventors.