Neural preconditioning offers a promising way to accelerate the solution of sparse linear systems arising from PDE discretizations, but its value depends on generating effective correction directions at low computational overhead. We study residual-dependent preconditioning within a flexible minimum-residual framework, in which learned actions propose directions and numerical projection determines the correction. We propose Gate-RINS, which generates multiple correction directions from shared polynomial residual probes using a lightweight residual- and coordinate-dependent diagonal gate. An order-$L$ probe dictionary requires only $L$ sparse matrix-vector products, regardless of the number of directions. We also introduce a hybrid schedule that uses G-RANS for the first correction block and Gate-RINS thereafter, retaining the same minimum-residual update. Theoretical analysis interprets Gate-RINS and G-RANS as dynamic approximate-inverse actions. For a general neural generator on a compact, nondegenerate problem family, we show that a single neural-generated direction can approximate the residual quality of fixed-step GMRES. Numerical experiments on six PDE benchmarks at approximately $10^3$ unknowns demonstrate that Gate-RINS reaches a true relative residual of $10^{-5}$ with mean solve-time speedups of $2.76$--$3.56\times$ over G-RANS and $2.44$--$3.54\times$ over GMRES. On three indefinite Helmholtz benchmarks of this size (two in 2D and one in 3D), Gate-RINS has a shorter mean solve time than AMG-preconditioned FGMRES. For a separate positive-reaction Helmholtz-type system with approximately $10^5$ unknowns, Gate-RINS also achieves the lowest residual among the compared solvers in the same time budget.
翻译:暂无翻译