NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Second-Order Complexity of Neural ODE Inference

Yoshihiro Maruyama

NeurIPS page · OpenReview · Open on the map

Category: Causality, Privacy & Learning Theory › Spectral Learning Theory · Type: theory · Keywords: continuous-depth models, Neural ODE inference, computational complexity, second-order complexity theory, Lipschitz guarantees, PSPACE-hardness

Areas: Model Architectures & Sequence Modeling › Neural and brain architectures › Expressivity and complexity of neural architectures

Summary

The paper establishes the exact computational complexity of inference in continuous-depth models such as Neural ODEs, showing that under standard smoothness and Lipschitz guarantees the problem can be as hard as solving very difficult puzzles (FPSPACE₂-complete) while identifying tractable analytic subclasses.

Explained to a 5-year-old

A computer program can be made to work like a smooth flow that changes things step by step. The paper looks at how hard it is to get the final answer from such a program. It finds that sometimes the final answer is super hard to figure out, like solving a very difficult puzzle. Other times, if the program follows special rules, the answer can be found easily. This helps us know when we can trust these smooth programs.

Explained to a 5-year-old, longer

A computer program can be made to work like a smooth flow that changes things step by step. The paper studies how hard it is to get the final answer from such a program. It discovers that for many smooth programs the answer is extremely difficult to compute, even harder than many classic puzzles. Even a tiny three-dimensional block of this smooth program can hide a very hard problem. When the smoothness is higher, the problem can become even more challenging, reaching levels of difficulty that include counting many possibilities. However, if the program follows very special rules and its behavior is described by simple formulas, the answer can be found quickly. This helps researchers understand when these smooth models will be easy to use and when they might be too hard to rely on. The results also show that the same difficulty appears when we try to learn the program by looking at its output. By knowing these limits, engineers can design better checks to ensure the models work reliably in real applications.

For a technical reader

The paper uses second-order complexity theory to characterize the computational cost of evaluating continuous-depth models like Neural ODEs. It proves that under standard smoothness and Lipschitz assumptions, inference can be FPSPACE₂-complete and PSPACE-hard, even for a single autonomous block. Conversely, analytic vector fields with Taylor certificates admit polynomial-time inference. These results highlight the importance of representation guarantees when assessing model reliability.

Problem

Understanding how computationally difficult it is to obtain the output of continuous-depth models when they are described by smooth, Lipschitz-bounded dynamics, and to determine when such inference can be performed efficiently.

Method

We apply second-order complexity theory to analyze the operator-level cost of the global forward pass, establishing polynomial-time equivalences and hardness results under smoothness and Lipschitz certificates.

Results

The approach shows that inference can be FPSPACE₂-complete and PSPACE-hard for generic autonomous blocks, yet fixed-dimensional Taylor-certified analytic vector fields admit polynomial-time inference under quantitative magnitude and radius bounds.

Contributions

It provides the first exact operator-level complexity classification for continuous-depth inference, revealing worst-case hardness and identifying tractable subclasses based on analytic certificates.

Limitations and assumptions

The analysis assumes standard compactness and Lipschitz certificates; tractability results require Taylor-certified analytic vector fields with quantitative magnitude and radius bounds, which may not hold for all practical models.

Practical relevance

The findings guide the design of reliable continuous-depth models by highlighting the role of representation certificates and local evaluation costs in determining inference difficulty.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction