Accelerating AI Performance using Anderson Extrapolation on GPUs

Dajani, Saleem Abdul Fattah Ahmed Al, Keyes, David E.

arXiv.org Artificial Intelligence 

We present a novel approach for accelerating AI performance by leveraging Anderson extrapolation, a vector-to-vector mapping technique based on a window of historical iterations. By identifying the crossover point (Figure 1) where a mixing penalty is incurred, the method focuses on reducing iterations to convergence, with fewer more compute-intensive but generally cacheable iterations, balancing speed and memory usage with accuracy and algorithmic stability, respectively. We demonstrate significant improvements in both training and inference, motivated by scalability and efficiency extensions to the realm of high-performance computing (HPC). Figure 1: Crossover and mixing penalty plotted against time.