[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-86055-en":3,"doc-seo-86055-105":28,"detail-sidebar-cat-0-en-105":90},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":11,"language":21,"language_code":22,"site_id":23,"html_lang":22,"table_of_contents":24,"faqs":25,"seo_title":13,"seo_description":14,"update_tm":26,"read_time":27},86055,687197207057,"Sage","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",8,"Research & Report","D-SafeMPC Diffusion-Driven Safe Model Predictive Control with Discrete-Time Control Barrier Functions","Diffusion models used for robotic planning often fail to inherently enforce safety or dynamical constraints, producing trajectories that can violate physical feasibility or safety margins. Hybrid diffusion–MPC methods improve constraint handling but may become unstable when the diffusion model provides poor initial trajectories that stop MPC from converging. D-SafeMPC guides reverse diffusion with control barrier functions (CBFs) and control Lyapunov functions (CLFs) and uses an iterative-projection MPC refinement at each denoising step. Experiments on a Franka manipulator, including sim-to-real, improve safety, task success, and planning efficiency while improving MPC warm starts.","D-SafeMPC: Diffusion-Driven Safe Model Predictive Control with Discrete-Time Control Barrier Functions  \nErdi Sayar1 , Ersin Da¸s2 , Joel W. Burdick3 , Alois Knoll4 , and Erdal Kayacan 1  \narXiv :2607 . 10842v1 [ cs .RO] 12 Jul 2026  \nAbstract—A key limitation on the use of diffusion models in robotic planning is their inability to inherently enforce safety or dynamical constraints, which often results in physically infeasible or unsafe outputs. Hybrid approaches that employ model predictive control (MPC) to address this problem can be unstable, as poor trajectory initializations from the diffusion model prevent the MPC from converging to a safe and feasible solution. To overcome these challenges, we propose D-SafeMPC, which enhances the interaction between diffusion and control. Our method guides the reverse diffusion process with control barrier functions (CBFs) and control Lyapunov functions (CLFs) and employs an iterative-projection scheme where an MPC refines the trajectory at each denoising step. This steers sampling toward safe, goal-directed regions and provides reliable MPC warm starts. In simulations on a Franka manipulator across four scenarios (one static-obstacle and three dynamic-obstacle settings) and in a sim-to-real experiment on a physical Franka robot, D-SafeMPC improves safety, task success rates, and planning efficiency over state-of-the-art baselines. To facilitate reproducibility, our source code and experimental configurations are available in a repository at [https://github.com/erdiphd/D-SafeMPC](https://github.com/erdiphd/D-SafeMPC)  \nI. INTRODUCTION  \nDiffusion models [1] have established state-of-the-art performance in generative tasks such as image and video synthesis. In robotics, they demonstrate impressive capabilities in trajectory planning, where they learn complex policies from demonstrations [2]–[5] . These models excel at capturing multimodal behaviors and generating high-dimensional trajectories holistically, which mitigates the compounding errors common in sequential methods and improves longterm performance. However, despite their success with large datasets, diffusion models lack an intrinsic mechanism to enforce explicit constraints, such as system dynamics, obstacle avoidance, and safety margins [6] . As a result, the trajectories produced via their iterative stochastic denoising process frequently violate the physical constraints of the system [7] . To address this limitation,[8] combines a diffusion model with control barrier functions (CBFs) [9] and control Lyapunov functions (CLFs) [10] to avoid obstacles while reaching a target set during the reverse diffusion process. Although  \n*This work was partially supported by the Horizon Europe Grant Agreement No. 101136056.  \n1 E. Sayar and E. Kayacan are with the Department of Electrical Engineering and Information Technology, Paderborn University, 33098 Paderborn, Germany, {erdi .sayar, erdal .kayacan}@uni-paderborn .de.  \n2 E. Da¸s is with the Department of Mechanical, Materials, and Aerospace Engineering, Illinois Institute of Technology, Chicago, IL 60616, USA, [edas2@illinoistech.edu](edas2@illinoistech.edu).  \n3 J. W. Burdick is with the Mechanical and Civil Engineering, California Institute of Technology, Pasadena, CA 91125, USA, [jburdick@caltech.edu](jburdick@caltech.edu).  \n4 A. Knoll is with the School of Computation, Information, and Technology, Technical University of Munich, 80333 Munich, Germany, [k@tum.de](k@tum.de).  \nthis approach guides the planner, it only acts as a form of guidance, pushing generated trajectories toward safe and goaldirected regions. In other words, CBFs and CLFs improve the probabilistic safety of the planned trajectories, but no hard safety constraints are enforced on the final trajectory, which may still violate safety or dynamic constraints.  \nTo enforce such hard constraints, an alternative strategy is to leverage model predictive control (MPC) [11], an optimization-based control framework that","cbCailllCrwRLn2a","https://ap.wps.com/l/cbCailllCrwRLn2a","pdf",2454465,1,"English","en",105,"# Introduction\n## Diffusion models for robotic trajectory planning\n## Limitations: constraint and safety enforcement\n## Hybrid diffusion–MPC approaches and instability\n# D-SafeMPC method overview","[{\"question\":\"Why do diffusion models struggle with safety in robotic planning?\",\"answer\":\"Diffusion models do not intrinsically enforce explicit constraints like system dynamics, obstacle avoidance, or safety margins during their stochastic denoising process, so generated trajectories can violate feasibility and safety requirements.\"},{\"question\":\"What problem can occur in hybrid diffusion–MPC frameworks?\",\"answer\":\"When the diffusion model produces a poor initial trajectory, the MPC refinement may fail to converge to a feasible solution, causing instability or failure in complex environments.\"},{\"question\":\"How does D-SafeMPC improve safety and convergence during planning?\",\"answer\":\"D-SafeMPC steers reverse diffusion using control barrier functions (CBFs) and control Lyapunov functions (CLFs), then applies an iterative-projection MPC refinement with explicit safety and dynamic constraints at each denoising step to provide reliable MPC warm starts.\"}]",1784208115,20,{"code":4,"msg":29,"data":30},"ok",{"site_id":23,"language":22,"slug":31,"title":13,"keywords":32,"description":14,"schema_data":33,"social_meta":85,"head_meta":87,"extra_data":89,"updated_unix":26},"d-safempc-diffusion-driven-safe-model-predictive-control-with-discrete-time-control-barrier-functions","",{"@graph":34,"@context":84},[35,52,67],{"@type":36,"itemListElement":37},"BreadcrumbList",[38,42,46,49],{"item":39,"name":40,"@type":41,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":43,"name":44,"@type":41,"position":45},"https://docshare.wps.com/document/","Document",2,{"item":47,"name":12,"@type":41,"position":48},"https://docshare.wps.com/document/research-report/",3,{"item":50,"name":13,"@type":41,"position":51},"https://docshare.wps.com/document/d-safempc-diffusion-driven-safe-model-predictive-control-with-discrete-time-control-barrier-functions/86055/",4,{"url":50,"name":13,"@type":53,"author":54,"headline":13,"publisher":56,"fileFormat":59,"inLanguage":22,"description":14,"dateModified":60,"datePublished":61,"encodingFormat":59,"isAccessibleForFree":62,"interactionStatistic":63},"DigitalDocument",{"name":9,"@type":55},"Person",{"url":39,"name":57,"@type":58},"DocShare","Organization","application/pdf","2026-07-17","2026-07-16",true,{"@type":64,"interactionType":65,"userInteractionCount":20},"InteractionCounter",{"@type":66},"ViewAction",{"@type":68,"mainEntity":69},"FAQPage",[70,76,80],{"name":71,"@type":72,"acceptedAnswer":73},"Why do diffusion models struggle with safety in robotic planning?","Question",{"text":74,"@type":75},"Diffusion models do not intrinsically enforce explicit constraints like system dynamics, obstacle avoidance, or safety margins during their stochastic denoising process, so generated trajectories can violate feasibility and safety requirements.","Answer",{"name":77,"@type":72,"acceptedAnswer":78},"What problem can occur in hybrid diffusion–MPC frameworks?",{"text":79,"@type":75},"When the diffusion model produces a poor initial trajectory, the MPC refinement may fail to converge to a feasible solution, causing instability or failure in complex environments.",{"name":81,"@type":72,"acceptedAnswer":82},"How does D-SafeMPC improve safety and convergence during planning?",{"text":83,"@type":75},"D-SafeMPC steers reverse diffusion using control barrier functions (CBFs) and control Lyapunov functions (CLFs), then applies an iterative-projection MPC refinement with explicit safety and dynamic constraints at each denoising step to provide reliable MPC warm starts.","https://schema.org",{"og:url":50,"og:type":86,"og:title":13,"og:site_name":57,"og:description":14},"article",{"robots":88,"canonical":50},"index,follow",{"doc_id":7,"site_id":23},{"code":4,"msg":5,"data":91},[92,96,100,104,109,114,119,122,126,129,133],{"id":20,"doc_module":4,"doc_module_name":44,"category_name":93,"show_sort_weight":94,"slug":95},"Story & Novel",90,"story-novel",{"id":45,"doc_module":4,"doc_module_name":44,"category_name":97,"show_sort_weight":98,"slug":99},"Literature",80,"literature",{"id":51,"doc_module":4,"doc_module_name":44,"category_name":101,"show_sort_weight":102,"slug":103},"Exam",70,"exam",{"id":105,"doc_module":4,"doc_module_name":44,"category_name":106,"show_sort_weight":107,"slug":108},5,"Comic",60,"comic",{"id":110,"doc_module":4,"doc_module_name":44,"category_name":111,"show_sort_weight":112,"slug":113},6,"Technology",50,"technology",{"id":115,"doc_module":4,"doc_module_name":44,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":44,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":44,"category_name":124,"show_sort_weight":27,"slug":125},9,"Religion & Spirituality","religion-spirituality",{"id":27,"doc_module":4,"doc_module_name":44,"category_name":127,"show_sort_weight":27,"slug":128},"World Cup","world-cup",{"id":130,"doc_module":4,"doc_module_name":44,"category_name":131,"show_sort_weight":130,"slug":132},10,"Lifestyle","lifestyle",{"id":134,"doc_module":4,"doc_module_name":44,"category_name":135,"show_sort_weight":105,"slug":136},19,"General","general"]