Interlocking machine learning models allow a robot to execute tasks faster than the ones with only an artificial intelligence program.
One of the jobs for which robots are best suited is the tedious, repetitive “pick and place” task common in warehouses — but humans are still much better at it. UC Berkeley researchers are picking up the pace with a pair of machine learning models that work together to let a robot arm plan its grasp and path in just milliseconds.
People don’t have to think hard about how to pick up an object and put it down somewhere else — it’s not only something we’ve had years of practice doing every day, but our senses and brains are well adapted for the task. No one thinks, “what if I picked up the cup, then jerked it really far up and then sideways, then really slowly down onto the table” — the paths we might move an object along are limited and usually pretty efficient.
Robots, however, don’t have common sense or intuition. Lacking an “obvious” solution, they need to evaluate thousands of potential paths for picking up an object and moving it, and that involves calculating the forces involved, potential collisions, whether it affects the type of grip that should be used, and so on.
Once the robot decides what to do it can execute quickly, but that decision takes time — several seconds at best, and possibly much more depending on the situation. Fortunately, roboticists at UC Berkeley have come up with a solution that cuts the time needed to do it by about 99 percent.
The system uses two machine learning models working in relay. The first is a rapid-fire generator of potential paths for the robot arm to take based on tons of example movements. It creates a bunch of options, and a second ML model, trained to pick the best, chooses from among them. This path tends to be a bit rough, however, and needs fine-tuning by a dedicated motion planner — but since the motion planner is given a “warm start” with the general shape of the path that needs to be taken, its finishing touch is only a moment’s work.
If the motion planner was working on its own, it tended to take between 10 and 40 seconds to finish. With the warm start, however, it rarely took more than a tenth of a second.
Right now robots doing pick and place are nowhere near the efficiency of humans, but small improvements will combine to make them competitive and, eventually, more than competitive. The work when done by humans is dangerous and tiring, yet millions do it worldwide because there’s no other way to fill the demand created by the growing online retail economy.
Maybe the technique to use two machine learning programs in a single robot can be applied in other areas that require a fast response like vehicles without a driver or air taxi by drone.