Manuscript Offprint
arXiv:2610.02466SD-DPC: Sparse Dictionary Differentiable Predictive Control
Ali Reza Daneshvar Garmroodi and Jan Drgoña
Abstract—We present sparse dictionary differentiable predictive control (SD-DPC), a framework for learning sparse, interpretable feedback policies for nonlinear systems from data. A prediction model is first identified by rollout-based sparse identification of nonlinear dynamics (SINDy), building on gradient-based and multistep formulations. The policy is then parameterized as a sparse combination of dictionary functions and trained by differentiating a constrained finite-horizon predictive-control objective through this model, so that its terms are selected by closed-loop performance rather than by imitating a previously trained controller. The result is an explicit feedback law with only a handful of terms. Across three benchmark control problems, SD-DPC satisfies the constraints in all test scenarios, outperforms a policy distilled onto the same terms by up to an order of magnitude, and requires orders of magnitude less memory and online computation than an optimization benchmark, while admitting explicit sensitivity bounds.
I. INTRODUCTION
Model predictive control (MPC) optimizes closed-loop performance under state and input constraints, but requires solving a constrained optimization problem at every sampling instant [1]–[3], which can be prohibitive for fast nonlinear systems or restricted hardware. Explicit MPC moves the optimization offline, although the number of regions describing the solution can grow rapidly with the problem dimension [4]. Learned policies scale better, either by approximating a precomputed MPC law [5]–[7] or by directly minimizing a predictive-control objective through differentiable closed-loop rollouts [8], [9]. The latter approach, differentiable predictive control (DPC), yields an explicit policy that is inexpensive to evaluate online. However, these learned policies are commonly deep neural networks, which distribute the control law across many coupled parameters and are difficult to interpret, verify, modify, and adapt after deployment [10].
Sparse identification of nonlinear dynamics (SINDy) represents system dynamics as a sparse combination of candidate functions [11]. Extensions to controlled systems enable compact models for model-based control [12], [13], while ensemble, weak-form, gradient-based, and trajectory-based formulations improve robustness to noise and avoid pointwise derivative estimates [14]–[18]. The same dictionary structure can also represent a feedback law, which is the idea pursued here.

