[Paper Review] Recurrent Neural Processes
This paper introduces Recurrent Neural Processes (RNPs), a novel family of conditional state space models that extend Neural Processes to sequential data by modeling the latent state space with Neural Processes. RNPs efficiently capture slow, long-term temporal patterns in fast-changing time series through conditional independence among subsequences, enabling accurate uncertainty estimation and high test-time efficiency—demonstrated by state-of-the-art performance on real-world time-series prediction and nonlinear system identification tasks, especially under data scarcity.
We extend Neural Processes (NPs) to sequential data through Recurrent NPs or RNPs, a family of conditional state space models. RNPs model the state space with Neural Processes. Given time series observed on fast real-world time scales but containing slow long-term variabilities, RNPs may derive appropriate slow latent time scales. They do so in an efficient manner by establishing conditional independence among subsequences of the time series. Our theoretically grounded framework for stochastic processes expands the applicability of NPs while retaining their benefits of flexibility, uncertainty estimation, and favorable runtime with respect to Gaussian Processes (GPs). We demonstrate that state spaces learned by RNPs benefit predictive performance on real-world time-series data and nonlinear system identification, even in the case of limited data availability.
Motivation & Objective
- To extend Neural Processes (NPs) to sequential and temporal data by introducing a recurrent structure in the latent state space.
- To enable efficient inference in time series with fast real-world sampling but slow long-term variabilities by establishing conditional independence among subsequences.
- To retain the benefits of NPs—flexibility, uncertainty estimation, and O(n+m) runtime—while applying them to stochastic processes evolving over time.
- To demonstrate improved predictive performance and informative uncertainty quantification on real-world time-series datasets, especially with limited data.
Proposed method
- Model the state space of a time series using Neural Processes (NPs), enabling distributional modeling over functions and uncertainty estimation.
- Introduce recurrence in the latent variable prior via $ P(z_t | z_{<t}, C_t) $, allowing the model to maintain a hidden state across time steps.
- Establish conditional independence among non-overlapping subsequences of the time series to enable efficient, scalable inference without full sequence dependence.
- Use a hierarchical NP architecture to model multiple time scales, capturing both fast fluctuations and slow trends in the data.
- Train the model end-to-end using a differentiable loss function derived from the variational lower bound on the log-likelihood of the target observations.
- Apply the framework to one-step-ahead prediction tasks, using both autoregressive and non-autoregressive decoding strategies.
Experimental results
Research questions
- RQ1Can Neural Processes be extended to model sequential data while preserving their computational efficiency and uncertainty estimation capabilities?
- RQ2How can a recurrent structure be integrated into the latent state space of NPs to model time-evolving stochastic processes?
- RQ3Can RNPs effectively learn slow, long-term temporal patterns from high-frequency observations without requiring explicit supervision on those patterns?
- RQ4Does the conditional independence assumption among subsequences enable scalable and accurate inference in long time series?
- RQ5How do RNPs compare to existing state-space models in terms of predictive accuracy and uncertainty calibration on real-world time-series benchmarks?
Key findings
- On the Drives dataset, RNPs achieved a normalized MSE of 0.238, significantly outperforming LSTM (1.000) and GP-NARX (0.953), indicating strong generalization under data scarcity.
- The RNP model achieved a prediction interval coverage probability (PICP) of 0.874 on the Drives dataset, demonstrating reliable uncertainty quantification despite limited data.
- On the Electricity dataset, the RNP achieved a normalized MSE of 1.111, outperforming several baselines including VRNN (1.902) and DSSM (1.131), and showed robustness in capturing complex temporal dynamics.
- Qualitative analysis revealed that RNPs can accurately predict the start of target sequences and dynamically adjust uncertainty, especially in regions with high variability.
- The model demonstrated the ability to learn slow latent time scales (e.g., seasonal patterns) from high-frequency observations (e.g., hourly temperature), even when these patterns are obscured by fast fluctuations.
- The framework supports hierarchical modeling of stochastic processes, enabling scalable and flexible modeling of multi-scale temporal dependencies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.