Abstract
Control of complex systems involves both system identification and controller design. Deep neural networks have proven to be successful in many identification tasks, however, from model-based control perspective, these networks are difficult to work with because they are typically nonlinear and nonconvex. Therefore many systems are still identified and controlled based on simple linear models despite their poor representation capability. In this paper we bridge the gap between model accuracy and control tractability faced by neural networks, by explicitly constructing networks that are convex with respect to their inputs. We show that these input convex networks can be trained to obtain accurate models of complex physical systems. In particular, we design input convex recurrent neural networks to capture temporal behavior of dynamical systems. Then optimal controllers can be achieved via solving a convex model predictive control problem. Experiment results demonstrate the good potential of the proposed input convex neural network based approach in a variety of control applications. In particular we show that in the MuJoCo locomotion tasks, we could achieve over 10% higher performance using 5x less time compared with state-of-the-art model-based reinforcement learning method; and in the building HVAC control example, our method achieved up to 20% energy reduction compared with classic linear models.
Introduction: The Accuracy-Tractability Trade-off
In control theory, engineers often face a dilemma. Linear models are computationally efficient and easy to optimize but frequently fail to capture the nonlinear dynamics of complex physical systems. Conversely, deep neural networks (DNNs) excel at modeling complex dynamics but are typically non-convex "black boxes." Optimizing control actions over a non-convex model is computationally expensive and prone to local minima, making real-time control difficult. This paper introduces a framework that achieves the high-fidelity modeling of DNNs while maintaining the mathematical guarantees of convex optimization.
Methodology: Input Convex Neural Networks
The core innovation is the construction of neural networks that are explicitly convex with respect to their inputs.
Architecture and Convexity
To ensure convexity, the authors enforce non-negative weights between layers and utilize convex, non-decreasing activation functions (e.g., ReLU). They also incorporate "passthrough" layers that connect inputs directly to deeper layers, enhancing representational power without sacrificing convexity.
The Input Negation Trick
A purely non-decreasing convex function is limited. To represent a broader range of convex shapes (such as U-shaped functions), the authors expand the input vector to include both the control action $u$ and its negation $-u$. This allows the network to capture complex, symmetric convex relationships.
Temporal Dynamics with ICRNNs
For systems with inertia or memory, such as building thermal mass, the framework extends to Input Convex Recurrent Neural Networks (ICRNNs). These models capture temporal dependencies while remaining convex with respect to the sequence of control inputs.
Convex Model Predictive Control (MPC)
By using an ICNN or ICRNN as the predictive model, the control problem—minimizing a cost function over a future horizon—becomes a standard convex optimization problem. This allows for the use of efficient gradient-based solvers to find global optima in real-time.
Experimental Results
The researchers evaluated the framework on two benchmarks:
- MuJoCo Locomotion: In robotics tasks (Swimmer, Half-Cheetah, Hopper, Ant), the ICNN approach achieved 10% higher performance than state-of-the-art model-based reinforcement learning (random-shooting). Crucially, it was 5x faster, enabling real-time deployment.
- Building HVAC Control: Using EnergyPlus simulations, the ICRNN method reduced energy consumption by up to 20% compared to linear models. Compared to standard non-convex RNNs, the ICRNN saved 11.52% more energy by avoiding local minima in the optimization landscape.
Conclusion
This work bridges the gap between deep learning and control theory. By designing neural networks to be "convex-by-design," the authors enable the use of high-capacity models in safety-critical and performance-sensitive control applications where global optimality and computational efficiency are paramount.
Summary updated