Combined model reasoning method based on model reasoning timeliness optimization
Патент · CN B
Полный текст
The invention discloses a joint model reasoning method based on model reasoning timeliness optimization, which belongs to the technical field of deep learning and comprises the steps of defining a set of LLM reasoning requests, models and edge servers, constructing a model call directed acyclic graph DAG for each request type, defining reasoning timeliness indexes AoMI, modeling a request-model relationship as a hypergraph, dividing and optimizing initial model deployment by adopting a k-way hypergraph, designing a two-stage model redeployment mechanism of progressive increment repartition and global trigger redeployment, dynamically adapting to request changes, constructing model dynamic optimization as a Markov decision process MDP, combining a curiosity-guided memory association learning method, and optimizing call decisions. According to the invention, performance indexes are provided for reasoning optimization through AoMI, complex request model relations are dynamically handled through a hypergraph segmentation technology and a two-stage model deployment mechanism, communication and migration costs are optimized, and model calling efficiency is improved through a curiosity-based learning method.