Nested AD for this kind of thing is asymptotically much worse than numerical. If you’re going to use anything else, the thing to try is:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Higher order derivatives/ automatic differentiation | 5 | 758 | December 26, 2023 | |
| What is the best way to implement PINN in Julia | 18 | 831 | April 6, 2025 | |
| Nested and different AD methods altogether: How to add AD calculations inside my loss function when using neural differential equations? | 9 | 1077 | September 28, 2024 | |
| Flux PINN 1D Burgers | 11 | 950 | May 23, 2025 | |
| Nested AD with Lux etc | 26 | 1452 | May 1, 2024 |