The present application relates to the technical field of
mobile edge computing, and provides a task offloading method and device,
electronic equipment and storage medium, the method comprising: based on user preference and
system multi-source observation features, selecting an initial
score obtained by expert reasoning based on a large
language model through preference gating, and then filtering with an
engineering constraint
mask to determine the final offloading action. The method provided by the present application calculates the selection probability by the user preference and
system multi-source observation features of the target task to activate the matching target expert, generates the initial
score of each candidate offloading action by the target expert reasoning based on the large
language model, calculates the action feasibility
mask in combination with the
engineering constraint function, and performs
mask processing on the initial
score to generate the real evaluation score, and finally determines the final offloading action based on the evaluation score, which realizes the flexible trade-off of user preference in the high dynamic and unknown edge cloud environment, and effectively ensures the executability of the final output decision in the real business
system.