Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implicit layers with neuralODEs ? #478

Closed
yewalenikhil65 opened this issue Jan 17, 2021 · 4 comments
Closed

implicit layers with neuralODEs ? #478

yewalenikhil65 opened this issue Jan 17, 2021 · 4 comments

Comments

@yewalenikhil65
Copy link
Contributor

Came across application of implicit function theorem to neural-nets
General idea is "need only jacobian at fixed point "

http://implicit-layers-tutorial.org/introduction/
https://github.com/locuslab/deq

Might be useful thing for DiffEqFlux ?

@ChrisRackauckas
Copy link
Member

Already exists. Just use SteadyStateProblem.

@yewalenikhil65
Copy link
Contributor Author

That would require data at steady-state or require availibility of ODEProblem ,right ?

Is the whole implicit-layers thing different than the way we normally approach in training neuralODEs as per DiffEqFlux docs. I am not much clear whether its better or not compared to our normal approach

@ChrisRackauckas
Copy link
Member

It's literally the same. DEX is just a steady state problem, or a nonlinear solve 0 = f(u) which is equivalent to finding u' = 0 or a steady state of the ODE u' = f(u). The adjoint on it is https://math.mit.edu/~stevenj/18.336/adjoint.pdf which is exactly the same as the DEX paper, just written 15 years earlier as equation (3).

@ChrisRackauckas
Copy link
Member

We made a whole separate package around this: https://github.com/SciML/DeepEquilibriumNetworks.jl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants