smolyax: a high-performance implementation of the Smolyak interpolation operator in JAX

The smolyax library provides interpolation capabilities for arbitrary multivariate and vectorvalued functions in out for any in , out .It implements the Smolyak interpolation operator, which is known to overcome the curse-of-dimensionality plaguing naive multivariate interpolation (Barthelmann et al., 2000) and uses the barycentric interpolation formula (Berrut & Trefethen, 2004) for numerical stability.The implementation is based on JAX (Bradbury et al., 2018), a free and open-source Python library for high-performance computing that integrates with the Python and NumPy numerical computing ecosystem.Thanks to JAX's device management, smolyax runs natively on both CPU and GPU.While implementing Smolyak interpolation in JAX is challenging due to the highly irregular data structures involved, smolyax overcomes this by employing a tailored batching and padding strategy that enables efficient vectorization.smolyax supports interpolation on bounded or unbounded domains via Leja (M. A. Chkifa, 2013) or Gauss-Hermite (Abramowitz & Stegun, 1964) node sequences, respectively.It provides efficient Numba-accelerated routines to generate isotropic or anisotropic total degree multi-index sets (Adcock et al., 2022, sec.2.3.2),which are the key ingredient to generate the high-dimensional sparse grids (Bungartz & Griebel, 2004) of interpolation nodes required by the Smolyak interpolation operator.Additional types of node sequences or multi-index sets can be incorporated easily by implementing a minimalistic interface.The smolyax interpolant provides further functionality to evaluate its gradient as well as compute its integral.

Authors

Institutions

Publication Details

Journal
The Journal of Open Source Software
Published
2025-08-14
DOI
https://doi.org/10.21105/joss.08505
Primary Topic
Numerical methods in inverse problems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

smolyax: a high-performance implementation of the Smolyak interpolation operator in JAX

J.J. Chen, Josephine Westermann
The Journal of Open Source Software
Numerical methods in inverse problems
article

smolyax: a high-performance implementation of the Smolyak interpolation operator in JAX

J.J. Chen, Josephine Westermann
article en

Abstract

The smolyax library provides interpolation capabilities for arbitrary multivariate and vectorvalued functions in out for any in , out .It implements the Smolyak interpolation operator, which is known to overcome the curse-of-dimensionality plaguing naive multivariate interpolation (Barthelmann et al., 2000) and uses the barycentric interpolation formula (Berrut & Trefethen, 2004) for numerical stability.The implementation is based on JAX (Bradbury et al., 2018), a free and open-source Python library for high-performance computing that integrates with the Python and NumPy numerical computing ecosystem.Thanks to JAX's device management, smolyax runs natively on both CPU and GPU.While implementing Smolyak interpolation in JAX is challenging due to the highly irregular data structures involved, smolyax overcomes this by employing a tailored batching and padding strategy that enables efficient vectorization.smolyax supports interpolation on bounded or unbounded domains via Leja (M. A. Chkifa, 2013) or Gauss-Hermite (Abramowitz & Stegun, 1964) node sequences, respectively.It provides efficient Numba-accelerated routines to generate isotropic or anisotropic total degree multi-index sets (Adcock et al., 2022, sec.2.3.2),which are the key ingredient to generate the high-dimensional sparse grids (Bungartz & Griebel, 2004) of interpolation nodes required by the Smolyak interpolation operator.Additional types of node sequences or multi-index sets can be incorporated easily by implementing a minimalistic interface.The smolyax interpolant provides further functionality to evaluate its gradient as well as compute its integral.

The Journal of Open Source SoftwareVol. 10(112)
Heidelberg University (DE), Colorado State University (US)
Openalex Percentile: Top 72%
Numerical methods in inverse problems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.