RL4RLA: Teaching ML to Discover Randomized Linear Algebra Algorithms Through Curriculum Design and Graph-Based Search
Not on the map. Why?
Abstract (arXiv)
Randomized linear algebra (RLA) algorithms are a modern class of numerical linear algebra techniques that play an essential role in scientific computing and machine learning, with broad and growing adoption. However, their discovery remains mostly a manual process that requires deep expert knowledge and inspiration. While Reinforcement Learning (RL) offers a pathway to automation, standard approaches struggle with sparse reward landscapes and vast search spaces inherent to high-performing RLA algorithms. In this paper, we present RL4RLA, a general RL framework that automates the discovery of interpretable, symbolic RLA algorithms. Unlike black-box approaches, our method builds explicit algorithms from basic linear algebra primitives, ensuring verifiable and implementable representations. To enable efficient discovery, we introduce: (1) a numerical curriculum that progressively increments problem difficulty to encode inductive bias specific to the RLA domain; (2) Monte Carlo Graph Search, which optimizes exploration by identifying and merging equivalent partial algorithms. We demonstrate that RL4RLA rediscovers state-of-the-art methods, including sketch-and-precondition solvers, Randomized Kaczmarz, and Newton Sketch, and can be targeted to produce algorithms optimized for specific trade-offs between accuracy, speed, and stability. Code is available at https://github.com/Tim-Xiong/RL4RLA.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 13 of its 34 references that are in the map. First posted on arXiv 18 May 2026.
Builds on
13 of 34 references.
References · 13
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
- 2016Learning to learn by gradient descent by gradient descentcited by 616
- 2023Symbolic Discovery of Optimization Algorithmscited by 423
- 2014Sketching as a Tool for Numerical Linear Algebracited by 285
- 2020AutoML-Zero: Evolving Machine Learning Algorithms From Scratchcited by 137
- 2013Stochastic Gradient Descent, Weighted Sampling, and the Randomized Kaczmarz algorithmcited by 132
- 2022The CLRS Algorithmic Reasoning Benchmarkcited by 103
- 2015Newton Sketch: A Linear-time Optimization Algorithm with Linear-Quadratic Convergencecited by 72
- 2019Learning-Based Low-Rank Approximationscited by 41
- 2025AlgoTune: Can Language Models Speed Up General-Purpose Numerical Programs?cited by 24
- 2023Neural incomplete factorization: learning preconditioners for the conjugate gradient methodcited by 18
- 2022A Deep Conjugate Direction Method for Iteratively Solving Linear Systemscited by 12
1 more
- 2021Learning-Augmented Sketches for Hessianscited by 1
Built on by
Not cited yet.