This article is part of ourcoverage of the latest inAI research.
For humans, working with deformable objects is not significantly more difficult than handling rigid objects. We learn naturally to shape them, fold them, and manipulate them in different ways and still recognize them.
But for robots and artificial intelligence systems, manipulating deformable objects present a huge challenge. Consider the series of steps that a robot must take to shape a ball of dough into pizza crusts. It must keep track of the dough as it changes shape, and at the same time, it must choose the right tool for each step of the work. These are challenging tasks for current AI systems, which are more stable in handling rigid-body objects, which have more predictable states.
Now, a new deep learning technique developed by researchers at MIT, Carnegie Mellon University, and the University of California at San Diego, shows promise to make robotics systems more stable in handling deformable objects. Called DiffSkill, the technique uses deep neural networks to learn simple skills and a planning module for combining the skills to solve tasks that require multiple steps and tools.
If an AI system wants to handle an object, it has to be able to detect and define its state and predict how it will look in the future. This is a problem that has been largely solved for rigid objects. With a good set of training examples, a deep neural network will be able to detect a rigid object from different angles. However, when it comes to deformable objects, the space of possible states becomes much more complicated.
For rigid objects, we can describe its state with six numbers: Three numbers for its XYZ coordinates and another three numbers for its orientation, Xingyu Lin, Ph.D. student at CMU and lead author of the DiffSkill paper, told TechTalks.
However, deformable bodies, such as the dough or fabrics, have infinite degrees of freedom, making it much more difficult to describe their states precisely. Furthermore, the ways they deform are also harder to model in a mathematical way compared to rigid bodies.
The development of differentiable physics simulators enabled the application of gradient-based methods to solve deformable object manipulation tasks. This is in contrast to the traditional reinforcement learning approach that tries to learn the dynamics of the environment and objects through pure trial-and-error interactions.
DiffSkill was inspired by PlasticineLab, a differentiable physics simulator that was presented at the ICLR conference in 2021. PlasticineLab showed that differentiable simulators can help short-horizon tasks.
But differentiable simulators still struggle with long-horizon problems that require multiple steps and the use of different tools. AI systems based on differentiable simulators also require the agent to know the full simulation state and relevant physical parameters of the environment. This is especially limiting for real-world applications, where the agent usually perceives the world through visual and depth sensory data (RGB-D).
We started to ask if we can extract [the steps required to accomplish a task] as skills and also learn abstract notions about the skills so that we can chainthem to solve more complex tasks, Lin said.
DiffSkill is a framework where the AI agent learns skill abstraction using the differentiable physics model and composes them to accomplish complicated manipulation tasks.
Lins past work was focused on using reinforcement learning for the manipulation of deformable objects such as cloth, ropes, and liquids. For DiffSkill, he chose dough manipulation because of the challenges it poses.
Dough manipulation is particularly interesting because it cannot be easily performed with the robot gripper, but requires using different tools sequentially, something humans are good at but is not very common for robots to do, Lin said.
Once trained, DiffSkill can successfully accomplish a set of dough manipulation tasks using only RGB-D input.
DiffSkill is composed of two key components: a neural skill abstractor that uses neural networks to learn individual skills and a planner that composes the skill to solve long-horizon tasks.
DiffSkill uses a differentiable physics simulator to generate training examples for the skill abstractor. These samples show how to achieve a short-horizon goal with a single tool, such as using a roller to spread the dough or a spatula to displace the dough.
These examples are presented to the skill abstractor as RGB-D videos. Given an image observation, the skill abstractor must predict whether the desired goal is feasible or not. The model learns and tunes its parameters by comparing its prediction with the actual outcome of the physics simulator.
At the same time, DiffSkill trains a variational autoencoder (VAE) to learn a latent-space representation of the examples generated by the physics simulator. The VAE encodes images in a lower-dimension space that preserves important features and discards information that is not relevant to the task. By transferring the high-dimensional image space into the latent space, the VAE plays an important role in enabling DiffSkill to plan over long horizons and predict outcomes by observing sensory data.
One of the important challenges of training the VAE is making sure it learns the right features and generalizes to the real world, where the composition of visual data is different from those generated by the physics simulator. For example, the color of the roller pin or the table is not relevant to the task, but the position and angle of the roller and the location of the dough are.
Currently, the researchers are using a technique called domain randomization, which randomizesthe irrelevant properties of the training environment such as background and lighting, and keeps the important features such as the position and orientation of tools. This makes the VAE more stable when applied to the real world.
Doing this is not easy, as we need to cover all possible variations that are different between the simulation and the real world [known as the sim2real gap], Lin said. A better way is to use a 3D point cloud as representation of the scene, which is much easier to transfer from simulation to the real world. In fact, we are working on a follow-up project using point cloud as input.
Once the skill abstractor is trained, DiffSkill uses the planner module to solve long-horizon tasks. The planner must determine the number and sequence of skills needed to go from the initial state to the destination.
This planner iterates over possible combinations of skills and the intermediate outcomes they yield. The variational autoencoder comes in handy here. Instead of predicting full image outcomes, DiffSkill uses the VAE to predict the latent-space outcome of intermediate steps toward the final goal.
The combination of abstract skills and latent-space representations makes it much more computationally efficient to draw a trajectory from the initial state to the goal. In fact, the researchers didnt need to optimize the search function and used an exhaustive search of all combinations.
The computation is not too much since we are planning over the skills and the horizon is not very long, Lin said. This exhaustive search eliminates the need for designing a sketch for the planner and might lead to novel solutions not considered by the designer in a more general way, although we did not observe this in the limited tasks we tried. Furthermore, more sophisticated search techniques could be applied as well
According to the DiffSkill paper, optimization can be done efficiently in around 10 seconds for each skill combination on a single NVIDIA 2080Ti GPU.
The researchers tested the performance of DiffSkill against several baseline methods that have been applied to deformable objects, including two model-free reinforcement learning algorithms and a trajectory optimizer that only uses the physics simulator.
The models were tested on several tasks that require multiple steps and tools. For example, in one of the tasks, the AI agent must lift the dough with a spatula, place it on a cutting board, and spread it with a roller.
The results show that DiffSkill is significantly better than other techniques at solving long-horizon, multiple-tool tasks using only sensory information. The experiments show that when well trained, DiffSkills planner can find good intermediate states between the initial and goal states and find decent sequences of skills to solve tasks.
One takeaway is that a set of skills can provide very important temporal abstraction, allowing us to reason over long-horizon, Lin said. This is also similar to how human approaches different tasks: thinking at different temporal abstractions instead of thinking what to do at every next second.
However, there are also limits to DiffSkills capacity. For example, when performing one of the tasks that required three-stage planning, DiffSkills performance degrades significantly (though it is still better than other techniques). Lin also mentioned that in some cases, the feasibility predictor produces false positives. The researchers believe that learning a better latent space can help solve this problem.
The researchers are also exploring other directions to improve DiffSkill, including a more efficient planner algorithm that can be used for longer horizon tasks.
Lin hopes that one day, he can use DiffSkill on real pizza-making robots. We are still far from this. Various challenges emerge from control, sim2real transfer, and safety. But we are now more confident at trying some long-horizon tasks, he said.
Excerpt from:
This deep learning technique solves one of the tough challenges of robotics - TechTalks
- Robotics Academy [Last Updated On: December 14th, 2016] [Originally Added On: December 14th, 2016]
- KUKA Robotics | KUKA AG [Last Updated On: December 14th, 2016] [Originally Added On: December 14th, 2016]
- Robotics - The Great Courses [Last Updated On: December 22nd, 2016] [Originally Added On: December 22nd, 2016]
- Robotics - reddit [Last Updated On: January 11th, 2017] [Originally Added On: January 11th, 2017]
- Chatham Robotics Goes Undefeated and Moves On to State Championship - TAPinto.net [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Meridian robotics team gears up for Idaho FRC Regional - KBOI-TV [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Local robotics students headed to World Championship tournament - KOLO [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Report: Nearshoring favors robotics, will require heavy capital investment - Supply Chain Dive [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Belding hosts largest robotics competition in history of event - Greenville Daily News [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- First Tech Challenge: High schools battle in robotics competition - The Journal News | LoHud.com [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Robotics Team Takes Home Trophy at Lego Competition - Patch.com [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- OHS robotics club dazzles McKinley students - Southernminn.com [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Toyota Industries Acquires Warehouse Robotics Developer - Wall Street Journal [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- South High wins Volvo's robotics tournament - Herald-Mail Media [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Belding hosts robotics competition - Sentinel-Standard [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- CMS robotics program soars - SW News Media [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Update On The Megatrend of Robotics - CTOvision (blog) [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- 33C3: Edible Soft Robotics - Hackaday [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Shopping robots on the march in Ocado - BBC News [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Keller students Starstruck on robotics - Fort Worth Star Telegram [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Our obsession with robots keeps getting creepier - New York Post [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Rethink Robotics makes its workplace bots easier to train and redeploy - TechCrunch [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Donation will cover costs for Sequim robotic competition - Peninsula Daily News [Last Updated On: February 8th, 2017] [Originally Added On: February 8th, 2017]
- Derby Middle School robotics club competes at high school competition - The Derby Informer [Last Updated On: February 8th, 2017] [Originally Added On: February 8th, 2017]
- Raspberry Pi-powered arm: This kit aims to make robotics simple enough for kids - TechRepublic [Last Updated On: February 8th, 2017] [Originally Added On: February 8th, 2017]
- WPI Robotics Team Has a Mission with Mars | News | WPI - WPI News [Last Updated On: February 8th, 2017] [Originally Added On: February 8th, 2017]
- Rehab robotics field promises to return control, mobility to aging population - ScienceBlog.com (blog) [Last Updated On: February 8th, 2017] [Originally Added On: February 8th, 2017]
- Rethink's Robots Get Massive Software Upgrade, Rodney Brooks So Excited - IEEE Spectrum [Last Updated On: February 8th, 2017] [Originally Added On: February 8th, 2017]
- Robotics: A robot that flies like a bat : Nature : Nature Research - Nature.com [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Robotics teams at CCS stay busy at tournaments - Imperial Republican [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Rethink Robotics rethinks its software | ZDNet - ZDNet [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Hartland robotics teams take on the FIRST Tech challenge at state competition - LC Sussex Sun [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Home-schooled students studying robotics - Valencia County News Bulletin [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Agility Robotics Introduces Cassie, a Dynamic and Talented Robot Delivery Ostrich - IEEE Spectrum [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Memphis robotics team headed to Super-Regionals - New Baltimore Voice Newspapers [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- Patriot Robotics Alliance upsets Brentwood Academy Alliances - Clarksville Now [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- Raptor legs & human hips: Giant leap for walking robots - RT [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- How drones and robotics may shape the future of conflict under President Trump - PRI [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- Robotics teams wins at state meet - The Citizen.com [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- Ford Bets $1B on Startup Founded by Waymo, Uber Vets - ABC News [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- South Beach robotics squad advances to super regionals - The Daily World [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- Personal robotics the next technological revolution: Dr Vivian Balakrishnan - Channel NewsAsia [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- This bipedal robot could deliver your packages one day - The Verge - The Verge [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- Robotics event offers lesson in teamwork - Lewiston Morning Tribune (subscription) [Last Updated On: February 12th, 2017] [Originally Added On: February 12th, 2017]
- Essex County Freeholders Honor Livingston Robotics Club Teams - TAPinto.net [Last Updated On: February 12th, 2017] [Originally Added On: February 12th, 2017]
- College Town: WPI Robotics team aims for $1M NASA prize - Worcester Telegram [Last Updated On: February 12th, 2017] [Originally Added On: February 12th, 2017]
- Alice Shaw robotics team building invention to save wolves | Local ... - Lompoc Record [Last Updated On: February 12th, 2017] [Originally Added On: February 12th, 2017]
- Ford invests $1B in robotics startup in driverless car quest - CBS News [Last Updated On: February 12th, 2017] [Originally Added On: February 12th, 2017]
- Freshman Caldwell team takes first place in Regional Robotics Tournament - Idaho Press-Tribune [Last Updated On: February 12th, 2017] [Originally Added On: February 12th, 2017]
- What went seriously wrong with Lily Robotics - VentureBeat [Last Updated On: February 12th, 2017] [Originally Added On: February 12th, 2017]
- Face off: Marion students compete in robotics competition - The Exponent Telegram (press release) (registration) [Last Updated On: February 12th, 2017] [Originally Added On: February 12th, 2017]
- Robotics Competition slated for Monday - San Angelo Standard Times [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Cornerstone Prep robotics team brings home trophy in first year - MDJOnline.com [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Center Grove robotics team headed to state competition - Daily Journal [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Hundreds piled into a Fort Mill gym. They cheered. They competed. They drove robots. - The Herald [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- My Turn: Arts education paved the way for girls' robotics win - AZCentral.com [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Young Alberta engineers face off in robotics showdown - CBC.ca [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Cougar robotics team advances to Super-Regionals - Times Bulletin - Times Bulletin [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- South Carroll Robotics teams compete at Maryland State Robotics Competition - Carroll County Times [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Cave Spring High School's Robotics Club wins in the First Tech ... - Roanoke Times [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- FIRST Robotics Competition - Wikipedia [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Designing robots to look more like ostriches can solve a key problem for our future biped overlords - Quartz [Last Updated On: February 14th, 2017] [Originally Added On: February 14th, 2017]
- More than 1000 high school students expected to Battlefield HS robotics tournament - PotomacLocal.com [Last Updated On: February 14th, 2017] [Originally Added On: February 14th, 2017]
- Event to look at Scotland's pivotal role in robotics - The Scotsman [Last Updated On: February 14th, 2017] [Originally Added On: February 14th, 2017]
- Kennett Coders to compete in NH State Robotics Championships on Saturday - Conway Daily Sun [Last Updated On: February 14th, 2017] [Originally Added On: February 14th, 2017]
- Are there enough robots? - Robotics Tomorrow (press release) [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Girl Scouts of Southern Illinois robotics team makes state tournament - Alton Telegraph [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Intuition Robotics raised $6 million for its ElliQ elder care assistant robot - TechCrunch [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Richmond robotics team gears up for districts - New Baltimore Voice Newspapers [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Microsoft lets you crash drones and robots in its new real world simulator - The Verge [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Makeblock's Lego-like 'Neuron' teaches kids robotics and code - Engadget [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- West Ridge robotics team maneuvers into national championship - Austin American-Statesman [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Immokalee High team set for robotics state championships Friday - Naples Daily News [Last Updated On: February 16th, 2017] [Originally Added On: February 16th, 2017]
- What has Robotics got in store for our future? - RTE.ie [Last Updated On: February 16th, 2017] [Originally Added On: February 16th, 2017]
- Uber Is Becoming a Robotics Company, CEO Says - Yahoo News [Last Updated On: February 16th, 2017] [Originally Added On: February 16th, 2017]
- 3Doodler's new kits help kids craft their own robots - Engadget - Engadget [Last Updated On: February 16th, 2017] [Originally Added On: February 16th, 2017]
- Magnetic Control Could Help Robots Navigate Inside Your Body - IEEE Spectrum [Last Updated On: February 16th, 2017] [Originally Added On: February 16th, 2017]
- Boston's new hub, MassRobotics, is like a WeWork for robotics startups - TechCrunch [Last Updated On: February 16th, 2017] [Originally Added On: February 16th, 2017]
- 3Doodler announces a robotics kit, Star Trek and Powerpuff Girls ... - TechCrunch [Last Updated On: February 17th, 2017] [Originally Added On: February 17th, 2017]
- Chart: Are Robots Replacing High-Cost Workers? - Seeking Alpha [Last Updated On: February 17th, 2017] [Originally Added On: February 17th, 2017]