[Paper Review] Polytopic Input Constraints in Learning-Based Optimal Control Using Neural Networks
This paper proposes two novel neural network-based approaches for learning optimal control under polytopic input constraints in discrete-time systems. The first uses gradient-based optimization with closed-form neural network gradients to compute suboptimal inputs while respecting state-dependent constraints; the second uses softmax-activated networks to parameterize convex combinations of input constraint vertices, guaranteeing constraint satisfaction a-priori. Both methods enable efficient, safe, and real-time model predictive control with theoretical guarantees.
This work considers artificial feed-forward neural networks as parametric approximators in optimal control of discrete-time systems. Two different approaches are introduced to take polytopic input constraints into account. The first approach determines (sub-)optimal inputs by the application of gradient methods. Closed-form expressions for the gradient of general neural networks with respect to their inputs are derived. The approach allows to consider state-dependent input constraints, as well as to ensure the satisfaction of state constraints by exploiting recursive reachable set computations. The second approach makes use of neural networks with softmax output units to map states into parameters, which determine (sub-)optimal inputs by a convex combination of the vertices of the input constraint set. The application of both approaches in model predictive control is discussed, and results obtained for a numerical example are used for illustration.
Motivation & Objective
- To address the challenge of incorporating polytopic input constraints into learning-based optimal control using neural networks.
- To develop a method that ensures constraint satisfaction while enabling real-time computation for model predictive control.
- To provide a priori guarantees on input feasibility through neural network architecture design, avoiding post-hoc analysis or constraint relaxation.
- To enable consideration of state-dependent input constraints and recursive state constraints via reachable set computations.
Proposed method
- Derives closed-form gradients of feedforward neural networks with respect to inputs, enabling gradient-based optimization for input selection under polytopic constraints.
- Applies conditional gradient methods to minimize cost functions approximated by neural networks, with constraints enforced via polytopic sets dependent on state.
- Proposes a neural network architecture where the output is a convex combination of input constraint vertices, parameterized by softmax-activated outputs to ensure feasibility.
- Uses state-to-parameter mapping via a neural network to generate control inputs that are inherently within the input constraint set.
- Trains the neural networks using sequential dynamic programming and a Levenberg-Marquardt algorithm on generated training data.
- Validates both approaches in a numerical example with a linear system, comparing performance against standard model predictive control.
Experimental results
Research questions
- RQ1How can neural networks be used to approximate optimal control laws while ensuring satisfaction of polytopic input constraints in real-time applications?
- RQ2Can closed-form gradients of neural networks be leveraged to perform constrained optimization for control input selection without relying on discretization?
- RQ3What neural network architecture can guarantee that control inputs remain within a polytopic constraint set a-priori, independent of input state?
- RQ4How do the proposed approaches compare in terms of computational speed, constraint satisfaction, and suboptimality when applied to a model predictive control problem?
- RQ5Can the proposed methods ensure recursive feasibility and state constraint satisfaction even when optimization is terminated early due to time constraints?
Key findings
- The gradient-based approach achieved suboptimal control inputs in approximately 0.03 seconds per iteration on a standard notebook, enabling real-time application.
- The resulting state and input trajectories from the gradient-based method were nearly indistinguishable from the optimal MPC solution, with minimal suboptimality.
- The softmax-based approach was over 100 times faster than the gradient method, with control input generation taking only a fraction of a millisecond.
- Both approaches ensured input constraint satisfaction, with the gradient method additionally guaranteeing state constraint adherence through recursive reachable set computations.
- The softmax-based architecture successfully generated feasible inputs by parameterizing convex combinations of input vertices, ensuring a-priori feasibility.
- Numerical results showed that approximation errors in the dynamic programming chain did not significantly degrade performance, indicating robustness of the proposed methods.
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.