The invention discloses a dynamic routing method and device based on a self-purification expert
pool, and the method comprises the steps: firstly, constructing an expert feedback
pool supporting
dynamic extension, driving a group of heterogeneous domain expert models to carry out the reasoning of a cross-domain
data set problem, and storing a result; secondly, implementing a double-layer self-purification mechanism, performing data cleaning and expert model cleaning on a feedback
pool based on real answers, and automatically eliminating low-
quality data and low-performance experts; further, on the basis of the purified high-
quality data, a lightweight BERT model is trained to serve as a routing learning device, so that the routing learning device learns an expert which predicts the most adaptive expert according to the semantic features of the problem; and finally, in practical application, the
route learner is used for performing rapid reasoning and routing on a new input question, and the new input question is distributed to the predicted optimal expert model to obtain an answer. Through dynamic self-purification of data and resources and data-driven
routing decision,
intelligent management and efficient utilization of heterogeneous expert model resources are realized, routing accuracy and
interpretability are ensured, and meanwhile, the capability of a
system for
processing complex cross-domain problems in a scene with limited computing power is remarkably improved.