NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Fast and Stable Gradient Approximation for Bilinear Forms of Hermitian Matrix Functions

Navjot Singh, Kipton Barros, Sherry Li

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Optimization & Federated Learning › Optimization Algorithms · Type: new method · Keywords: gradient approximation, Lanczos, Hermitian matrix functions, bilinear forms, scientific computing, probabilistic machine learning

Areas: Optimization & Algorithms › Optimization Dynamics › Optimization methods

Summary

The paper introduces a fast and stable forward-only gradient approximation for bilinear forms of Hermitian matrix functions that reuses the Lanczos pass and adds minimal overhead, improving speed and stability over existing methods.

Explained to a 5-year-old

Computers sometimes need to figure out how changing a big table of numbers affects other calculations. Doing this normally is slow and can be unstable, like a wobbly tower. The new idea uses a clever shortcut that reuses the work already done, so it’s like recycling. This shortcut keeps the results steady and makes the whole process faster. It helps scientists and machines solve problems more reliably and quickly.

Explained to a 5-year-old, longer

Computers often need to understand how changing a big set of numbers will affect other calculations. These big sets are called matrices, and the calculations involve special formulas. When we want to know how the result changes, we need to compute something called a gradient. Doing this gradient calculation can be tricky because the numbers are huge. Old ways of doing it either required a lot of extra work or could become unstable. The new idea finds a shortcut that reuses the work already done while computing the main result. This shortcut adds only a tiny amount of extra effort. Because it reuses the previous work, the calculations stay stable and run faster. It also avoids the need for complicated reorthogonalization steps. This makes the whole process more reliable and efficient for large problems. The shortcut is simple enough to be used in many scientific and machine learning tasks, helping researchers get answers quicker.

For a technical reader

The paper presents a forward-only gradient approximation that reuses the Lanczos iteration used for the forward pass, adding only minimal extra computation. By bounding the error with the Lanczos residual norm, it avoids the instability of traditional adjoint methods that require reorthogonalization. Experiments show the new method is both more stable and faster than existing state-of-the-art approaches for large Hermitian matrix functions.

Problem

Computing gradients of bilinear forms of large Hermitian matrix functions is difficult because existing methods either backpropagate through iterative eigensolvers like Lanczos (requiring costly reorthogonalization) or double the problem size, leading to extra computation and instability.

Method

The approach computes a forward-only gradient approximation that reuses the Lanczos pass used for the forward computation and adds only a small amount of extra work. It leverages the Lanczos residual norm to bound the approximation error and avoids the need for reorthogonalization or augmenting the matrix. This yields a stable and faster alternative to existing adjoint-based or Arnoldi-based gradient methods.

Results

The approach provides an error bound proportional to the Lanczos residual norm, demonstrates unconditional stability in tests, and runs faster than existing state-of-the-art gradient methods.

Contributions

The paper contributes a forward-only gradient approximation that reuses the Lanczos pass, offers provable error control via the residual norm, and achieves stable and faster gradient computation for large Hermitian matrix functions. It also provides theoretical analysis showing the error relationship and empirical evidence of stability and speed improvements.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction