3 ms·
You actually want to know the gist of how these autodiff libraries work to know a) which approaches are fast and which approaches lead to giant complex gradient
by 317070 8y ago
You actually want to know the gist of how these autodiff libraries work to know
a) which approaches are fast and which approaches lead to giant complex gradient graphs.
b) which approaches are stable and which lead to numerically unstable gradients.
You would be surprised how many code is out there (even for influential papers) whose graphs are obviously bad or whose graph could be fixed easily for more stability. Because people don't think about what the gradient looks like, while they should.