The invention provides a long-
tail parameter efficient
fine tuning method based on local token
semantic mining. The method comprises the steps that a pre-trained serialized visual
encoder is adopted to initialize an image
feature extraction model, and a corresponding pre-trained text
encoder is used to extract category text features to initialize the weight of a classifier; then serializing the image, and extracting serialized image features by using an image
feature extraction model and a parameter efficient
fine tuning module; through a semantic aggregation function, mining and aggregating
semantic information contained in a local token in the local
serialization features to enhance category token features in the
serialization features so as to obtain enhanced category token features; then, adopting a probability
control sample supplement strategy, and flexibly utilizing the enhanced category token features to supplement various types of samples, so as to relieve the long
tail distribution problem; and finally, supervising learning of a parameter efficient
fine tuning module, a semantic aggregation function and a classifier through image classification loss and token feature consistency loss. The framework provided by the invention can cope with the problems of information imbalance and missing when a pre-training model is used for a downstream long-
tail image classification task. The framework can greatly improve the image classification performance of a multi-parameter efficient fine tuning method based on the pre-training
serialization model and multi-classification loss functions in a long-tail distribution scene, and has relatively high practicability.