Skip to content

When JAX solves the eigenvalue problem, if there are multiple eigenvalues, can it still obtain accurate gradients? #9907

Answered by mattjj
DoTulip asked this question in General
Discussion options

You must be logged in to vote

Check out the discussion on #669 and @shoyer's comment here on #8732 (also #2311). See also this comment in the code.

I think the short answer is no. Moreover I think that with repeated eigenvalues the gradient for eigendecomposition is not well defined mathematically (though for autodiff of an eig/eigh routine one could define the autodiff gradient with reference to whatever gauge-symmetry-breaking choices the implementation happened to make).

@shoyer @levskaya please correct any mistakes in the above!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DoTulip
Comment options

Answer selected by DoTulip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants