EvoCG: Self-Evolving Precision Control for Faster Conjugate Gradient
Jiaqi Zhai, Haozhi Han, Kaiyi Huang, Wenju Zhao, Yifeng Chen, Yunquan Zhang, Ting Cao, Yunxin Liu, Hai Jin, Xuanhua Shi, Kun Li
Abstract
Modern GPUs offer far higher throughput in low precision than in FP64, but exploiting this in conjugate gradient (CG) solvers is difficult because tolerance to reduced precision evolves with the Krylov state. We present EvoCG, a mixed-precision CG solver that treats tile-wise precision as an online control action rather than a fixed setting: a reinforcement-learning policy in the iteration loop selects per-tile precision from the evolving solver state, made profitable by co-design with a Tile-CSC unified mixed-precision SpMV kernel and a low-overhead in-loop runtime. Across 47 SPD matrices from eight scientific domains, EvoCG is the fastest solver overall, with geometric-mean speedups of 2.52x, 3.06x, 2.48x, 1.93x, and 6.99x over cuSPARSE, PETSc, Ginkgo, Mille-FP64, and Mille-Mixed. On the same substrate, it improves time-to-solution over EvoCG-FP64 by 1.28x at only 11.4% more iterations and 1.09% overhead, with FP64-recomputed final true-residual norms nearly identical to those of FP64, and extends to Jacobi-preconditioned CG without retraining, yielding a further 1.15x geometric-mean speedup over EvoCG-FP64.
Create a lesson
Metadata
- Comments
- Accepted in the ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming (PPoPP'27)
Related papers
ForgeKernel: Self-Evolving Kernels Catching and Surpassing Experts and Agents
Shared title terminologycs.DCYaojian Chen, Dazhi Peng, Yiyun Zheng et al.
Provenance-Isolated Epistemic Quorums: Execution-Bound Evidence Certification and Plausible-World Safety Gating in Agentic Control Planes
Shared title terminologycs.DCJun He, Deying Yu
Placing the Control Plane: Cloud-Native Federated Learning Across Batch-Scheduled HPC
Shared title terminologycs.DCPaul J. Wright, Huw Day, Ryan K. Daniels et al.
One Structure Is Enough: Record-Native Tiles for Evolving Sparse Matrices on GPUs
Shared title terminologycs.DCYusuf Mücahit Çetinkaya
Adaptive Warm-State Retention for Serverless Cold-Start Mitigation: Treating Keep-Alive Time as an Online Control Parameter
Shared title terminologycs.DCSanjeet Raj Pandey, Axel Küpper
The Exact Stabilization Time of Self-Stabilizing Coloring: Mean, Variance, and Distribution
Shared title terminologycs.DC{É}lie de Panafieu, Fabien Mathieu, Maria Gradinariu Potop-Butucaru et al.