{"id":6563,"date":"2023-06-12T04:00:00","date_gmt":"2023-06-12T04:00:00","guid":{"rendered":"https:\/\/www.aiproblog.com\/index.php\/2023\/06\/12\/a-step-toward-safe-and-reliable-autopilots-for-flying\/"},"modified":"2023-06-12T04:00:00","modified_gmt":"2023-06-12T04:00:00","slug":"a-step-toward-safe-and-reliable-autopilots-for-flying","status":"publish","type":"post","link":"https:\/\/www.aiproblog.com\/index.php\/2023\/06\/12\/a-step-toward-safe-and-reliable-autopilots-for-flying\/","title":{"rendered":"A step toward safe and reliable autopilots for flying"},"content":{"rendered":"<p>Author: Adam Zewe | MIT News Office<\/p>\n<div>\n<p>In the film \u201cTop Gun: Maverick<em>,<\/em>\u201d<em> <\/em>Maverick, played by Tom Cruise, is charged with training young pilots to complete a seemingly impossible mission \u2014 to fly their jets deep into a rocky canyon, staying so low to the ground they cannot be detected by radar, then rapidly climb out of the canyon at an extreme angle, avoiding the rock walls. Spoiler alert: With Maverick\u2019s help, these human pilots accomplish their mission.<\/p>\n<p>A machine, on the other hand, would struggle to complete the same pulse-pounding task. To an autonomous aircraft, for instance, the most straightforward path toward the target is in conflict with what the machine needs to do to avoid colliding with the canyon walls or staying undetected. Many existing AI methods aren\u2019t able to overcome this conflict, known as the stabilize-avoid problem, and would be unable to reach their goal safely.<\/p>\n<p>MIT researchers have developed a new technique that can solve complex stabilize-avoid problems better than other methods. Their machine-learning approach matches or exceeds the safety of existing methods while providing a tenfold increase in stability, meaning the agent reaches and remains stable within its goal region.<\/p>\n<p>In an experiment that would make Maverick proud, their technique effectively piloted a simulated jet aircraft through a narrow corridor without crashing into the ground.\u00a0<\/p>\n<p>\u201cThis has been a longstanding, challenging problem. A lot of people have looked at it but didn\u2019t know how to handle such high-dimensional and complex dynamics,\u201d says Chuchu Fan, the Wilson Assistant Professor of Aeronautics and Astronautics, a member of the Laboratory for Information and Decision Systems (LIDS), and senior author of a <a href=\"https:\/\/arxiv.org\/pdf\/2305.14154.pdf\" target=\"_blank\" rel=\"noopener\">new paper<\/a> on this technique.<\/p>\n<p>Fan is joined by lead author Oswin So, a graduate student. The paper will be presented at the Robotics: Science and Systems conference.<\/p>\n<p><strong>The stabilize-avoid challenge<\/strong><\/p>\n<p>Many approaches tackle complex stabilize-avoid problems by simplifying the system so they can solve it with straightforward math, but the simplified results often don\u2019t hold up to real-world dynamics.<\/p>\n<p>More effective techniques use reinforcement learning, a machine-learning method where an agent learns by trial-and-error with a reward for behavior that gets it closer to a goal. But there are really two goals here \u2014 remain stable and avoid obstacles \u2014 and finding the right balance is tedious.<\/p>\n<p>The MIT researchers broke the problem down into two steps. First, they reframe the stabilize-avoid problem as a constrained optimization problem. In this setup, solving the optimization enables the agent to reach and stabilize to its goal, meaning it stays within a certain region. By applying constraints, they ensure the agent avoids obstacles, So explains.\u00a0<\/p>\n<p>Then for the second step, they reformulate that constrained optimization problem into a mathematical representation known as the epigraph form and solve it using a deep reinforcement learning algorithm. The epigraph form lets them bypass the difficulties other methods face when using reinforcement learning.\u00a0<\/p>\n<p>\u201cBut deep reinforcement learning isn\u2019t designed to solve the epigraph form of an optimization problem, so we couldn\u2019t just plug it into our problem. We had to derive the mathematical expressions that work for our system. Once we had those new derivations, we combined them with some existing engineering tricks used by other methods,\u201d So says.<\/p>\n<p><strong>No points for second place<\/strong><\/p>\n<p>To test their approach, they designed a number of control experiments with different initial conditions. For instance, in some simulations, the autonomous agent needs to reach and stay inside a goal region while making drastic maneuvers to avoid obstacles that are on a collision course with it.<\/p>\n<p><img decoding=\"async\" alt=\"Animated video shows a jet airplane rendering flying in low altitude while staying within narrow flight corridor.\" data-align=\"center\" data-caption=\"This video shows how the researchers used their technique to effectively fly a simulated jet aircraft in a scenario where it had to&amp;nbsp;stabilize&amp;nbsp;to a target near the ground while maintaining a very low altitude and staying within a narrow flight corridor.&lt;br \/&gt;\n&lt;br \/&gt;\nCourtesy of the researchers\" data-entity-type=\"file\" data-entity-uuid=\"b29e37f8-113c-4647-adc6-ae3208157b1c\" src=\"https:\/\/news.mit.edu\/sites\/default\/files\/images\/inline\/MIT-Stabilize-Avoid-large.gif\"><\/p>\n<p>When compared with several baselines, their approach was the only one that could stabilize all trajectories while maintaining safety. To push their method even further, they used it to fly a simulated jet aircraft in a scenario one might see in a \u201cTop Gun\u201d<em> <\/em>movie. The jet had to stabilize to a target near the ground while maintaining a very low altitude and staying within a narrow flight corridor.<\/p>\n<p>This simulated jet model was open-sourced in 2018 and had been designed by flight control experts as a testing challenge. Could researchers create a scenario that their controller could not fly? But the model was so complicated it was difficult to work with, and it still couldn\u2019t handle complex scenarios, Fan says.<\/p>\n<p>The MIT researchers\u2019 controller was able to prevent the jet from crashing or stalling while stabilizing to the goal far better than any of the baselines.<\/p>\n<p>In the future, this technique could be a starting point for designing controllers for highly dynamic robots that must meet safety and stability requirements, like autonomous delivery drones. Or it could be implemented as part of larger system. Perhaps the algorithm is only activated when a car skids on a snowy road to help the driver safely navigate back to a stable trajectory.<\/p>\n<p>Navigating extreme scenarios that a human wouldn\u2019t be able to handle is where their approach really shines, So adds.<\/p>\n<p>\u201cWe believe that a goal we should strive for as a field is to give reinforcement learning the safety and stability guarantees that we will need to provide us with assurance when we deploy these controllers on mission-critical systems. We think this is a promising first step toward achieving that goal,\u201d he says.<\/p>\n<p>Moving forward, the researchers want to enhance their technique so it is better able to take uncertainty into account when solving the optimization. They also want to investigate how well the algorithm works when deployed on hardware, since there will be mismatches between the dynamics of the model and those in the real world.<\/p>\n<p>\u201cProfessor Fan\u2019s team has improved reinforcement learning performance for dynamical systems where safety matters. Instead of just hitting a goal, they create controllers that ensure the system can reach its target safely and stay there indefinitely,\u201d says Stanley Bak, an assistant professor in the Department of Computer Science at Stony Brook University, who was not involved with this research. \u201cTheir improved formulation allows the successful generation of safe controllers for complex scenarios, including a 17-state nonlinear jet aircraft model designed in part by researchers from the Air Force Research Lab (AFRL), which incorporates nonlinear differential equations with lift and drag tables.\u201d<\/p>\n<p>The work is funded, in part, by MIT Lincoln Laboratory under the Safety in Aerobatic Flight Regimes program.<\/p>\n<\/div>\n<p><a href=\"https:\/\/news.mit.edu\/2023\/safe-and-reliable-autopilots-flying-0612\">Go to Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author: Adam Zewe | MIT News Office In the film \u201cTop Gun: Maverick,\u201d Maverick, played by Tom Cruise, is charged with training young pilots to [&hellip;] <span class=\"read-more-link\"><a class=\"read-more\" href=\"https:\/\/www.aiproblog.com\/index.php\/2023\/06\/12\/a-step-toward-safe-and-reliable-autopilots-for-flying\/\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":6564,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/6563"}],"collection":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=6563"}],"version-history":[{"count":0,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/6563\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media\/6564"}],"wp:attachment":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=6563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=6563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=6563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}