The present application relates to a kind of knowledge
distillation method based on
inference step deconstruction and differentiating supervision, belong to
artificial intelligence field.The structured thinking chain generated by acquiring teacher model is separated according to line, each
inference step is deconstructed into independent unit;Each step is type labeled, according to the five-level classification
system of basic calculation, basic fact, operation execution,
logical reasoning, strategy planning, differentiating weight is distributed, and weight superposition is used to composite step;Weighted
loss function is constructed, step weight is introduced into cross-entropy loss, and student model is distilled training.The present application focuses on key
inference link in the learning process by step-level type
perception and differentiating supervision, overcomes the problem of detail loss and global understanding damage caused by flat sequence supervision in traditional
distillation.Experimental results show that, on mathematical reasoning task, compared with equal-weight step
distillation method, accuracy is improved by 4.6 percentage points, and efficient migration of
large model reasoning ability to lightweight model is realized.