The embodiment of the invention provides a
small sample anti-fraud classification method and device, a medium and a product, and relates to the technical field of
artificial intelligence. The method comprises the steps of constructing intra-class semantic features and inter-class difference features based on a preset task framework of
small sample learning; determining an anti-fraud classification
network model according to the intra-class semantic features and the inter-class difference features; and according to the
network model, performing anti-fraud classification identification on a to-be-classified text. According to the scheme, the preset task framework based on
small sample learning does not need large-scale labeling, when a category is newly added, only a small number of samples need to be supplemented according to the framework to be fused into an existing model, an overall
data system does not need to be reconstructed, the expansibility is greatly improved, through intra-class and inter-class
feature learning, the distinction degree of similar fraud classes is enhanced, wrong classification is reduced, and the classification efficiency is improved. The classification accuracy is improved, general fraud features can be migrated to a new scene, and the generalization ability of the new fraud scene is improved.