SVD Non-Uniqueness #19172
Replies: 1 comment
-
I see that in #508 the autodiff formulation of the SVD for case m <= n and m > n are given in Giles2008. Although numerical instabilities may still occur due to the inversion of the singular values and degenerate singular values, it seems to me that an implementation of SVD In a somewhat recent GitHub project, the SVD derivative is done using the work of Townsend and the works of others to compute the derivative of the SVD for the cases:
Although the nonuniqueness of the null space vectors of U or VT is present, I don't understand why the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have been working with JAX and have run into the problem that I need the vectors that span the null space of a SVD. I have seen that on #508 the SVD derivatives for a matrix (m!=n) are undefined for the full-rank case due to non-uniqueness. Is there no workaround to compute this?
What I'm trying to do is get these null space vectors so that two conditions are fulfilled:
U @ Sigma @ Vt @ Vt[nullspace, :] == 0
and its derivatives equal 0 as well
Vt[nullspace, :].T @ S22 @ Vt[nullspace, :] == 1
ans its derivatives equal 0
The code below makes it so the basis functions of space 2 exactly span the basis functions of space 1.
The two conditions are fulfilled when the derivative is not taken, but the second condition fails to have the derivatives equal 0.
Beta Was this translation helpful? Give feedback.
All reactions