Papers › Neural Controlled Differential Equations for Irregular Time Series

Neural Controlled Differential Equations for Irregular Time Series

18 May 2020NeurIPS 2020 12arXiv:2005.08926archive 2025-07-28

Patrick Kidger, James Morrill, James Foster, Terry Lyons

Neural ordinary differential equations are an attractive option for modelling temporal dynamics. However, a fundamental issue is that the solution to an ordinary differential equation is determined by its initial condition, and there is no mechanism for adjusting the trajectory based on subsequent observations. Here, we demonstrate how this may be resolved through the well-understood mathematics of \emph{controlled differential equations}. The resulting \emph{neural controlled differential equation} model is directly applicable to the general setting of partially-observed irregularly-sampled multivariate time series, and (unlike previous work on this problem) it may utilise memory-efficient adjoint-based backpropagation even across observations. We demonstrate that our model achieves state-of-the-art performance against similar (ODE or RNN based) models in empirical studies on a range of datasets. Finally we provide theoretical results demonstrating universal approximation, and that our model subsumes alternative ODE models.

PaperPDFConference PDFCodeCode 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="2005.08926")

Code

Syntology Ran 4 of 20 code samples harvested from 4 repositories linked to this paper; 16 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 6 samples from 1 repository, 0 ran; community (archive-listed): 12 samples from 3 repositories, 2 ran; 2 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

patrick-kidger/NeuralCDE officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
dungxibo123/NeuralCDE mentioned on GitHubpytorchApache-2.0 report
google-research/torchsde mentioned on GitHubpytorch report
patrick-kidger/FasterNeuralDiffEq mentioned on GitHubpytorch report
philipdarke/torchtime mentioned on GitHubpytorchMIT 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

20 samples harvested; 4 ran; 0 honoured the contract we drafted; 16 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.

1ran · violated contract
1ran · our draft was wrong
1ran · fixture could not drive it
1ran
16unverified

Licence: 2 of the 20 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 4 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

cheap_stack patrick-kidger/NeuralCDE/controldiffeq/misc.py official repository unverified Apache-2.0 (permissive) · f3fd7f081ad2b0ac · report
dataloader patrick-kidger/NeuralCDE/experiments/datasets/common.py official repository unverified Apache-2.0 (permissive) · 3d00ef924475de36 · report
natural_cubic_spline_coeffs patrick-kidger/NeuralCDE/controldiffeq/interpolate.py official repository unverified Apache-2.0 (permissive) · 9ecdee7c3249e7c8 · report
normalise_data patrick-kidger/NeuralCDE/experiments/datasets/common.py official repository unverified Apache-2.0 (permissive) · b9dfe82fa3003be5 · report
split_data patrick-kidger/NeuralCDE/experiments/datasets/common.py official repository unverified Apache-2.0 (permissive) · 39ae76dc29320765 · report
tridiagonal_solve patrick-kidger/NeuralCDE/controldiffeq/misc.py official repository unverified Apache-2.0 (permissive) · bd529c79265ef41b · report
cdeint dungxibo123/NeuralCDE/controldiffeq/cdeint_module.py community (archive-listed) ran Apache-2.0 (permissive) · a4dafc84cbeb2bb5 · report
parse_return google-research/torchsde/torchsde/_core/sdeint.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · bd70944e548b69cd · report
GRU_ODE dungxibo123/NeuralCDE/experiments/models/vector_fields.py community (archive-listed) unverified Apache-2.0 (permissive) · 95c5d0ccacb5efc4 · report
check_contract google-research/torchsde/torchsde/_core/sdeint.py community (archive-listed) unverified Apache-2.0 (permissive) · e6f3ab1566910024 · report
dataloader dungxibo123/NeuralCDE/experiments/datasets/common.py community (archive-listed) unverified Apache-2.0 (permissive) · 3588c9b656c72587 · report
evaluate_loss google-research/torchsde/examples/sde_gan.py community (archive-listed) unverified Apache-2.0 (permissive) · ff96c7be4662524f · report
forward_impute philipdarke/torchtime/src/torchtime/impute.py community (archive-listed) unverified MIT (permissive) · 13f770aeadd69af7 · report
normalise_data dungxibo123/NeuralCDE/experiments/datasets/common.py community (archive-listed) unverified Apache-2.0 (permissive) · aceed8741052218d · report
packed_sequence philipdarke/torchtime/src/torchtime/collate.py community (archive-listed) unverified MIT (permissive) · d01650eee408e749 · report
replace_missing philipdarke/torchtime/src/torchtime/impute.py community (archive-listed) unverified MIT (permissive) · a1971b5815c2fc7a · report
sort_by_length philipdarke/torchtime/src/torchtime/collate.py community (archive-listed) unverified MIT (permissive) · 9828f771a54b575c · report
split_data dungxibo123/NeuralCDE/experiments/datasets/common.py community (archive-listed) unverified Apache-2.0 (permissive) · a5ee2b2e1aa03e18 · report
get_data identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 582d465aad5dd543 · report
str2bool identical code first harvested elsewhere ran · violated contract licence of this copy not recorded · 6a904c09f82ab220 · report

Tasks

Irregular Time SeriesTime SeriesTime Series Analysis

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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