Manuscript Offprint
arXiv:2611.02340On Stochastic Continuous-Time Linear System Identification for Adaptive Stabilization
Reza Sadeghi Hafshejani * Mohamad Kazem Shirani Faradonbeh *
- Department of Mathematics, Southern Methodist University, Dallas, TX 75205, USA (e-mail: rezas@smu.edu; mohamadksf@smu.edu).
Abstract: Learning to stabilize an unknown continuous-time stochastic linear system is a central problem in control theory and reinforcement learning. This paper numerically studies data-driven identification of such systems with possibly unstable dynamics for the purpose of stabilization. We present a method that learns a stabilizing gain from observed trajectories, and examine how the failure probability, namely the probability that the learned gain does not stabilize the system, depends on the amount of data, dimension, noise intensity, excitation, and controllability. Numerical experiments on an unstable batch-reactor benchmark show that the squared identification error decays inversely with the aggregate observation time, that is, the combined length of all trajectories, while the failure probability decays exponentially in the same quantity. Hence, despite instability, a single long trajectory can achieve similar stabilization performance to that of many short trajectories of the same total length. We also observe signal saturation: stronger excitation improves stabilization only logarithmically with the excitation strength. Finally, we show experimentally that accurate identification of the full dynamics is not necessary for successful stabilization.
Keywords: System identification; Adaptive stabilization; Unknown dynamics; Unstable systems; Stochastic control.
1. INTRODUCTION
Linear control systems that evolve in continuous time are ubiquitous models, with applications ranging from robotics and aerospace to algorithmic trading (Treven et al., 2021; Faradonbeh and Faradonbeh, 2023). A central control problem is stabilization: choosing the control input so that the closed-loop dynamics are stable and the system can operate for extended periods (Treven et al., 2021; Lale et al., 2022; Hu et al., 2022). When the system dynamics are known, methods for designing stabilizing feedback controllers are well established (Åström and Murray, 2008). However, under unknown dynamics, a controller must instead be learned from observations of the system.
Adaptive control in unknown environments has received significant attention recently, with feedback controllers learned through interaction with the environment to achieve suitable stability or optimality properties. In discrete time, non-asymptotic system identification is studied extensively. Several algorithms assume access to an initial stabilizing gain and aim to improve performance with respect to a cost function (Dean et al., 2018; Simchowitz and Foster, 2020). However, stabilization itself is nontrivial, and such prior knowledge cannot always be assumed (Hu et al., 2022). Accordingly, algorithms have been developed that learn to stabilize without a given stabilizer.
These approaches include random linear feedbacks with high-probability stabilization guarantees (Shirani Faradonbeh et al., 2019), robust synthesis from estimated uncertainty sets (Treven et al., 2021), and exploration strategies combining fast stabilization with low regret (Lale et al., 2022). The sample complexity, however, depends on system structure, as weak controllability can substantially increase the data requirements for successful stabilization (Tsiamis et al., 2022). Nevertheless, identifying
the full dynamics need not be necessary. For noise-free systems under suitable spectral and controllability assumptions, learning the dynamics associated with the unstable subspace can suffice for stabilization, with sample complexity governed primarily by the number of unstable modes (Hu et al., 2022). This suggests favorable data requirements for systems with many stable modes and relatively few unstable ones.
In continuous time, non-asymptotic results are comparatively fewer. Existing approaches either assume an initial stabilizing controller (Shirani Faradonbeh et al., 2022; Faradonbeh and Faradonbeh, 2023), or use multiple finite-horizon realizations (Basei et al., 2022; Zhou et al., 2025). A related Bayesian approach learns a stabilizing controller from a single trajectory, supported by numerical experiments and sufficient estimation-accuracy conditions for stability (Faradonbeh and Faradonbeh, 2022). However, the joint effects of trajectory count, observation horizon, dimension, noise intensity, and input design on stabilization success remain insufficiently understood.
We study these effects numerically, examining how well continuous-time stochastic linear systems with possibly unstable dynamics can be stabilized from data, without an initial stabilizing feedback gain. We present a method that learns to stabilize the system without prior knowledge of the dynamics, from either a single trajectory or multiple trajectories. We then examine how its failure probability depends on the aggregate observation time, dimension, disturbance intensity, input strength, and controllability. The experiments indicate that, under suitable excitation and controllability, the failure probability decays exponentially with the aggregate observation time. Thus, fewer longer trajectories can perform comparably to more shorter ones. This holds despite the challenges induced by instability, such as the exponential growth of the state and the strong statistical dependence along each trajectory.
The experiments also reveal a phenomenon that we call signal saturation. Existing guarantees improve with the signal-to-noise ratio (SNR) between excitation and disturbance (Ziemann et al., 2023). In discrete time, the least-squares error bound of Dean et al. (2020) scales inversely with the SNR, implying that the probability that the resulting robust controller fails to stabilize the system decays exponentially in it. A similar rate holds for estimating the drift matrix in continuous time (Hafshejani and Faradonbeh, 2025). In contrast, we observe that stronger excitation reduces only logarithmically in the excitation variance rather than linearly, so its benefits saturate.
We also distinguish identification accuracy from stabilization success. Motivated by the unstable-subspace perspective of Hu et al. (2022), we modify the input matrix to reduce excitation of a stable mode. Identification accuracy then degrades substantially, while stabilization performance remains essentially unchanged. This suggests that not every component of the dynamics is equally important for stabilization. Finally, we examine resilience to model-order misspecification. Our aim is to provide practitioners a method for stabilization, with experimental evidence on the data and excitation requirements. A theoretical analysis is beyond the scope of this study.
The remainder of the paper is organized as follows. Section 2 formulates the problem. Section 3 presents the method and the scaling relation, which Section 4 examines numerically. Section 5 concludes the paper.
Notation. For a matrix , denotes its transpose, its operator norm, its Frobenius norm, and an eigenvalue of with largest real part. For symmetric matrices, denotes the smallest eigenvalue, and means that is positive semidefinite. We write for the identity matrix, and for the real part of . Finally, denotes a normal distribution with mean and covariance .
where is an input chosen by the controller at time and is a standard Wiener process that disturbs the system. Here, is the system matrix governing the dynamics and is the input matrix that determines the effect of the control input on the state. Moreover, is a time-varying noise coefficient matrix that satisfies
for some constant .
All matrices in the above setting are assumed to be unknown. Moreover, we do not impose any assumption on the eigenstructure of , so the open-loop dynamics may be unstable. The pair is said to be stabilizable if there exists a feedback gain K such that all eigenvalues of lie strictly in the open left half-plane of the complex plane.
For a stabilizable pair , let denote their horizontal concatenation. For positive definite matrices and , let be the symmetric positive definite solution of the Riccati equation
For known dynamics , it is well known that the gain
stabilizes the system. However, when the underlying dynamics are unknown, one must learn them before a controller based on the above Riccati equation can be synthesized. Our objective is to design the control input in (1) to provide sufficient information for identification, so that the estimate is sufficiently close to the true parameter . This estimate is then supplied to (3)–(4) to obtain a gain aimed to stabilize the true system. Before proceeding, we impose the following controllability condition on the true system.
Assumption 1. There exists a constant such that
The above assumption has two implications. First, by proper design of the control input, one can excite the state trajectory in every direction, which facilitates accurate identification of the system matrices. Second, it ensures that the true system is stabilizable, so sufficiently accurate estimates can be used to construct a stabilizing feedback gain.
3. SYSTEM IDENTIFICATION FOR STABILIZATION
In this section, we first describe a method that learns to stabilize (1) without prior knowledge of the dynamics or a stabilizing gain, and then present the scaling relation that organizes our experiments. Consider independent realizations of (1), each observed over . The method also applies to a single trajectory by taking . Divide into subintervals of length , so that . For each realization , and subinterval indexed by , let be mutually independent Gaussian vectors, also independent of the disturbing Wiener processes. The input is held constant on each subinterval:
where is the excitation variance. Under (6), the solution of (1) for each realization initiated at is
(7)
with an excitation term proportional to and a noise term governed by in (2). At the end of the identification interval , we pool the data from all N realizations to estimate by
where V is the aggregate state-input sample covariance matrix
The estimate in (8) can be viewed as a continuous-time least-squares estimator. It is obtained by sampling the trajectory on a mesh of size h, fitting the corresponding least-squares estimator, and taking the limit as h tends to zero.
The estimate is then supplied to (3)–(4) to obtain . Applying the feedback gives the true closed-loop matrix . We define the failure event
We study numerically how depends on the trajectory length , the number of realizations , the dimension , the noise magnitude in (2), the excitation variance , and the controllability level in Assumption 1. The experiments are organized around the scaling relation
where depends only on and . By (11), the failure probability decays exponentially with the aggregate observation time , so fewer, longer trajectories can achieve similar stabilization performance to that of many short ones of the same total length, despite the strong dependence along each unstable trajectory. The rate also scales inversely with the dimension and the noise variance , and grows logarithmically with .
This logarithmic dependence reflects signal saturation. Intuitively, by (7), increasing amplifies the excitation term relative to the noise, which strengthens the signal. However, on each this term contains the response to the current input, so as grows, and become increasingly correlated and provide little additional information for jointly estimating and . Such saturation was not observed by Hafshejani and Faradonbeh (2025), where only is estimated.
4. NUMERICAL EXPERIMENTS
We consider the linearized model of an unstable batch reactor used as a benchmark in networked and data-driven control with noise-free or bounded-noise data (Walsh and Ye, 2001; De Persis and Tesi, 2020; Rotulo et al., 2020). We use the continuous-time matrices reported by Antunes et al. (2015) and add the disturbing Wiener process with the noise matrix . Values below are displayed to two decimal places:
The eigenvalues of are approximately 1.99, 0.06, -5.06, and -8.67. Thus, there are two unstable modes, and the state magnitude reaches the order of within approximately 10 seconds, making fast stabilization essential.
We vary the number of trajectories and their length . Unless stated otherwise, , , and . Figure 1 reports the squared error over 500 runs per pair, scaled by at fixed in panel (a) and by at fixed in (b). The approximately constant levels show that the squared error scales inversely with the total amount of data , up to confidence factors.
For stabilization, we estimate for each pair as the fraction of 10 000 independent runs in which the resulting gain fails to stabilize the system. In Figure 2, decreases linearly in both T and N, so the failure probability decays exponentially in each, in agreement with (11).
In Figure 3, panel (a) shows the level sets of over the grid on a log-log scale. Each band corresponds to combinations that yield approximately the same failure probability and closely follows the slope of the dashed reference line . Hence, fewer, longer trajectories perform comparably to many short ones, and extending the horizon remains informative despite the statistical dependence that instability induces along each trajectory.
To vary the dimension, we construct block-diagonal copies of the matrices in (12), so that and . The estimator fits the full matrices without exploiting the block structure. Figure 3(b) shows that decreases approximately linearly with for fixed values of , in agreement with the inverse dependence of the rate in (11) on dimension. Other pairs display similar behavior.
Figure 4(a) examines noise intensity by setting and varying . The decrease of with shows that stabilization becomes more challenging as the noise intensity increases.
Figure 4(b) examines the effect of the excitation magnitude at fixed noise . Although stronger excitation reduces the failure probability, decreases only logarithmically with , in agreement with (11). This behavior reflects the signal saturation discussed in Section 3. Similar behavior is observed for other pairs.
To examine controllability, let be the smaller unstable eigenvalue of , with right and left eigenvectors and such that . We modify the input matrix as
Then , so decreasing weakens only the selected mode's input coupling. We choose so that the smallest eigenvalue of the controllability Gramian over takes the values 0.025, 0.05, ..., 0.25. Figure 5(a) shows that decreases approximately linearly in , as in (11).
Figure 5(b) examines these effects jointly. For block-diagonal copies of (12), with , noise intensity , and , it plots for all combinations of , and against , the quantity appearing in (11). The fitted slope gives the estimate in (11) for this system.
4.1 Identification and stabilization
Next, we examine the distinction between accurate identification and successful stabilization by weakening excitation of a stable mode. Let be a stable eigenvalue of , with right and left eigenvectors satisfying , and let . We set
with . Then for all and . Thus the noise does not excite the selected stable mode, and decreasing weakens its input coupling while preserving the coupling to the unstable modes. We quantify controllability by
and choose such that takes 15 logarithmically spaced values between and 0.049. We use N = 10, T = 2, and

