The original BP neural network has some disadvantages, such as slow convergence speed, low precision, which is easy to fall into local minimum value. So this paper proposes an improved particle swarm optimization (PSO) algorithm to optimize BP neural network. In this new algorithm, PSO uses improved adaptive acceleration factor and improved adaptive inertia weight to improve the initial weight value and threshold value of BP neural network. And we give the detailed improved process. At the end, simulation results show that the new algorithm can improve convergence rate and precision of prediction of BP neural network, which reduces the error of prediction. At the end, we use multimedia evaluation model to verify the new method's performance.