The design of high-aspect-ratio wings enhances the flight efficiency of UAVs but also introduces significant aeroelasticity challenges. The efficient optimization of wing structures in complex environments has become critical. To address the current challenges in balancing wing strength with lightweight structural designs, this study proposed an intelligent solution method for optimizing wing dimensions and structural layout. Driven by mechanical simulation data, the method established a mapping relationship between the structural layout and dimensions of the wing and its bending stiffness. This approach was further enhanced by the mind evolution algorithm (MEA) to optimize the solution performance of the surrogate model. The wing structure optimization model was established using the multi-objective grey wolf optimizer (MOGWO) based on the surrogate model for search and optimization. This study focused on the composite material wing of a long-endurance unmanned aerial vehicle (UAV). The established MEA-BP surrogate model demonstrated high computational efficiency, with the prediction error standard deviation (STD) of wing deflection not exceeding 0.495 mm. The optimization model required 175 s to calculate the Pareto front solutions. The optimized structure resulted in a 28.32% increase in wing equivalent stiffness, and weight only increased by 6.67% compared to the original structure. These results showcased the effectiveness of the proposed method and validated the feasibility of integrating intelligent optimization algorithms and machine learning in the field of aircraft design.