Energy News
ROBO SPACE
A faster way to teach a robot
Researchers from MIT and elsewhere have developed a technique that enables a human to efficiently fine-tune a robot that failed to complete a desired task- like picking up a unique mug- with very little effort on the part of the human.
A faster way to teach a robot
by Adam Zewe for MIT News
Boston MA (SPX) Jul 19, 2023

Imagine purchasing a robot to perform household tasks. This robot was built and trained in a factory on a certain set of tasks and has never seen the items in your home. When you ask it to pick up a mug from your kitchen table, it might not recognize your mug (perhaps because this mug is painted with an unusual image, say, of MIT's mascot, Tim the Beaver). So, the robot fails.

"Right now, the way we train these robots, when they fail, we don't really know why. So you would just throw up your hands and say, 'OK, I guess we have to start over.' A critical component that is missing from this system is enabling the robot to demonstrate why it is failing so the user can give it feedback," says Andi Peng, an electrical engineering and computer science (EECS) graduate student at MIT.

Peng and her collaborators at MIT, New York University, and the University of California at Berkeley created a framework that enables humans to quickly teach a robot what they want it to do, with a minimal amount of effort.

When a robot fails, the system uses an algorithm to generate counterfactual explanations that describe what needed to change for the robot to succeed. For instance, maybe the robot would have been able to pick up the mug if the mug were a certain color. It shows these counterfactuals to the human and asks for feedback on why the robot failed. Then the system utilizes this feedback and the counterfactual explanations to generate new data it uses to fine-tune the robot.

Fine-tuning involves tweaking a machine-learning model that has already been trained to perform one task, so it can perform a second, similar task.

The researchers tested this technique in simulations and found that it could teach a robot more efficiently than other methods. The robots trained with this framework performed better, while the training process consumed less of a human's time.

This framework could help robots learn faster in new environments without requiring a user to have technical knowledge. In the long run, this could be a step toward enabling general-purpose robots to efficiently perform daily tasks for the elderly or individuals with disabilities in a variety of settings.

Peng, the lead author, is joined by co-authors Aviv Netanyahu, an EECS graduate student; Mark Ho, an assistant professor at the Stevens Institute of Technology; Tianmin Shu, an MIT postdoc; Andreea Bobu, a graduate student at UC Berkeley; and senior authors Julie Shah, an MIT professor of aeronautics and astronautics and the director of the Interactive Robotics Group in the Computer Science and Artificial Intelligence Laboratory (CSAIL), and Pulkit Agrawal, a professor in CSAIL. The research will be presented at the International Conference on Machine Learning.

On-the-job training
Robots often fail due to distribution shift - the robot is presented with objects and spaces it did not see during training, and it doesn't understand what to do in this new environment.

One way to retrain a robot for a specific task is imitation learning. The user could demonstrate the correct task to teach the robot what to do. If a user tries to teach a robot to pick up a mug, but demonstrates with a white mug, the robot could learn that all mugs are white. It may then fail to pick up a red, blue, or "Tim-the-Beaver-brown" mug.

Training a robot to recognize that a mug is a mug, regardless of its color, could take thousands of demonstrations.

"I don't want to have to demonstrate with 30,000 mugs. I want to demonstrate with just one mug. But then I need to teach the robot so it recognizes that it can pick up a mug of any color," Peng says.

To accomplish this, the researchers' system determines what specific object the user cares about (a mug) and what elements aren't important for the task (perhaps the color of the mug doesn't matter). It uses this information to generate new, synthetic data by changing these "unimportant" visual concepts. This process is known as data augmentation.

The framework has three steps. First, it shows the task that caused the robot to fail. Then it collects a demonstration from the user of the desired actions and generates counterfactuals by searching over all features in the space that show what needed to change for the robot to succeed.

The system shows these counterfactuals to the user and asks for feedback to determine which visual concepts do not impact the desired action. Then it uses this human feedback to generate many new augmented demonstrations.

In this way, the user could demonstrate picking up one mug, but the system would produce demonstrations showing the desired action with thousands of different mugs by altering the color. It uses these data to fine-tune the robot.

Creating counterfactual explanations and soliciting feedback from the user are critical for the technique to succeed, Peng says.

From human reasoning to robot reasoning
Because their work seeks to put the human in the training loop, the researchers tested their technique with human users. They first conducted a study in which they asked people if counterfactual explanations helped them identify elements that could be changed without affecting the task.

"It was so clear right off the bat. Humans are so good at this type of counterfactual reasoning. And this counterfactual step is what allows human reasoning to be translated into robot reasoning in a way that makes sense," she says.

Then they applied their framework to three simulations where robots were tasked with: navigating to a goal object, picking up a key and unlocking a door, and picking up a desired object then placing it on a tabletop. In each instance, their method enabled the robot to learn faster than with other techniques, while requiring fewer demonstrations from users.

Moving forward, the researchers hope to test this framework on real robots. They also want to focus on reducing the time it takes the system to create new data using generative machine-learning models.

"We want robots to do what humans do, and we want them to do it in a semantically meaningful way. Humans tend to operate in this abstract space, where they don't think about every single property in an image. At the end of the day, this is really about enabling a robot to learn a good, human-like representation at an abstract level," Peng says.

This research is supported, in part, by a National Science Foundation Graduate Research Fellowship, Open Philanthropy, an Apple AI/ML Fellowship, Hyundai Motor Corporation, the MIT-IBM Watson AI Lab, and the National Science Foundation Institute for Artificial Intelligence and Fundamental Interactions.

Research Report:"Diagnosis, Feedback, Adaptation: A Human-in-the-Loop Framework for Test-time Policy Adaptation"

Related Links
Computer Science and Artificial Intelligence Laboratory (CSAIL)
All about the robots on Earth and beyond!

Subscribe Free To Our Daily Newsletters
Tweet

RELATED CONTENT
The following news reports may link to other Space Media Network websites.
ROBO SPACE
UN chief warns of AI risks to global peace
United Nations, United States (AFP) July 18, 2023
UN Secretary-General Antonio Guterres on Tuesday warned that artificial intelligence could pose a risk to global peace and security, calling on all member states to urgently set up guardrails to keep the technology in check. "It is clear that AI will have an impact on every area of our lives," Guterres said at the first UN Security Council meeting on the topic. "Generative AI has enormous potential for good and evil at scale," he added, noting that while it could help end poverty or cure cancer, ... read more

ROBO SPACE
Mining giant Rio unlikely to meet 2025 climate targets

One in three people still using dirty cooking methods: study

Wind of change picks up for German region's energy sector

'As long as we have AC': Phoenix heat shows gap between US rich, poor

ROBO SPACE
Electricity from the Sky: Harnessing raindrop energy

Stellantis, Samsung to build second battery plant in US

Turning waste heat into energy

Tata picks Britain for massive electric car battery plant

ROBO SPACE
Biden to visit Philly Shipyard to announce construction of offshore wind vessel

New transmission line to carry wind energy electricity from Wyoming to Nevada

Brazil faces dilemma: endangered macaw vs. wind farm

Spire to provide TrueOcean with weather forecasts for offshore wind farm development

ROBO SPACE
AI and satellite imagery transform solar energy potential mapping in China

New robot boosts solar energy research

Harnessing the power of the Sun for water remediation

China's GalaxySpace Debuts Revolutionary Flexible Solar Wing Satellite

ROBO SPACE
IAEA discovers mines near Ukraine's Zaporizhzhya nuclear plant

Mines found at Ukraine's Zaporizhzhia nuclear plant: UN watchdog

IAEA says still blocked from Zaporizhzhia nuclear plant roof

Unlocking the power of molecular crystals: a possible solution to nuclear waste

ROBO SPACE
Harnessing synthetic biology to make sustainable alternatives to petroleum products

University of Illinois study finds turning food waste into bioenergy can become a profitable industry

New technology will let farmers produce their own fertilizer and e-fuels

Clean, sustainable fuels made 'from thin air' and plastic waste

ROBO SPACE
China told to stop tankers in its waters reaching N. Korea

New catalyst could dramatically cut methane pollution from millions of engines

France blames Russia for G20 failure on fossil fuels

British court spares Shell in climate case

ROBO SPACE
Europe, US heatwaves 'virtually impossible' without climate change

The Pacific slope of Peru is greening, and this is not good news

UN climate expert panel elects new chair

British professor elected to lead UN climate panel in key decade

Subscribe Free To Our Daily Newsletters




The content herein, unless otherwise known to be public domain, are Copyright 1995-2024 - Space Media Network. All websites are published in Australia and are solely subject to Australian law and governed by Fair Use principals for news reporting and research purposes. AFP, UPI and IANS news wire stories are copyright Agence France-Presse, United Press International and Indo-Asia News Service. ESA news reports are copyright European Space Agency. All NASA sourced material is public domain. Additional copyrights may apply in whole or part to other bona fide parties. All articles labeled "by Staff Writers" include reports supplied to Space Media Network by industry news wires, PR agencies, corporate press officers and the like. Such articles are individually curated and edited by Space Media Network staff on the basis of the report's information value to our industry and professional readership. Advertising does not imply endorsement, agreement or approval of any opinions, statements or information provided by Space Media Network on any Web page published or hosted by Space Media Network. General Data Protection Regulation (GDPR) Statement Our advertisers use various cookies and the like to deliver the best ad banner available at one time. All network advertising suppliers have GDPR policies (Legitimate Interest) that conform with EU regulations for data collection. By using our websites you consent to cookie based advertising. If you do not agree with this then you must stop using the websites from May 25, 2018. Privacy Statement. Additional information can be found here at About Us.