Systematic Generalization for Predictive Control in Multivariate Time Series

Hritik Bansal, Gantavya Bhatt, Pankaj Malhotra, Prathosh A. P.arXiv 2021

Abstract

Systematic generalization—the ability to reason about novel combinations of known components—remains a significant challenge for neural networks in dynamical systems. This paper presents a modular neural network architecture designed to forecast multivariate time series by disentangling control variables. By leveraging inductive biases such as separate control encoders and structured latent transitions, the proposed model avoids learning spurious correlations. Evaluations on synthetic NARMA data and simulated electric motor datasets demonstrate that this modularity leads to order-of-magnitude improvements in out-of-distribution (OOD) performance and long-horizon stability.

Introduction

While standard neural networks excel at interpolation within their training distribution, they frequently struggle with systematic generalization. In complex dynamical systems, such as robotic controllers or industrial motors, models must predict future states based on current states and control actions. A common failure mode occurs when training data contains correlated control variables (e.g., voltage and current always increasing together). A vanilla network may learn a "spurious correlation," failing when tested on novel scenarios where these variables are decoupled. This work addresses the challenge of building forecasting models that can generalize to previously unobserved combinations of actions.

Methodology: Modular Inductive Biases

To achieve systematicity, the authors propose a modularized architecture that enforces structural constraints on information flow.

Comparison of baseline and proposed modular architectures featuring structured latent transition models.

The architecture consists of three primary components:

  1. Separate Control (SC) Encoders: Instead of a monolithic input layer, each control variable is processed by an independent 1D causal convolutional neural network. This prevents the model from mixing control signals prematurely.
  2. Structured Latent Transition Model (TM): Unlike a standard Multi-Layer Perceptron (MLP), this component uses a factored representation to explicitly model dependencies between specific state-control pairs before aggregation.
  3. Hard Decoder (HD): Some variants employ separate decoders for each forecasted state variable, further isolating the underlying dynamics of different system components.

Experimental Setup

The models were evaluated on two datasets designed to test OOD robustness:

  • Synthetic NARMA Data: Multivariate time series generated with varying causal complexities.
  • Simulated Electric Motor (PMSM): A real-world engineering dataset where rotor speed interacts non-linearly with three-phase currents and voltages.
Visualization of the control space partition into training (orange) and OOD testing (blue) regions.

In both cases, the training data was restricted to specific regions of the control space (the "orange" regions in the figure above), while testing was conducted on "blue" OOD regions representing novel combinations of control actions.

Key Results and Insights

The experiments yielded several critical findings:

  • Superior OOD Performance: On synthetic tasks, the modular "Ours" architecture achieved Mean Squared Error (MSE) scores up to 10x lower than the baseline. In the electric motor dataset, the modular approach maintained a relative error of 0.32–0.44, whereas the baseline's error surged to 12.89.
  • Causal Integrity: Through intervention testing—adding noise to mathematically independent variables—the authors confirmed that the modular model correctly identifies the underlying causal structure. The baseline model's error exploded under these conditions, indicating it had relied on fake dependencies.
  • Long-Horizon Stability: Modular models remained stable over forecasting horizons of up to 50 steps, while non-modular models accumulated errors rapidly as they drifted from the training distribution.

Conclusion

The results underscore that high-capacity MLPs are often too flexible, latching onto spurious correlations that hinder generalization. By restricting information flow through modular components, researchers can force networks to learn true underlying structures. Future work will explore extending these deterministic models to stochastic environments and developing methods for the automated discovery of sparse dependency structures.

Summary updated

BibTeX
@misc{bansal2021systematic,
  author = {Hritik Bansal and Gantavya Bhatt and Pankaj Malhotra and Prathosh A. P.},
  title = {{Systematic Generalization for Predictive Control in Multivariate Time Series}},
  year = {2021},
  eprint = {2102.05602},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.05602},
}
Figure