The invention discloses an edge reasoning optimization method and
system based on segmented knowledge
distillation. Firstly, a segmented knowledge
distillation framework is constructed, a teacher-student model is divided into corresponding sub-modules with balanced parameters, parallel
distillation training is adopted, middle
feature dimension reduction and space alignment are achieved in combination with a
principal component analysis method, the knowledge transmission efficiency is improved, and convergence is accelerated. Secondly, proposing an equipment
perception self-adaptive
pruning strategy, dynamically distributing a differential
pruning proportion according to the real-time calculation capability and resource state of heterogeneous edge equipment, and balancing the load of low-performance equipment and the precision of high-performance equipment; and finally, establishing a deep
reinforcement learning dynamic scheduling mechanism, generating a module
delay-
energy consumption file through
offline analysis, adaptively selecting a device combination by an
intelligent agent in an online stage, determining an optimal partition and deployment strategy through a threshold value distribution
algorithm, and realizing joint optimization of
energy consumption and reasoning time while meeting
delay constraint.