Various researchers are finding new ways to teach their robots to do each and every task. For example, learning, teaching, playing etc, to make our life easier, safer and more entertaining.

Last month, a research company co-founded and chaired by Elon Musk- OpenAI had unveiled the world’s first Spam-detecting AI. This vision system was trained entirely in simulation, while the movement policy for grasping and removing the Spam is hard-coded. By using  domain randomization, the company had trained its vision system. Now, the company have developed its latest version by deploying a new algorithm, one-shot imitation learning.

This allows a human to communicate how to do a new task by performing it in VR. Generally, one-shot imitation learning commonly used to solve different tasks in isolation. The company’s main goal is to develop robot that a should be able to learn from very few demonstrations of any given task, and instantly generalize to new situations of the same task, without requiring task-specific engineering.

In actual, developers used two different neural networks to develop its one-shot imitation learning system. 1. A vision network and 2. An imitation network.

Primarily, the vision network takes an image from the robot’s camera and display the states that show the positions of the objects. Engineers trained this vision network with the help of hundreds of thousands of simulated images with different perturbations of lighting, textures, and objects.

Later on, the imitation network observes the intent of a task it observes a human demonstrating via a virtual simulation. It then outputs the task in the real-world setting. It is trained on dozens of different tasks with thousands of demonstrations for each task.

When the system starts imitating, it could do so after viewing the demonstration only once. The system was able to complete the task even if the starting parameters didn’t quite match up. In order to predict the action effectively, the robot must learn how to infer the relevant portion of the task from the first demonstration.

It also performs attention over the locations of the different blocks, allowing it to imitate longer trajectories than it’s ever seen, and stack blocks into a configuration that has more blocks than any demonstration in its training data.

Unlike Musk’s other companies, the OpenAI is a nonprofit organization. Its main goal is to support and guide AI innovation.