公开问题
Differentiating through an eigendecomposition with near-degenerate eigenvalues
问题维基
提问的人可以创建维基,并指定维护者,把共同的进展整理在这里。
发布于 2026-09-02最近更新 2026-09-04265 次浏览
The standard backward rule for a symmetric eigendecomposition has in it, which is fine right up until two eigenvalues approach each other. In our case they approach each other exactly where the interesting physics is, so the gradient goes to nonsense precisely where we need it.
Things I have tried: adding a damping to the denominator (biases the gradient in a way I cannot bound), and reformulating to avoid the decomposition (works for two of the four places it appears).
Is there a formulation whose derivative stays bounded through a degeneracy, given that the function being differentiated is smooth there even though the decomposition is not?
提问者 · 2026-09-02Dan Okonkwo
1 个回答
回答
The usual move is to stop differentiating through the decomposition and start differentiating through whatever invariant you actually want.
If the downstream quantity is a spectral function with smooth, the whole thing is a matrix function and its differential is the Daleckii–Krein formula — which has divided differences where your rule has . Those are perfectly well behaved at a degeneracy; they become .
So the singularity was never in the problem, only in the intermediate you chose.
登录后可以回答。