How to reduce the cogging torque of the integrated propeller motor is an important means to improve its noise performance because cogging torque is one of the key factors causing torque ripple. We proposed a method to reduce the cogging torque by optimizing the size of the Halbach array’s auxiliary pole. First, an analytical model for the airgap magnetic field of Halbach array based on different dimensions (including the circumference ratio and the radial thickness) of the auxiliary pole is given. Then the finite element method is used to verify the analytical model. On the basis, we calculated the cogging torque of different size of auxiliary poles as sample data by combining different circumference ratio and radial thickness. Furthermore, using the two-variable single-objective neural network genetic optimization algorithm based on Backpropagation (BP), we obtain the optimal size of the auxiliary pole. Finally, comparing the motor cogging torque and torque ripple before and after optimization indicated that the cogging torque and torque ripple are effectively reduced after optimizing the size of the auxiliary pole.