The invention discloses a cough
sound recognition method based on
large model parameter efficient
fine tuning, and belongs to the field of
artificial intelligence auxiliary diagnosis. The method specifically comprises the following steps: constructing a
data set containing cough sound and non-cough sound; segmenting the long audio into audio clips with fixed lengths, removing mute clips and unifying the sampling rates of all the audio clips; converting the audio clip into a two-dimensional time-frequency
spectrogram through an audio feature extractor, and taking the two-dimensional time-frequency
spectrogram as an input feature of a subsequent model; the method comprises the following steps: taking a pre-trained audio classification
large model as a
backbone network, and inserting a parameter efficient
fine tuning module into an
Encoder layer of a standard Transform in the
backbone network; main body parameters of the
backbone network are frozen, only parameters of a parameter efficient
fine tuning module and a classification head of the model are trained, and an optimal model is selected for cough
sound recognition; according to the method, a parameter efficient fine tuning technology is used, a parameter efficient fine tuning module is inserted into an audio classification
large model, main body parameters of a backbone network are frozen, meanwhile, parameters of a classification head of the parameter efficient fine tuning module and the model are trained, and high-precision cough
sound recognition is achieved while the training parameter quantity is reduced.