paper-with-me

홈 › Papers

Precision autotuning for linear solvers via contextual bandit-based RL

2026-01-02 · Erin Carson, Xinye Chen arxiv

We propose a reinforcement learning (RL) framework for adaptive 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, balancing 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, reducing computational cost while maintaining accuracy comparable to double-precision baselines. 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.

📄 PDF Abstract BibTeX arXiv:2601.00728

Code (0)

등록된 구현이 없습니다.

Tasks

Computational EfficiencyReinforcement Learning

Similar Papers 제목 키워드 기반

Learning to Relax: Setting Solver Parameters Across a Sequence of Linear System Instances

2023-10-03 · Mikhail Khodak, Edmond Chow, Maria-Florina Balcan, Ameet Talwalkar

Solving a linear system $Ax=b$ is a fundamental scientific computing primitive for which numerous solvers and preconditioners have been developed. These come with parameters whose optimal values depend on the system bein…

Contexts can be Cheap: Solving Stochastic Contextual Bandits with Linear Bandit Algorithms

2022-11-08 · Osama A. Hanna, Lin F. Yang, Christina Fragouli

In this paper, we address the stochastic contextual linear bandit problem, where a decision maker is provided a context (a random set of actions drawn from a distribution). The expected reward of each action is specified…

Multi-Armed Bandits

HPC Application Parameter Autotuning on Edge Devices: A Bandit Learning Approach

2025-01-02 · Abrar Hossain, Abdel-Hameed A. Badawy, Mohammad A. Islam, Tapasya Patki 외

The growing necessity for enhanced processing capabilities in edge devices with limited resources has led us to develop effective methods for improving high-performance computing (HPC) applications. In this paper, we int…

Navigate

Contextual Bandits for Resource-Constrained Devices using Probabilistic Learning

2026-05-13 · Marco Angioli, Kevin Johansson, Antonello Rosato, Amy Loutfi 외 arxiv

Contextual bandits (CB) are online sequential decision-making problems under partial feedback that underpin many adaptive services. There is a growing demand to deploy CB agents directly on-device, under strict constrain…

OSOM: A simultaneously optimal algorithm for multi-armed and linear contextual bandits

2019-05-24 · Niladri S. Chatterji, Vidya Muthukumar, Peter L. Bartlett

We consider the stochastic linear (multi-armed) contextual bandit problem with the possibility of hidden simple multi-armed bandit structure in which the rewards are independent of the contextual information. Algorithms …

Multi-Armed Bandits