Kernel-based methods are heavily used in machine learning. However, they suffer from $O(N^2)$ complexity in the number $N$ of considered data points. In this paper, we propose an approximation procedure, which reduces this complexity to $O(N)$. Our approach is based on two ideas. First, we prove that any radial kernel with analytic basis function can be represented as sliced version of some one-dimensional kernel and derive an analytic formula for the one-dimensional counterpart. It turns out that the relation between one- and $d$-dimensional kernels is given by a generalized Riemann-Liouville fractional integral. Hence, we can reduce the $d$-dimensional kernel summation to a one-dimensional setting. Second, for solving these one-dimensional problems efficiently, we apply fast Fourier summations on non-equispaced data, a sorting algorithm or a combination of both. Due to its practical importance we pay special attention to the Gaussian kernel, where we show a dimension-independent error bound and represent its one-dimensional counterpart via a closed-form Fourier transform. We provide a run time comparison and error estimate of our fast kernel summations.
Accelerating Molecular Dynamics Simulations using Fast Ewald Summation with Prolates
Center for Computational Mathematics, Flatiron Institute(计算数学中心,Flatiron研究所);School of Mathematical Sciences, Shanghai Jiao Tong University(上海交通大学数学科学学院);Courant Institute of Mathematical Sciences, New York University(纽约大学柯朗数学科学研究所)
Fast Ewald Summation with Prolates for Charged Systems in the NPT Ensemble
Center for Computational Mathematics, Flatiron Institute(西蒙斯基金会平顿研究所计算数学中心);School of Mathematical Sciences, Shanghai Jiao Tong University(上海交通大学数学科学学院)
Bashkir State University(巴什基尔国立大学);Center for Micro and Nanoscale Dynamics of Dispersed Systems, Bashkir State University(巴什基尔国立大学分散系统微纳动力学中心);Fantalgo, LLC.(Fantalgo有限责任公司);Institute for Advanced Computer Studies(高级计算机研究所);Department of Computer Science(计算机科学系);University of Maryland, College Park(马里兰大学帕克分校)