EEFOLLM: LLM-guided reward shaping for electric eel foraging optimization in robot path planning
摘要
Mobile robot path planning is one of the core challenges in autonomous systems. Existing metaheuristic algorithms commonly adopt fixed weights in multi-objective fitness aggregation, which can neither perceive the structural complexity of the map nor adaptively adjust with the progression of search stages, causing convergence to infeasible paths on complex maps or sacrificing path efficiency on simple ones. To address these limitations, this paper proposes EEFOLLM—a novel robot path planning method that embeds a Large Language Model (LLM) as an offline reward-weight configurator within the Electric Eel Foraging Optimization (EEFO) framework. EEFOLLM first extracts a nine-dimensional structural feature vector from the grid map (including obstacle density, corridor width, and clutter score), then drives a locally deployed Qwen2.5-3B-Instruct model to generate three-stage, four-element fitness weights (path length, collision penalty, smoothness, and turning penalty) tailored to each map. A dual-safeguard pipeline—comprising Python-side clipping and normalisation together with MATLAB-side structural validation—guarantees experimental robustness under extreme conditions. A stage scheduler switches the active weight set according to normalised iteration progress, driving EEFO through a guide–perturb–restart update mechanism to evolve the population. Comparative experiments on five benchmark maps spanning