Trajectory Generation, Control, and Safety with �Denoising Diffusion Probabilistic Models
Nicolò Botteghi*, Federico Califano, Mannes Poel, and Christoph Brune
University of Twente – The Netherlands
SIAM UQ 27 February 2024
Learning and Controlling Dynamical Systems from Data
2
symmetries in nature
micro-macro
bio-inspired robots
human-machine interaction
Learning and Controlling Dynamical Systems from Data
Data are indirect, high-dimensional, and noisy measurements of the systems.
Challenges:
3
Offline and Safety-critical Control from Data
Our goals are to:
We can solve these three challenging problems with a single deep learning-based generative method:
Botteghi, N., Califano, F., Poel, M. and Brune, C., 2023, July. Trajectory Generation, Control, and Safety with Denoising Diffusion Probabilistic Models. In ICML Workshop on New Frontiers in Learning, Control, and Dynamical Systems.
4
Generative Models
Generative models are models used to generate data 🡪 learning data distributions from samples
The main classes of generative models are:
5
Denoising Diffusion Probabilistic Models
Ho, J., Jain, A. and Abbeel, P., 2020. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33, pp.6840-6851.
Nichol, A.Q. and Dhariwal, P., 2021, July. Improved denoising diffusion probabilistic models. In International Conference on Machine Learning (pp. 8162-8171). PMLR.
6
Denoising Diffusion Probabilistic Models
Nichol, A.Q. and Dhariwal, P., 2021, July. Improved denoising diffusion probabilistic models. In International Conference on Machine Learning (pp. 8162-8171). PMLR.
7
simplification
Denoising Diffusion Probabilistic Models
Nichol, A.Q. and Dhariwal, P., 2021, July. Improved denoising diffusion probabilistic models. In International Conference on Machine Learning (pp. 8162-8171). PMLR.
8
Unconditional Generation from Random Noise
9
K diffusion steps
Conditional Generation from Random Noise
10
K diffusion steps
Trajectory Generation, Control, and Safety with DDPMs
11
Botteghi, N., Califano, F., Poel, M. and Brune, C., 2023, July. Trajectory Generation, Control, and Safety with Denoising Diffusion Probabilistic Models. In ICML Workshop on New Frontiers in Learning, Control, and Dynamical Systems.
Trajectory Generation with DDPMs
12
Botteghi, N., Califano, F., Poel, M. and Brune, C., 2023, July. Trajectory Generation, Control, and Safety with Denoising Diffusion Probabilistic Models. In ICML Workshop on New Frontiers in Learning, Control, and Dynamical Systems.
Trajectory Generation
13
time
Data
Trajectory Generation
14
time
Data
Trajectory Generation
15
time
Data
Trajectory Generation
16
time
Data
After training, we can query the model multiple times to make prediction of the system’ evolution
Trajectory Generation
17
time
Data
After training, we can query the model multiple times to make prediction of the system’ evolution.
However, we accumulate more and more error for each prediction step!!!
Trajectory Generation with DDPMs
18
K diffusion steps
Trajectory Generation with DDPMs
19
True
Predicted
Optimal Control as Conditional Generation
20
Optimal Control as Conditional Generation
Janner, M., Du, Y., Tenenbaum, J.B. and Levine, S., 2022. Planning with diffusion for flexible behavior synthesis. arXiv preprint arXiv:2205.09991.
21
Optimal Control as Conditional Generation
Janner, M., Du, Y., Tenenbaum, J.B. and Levine, S., 2022. Planning with diffusion for flexible behavior synthesis. arXiv preprint arXiv:2205.09991.
22
Optimal Control as Conditional Generation
23
time
Optimal and Safe Control as Joint Conditional Generation
Botteghi, N., Califano, F., Poel, M. and Brune, C., 2023, July. Trajectory Generation, Control, and Safety with Denoising Diffusion Probabilistic Models. In ICML Workshop on New Frontiers in Learning, Control, and Dynamical Systems.
Ames, A.D., Coogan, S., Egerstedt, M., Notomista, G., Sreenath, K. and Tabuada, P., 2019, June. Control barrier functions: Theory and applications. In 2019 18th European control conference (ECC) (pp. 3420-3431). IEEE.
24
Optimal and Safe Control as Joint Conditional Generation
Botteghi, N., Califano, F., Poel, M. and Brune, C., 2023, July. Trajectory Generation, Control, and Safety with Denoising Diffusion Probabilistic Models. In ICML Workshop on New Frontiers in Learning, Control, and Dynamical Systems.
Ames, A.D., Coogan, S., Egerstedt, M., Notomista, G., Sreenath, K. and Tabuada, P., 2019, June. Control barrier functions: Theory and applications. In 2019 18th European control conference (ECC) (pp. 3420-3431). IEEE.
25
Optimal and Safe Control as Joint Conditional Generation
26
Optimal and Safe Control as Joint Conditional Generation
27
time
Optimal and Safe Control as Joint Conditional Generation
Botteghi, N., Califano, F., Poel, M. and Brune, C., 2023, July. Trajectory Generation, Control, and Safety with Denoising Diffusion Probabilistic Models. In ICML Workshop on New Frontiers in Learning, Control, and Dynamical Systems.
28
Conclusion
Our goals are to:
Pros:
Cons:
29
Thank you for your attention!!!
Training and Sampling DDPMs
31
Control Barrier Functions
Given a system of the type:
Inpainting
33
Inpainting
34