GRADSOLVE:GPU上ODE集合的快速精确梯度计算
GRADSOLVE: fast exact gradients for ODE ensembles on GPUs
GRADSOLVE解决了ODE集合在GPU上求解与反向微分速度不匹配的问题,大幅提升计算效率。
GRADSOLVE是一个开源JAX库,专为在NVIDIA GPU上求解和反向微分低维ODE集合而设计。该库记录自适应求解器接受的步骤,并对固定步长重放进行微分,返回精确的离散伴随梯度。
在三种GPU代际上,GRADSOLVE的梯度计算速度比Diffrax的检查点伴随方法快5.6-14.
1倍,前向求解速度比DiffEqGPU.jl快2.
8倍。
GRADSOLVE: fast exact gradients for ODE ensembles on GPUs
Ordinary differential equations (ODEs) underlie models in science and engineering, and many applications need derivatives of their solutions with respect to parameters. Ensembles of independent trajectories suit graphics processing units (GPUs), but current GPU software forces a trade-off: the fastest ensemble solvers cannot be differentiated in reverse mode at the speed they solve, and the solvers built for differentiation solve more slowly. No single tool has yet offered a reverse-mode gradient at the speed of a fused-kernel solve. We present GRADSOLVE, an open-source JAX library for solving and reverse-mode differentiating low-dimensional ODE ensembles on NVIDIA GPUs. It records the steps an adaptive solver accepts and differentiates a fixed-step replay of them; the returned gradient is the exact discrete adjoint of those steps, the same derivative Diffrax returns by default, obtained more cheaply from a fixed-length chain than from an adaptive loop. It targets ensembles differentiated many times against one recorded mesh, keeps Diffrax as a fallback, and supports explicit and Rosenbrock integrators. Used as a solver, GRADSOLVE's forward-only kernel ran 2.8x faster than DiffEqGPU.jl; used for gradients, once a record exists, it computed them 5.6-14.1x faster than Diffrax's checkpointed adjoint at matched forward-state accuracy across three GPU generations, the advantage narrowing on large ensembles and, on stiff systems, down to parity at tight accuracy. GRADSOLVE is released at https://github.com/ECLIPSE-AI4Science/gradsolve.
本条情报归属 AITOP「论文」核心追踪栏目。涉及核心实体与技术议题包括:GRADSOLVE、JAX、ODE、GPU,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Alessio Spurio Mancini),经 AITOP 多维评分管线结构化提炼。截至目前,全网已有 8 家独立信源对该事件进行交叉印证与跟进报道(含 a16z、NVIDIA AI、Clement Delangue 等),属于近期高关注度行业信号。