Fig. 1. Pipeline: sparse system identification and differentiable predictive control policy learning.
Sparse and symbolic representations have also been used for interpretable control policies. One line of work optimizes the policy structure through model-free reinforcement learning [19]–[21], where constraints enter only through the reward. Another trains a neural policy first and then fits a sparse policy to its actions [22], so the result is selected for agreement with the teacher rather than for closed-loop performance. Sparse polynomial feedback laws have also been learned by minimizing an averaged closed-loop cost with an penalty [23], but for known control-affine dynamics with a constant input matrix and without state or input constraints. To our knowledge, the terms of an explicit sparse policy have not been selected under a constrained finite-horizon predictive-control objective evaluated through a model identified from data.
In this work, we train a sparse dictionary policy directly through DPC. The prediction model and the feedback law are both sparse combinations of candidate functions, learned by the same sequentially thresholded gradient procedure, so the policy terms are selected by the constrained closed-loop objective itself rather than by an intermediate imitation step. The contributions of this paper are as follows.
• Closed-loop sparse policy learning framework: SD-DPC represents both the prediction model and the feedback policy as sparse dictionary expansions and, to our knowledge, is the first to select the policy terms under a constrained predictive-control objective through a model identified from data [16]–[18].
*This research is supported by the U.S. DOE, Office of Science, ASCR program under the Scientific Discovery through Advanced Computing (SciDAC) Institute “LEADS: LEarning-Accelerated Domain Science”.
Concordia University, Montreal, QC H3G1M8, Canada. alireza.daneshvargarmroodi@mail.concordia.ca
Johns Hopkins University, Baltimore, Maryland 21218, USA. jdrgonal1@jh.edu
• Structural guarantees: we show finite termination of the thresholded training with a bound on the cost of each prune, and derive a Lipschitz bound of the policy from its retained coefficients that bounds the closed-loop deviation caused by pruning or model mismatch.
• Closed-loop validation: on three benchmarks evaluated on the true plants, SD-DPC satisfies all constraints with orders of magnitude less memory and evaluation time than online optimization, whereas distilling a deep neural policy onto the same terms increases the tracking error by up to an order of magnitude and violates the obstacle constraint.
The remainder of the paper is organized as follows. Section II reviews SINDy and DPC, Section III develops SD-DPC, its training algorithm, and its structural properties, Section IV details the case studies, Section V presents the results, and Section VI concludes.
A. Sparse Identification of Nonlinear Dynamics
Consider the nonlinear controlled system with state and input , where is unknown but trajectory data are available. Let and collect state and input samples, and let contain the corresponding state derivatives, measured or estimated by numerical differentiation. SINDy approximates by a small number of candidate functions collected in a library
typically polynomial, trigonometric, and state–input interaction terms, so that with . The coefficients follow from the sparsity-promoting regression
where R promotes sparsity and weights it. In the standard formulation this is solved by sequentially thresholded least squares: a least-squares fit, removal of coefficients below a threshold, and refitting on the retained terms, repeated until the retained coefficient set no longer changes.
B. Differentiable Predictive Control
DPC learns an explicit feedback law offline by treating the constrained optimal-control problem as an unsupervised learning problem [8], [9]. The prediction model is held fixed while the policy parameters are optimized through finite-horizon closed-loop rollouts. Let denote the discrete-time prediction map induced by the model and the integration scheme, and let denote the control features available at time , such as reference signals or admissible bounds. The policy parameters are obtained by solving
s.t.
over sampled initial conditions and reference realizations, with in (3b). The stage loss collects the tracking objective, control regularization, and differentiable penalties on constraint violation; in practice, the constraints (3c) are enforced only through these penalties. It may also penalize the increments and , with the convention , and is an optional terminal loss. Since the rollout is differentiable in , gradients propagate through the entire horizon, so each action is optimized with its downstream effect taken into account. Formulation (3) leaves open how is obtained and how is parameterized; Section III addresses both.
III. SPARSE DICTIONARY DIFFERENTIABLE PREDICTIVE CONTROL
SD-DPC proceeds in two stages, both instances of the thresholded gradient-descent procedure of Algorithm 1 applied to different losses. A sparse dynamics model is first identified from multistep rollout error, providing the differentiable prediction map; a sparse dictionary policy is then trained by differentiating a finite-horizon closed-loop objective through that map. Fig. 1 summarizes the pipeline.
A. Rollout-Based Sparse Identification
We estimate from rollout errors of the SINDy model rather than from state-derivative data, so that never enters the objective and the identification does not inherit numerical differentiation error. Introducing the one-step map induced by a fixed-step numerical integrator with step and zero-order hold on the input,
which we implement with the fourth-order Runge–Kutta scheme for the continuous-time examples and use consistently during identification and policy training. The data consist of trajectories collected under persistently exciting inputs, with the identification horizon. Applying the measured inputs to the model yields the predicted states , and the coefficients are obtained from
s.t.
where is the sparsity weight and weight the one-step and multistep prediction errors. With the multistep sum is empty, and an explicit Euler step gives , which is linear in , so (5) reduces to the -regularized SINDy regression with forward-difference derivatives [11]; the multistep terms extend it by penalizing the error accumulated along the rollout.
B. Differentiable Sparse Dictionary Policy Parameterization
The feedback policy uses the same dictionary structure. With and the admissible state and input sets, the policy input is and the policy library is
where collects quadratic and cross terms and trigonometric terms, with maximal polynomial degree and trigonometric frequency treated as hyperparameters. The sparse dictionary policy is
with the componentwise projection enforcing . Column of feeds input channel alone, so sparsity in determines directly which feedback terms are retained in each channel, and the policy is evaluated without any online optimization. The exact derivative of the piecewise-affine projection annihilates the sensitivity of every saturated channel, so a differentiation surrogate is required. With the raw channel output , a band half-width , a leak , and the band , the forward pass evaluates (7) exactly, so every loss and reported trajectory is that of the true saturated closed loop, while the backward pass uses the surrogate derivative
which recovers the a.e. derivative of at and the plain straight-through estimator [24] at . The intermediate regime avoids two failure modes. With , a coefficient feeding a saturated channel receives no gradient from the loss and only shrinks, so thresholding acts on stale rather than fitted evidence; with , a deeply saturated channel exerts influence through a sensitivity the plant does not possess. The leak attenuates channels far outside without silencing them, while a small band keeps the gradient from switching abruptly as a channel oscillates about its bound.
C. SD-DPC Problem Formulation and Training Algorithm
Adding a sparsity penalty and using the sparse dictionary policy in (3) gives
where is the prediction map (4) of the identified SINDy model. The input constraint holds by construction through , whereas the state constraint enters through penalty terms, specified for each example in Section IV. Both problems have the composite form of a loss , differentiable almost everywhere, plus an entrywise penalty. Their coefficients are updated by a first-order method, using a subgradient for the term, and are periodically pruned, as in sequentially thresholded gradient training of SINDy models [16]; the two stages differ only in the
Algorithm 1 Sequentially Thresholded Gradient Descent with Debiasing
Require: : library of terms; : loss (a.e. differentiable) : coefficients, , channel : threshold; : prune interval; : epochs; : patience; : debias epochs
Note: applied to (5) for , and to (9) for , ) with of (8).
1: all entries of ;
2: for do
3: Update by minimizing
4: if then
5: per-channel
6: if then
7: for all
8: Drop from the terms removed from every channel
9: Reinitialize optimizer on the reduced set
10: ;
11: else
12: ; if then break
13: end if
14: end if
15: end for
16: Save the biased sparse coefficients
17: Warm-start from and reinitialize the optimizer
18: for do
19: Update only by minimizing with fixed retained set
20: end for
21: return debiased sparse coefficient matrix
loss and in the matrix being sparsified (Algorithm 1). The entrywise penalty shrinks uninformative coefficients toward zero without setting them exactly to zero, so a separate thresholding step is required. Every epochs the retained coefficient set is updated entrywise,
so each output channel retains its own subset of dictionary terms. Entries outside are set to zero and excluded from subsequent updates, a library column is dropped from the compiled evaluation once its term is removed from every channel, and the optimizer is reinitialized on the reduced parameter set. The procedure stops once has been stable over consecutive prunes or the epoch budget is exhausted, after which the coefficients in are refitted without the penalty to remove its shrinkage bias. In our implementation, the update in line 3 is carried out with AdamW [25]; the properties below concern the pruning mechanism and do not depend on this choice.
Proposition 1 (Finite support stabilization). Let . In Algorithm 1, a coefficient that has been pruned is never retained again. Consequently, the retained set changes at most pn times, and the thresholding loop terminates after at most epochs, for any loss and any epoch budget .
Proof. A pruned coefficient is set to zero and excluded from all subsequent updates, so its value remains zero. Since , it fails the test at every later prune and is never retained again. Hence, if denotes the retained set after the -th change, each change removes at least one entry, and
. As has entries, at most such changes can occur. The loop stops after consecutive prunes without a change, so each change is preceded by at most unchanged prunes, and the last change is followed by exactly . The total number of prunes is therefore at most , and since prunes are epochs apart, the loop terminates within epochs.
Proposition 1 splits Algorithm 1 into a finite phase that selects which terms are retained and a refit that only adjusts their values. Since pruning occurs before the optimization has converged, its cost is bounded through a stationarity residual.
Proposition 2 (Pruning cost). Let , let be obtained from by zeroing a set of retained entries with , let be -Lipschitz on the segment between them, and let the residuals on satisfy . Then and .
Proof. Let , so that . The descent lemma and give , and the Cauchy-Schwarz inequality yields the first bound; the second adds .
The residual vanishes at a stationary point and otherwise absorbs the optimizer's inexactness and the surrogate bias (8); the bound on shows why and are tuned jointly (Fig. 2). In the policy stage, smoothness holds along segments on which no channel crosses a saturation or constraint boundary.
D. Structural Properties of SD-DPC Closed Loops
Since the learned policy is a finite sum of known functions, its sensitivity can be bounded explicitly from the retained terms. We write with the raw output , let collect the terms retained in channel , and let denote the Euclidean norm.
Assumption 1. States and features lie in compact sets and , on which (a) each library function is -Lipschitz for every ; (b) ; and (c) for all and .
Proposition 3 (Lipschitz bound and perturbation of sparse policies). Let Assumption 1 hold. Then, for all and :
(i) Lipschitz bound: , with
(ii) Policy perturbation: the policy with perturbed coefficients satisfies ; in particular, pruning coefficients below changes the action by at most .
(iii) Trajectory perturbation: let be any policy with values in and on , let on , and let and start from the same under the same and remain in for . Then
for , where . Moreover, if is -Lipschitz on and one of the two trajectories satisfies for , the other satisfies .
Proof. (i) The componentwise projection is 1-Lipschitz, so . By Assumption 1(a), , and summing the squares over gives (i). (ii) Likewise, , and removed entries below have Frobenius norm at most . (iii) With and omitted, split into , , and . By Assumption 1(c) and (i), these are bounded by , , and , so with , and induction gives (12). Finally, .
All constants are explicit: for and , for terms in alone, and, on a convex , is the largest gradient norm of . Since , the penalty also limits the sensitivity. The model constants and follow from and the integrator in the same way, so Proposition 3 is evaluated from the two sparse coefficient matrices and the library, whereas for deep neural policies such bounds require products of layer norms or semidefinite relaxations [26]. By (ii) and (iii), a pruning step or a model error with , such as the transfer from to the plant, moves the trajectory in proportion to its size, with growth at most geometric at rate ; since typically , the bound is conservative over long horizons, and is chosen to contain both trajectories (Section V).
IV. NUMERICAL EXAMPLES
Three numerical case studies demonstrate the flexibility of SD-DPC: constrained reference tracking of a nonlinear system, stabilization of a nonlinear oscillator at its unstable origin, and an obstacle-avoidance reaching task. All examples are implemented in NeuroMANCER v1.5.3 [27], and all computations are performed on a MacBook with an Apple M1 processor and 8 GB of RAM. The code is available at https://github.com/SOLARIS-JHU/SD-DPC.
In each case study, SD-DPC is compared against three baselines. The first is an optimization-based benchmark solved with IPOPT [28] through CasADi [29], which minimizes the same stage and terminal costs as the policy objective, unless stated otherwise in the case study, and uses the true dynamics, and therefore has exact model knowledge. For the two-tank system, it is a receding-horizon MPC whose horizon starts at 50 steps, shrinks toward one step as the end of each reference segment approaches, and is reset when the reference changes. For the Van der Pol oscillator and the 2-D integrator, the full N-step problem is solved once per scenario and the optimal input sequence is applied in open loop. Because this benchmark is computed for each scenario separately, whereas a learned policy is a single feedback law shared by all scenarios, it serves as a performance reference rather than as a competitor. NN-DPC is a deep neural policy trained by (3) on the same identified model and represents the standard DPC parameterization; in all cases, it is a multilayer perceptron with two hidden layers of 32 units and ReLU activations. Finally, NN-Distilled follows the distillation approach of SINDy-RL [22]: a sparse dictionary policy is regressed onto the state-action pairs generated by the trained NN-DPC policy. Its terms are fixed to those retained by SD-DPC, so the two differ only in how the coefficients on this common support are obtained, either by regression onto the neural policy's actions or under the closed-loop objective (9), which isolates the effect of the training objective.
All policies are trained on rollouts of the identified model , whereas all controllers are evaluated on the true plants (13), (15), and (17), so that the reported results include the effect of model mismatch. Since state constraints, including the obstacle, are only penalized, their satisfaction is assessed on the evaluation scenarios of Section V.
A. Two-Tank System
We consider a cascaded two-tank system in which a pump feeds an upper tank that drains by gravity into a lower one. The state collects the two liquid levels and the inputs are the pump command and the valve split,
with inlet and outlet valve coefficients . The policy drives the levels to time-varying references within the level bounds and , with inputs in and features . The stage loss combines reference tracking with penalties on the level bounds,
(14)
where , and there is no terminal loss, .
B. Forced Van der Pol Oscillator
We next consider the forced Van der Pol oscillator, whose uncontrolled trajectories converge to an attracting limit cycle surrounding an unstable origin. With the position and velocity and the forcing,
The policy regulates the state to the origin, thereby suppressing the limit cycle, with input bounds and state bounds . Since the target is the fixed origin rather than an exogenous signal, the policy is pure state feedback, . The stage loss penalizes the state,

