The prospect might not be as fanciful as it sounds. Researchers from UC Berkeley, Intel, and Google Brain recently taught an AI model to operate by imitating videos of eight human surgeons at work. The algorithm — known as Motion2Vec — was trained on footage of medics using da Vinci surgical robots to perform suturing tasks such as needle-passing and knot-tying. The da Vinci system has been operating on patients — including James Bond on one occasion — since the early 2000s. Typically, the robot is controlled by a doctor from a computer console. But Motion2Vec directs the machine on its own. It’s already proven its stitching skills on a piece of cloth. In tests, the system replicated the human surgeons’ movements with an accuracy of 85.5%. [Read: Scientists uses electric shocks to steady the hands of surgeons] Reaching that level of precision was not an easy task. The eight surgeons in the videos used a wide variety of techniques, which made it tricky for the AI to figure out the best approach. To overcome this challenge, the team used semi-supervised algorithms, which learn a task by analyzing partially-labeled datasets. This allowed the AI to understand the surgeons’ essential movements from a just small quantity of labeled video data. Dr. Ajay Tanwani, who led the UC Berkeley team, told TNW that this created a sample-efficient model: Check it out in action in the video below:

From the lab to the operating theatre

If you’re still not convinced that a robot surgeon trained on YouTube should be stitching up your wounds, you can relax — for now. Tanwani admits that the system needs a lot of work before it’s sewing up the operating theatre. He now plans to integrate the needle with different kinds of tissues so the system can adapt to different situations — like an unexpected eruption of blood. The next big milestone for Tanwani is semi-automated remote surgery. He envisions the robot providing assistance to a physician: snapping to their target, correcting any inaccurate movements, or even sticking stitches to a wound. Tanwani compares this approach to driver-assist features in semi-autonomous cars: Just like the transition towards autonomous vehicles, these incremental advances should help gain the trust of users. Ultimately, Tanwani believes the self-supervised approach could bring AI to a range of real-world applications: