Papers › Continuous-in-Depth Neural Networks

Continuous-in-Depth Neural Networks

5 Aug 2020arXiv:2008.02389archive 2025-07-28

Alejandro F. Queiruga, N. Benjamin Erichson, Dane Taylor, Michael W. Mahoney

Recent work has attempted to interpret residual networks (ResNets) as one step of a forward Euler discretization of an ordinary differential equation, focusing mainly on syntactic algebraic similarities between the two systems. Discrete dynamical integrators of continuous dynamical systems, however, have a much richer structure. We first show that ResNets fail to be meaningful dynamical integrators in this richer sense. We then demonstrate that neural network models can learn to represent continuous dynamical systems, with this richer structure and properties, by embedding them into higher-order numerical integration schemes, such as the Runge Kutta schemes. Based on these insights, we introduce ContinuousNet as a continuous-in-depth generalization of ResNet architectures. ContinuousNets exhibit an invariance to the particular computational graph manifestation. That is, the continuous-in-depth model can be evaluated with different discrete time step sizes, which changes the number of layers, and different numerical integration schemes, which changes the graph connectivity. We show that this can be used to develop an incremental-in-depth training scheme that improves model quality, while significantly decreasing training time. We also show that, once trained, the number of units in the computational graph can even be decreased, for faster inference with little-to-no accuracy drop.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2008.02389")

Code

Syntology Ran 4 of 6 code samples harvested from 2 repositories linked to this paper; 2 have no recorded run. Of those that ran: 4 ran · our draft was wrong.

By repository: community (archive-listed): 6 samples from 2 repositories, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

afqueiruga/ContinuousNet officialmentioned in papermentioned on GitHubpytorchGPL-3.0 report
afqueiruga/ODENet mentioned on GitHubpytorchGPL-3.0 report
afqueiruga/StatefulOdeNets mentioned on GitHubjax report
ivandariojr/lyapunovlearning mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

6 samples harvested; 4 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
2unverified

Licence: 6 of the 6 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_arch_name ivandariojr/lyapunovlearning/sl_pipeline.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · f3ee1c97f81b2274 · report
get_model_name ivandariojr/lyapunovlearning/sl_pipeline.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 2f26b981f0269a1c · report
get_module_name ivandariojr/lyapunovlearning/sl_pipeline.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 9501e3c98d3be436 · report
initialize_multiple_times afqueiruga/StatefulOdeNets/continuous_net/continuous_block.py community (archive-listed) ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · 7634096bbbbbf744 · report
copy_and_perturb afqueiruga/StatefulOdeNets/continuous_net/continuous_block.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · c0ff2d556897a83c · report
initialize_multiple_times_split_state afqueiruga/StatefulOdeNets/continuous_net/continuous_block.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · 4df980ad796e5690 · report

Tasks

Numerical Integration

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

1x1 ConvolutionAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionGlobal Average PoolingKaiming InitializationMax PoolingReLUResidual BlockResidual Connection

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections