The invention discloses a cross-type biomedical
named entity recognition method and device based on knowledge
distillation in the technical field of
natural language processing and
biomedical information processing. The method comprises the following steps: firstly, acquiring a plurality of single-type data sets for different biomedical entity types, and independently training a teacher model for each
data set; meanwhile, gathering all single-type data into a unified
training set, and constructing a unified multi-
entity type label space; then, for the data in the unified
training set, obtaining prediction results of all teacher models, and fusing prediction distributions of a plurality of teacher models into a unified aggregation probability distribution (namely a soft
label) by adopting a probability aggregation strategy based on an independence
hypothesis; and finally, constructing a student model, and training the student model by using a mixed
loss function jointly formed by the aggregation probability distribution and the original
label. According to the invention, through knowledge fusion and compression, the problem of label conflict in multi-
entity type learning is effectively solved, high identification precision is ensured, a lightweight student model is supported, and the balance between identification performance and calculation requirements is realized.