Gradient-Based Co-Design of Systems and Reinforcement Learning Policies with Differentiable Simulators
Akhil S. Anand, Xun Shen, Marc Peter Deisenroth, Sebastien Gros
Abstract
Co-design is the problem of jointly optimizing the design of a system and the policy that operates it. Neither can be chosen independently: a system design is only as good as the policy trained for it, and the optimal policy changes with the design. When that policy is learned by reinforcement learning (RL), evaluating a candidate design requires a full policy training run, and the design is usually optimized by black-box search such as Bayesian optimization (BO) or evolution strategies (ES). These methods scale poorly with the design dimension and ignore the differentiable structure of modern simulators and, in particular, the sensitivity of the optimal policy with respect to the design. We instead derive a gradient-based co-design method, where the design gradient decomposes into a direct effect of changing the design at a fixed policy and an indirect effect through the design-dependent optimal policy. The indirect effect requires the sensitivity of the converged policy to the design, which we obtain by applying the implicit function theorem to the stationarity condition of the policy gradient. Based on this sensitivity, we develop a proof-of-concept co-design algorithm with stochastic value gradient (SVG)-style policy optimization, prove that it converges to an approximately stationary design, and demonstrate on a differentiable networked-system benchmark with high-dimensional design spaces that it consistently outperforms BO and ES.
Create a lesson
Related papers
artist: A Python package for differentiable ray tracing and gradient-based optimization of solar tower power plant operation
Shared title terminology · Marlene Busch, Marie Weiel, Kaleb Phipps et al.
Policy Improvement-Guided Replay for Continual Reinforcement Learning
Shared title terminology · Qin-Wen Luo, Haoxuan Gao, Sheng Ren et al.
Generative AI-Driven Parametric Design Optimization Framework for Vehicle Closure Systems
Shared title terminology · Dongeon Lee, Yurim Lee, Jiyong Kim et al.
Delayed Heuristic-Behavior-Target Coupling for Off-Policy Reinforcement Learning in Inventory Control
Shared title terminology · Enhui Li, Yuan Cheng, Peiting Han
Foundation Pareto Flow Policy for Multi-Objective Reinforcement Learning
Shared title terminology · Zhanjiang Yang, Lijun Sun, Yueming Li et al.
Sample-Efficient Control of Magnetoconvective Flows via Differentiable Simulation
Shared title terminology · Jannis Becktepe, Dmitry Krasnov, Nils Thuerey et al.