(a)
(b)
Fig. 1. Scaled squared identification error for the system given in (12): (a) versus T at N = 2 and (b) versus N at T = 2. Curves show the median, 90th, and 99th percentiles over 500 runs.
vs. T (fixed N)

(a)
vs. N (fixed T)
(b)
Fig. 2. Logarithm of the stabilization failure probability for the system given in (12), computed over 10 000 runs per configuration. The failure probability decreases exponentially with both (a) the trajectory length T and (b) the number of trajectories N.
Failure probability level sets in the plane

(a)
vs.

(b)
Fig. 3. (a) Level sets of for the system in (12) on -log axes, computed over 10 000 runs per configuration. The dashed reference is a constant-NT curve, indicating that failure probability is governed by . (b) versus for block-diagonal copies of (12) at , and computed over 2000 runs.
500 runs per configuration. The input and noise realizations are shared across the modified input matrices.
Figure 6(a) reports the median squared estimation error with its 10–90% percentile band (left axis) and failure probability (right axis). As decreases, the stable mode is excited by neither the noise nor the input, and its dynamics become increasingly

(a)
(b)
Fig. 4. Logarithm of the stabilization failure probability for (12) versus (a) the inverse noise variance at N = 4, T = 2, and , over 5000 runs, omitting zero-count configurations, and (b) the excitation variance at N = 4 and T = 1.