Fig. 2. Policy sparsity versus weight . Marker shape denotes pruning threshold , color shows the loss (excluding the penalty) on the validation scenarios used for selection, and black circles indicate the selected policies.
its increments, and the input increments, together with the bound penalties of (14),
(16)
and . Initial conditions are sampled both on and off the limit cycle so that the coefficients are not specialized to one region of the phase plane.
C. Two-Dimensional Integrator with Obstacle Avoidance
The third case study demonstrates handling of nonlinear state constraints. We consider a discrete-time integrator in the plane, in which each input sets the increment of the corresponding position coordinate,
with and . The dynamics are linear and decoupled, so the difficulty of this example lies entirely in the constraint, which excludes a region of the state space,

(a)
(b)
(c)
Fig. 3. Closed-loop trajectories of SD-DPC, NN-DPC, NN-Distilled, and the IPOPT benchmark, with the retained SD-DPC policy coefficients, for (a) the two-tank system, (b) the forced Van der Pol oscillator, and (c) the 2-D integrator with obstacle avoidance.
where , , and set the size, shape and center of the obstacle, here , , and , i.e., a circle of radius 1.5 centered at the origin. The objective is to reach a terminal setpoint from initial conditions placed so that the direct path is blocked, with inputs bounded by . The stage and terminal losses are
The obstacle enters through the one-sided hinge , so the penalty grows linearly in the depth of violation. The terminal term , which evaluates the policy at the target and therefore depends on directly, is required because without it the policy holds a residual increment at the target and the reaching task does not settle. For this example, the IPOPT benchmark instead minimizes the control effort subject to the terminal condition and the obstacle constraint, both imposed as hard constraints, so that it reaches the setpoint exactly by construction.
D. Training Setup
In each case the prediction map is identified first by solving (5) and then held fixed while the policy coefficients are learned; both stages are sparsified by Algorithm 1. The constants for both stages are collected in Table I. The retained terms depend jointly on and ; we select the pair by the sweep of Fig. 2, retaining the sparsest policy whose task performance on a separate set of validation scenarios is not degraded relative to the dense end of the sweep; the evaluation scenarios in Section V are held out from this selection. The price of sparsity is system dependent: for the Van der Pol oscillator the loss is flat across the sweep,
TABLE I IDENTIFICATION AND POLICY TRAINING PARAMETERS.
| Two-Tank | Van der Pol | 2-D Int. | |
|---|---|---|---|
| Identification | |||
| Trajectories | 2000 | 2000 | 1500 |
| Horizon | 5 | 3 | 3 |
| Integrator | RK4 | RK4 | discrete |
| Step | 1.0 | 0.1 | - |
| Epochs | 20 000 | 6000 | 20 000 |
| Weights | (1,2) | (1,2) | (1,2) |
| Sparsity | |||
| Threshold | |||
| Prune interval | 5000 | 1000 | 5000 |
| Library size | 15 | 18 | 19 |
| Policy | |||
| Scenarios | 1000 | 1000 | 2000 |
| Horizon | 50 | 50 | 100 |
| Sparsity | 0.1 | 0.002 | 0.016 |
| Threshold | 0.2 | 0.125 | 0.004 |
| Library size | 22 | 14 | 29 |
| Leak | 0.05 | 0.1 | 0.1 |
| Band | 0.1 | 0.1 | 0.5 |
| Stage weights | , | , , | |
Notes: The policy epoch budget is 12 000, with the retained set pruned every epochs. Patience is M = 3 throughout. Both stages use AdamW [25] under Algorithm 1 with weight decay 0.01, which remains active during the debiasing refit of K = 1000 epochs.
whereas for the two-tank system it degrades once is pushed beyond the selected point.
V. RESULTS
Fig. 3 and Table II summarize the closed-loop evaluation. The identified models used for policy training are accurate over the prediction horizon: on held-out trajectories, their step rollout mean-squared errors are , , and for the two-tank, Van der Pol, and 2-D integrator systems, respectively, with a maximum
TABLE II CONTROLLER EVALUATION ACROSS CASE STUDIES.
| Method | Task loss | Control effort | Time /memory | Violations [%] / depth |
|---|---|---|---|---|
| Two-Tank | ||||
| IPOPT | - | 8444 / 26 MiB | 0.0 / - | |
| NN-DPC | - | 30 / 5.01 kB | 0.0 / - | |
| SD-DPC | - | 17 / 0.047 kB | 0.0 / - | |
| NN-Distilled | - | 17 / 0.047 kB | 0.0 / - | |
| Van der Pol | ||||
| IPOPT | - | 301 / 19 MiB | 0.0 / - | |
| NN-DPC | - | 29 / 5.01 kB | 0.0 / - | |
| SD-DPC | - | 17 / 0.023 kB | 0.0 / - | |
| NN-Distilled | - | 17 / 0.023 kB | 0.0 / - | |
| 2-D Integrator | ||||
| IPOPT | 1841 / 18 MiB | 0.0 / - | ||
| NN-DPC | 28 / 5.01 kB | 0.0 / - | ||
| SD-DPC | 17 / 0.094 kB | 0.0 / - | ||
| NN-Distilled | 17 / 0.094 kB | 60.8 / 1.61 | ||
Notes: Mean ± standard deviation over 500 held-out test scenarios simulated on the true plant; IPOPT losses are numerically zero and given as means. Horizons are 1000, 50, and 100 steps; task loss is the MSE over the final 100 steps of each 250-step reference segment, the final 10 steps, and the terminal state, respectively. Control effort is . Time is per control step; for IPOPT it is the solve time divided by N. Memory is the parameter storage for the learned policies, and the resident memory added by each solve for IPOPT. Violations give the percentage of scenarios with any state-constraint violation and the maximum violation depth, measured by . NN-Distilled uses the terms retained by SD-DPC, fitted by unregularized least squares.
absolute state error below . Across all three systems, the sparse policy evaluates in and occupies under 0.1 kB, roughly two orders of magnitude less memory than NN-DPC and far below the 18–26 MiB allocated by each IPOPT solve. Its closed-loop behavior, however, differs from task to task.
Proposition 3 is evaluated on the levels and references for the two-tank system and, for the other two systems, on a box enclosing all evaluation trajectories. Weighting each retained coefficient by the slope of its library function, (11) certifies , 16.0, and 0.32, whereas the largest , computed by automatic differentiation on a dense grid over these sets, is 12.0, 9.4, and 0.19, so the certificate is conservative by a factor of at most 1.7; the pruning bound (ii) also held at every prune of Algorithm 1.
A. Two-Tank System
For the two-tank system, SD-DPC retains six terms across the two input channels (Fig. 3(a)), tracks each reference segment, and satisfies the level constraints on every scenario. Its tracking loss is about twelve times lower than that of NN-DPC, a gap well beyond the scenario-to-scenario spread of either policy, so the sparse parameterization costs nothing in accuracy here; both learned policies remain well above the IPOPT benchmark, which optimizes each scenario online. The distilled policy, which uses the same six terms, also satisfies the constraints, but its coefficients, fitted to the actions of NN-DPC, leave a steady offset, and its tracking loss is about seventeen times that of SD-DPC.
The raw outputs of the learned SD-DPC pump and valve channels are
with and the level reference. The pump command combines a reference-dependent feedforward with feedback on both levels, while the two nearly equal valve coefficients make the valve open only when the upper tank is fuller than the lower one.
B. Forced Van der Pol Oscillator
In the Van der Pol case, all controllers stabilize the origin and satisfy the constraints on every scenario. The benchmark optimizes each scenario individually and therefore reaches a loss below , whereas both learned policies settle more slowly, with a final-10-step loss of about . The loss of SD-DPC is comparable to that of NN-DPC, whereas the distilled policy on the same terms reaches about twice that of SD-DPC. What the sparse parameterization adds here is structure. The policy found by SD-DPC (Fig. 3(b)) retains only three terms,
with , and is therefore simple enough for direct analysis (Remark 1).
Remark 1. Because and are finite expansions over explicit analytic libraries, the learned closed loop is available in closed form and admits direct analysis in specific cases. For the policy (21) applied to (15) without saturation, yields whenever , , and , conditions satisfied by the learned coefficients, so that the origin of this continuous-time closed loop is globally asymptotically stable [30, Cor. 4.2].
C. Two-Dimensional Integrator with Obstacle Avoidance
This case study shows why the policy must be trained in closed loop, with the constraints enforced during optimization. SD-DPC retains twelve terms (Fig. 3(c)), steers around the obstacle, and reaches the setpoint from every sampled initial condition, with cumulative control effort within of the minimum attained by IPOPT. SD-DPC and NN-DPC are both trained through closed-loop rollouts that include the obstacle penalty, and both satisfy the constraint in every scenario. The terminal error of SD-DPC is higher than that of NN-DPC, the price of a twelve-term parameterization, remains well within the reaching task. The distilled policy violates the obstacle constraint in of the scenarios, with a maximum violation depth of 1.61, and its terminal error is about thirteen times that of SD-DPC. Its coefficients are regressed onto the teacher's actions without the obstacle penalty, Proposition 3(iii), applied with the student and the teacher on the same plant (), explains why this gives no safety guarantee. The imitation error is at most 0.08 on the states visited by the teacher, where the regression data lie, but reaches 0.35 on those visited by the student, so . For Proposition 3(iii) to certify that the student inherits the teacher's constraint satisfaction, the teacher would need a margin , since for the integrator and outside the obstacle, where . The near-optimal teacher, however, clears the obstacle by only , so no margin is left to absorb the imitation error.
VI. Conclusions
This work presented SD-DPC, a framework in which both the prediction model and the feedback policy are sparse combinations of candidate functions, learned by the same thresholded gradient-descent procedure, so that the policy terms are chosen by the constrained closed-loop objective rather than by imitating a pretrained controller. Across three case studies, the learned SD-DPC policies retained only a few terms, satisfied the constraints in all test scenarios, and reduced the task loss of a policy distilled onto the same terms by up to an order of magnitude, whereas the distilled policy violated the obstacle constraint. The closed-form policies require about two orders of magnitude less memory than deep neural policies and far less memory and evaluation time than the optimization-based benchmark. The sparse policies also admit explicit sensitivity bounds and, in specific cases, direct stability analysis, as shown for the Van der Pol oscillator. Constraint satisfaction is currently promoted through penalty terms and verified empirically. Future work will focus on exploiting the symbolic structure of SD-DPC for stronger closed-loop guarantees. This includes hard feasibility through safety filters, systematic region-of-attraction certification, robustness bounds under identification error, and sufficient conditions under which sparsification preserves stability and feasibility. We also plan to address noisy data and library mismatch, task-informed libraries, and online adaptation of the retained coefficients after deployment.
REFERENCES
[1] C. E. Garcia, D. M. Prett, and M. Morari, “Model predictive control: Theory and practice—a survey,” Automatica, vol. 25, no. 3, pp. 335–348, 1989.
[2] D. Q. Mayne, J. B. Rawlings, C. V. Rao, and P. O. M. Scokaert, "Constrained model predictive control: Stability and optimality," Automatica, vol. 36, no. 6, pp. 789–814, 2000.
[3] M. Schwenzer, M. Ay, T. Bergs, and D. Abel, “Review on model predictive control: An engineering perspective,” The international journal of advanced manufacturing technology, vol. 117, no. 5, pp. 1327–1349, 2021.
[4] A. Bemporad, M. Morari, V. Dua, and E. N. Pistikopoulos, “The explicit linear quadratic regulator for constrained systems,” Automatica, vol. 38, no. 1, pp. 3–20, 2002.
[5] M. Hertneck, J. Köhler, S. Trimpe, and F. Allgöwer, “Learning an approximate model predictive controller with guarantees,” IEEE Control Syst. Lett., vol. 2, no. 3, pp. 543–548, 2018.
[6] B. Karg and S. Lucia, “Efficient representation and approximation of model predictive control laws via deep learning,” IEEE Trans. Cybern., vol. 50, no. 9, pp. 3866–3878, 2020.
[7] Y. Li, K. Hua, and Y. Cao, “Using stochastic programming to train neural network approximation of nonlinear MPC laws,” Automatica, vol. 146, p. 110665, 2022.
[8] J. Drgoña, K. Kiš, A. Tuor, D. Vrabie, and M. Klaučo, “Differentiable predictive control: Deep learning alternative to explicit model predictive control for unknown nonlinear systems,” J. Process Control, vol. 116, pp. 80–92, 2022.
[9] J. Drgoña, A. Tuor, and D. Vrabie, “Learning constrained parametric differentiable predictive control policies with guarantees,” IEEE Trans. Syst., Man, Cybern. Syst., vol. 54, no. 6, pp. 3596–3607, 2024.
[10] H. Hose, A. Gräfe, and S. Trimpe, “Parameter-adaptive approximate MPC: Tuning neural-network controllers without retraining,” in Proc. 6th Annual Learning for Dynamics & Control Conference, ser. Proceedings of Machine Learning Research, vol. 242, 2024, pp. 349–360.
[11] S. L. Brunton, J. L. Proctor, and J. N. Kutz, “Discovering governing equations from data by sparse identification of nonlinear dynamical systems,” Proc. Natl. Acad. Sci. USA, vol. 113, no. 15, pp. 3932–3937, 2016.
[12] S. L. Brunton, J. L. Proctor, and J. N. Kutz, “Sparse identification of nonlinear dynamics with control (SINDYc),” IFAC-PapersOnLine, vol. 49, no. 18, pp. 710–715, 2016.
[13] E. Kaiser, J. N. Kutz, and S. L. Brunton, “Sparse identification of nonlinear dynamics for model predictive control in the low-data limit,” Proc. R. Soc. A, vol. 474, no. 2219, p. 20180335, 2018.
[14] D. A. Messenger and D. M. Bortz, “Weak SINDy: Galerkin-based data-driven model selection,” Multiscale Model. Simul., vol. 19, no. 3, pp. 1474–1497, 2021.
[15] U. Fasel, J. N. Kutz, B. W. Brunton, and S. L. Brunton, “Ensemble-SINDy: Robust sparse model discovery in the low-data, high-noise limit, with active learning and control,” Proc. R. Soc. A, vol. 478, no. 2260, p. 20210904, 2022.
[16] K. Champion, B. Lusch, J. N. Kutz, and S. L. Brunton, “Data-driven discovery of coordinates and governing equations,” Proc. Natl. Acad. Sci. USA, vol. 116, no. 45, pp. 22445–22451, 2019.
[17] K. Kaheman, S. L. Brunton, and J. Nathan Kutz, “Automatic differentiation to simultaneously identify nonlinear dynamics and extract noise probability distributions from data,” Machine Learning: Science and Technology, vol. 3, no. 1, p. 015031, 2022.
[18] L. Zhang, S. Tang, and G. He, “Learning chaotic systems from noisy data via multi-step optimization and adaptive training,” Chaos: An Interdisciplinary Journal of Nonlinear Science, vol. 32, no. 12, 2022.
[19] M. Landajuela, B. K. Petersen, S. Kim, C. P. Santiago, R. Glatt, N. Mundhenk, J. F. Pettit, and D. Faissol, “Discovering symbolic policies with deep reinforcement learning,” in International Conference on Machine Learning. PMLR, 2021, pp. 5979–5989.
[20] J. Guo, R. Zhang, S. Peng, Q. Yi, X. Hu, R. Chen, Z. Du, X. Zhang, L. Li, Q. Guo, and Y. Chen, “Efficient symbolic policy learning with differentiable symbolic expression,” in Advances in Neural Information Processing Systems, vol. 36, 2023, pp. 36278–36304.
[21] N. Botteghi and U. Fasel, “Parametric PDE control with deep reinforcement learning and sparse polynomial policies,” in Proc. IEEE 63rd Conference on Decision and Control (CDC), 2024, pp. 6108–6115.
[22] N. Zolman, C. Lagemann, U. Fasel, J. N. Kutz, and S. L. Brunton, "SINDy-RL for interpretable and efficient model-based reinforcement learning," Nat. Commun., vol. 16, p. 10714, 2025.
[23] K. Kunisch, D. Vásquez-Varas, and D. Walter, “Learning optimal feedback operators and their sparse polynomial approximations,” Journal of Machine Learning Research, vol. 24, no. 301, pp. 1–38, 2023.
[24] Y. Bengio, N. Léonard, and A. Courville, “Estimating or propagating gradients through stochastic neurons for conditional computation,” arXiv preprint arXiv:1308.3432, 2013. [Online]. Available: https://arxiv.org/abs/1308.3432
[25] I. Loshchilov and F. Hutter, “Decoupled weight decay regularization,” arXiv preprint arXiv:1711.05101, 2017.
[26] M. Fazlyab, A. Robey, H. Hassani, M. Morari, and G. Pappas, “Efficient and accurate estimation of lipschitz constants for deep neural networks,” Advances in Neural Information Processing Systems, vol. 32, 2019.
[27] J. Drgona, A. Tuor, J. Koch, M. Shapiro, B. Jacob, and D. Vrabie, “NeuroMANCER: Neural Modules with Adaptive Nonlinear Constraints and Efficient Regularizations,” 2023. [Online]. Available: https://github.com/pnnl/neuromancer
[28] A. Wächter and L. T. Biegler, “On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming,” Math. Program., vol. 106, no. 1, pp. 25–57, 2006.
[29] J. A. E. Andersson, J. Gillis, G. Horn, J. B. Rawlings, and M. Diehl, “CasADi – A software framework for nonlinear optimization and optimal control,” Mathematical Programming Computation, vol. 11, no. 1, pp. 1–36, 2019.
[30] H. K. Khalil, Nonlinear Systems, 3rd ed. Upper Saddle River, NJ: Prentice Hall, 2002.