- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes a simple and practical method for approximating the gradient of quadratic form of Hermitian matrix functions via Lanczos. We assume that the parametrized matrix could be accessed via matrix-vector product, making Lanczos an attractive method, by Lanczos, we know that where is an orthonormal basis for the Krylov subspace of , ignoring the last term, we could approximate via for tridiagonal . Set , then where is a matrix that depends on the first row of and the divided-difference matrix common in matrix differentiation. Since , , the paper proposes to drop the non- terms, this gives a way to approximate through terms only, and yields an efficient, practical algorithm that first runs iterations of Lanczos to generate , then form the matrix, and let , the derivative of wrt can be written as a bilinear form of wrt the derivative of of . Experiments for several functions, including , network sensitivity and quantum Hamiltonian show the improvements over existing results.
Strengths and weaknesses
Strengths:
-
The proposed method is simple and practical, through extensive experiments, the efficiency improvements are quite significant. This is important when one wants to deploy this algorithm at scale.
-
The studied problem is important, approximating the gradient of bilinear or quadratic form of Hermitian matrix functions is a quite common use case, especially when one tries to use first-order methods to optimize this class of functions.
Weaknesses:
- One major weakness is the numerical stability is verified only through experiments, there are no formal statements proving the numerical stability of the proposed algorithm. This also holds for most of the results in this paper, the only theoretical piece Theorem 2, as Theorem 1 follows from a straightforward calculation. Though Theorem 2 spells out the error term explicitly, it deserves more discussions on the magnitude of the error for various functions.
Questions
Typos:
- Line 262: "We use their We run these..." should be "We run these...".
Questions:
- Can authors give some estimates on the error term of Theorem 2 for specific pairs of ?
Limitations
Yes.
Paper formatting concerns
N/A.
Final justification
Authors' response gives a concrete example that clarifies my question, I'll keep my initial positive rating.
Meta-review
The paper introduces a forward-only method for approximating gradients of bilinear or quadratic forms u⊤f(A(θ))v, reusing a Lanczos decomposition rather than differentiating through the recurrence (this is technical, and looks narrow, but I believe this is relevant). It proves that the omitted basis-variation error is tied to the Lanczos residual and reports improved runtime and empirical stability on log-determinant, graph-sensitivity, and Hamiltonian-learning tasks.
On the positive side, this is a common primitive in machine learning. Moreover, the method is conceptually simple, matrix-free, and computationally efficient, with minimal overhead beyond the forward Lanczos pass. Its residual-based error decomposition is theoretically useful, and the experiments show substantial accuracy, stability, and speed advantages over existing approaches.
On the negative side, the paper does not clearly delimit the machine-learning problems or regimes where the approximation is preferable.
I am leaning towards acceptance, but I think that a positive response to the questions raised by the reviewers would finally convince all of them to accept and lead to a final paper with more impact (in particular related to relevance to ML, or "in which regimes is the proposed method preferable to differentiating through Lanczos or using Fréchet/adjoint-based methods in terms of accuracy, stability, memory, and runtime?").