(a)
(b)
Fig. 5. Logarithm of the stabilization failure probability versus (a) the controllability level of the modified actuators in (13) at and , over 500 runs, and (b) the scaling variable of (11) for two block-diagonal copies of (12) ( , , ), with , , and .
Identification error and vs.

(a)

(b)
Fig. 6. (a) Stable-mode experiment (14) at , , over 500 runs: median squared error with 10–90% band (left axis) and failure probability (right axis) versus in (15). (b) Order misspecification for (16) at , assumed orders .
difficult to identify. Nevertheless, stabilization failure remains approximately constant over nearly seven orders of magnitude of . Since the weakly excited mode is stable, errors in its estimate barely affect closed-loop stability; insufficient excitation can thus degrade identification without impairing stabilization.
4.2 Order misspecification
Higher-order differential equations can be represented as first-order systems by augmenting the state with successive derivatives (Boyce et al., 2017). If the order is misspecified, estimation and feedback synthesis are performed using a state representation of incorrect dimension. We examine this mismatch using the third-order oscillator of Moore and Spiegel (1966),
Linearizing around the origin with and , setting , and adding a stochastic disturbance gives
with .
We compare three representations of the same system. Exact specification uses . Underspecification uses , omitting the highest-order state needed to represent (16) exactly. Overspecification introduces and uses , adding a redundant dynamical coordinate without altering the system. In each case, estimation (8) and synthesis (3)–(4) use the selected representation, while the resulting feedback is applied to the true system and evaluated through (10). Figure 6(b) shows that exact specification gives the fastest decay of the failure probability, while both mismatches substantially degrade the stabilization performance.
5. CONCLUDING REMARKS
We numerically studied identification for stabilization of unknown continuous-time stochastic linear systems. Stabilization performance improves with the aggregate observation time, excitation, and controllability, and degrades with noise intensity and dimension, in agreement with (11). In particular, despite instability, a single long trajectory performs comparably to many short trajectories of the same total length. We also observed signal saturation: stronger excitation helps, but with diminishing returns, since the logarithm of the failure probability depends only logarithmically on the excitation variance. Moreover, accurate identification of the full dynamics was not necessary for stabilization, which suggests that identifying the unstable modes may suffice and offers favorable data requirements for systems with few unstable and many stable modes. Future work includes a theoretical analysis of (11), a study of the sufficiency of unstable-mode identification for stabilization, and extensions to time-varying dynamical systems.
REFERENCES
Antunes, D., Hespanha, J.P., and Silvestre, C. (2015). Stochastic networked control systems with dynamic protocols. Asian Journal of Control, 17(1), 99–110. doi:10.1002/asjc.841.
Åström, K.J. and Murray, R.M. (2008). Feedback Systems: An Introduction for Scientists and Engineers. Princeton University Press.
Basei, M., Guo, X., Hu, A., and Zhang, Y. (2022). Logarithmic regret for episodic continuous-time linear-quadratic reinforcement learning over a finite-time horizon. Journal of Machine Learning Research, 23(178), 1–34.
Boyce, W.E., DiPrima, R.C., and Meade, D.B. (2017). Elementary Differential Equations and Boundary Value Problems. John Wiley & Sons, 11 edition.
De Persis, C. and Tesi, P. (2020). Formulas for data-driven control: Stabilization, optimality, and robustness. IEEE Transactions on Automatic Control, 65(3), 909–924.
Dean, S., Mania, H., Matni, N., Recht, B., and Tu, S. (2018). Regret bounds for robust adaptive control of the linear quadratic regulator. In Advances in Neural Information Processing Systems, volume 31.
Dean, S., Mania, H., Matni, N., Recht, B., and Tu, S. (2020). On the sample complexity of the linear quadratic regulator. Foundations of Computational Mathematics, 20(4), 633–679. doi:10.1007/s10208-019-09426-y.
Faradonbeh, M.K.S. and Faradonbeh, M.S.S. (2022). Bayesian algorithms learn to stabilize unknown continuous-time systems. IFAC-PapersOnLine, 55(12), 377–382.
Faradonbeh, M.K.S. and Faradonbeh, M.S.S. (2023). Online reinforcement learning in stochastic continuous-time systems. In The Thirty Sixth Annual Conference on Learning Theory, 612–656. PMLR.
Hafshejani, R.S. and Faradonbeh, M.K.S. (2025). On the effect of instability on learning continuous-time linear control systems. In 2025 American Control Conference (ACC), 224–230. IEEE.
Hu, Y., Wierman, A., and Qu, G. (2022). On the sample complexity of stabilizing LTI systems on a single trajectory. In Advances in Neural Information Processing Systems, volume 35, 16989–17002.
Lale, S., Azizzadenesheli, K., Hassibi, B., and Anandkumar, A. (2022). Reinforcement learning with fast stabilization in linear dynamical systems. In Proceedings of The 25th International Conference on Artificial Intelligence and Statistics, volume 151 of Proceedings of Machine Learning Research, 5354–5390. PMLR.
Moore, D.W. and Spiegel, E.A. (1966). A thermally excited non-linear oscillator. The Astrophysical Journal, 143, 871–887.
Rotulo, M., De Persis, C., and Tesi, P. (2020). Data-driven linear quadratic regulation via semidefinite programming. IFAC-PapersOnLine, 53(2), 3995–4000. doi:10.1016/j.ifacol.2020.12.2264.
Shirani Faradonbeh, M.K., Shirani Faradonbeh, M.S., and Bayati, M. (2022). Thompson sampling efficiently learns to control diffusion processes. In Advances in Neural Information Processing Systems, volume 35, 3871–3884.
Shirani Faradonbeh, M.K., Tewari, A., and Michailidis, G. (2019). Finite-time adaptive stabilization of linear systems. IEEE Transactions on Automatic Control, 64(8), 3498–3505.
Simchowitz, M. and Foster, D. (2020). Naive exploration is optimal for online LQR. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, 8937–8948. PMLR.
Treven, L., Curi, S., Mutny, M., and Krause, A. (2021). Learning stabilizing controllers for unstable linear quadratic regulators from a single trajectory. In Proceedings of the 3rd Conference on Learning for Dynamics and Control, volume 144 of Proceedings of Machine Learning Research, 664–676. PMLR.
Tsiamis, A., Ziemann, I.M., Morari, M., Matni, N., and Pappas, G.J. (2022). Learning to control linear systems can be hard. In Proceedings of Thirty Fifth Conference on Learning Theory, volume 178 of Proceedings of Machine Learning Research, 3820–3857. PMLR.
Walsh, G.C. and Ye, H. (2001). Scheduling of networked control systems. IEEE Control Systems Magazine, 21(1), 57–65.
Zhou, H., Li, J., and Zhang, J. (2025). Finite sample analyses for continuous-time linear systems: System identification and online control. In Advances in Neural Information Processing Systems, volume 38. doi:10.52202/085713-1072.
Ziemann, I., Tsiamis, A., Lee, B., Jedra, Y., Matni, N., and Pappas, G.J. (2023). A tutorial on the non-asymptotic theory of system identification. In 2023 62nd IEEE Conference on Decision and Control (CDC), 8921–8939. IEEE.