This research focuses on the design of heat dissipation system for lithium-ion battery packs of electric vehicles, and adopts artificial intelligence optimization algorithm to improve the heat dissipation efficiency of the system. By integrating genetic algorithms and particle swarm optimization, the research goal is to optimize key design parameters of the cooling system to improve temperature control and extend battery life. In the process of algorithm implementation, genetic algorithm improves the diversity of population through crossover and mutation operations, thus enhancing the global search ability. Particle swarm optimization (PSO) improves local search accuracy and convergence speed by dynamically adjusting inertia weight and learning factor. The effects of different design schemes on heat dissipation performance were systematically evaluated by using computational fluid dynamics (CFD) software. The experimental results show that the efficiency of the cooling system is significantly improved after the application of the optimization algorithm, especially in the aspects of temperature distribution uniformity and maximum temperature reduction. The optimization algorithm also successfully shortens the thermal response time of the system and improves the adaptability and stability of the system under different working conditions. The computational complexity and execution time of these algorithms are also analyzed, which proves the efficiency and feasibility of these algorithms in practical applications. This study demonstrates the practicability and effectiveness of artificial intelligence optimization algorithm in the design of heat dissipation system of lithium-ion battery pack for electric vehicles, and provides valuable reference and practical guidance for the progress of heat dissipation technology of electric vehicles in the future.