Abstract
This paper introduces Control-Informed Reinforcement Learning (CIRL), a framework that embeds a traditional Proportional-Integral-Derivative (PID) controller layer directly into a Deep Reinforcement Learning (RL) policy. By allowing the RL agent to act as an automated, real-time gain scheduler, CIRL achieves superior sample efficiency, better generalization to unseen operating points, and significantly higher robustness to process disturbances compared to standard "black-box" RL. The framework is validated on a nonlinear Continuously Stirred Tank Reactor (CSTR) simulation, demonstrating its potential for industrial control applications.
Introduction
Deep Reinforcement Learning (RL) has shown significant potential for controlling complex, nonlinear systems. However, its application in the chemical industry is limited by high sample requirements, lack of interpretability, and poor performance under out-of-distribution conditions. In contrast, the chemical industry relies heavily on PID control, which is transparent and reliable for linear systems but struggles with highly nonlinear, multivariable processes. Tuning PIDs for varying conditions—gain scheduling—is often a manual and labor-intensive task.
The authors propose combining these approaches by using an RL agent to perform automated gain scheduling. This "control-informed" approach provides the stability of classical control with the modeling power of deep learning.
Methods: The CIRL Architecture
The core innovation is the CIRL Agent architecture. Instead of the neural network directly outputting a control action (like a valve position), it outputs the parameters ($K_p, \tau_i, \tau_d$) for a PID controller at every timestep.
Key technical highlights include:
- Automated Gain Scheduling: The RL agent effectively becomes a high-speed, intelligent gain scheduler that adapts to the process state in real-time.
- Velocity-Form PID: Implementation in velocity form ensures that gain changes do not cause control signal spikes, which is critical for physical equipment safety.
- Hybrid Optimization: The agents are trained using derivative-free methods like Particle Swarm Optimization (PSO) and Random Search, which are robust to noise and effective for the compact network architectures used.
- Inductive Bias: By forcing the agent to operate through a PID structure, the authors provide a "template" for effective control. This allows a small network (16 neurons per layer) to outperform standard RL networks eight times its size (128 neurons).
Results and Discussion
The framework was evaluated using a simulated multivariable, nonlinear CSTR. The agent controlled product concentration and reactor volume by manipulating cooling temperature and inlet flow.
Performance and Efficiency
CIRL demonstrated significantly higher sample efficiency, converging faster than pure RL. In setpoint tracking tests, CIRL achieved a reward of -1.33, outperforming pure RL (-2.08) and a finely-tuned static PID (-1.77).
Robustness to Disturbances
A key advantage of CIRL is its inherent feedback mechanism. When faced with unmeasured feed concentration changes, CIRL maintained setpoint tracking with a reward of -1.38, while pure RL performance dropped to -1.76 as it struggled to adapt to the "unseen" physics. Because CIRL uses a PID loop, it naturally reacts to the error between the setpoint and the actual state, providing a fundamental feedback mechanism that works even for unmodeled disturbances.
Conclusion
CIRL addresses the "last mile" problem of RL in industrial control by providing a PID safety net. Future research will explore making the PID layer differentiable for gradient-based training and incorporating explicit safety constraints to ensure stable learning in real-world environments.
Summary updated