mlsanityData to 7 Oct 2026

Precision autotuning for linear solvers via contextual bandit-based RL

arXiv 2601.00728 ↗First posted 2 Jan 2026cs.LG cs.NA math.NAcited by 1

Not on the map. Why?

Abstract (arXiv)

We propose a reinforcement learning (RL) framework for xyresponsive precision tuning for linear solvers, which can be extended to general algorithms. The framework is formulated as a contextual bandit problem and solved using incremental action-value estimation with a discretized state space to select optimal precision configurations for computational steps, xyretaining precision and computational efficiency. To verify its effectiveness, we apply the framework to iterative refinement for solving linear systems Ax = b. In this application, our approach dynamically chooses precisions based on calculated features from the system while maintaining acceptable accuracy and convergence. In detail, an action-value estimator takes discretized features (e.g., approximate condition number and matrix norm) as input and outputs estimated action values, from which a policy selects the actions (chosen precision configurations for specific steps), optimized via an ε-greedy strategy to maximize a multi-objective reward to balance accuracy and computational cost. Empirical results demonstrate effective precision selection, xyincreasing the use of lower-precision arithmetic while maintaining accuracy comparable to double-precision baselines. xyWe further evaluate the learned policies in a compiled CPU GMRES-IR implementation using FP16, FP32, and FP64 arithmetic for solver-level native validation. The framework generalizes to diverse out-of-sample data and provides insights into applying RL precision selection to other numerical algorithms, advancing mixed-precision numerical methods in scientific computing. To the best of our knowledge, this is the first work on precision autotuning with RL with verification on unseen datasets.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 10 of its 39 references that are in the map. First posted on arXiv 2 Jan 2026.

Builds on

10 of 39 references.

References · 10

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2016OpenAI Gymcited by 1,684
  6. 2017Mixed Precision Trainingcited by 1,135
  7. 2022FP8 Formats for Deep Learningcited by 187
  8. 2023FP8-LM: Training FP8 Large Language Modelscited by 75
  9. 2023Neural incomplete factorization: learning preconditioners for the conjugate gradient methodcited by 18
  10. 2025pychop: Emulating Low-Precision Arithmetic in Numerical Methods and Neural Networkscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.