{"id":22982,"date":"2021-03-17T13:55:55","date_gmt":"2021-03-17T17:55:55","guid":{"rendered":"https:\/\/www.bu.edu\/hic\/?p=22982"},"modified":"2021-05-07T16:36:33","modified_gmt":"2021-05-07T20:36:33","slug":"simplifying-machine-learning-for-drone-flight-control","status":"publish","type":"post","link":"https:\/\/www.bu.edu\/hic\/2021\/03\/17\/simplifying-machine-learning-for-drone-flight-control\/","title":{"rendered":"Simplifying machine learning for drone flight control"},"content":{"rendered":"<p>BY: GINA MANTICA<\/p>\n<p>Drones can learn to fly on their own thanks to machine learning. But drones trained with current machine learning algorithms sometimes move erratically or use up a lot of energy, preventing them from traveling long distances. Kate Saenko, Co-Director of the Artificial Intelligence Research Initiative at the Hariri Institute for Computing, worked in collaboration with Renato Mancuso, Assistant Professor in Computer Science, and PhD students in the BU Computer Science department (Sid Mysore, Saenko lab, and Bassel El Mabsout, Mancuso lab) to optimize a machine learning algorithm that improves not only the maneuverability of drones, but also the amount of power that drones use during flight.<\/p>\n<p><a href=\"http:\/\/ai.bu.edu\/caps\/\">Their paper was recently accepted at the International Conference on Robotics and Automation (ICRA) 2021<\/a>. The researchers optimized a machine learning algorithm to teach drones how to fly using the \u201cConditioning for Action Policy Smoothness\u201d (CAPS) constraint. The team inserted CAPS into the part of the algorithm that controls how drones respond to changes in the environment. This direct algorithmic change demystifies the machine learning \u201cblack box\u201d and allows researchers to better understand how to adjust their training parameters to ensure a smooth flight.<\/p>\n<p>Saenko and colleagues used reinforcement learning, or a type of machine learning based on trial and error, to train their drones. Reinforcement learning is like learning to ride a bike, where a person tries different movements until they finally find a way to pedal in a straight line. Like people, machines can try different actions and adjust as needed until their action leads to a desired result. In the case of drones, a fundamental requirement is their ability to move smoothly over long distances, and this is the problem that CAPS seeks to address.<\/p>\n<figure id=\"attachment22984\" aria-describedby=\"caption-attachment22984\" style=\"width: 210px\" class=\"wp-caption alignleft\"><img loading=\"lazy\" src=\"\/hic\/files\/2021\/03\/bio-pic-636x636.jpg\" alt=\"\" width=\"200\" height=\"200\" class=\"wp-image-22984\" srcset=\"https:\/\/www.bu.edu\/hic\/files\/2021\/03\/bio-pic-636x636.jpg 636w, https:\/\/www.bu.edu\/hic\/files\/2021\/03\/bio-pic-1024x1024.jpg 1024w, https:\/\/www.bu.edu\/hic\/files\/2021\/03\/bio-pic-150x150.jpg 150w, https:\/\/www.bu.edu\/hic\/files\/2021\/03\/bio-pic-768x768.jpg 768w, https:\/\/www.bu.edu\/hic\/files\/2021\/03\/bio-pic-700x700.jpg 700w, https:\/\/www.bu.edu\/hic\/files\/2021\/03\/bio-pic-189x189.jpg 189w, https:\/\/www.bu.edu\/hic\/files\/2021\/03\/bio-pic-100x100.jpg 100w, https:\/\/www.bu.edu\/hic\/files\/2021\/03\/bio-pic.jpg 1511w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/><figcaption id=\"caption-attachment22984\" class=\"wp-caption-text\">Sid Mysore, a PhD student in the BU Computer Science Department, worked in the Saenko lab to simplify machine learning for drone flight control.<\/figcaption><\/figure>\n<p>The researchers added CAPS to their algorithm to ensure that their machine-trained drones respond efficiently to the quick maneuvering of pilots. CAPS helps the machine choose movements that are similar to previous movements in both space and time. Choosing similar movements allows for the drone to move around smoothly, without any jerking or jittering. Sid Mysore compares CAPS to walking. \u201cIf I\u2019ve taken a step with my right foot, then the thing I care about is if the step on my left foot is reasonable given where and when I placed down my right foot,\u201d said Mysore.<\/p>\n<p>First, the researchers trained the machine learning algorithm in a simulated environment to ensure the drone could maneuver safely through space without putting the drone\u2019s hardware or pilot at risk. Simulated drones trained with CAPS had significantly smoother movements than those trained without CAPS.<\/p>\n<p>Though promising, the researchers wanted to see how the drones would fly in real-world conditions. So, the team integrated their machine learning model into a drone\u2019s hardware. This allows for the drone\u2019s flight controllers to learn quickly and without human intervention. The real drone trained with CAPS moved just like the virtual drones- fluidly maneuvering through space. And, CAPS-trained drones required about 80% less power than those trained without CAPS.<\/p>\n<p style=\"text-align: center;\"><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/kvc_ycbQhwM\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>By directly changing the machine learning algorithm rather than the training environment, or \u201cblack box\u201d, the researchers better ensured the drone\u2019s consistent maneuverability and efficiency. \u201cIt is important to understand how behaviors are controlled so we can ensure more predictable behavior,\u201d said Mysore. He believes that sometimes the simplest methods that are able to address the root of the issue are the best for solving complex problems. \u201cWe don\u2019t need to keep reinventing the wheel or shooting for more novelty&#8230;Sometimes research should be about methods that are effective and useful,\u201d he said.<\/p>\n<hr \/>\n<p><em>Interested in learning more about the transformational science happening at the Hariri Institute?\u00a0<a href=\"https:\/\/www.us6.list-manage.com\/subscribe?u=e3ad8f42733d54531fb729327&amp;id=d2da4f4d79\">Sign up for our newsletter here.<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>BY: GINA MANTICA Drones can learn to fly on their own thanks to machine learning. But drones trained with current machine learning algorithms sometimes move erratically or use up a lot of energy, preventing them from traveling long distances. Kate Saenko, Co-Director of the Artificial Intelligence Research Initiative at the Hariri Institute for Computing, worked [&hellip;]<\/p>\n","protected":false},"author":8550,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11716],"tags":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/hic\/wp-json\/wp\/v2\/posts\/22982"}],"collection":[{"href":"https:\/\/www.bu.edu\/hic\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bu.edu\/hic\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/hic\/wp-json\/wp\/v2\/users\/8550"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/hic\/wp-json\/wp\/v2\/comments?post=22982"}],"version-history":[{"count":10,"href":"https:\/\/www.bu.edu\/hic\/wp-json\/wp\/v2\/posts\/22982\/revisions"}],"predecessor-version":[{"id":23615,"href":"https:\/\/www.bu.edu\/hic\/wp-json\/wp\/v2\/posts\/22982\/revisions\/23615"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/hic\/wp-json\/wp\/v2\/media?parent=22982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bu.edu\/hic\/wp-json\/wp\/v2\/categories?post=22982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bu.edu\/hic\/wp-json\/wp\/v2\/tags?post=22982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}