Decomposing Complex Dynamics into Piecewise Linear Regimes

This direction is split into other directions: switching linear dynamical systems. Its last version stays readable and citable here.

Version 1 of 133 papers37 conceptsfrozen 2026-10-04

The natural world is rarely linear. A quadrotor drone experiences turbulent aerodynamic shifts; a brain transitions between visual processing and motor execution; a stem cell branches into distinct lineages. Traditionally, we model these systems using complex nonlinear differential equations or "black-box" neural networks. However, these approaches often sacrifice interpretability or mathematical tractability.

A powerful alternative is to view a complex nonlinear system as a collection of simple linear ones. By "switching" between different linear regimes based on the current state, we can approximate global complexity through local simplicity.

The Intuition of Piecewise Linearity

The core idea behind Switching Linear Dynamical Systems (SLDS) is analogous to approximating a smooth curve with a sequence of short, straight line segments. While a single straight line cannot describe a circle, a sufficient number of segments can approximate it to any desired precision.

In dynamical systems, this means that instead of one global nonlinear transition function, we maintain a library of linear matrices. At any given moment, a discrete "switch" determines which matrix governs the system's evolution. As Emily Fox demonstrated in Nonparametric Bayesian Learning of Switching Linear Dynamical Systems, this allows us to segment complex time-series data into distinct, interpretable regimes—like a person switching from walking to running.

Making the Switch State-Dependent

In basic switching models, the transition between modes is often treated as a random process (like a Hidden Markov Model). However, physical systems usually switch modes because of where they are in space. A ball's dynamics change specifically when it hits a wall; a drone's dynamics change when it enters a high-velocity bank.

To capture this, researchers like Hany Abdulsamad and Jan Peters utilize Recurrent Switching Linear Dynamical Systems (rSLDS). In these models, the probability of switching to a new mode is explicitly conditioned on the current continuous state. This "recurrent" link allows the model to learn physical boundaries and geometric constraints, as seen in Model-Based Reinforcement Learning for Stochastic Hybrid Systems. By carving the environment into meaningful discrete "modes," agents can perform high-level planning more efficiently than they could in a purely continuous, nonlinear space.

Bridging Deep Learning and Control

While linear models are interpretable, they struggle with high-dimensional "raw" data like pixels or neural spikes. The modern frontier involves embedding switching dynamics within latent spaces.

In Learning to Fly via Deep Model-Based Reinforcement Learning, Philip Becker-Ehmck and colleagues show that a drone can learn to fly from scratch by "dreaming" trajectories in a latent space governed by locally linear transitions. Instead of a monolithic neural network, the model predicts state-dependent matrices that are combined to forecast the future. This provides smoother gradients for optimization and allows the drone to generalize across different flight envelopes.

However, approximating a nonlinear system with linear patches can lead to "drift" over long periods. Mahan Fathi and Ross Goroshin addressed this in Course Correcting Koopman Representations by periodically re-encoding the state. This "course correction" ensures that the linear approximation stays tethered to the true nonlinear manifold, preventing the model from wandering off-track during long-term predictions.

Why Decompose Dynamics?

The shift toward switching linear models is driven by three primary advantages:

  1. Interpretability: In neuroscience, Biljana Petreska used Dynamical segmentation to show that brain activity during a task isn't just a messy signal; it's a sequence of distinct dynamical stages that predict behavior.
  2. Efficiency: Modeling a system as a mixture of linear experts is often more parameter-efficient than a deep nonlinear model. Abdul Fatir Ansari demonstrated in Neural Continuous-Discrete State Space Models that soft-switching between linear models can outperform complex Neural ODEs while using significantly fewer parameters.
  3. Handling Discontinuity: Standard neural networks struggle with "non-smooth" events like collisions. By treating a collision as a discrete switch between two different linear regimes, models like those proposed by Joseph Zhen Ying Xu can predict discontinuous physical events with much higher accuracy.

By decomposing the "hard" problem of global nonlinearity into a "soft" problem of switching between simple linear regimes, we gain models that are not only powerful enough to control robots and decode brains but also structured enough for us to understand how they are making their predictions.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_decomposing_complex_dynamics_into_piecew_ddfff210,
  title = {Decomposing Complex Dynamics into Piecewise Linear Regimes},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/decomposing-complex-dynamics-into-piecewise-linear-regimes/rdr_ddfff21066eb4b46bbe4c367c0549c0f},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-01},
}

This exact version (version 1, frozen text):

@misc{lacuna_decomposing_complex_dynamics_into_piecew_ddfff210_v1,
  title = {Decomposing Complex Dynamics into Piecewise Linear Regimes},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/decomposing-complex-dynamics-into-piecewise-linear-regimes/rdr_ddfff21066eb4b46bbe4c367c0549c0f/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-01},
}