Gradient-Based Co-Design of Systems and Reinforcement Learning Policies with Differentiable Simulators
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.
Related
- Continuous-Time Reinforcement Learning for N-Player Stochastic Differential Games with Exploratory Policies
- Reinforcement learning on the EPRI AI-ccelerating Unit Commitment benchmark: diagnosing over-commitment and guiding MILP with learned policies
- Benchmarking Optimizers to Solve Inverse Problems with Differentiable Physics Simulators
- Two-Phase Rapid Simulation-Based Inference with Differentiable Simulators
- Safe Reinforcement Learning with Hard Constraints: Policy Gradient Methods with Intersample Guarantees
BibTeX
@misc{anand2026gradientbased,
title = {{Gradient-Based Co-Design of Systems and Reinforcement Learning Policies with Differentiable Simulators}},
author = {Akhil S. Anand and Xun Shen and Marc Peter Deisenroth and Sebastien Gros},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.19329},
eprint = {2611.19329},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.19329},
}
RIS
TY - UNPB
TI - Gradient-Based Co-Design of Systems and Reinforcement Learning Policies with Differentiable Simulators
AU - Akhil S. Anand
AU - Xun Shen
AU - Marc Peter Deisenroth
AU - Sebastien Gros
PY - 2026
DA - 2026/11/14
PB - arXiv
DO - 10.48550/arxiv.2611.19329
UR - https://arxiv.org/abs/2611.19329
AB - 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.
ER -