How OpenAI Used Automatic Domain Randomisation To Solve A Rubik’s Cube With Robotic Hand

OpenAI's robot solved Rubik' cube

While you may have witnessed a robot solving a Rubik’s cube within seconds, you must not have seen robot hand manoeuvre like a human for completing this task. Many task-specific robots can solve a Rubik’s cube effortlessly but Dacty, an OpenAI robot can replicate a human’s hand movement to solve the cube.

To execute such dexterity, OpenAI trained neural networks coupled with automatic domain randomisation (ADR). This enabled the robot to deliver in the environments that it has not been trained for. This new development in modern AI can help developers to understand their approach and implement while creating their cutting-edge products.

What is ADR

Unlike domain randomisation that needs to specify the scope of randomisation, ADR streamlines the change required in varying the amount of randomisation. This eliminated the necessity of human involvement to increase the range of randomisation. In fact, over time, ADR, over time improves the complexity of environments that it supplies to the neural network models.

Challenges they came across

The supreme challenge for OpenAI was to make the robot work in new environments, where it has not been trained for. Over the years, the firm has continuously improved Dacty’s skills to increase its versatility by devising a diverse range of environments to train in.

Most of the robots we see are designed to achieve specific tasks in a closed environment. Such robots can be developed without AI capabilities as it usually is for automating certain operations.

OpenAI’s prime objective is not to carry out a specific task such as solving Rubik’s cube but to develop a robot that efficiently performs in different environments without being trained in those contexts.

What did they do?

To create new environments for training through reinforcement learning, OpenAI developed ADR to incessantly generate new environments. Machine learning models require a colossal amount of data to learn and execute with precision and accuracy, thus it requires days to master in carrying out tasks, so obtaining various real-world data to simulate was a tedious task for them.

However, the development of ADR automated the process of simulating real-world scenarios, thereby streamlining their training process of models. The ADR continually fed new environments and based on it the neural network learns to solve a Rubik’s cube. To check the resilience of the robot, OpenAI’s team tested Dacty in different conditions. But the robot delivered desired results regardless of the peculiar challenges it faced.

Besides, ADR also ensured that it provided the right number of randomisations to the model as a huge or small amount of randomisation has an adverse effect on the model.

What it means to the robotics landscape

We often watch general-purpose robots in science frictions movies, but with such innovation by OpenAI, eventually, one can envision machines that can work like humans. With such advancement in robotics, we can effectively deploy machines to improve efficiency and productivity.

The transformation in domain randomisation has come as a refreshing development in the robotics marketplace. This will lay the foundation for further development of general-purpose robots to revamp the way organisations conduct their businesses.

Besides, as a result of ADR development, more developers will now divert from building task-specific robots to general-purpose machines. Indubitably, we are decades away from having a robot that will make its own decisions without human intervention but leveraging ADR developers can successfully attain it.


Although Dacty could not solve the Rubik’s cube every time, the accuracy was 60% when the cube was scrambled in a way that requires 15 rotations. Despite the fact that it is a small success in the general-purpose robotics landscape, one can expect more in the coming years.

Download our Mobile App

Rohit Yadav
Rohit is a technology journalist and technophile who likes to communicate the latest trends around cutting-edge technologies in a way that is straightforward to assimilate. In a nutshell, he is deciphering technology. Email:

Subscribe to our newsletter

Join our editors every weekday evening as they steer you through the most significant news of the day.
Your newsletter subscriptions are subject to AIM Privacy Policy and Terms and Conditions.

Our Recent Stories

Our Upcoming Events

3 Ways to Join our Community

Telegram group

Discover special offers, top stories, upcoming events, and more.

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Subscribe to our Daily newsletter

Get our daily awesome stories & videos in your inbox

Can OpenAI Save SoftBank? 

After a tumultuous investment spree with significant losses, will SoftBank’s plans to invest in OpenAI and other AI companies provide the boost it needs?

Oracle’s Grand Multicloud Gamble

“Cloud Should be Open,” says Larry at Oracle CloudWorld 2023, Las Vegas, recollecting his discussions with Microsoft chief Satya Nadella last week. 

How Generative AI is Revolutionising Data Science Tools

How Generative AI is Revolutionising Data Science Tools

Einblick Prompt enables users to create complete data workflows using natural language, accelerating various stages of data science and analytics. Einblick has effectively combined the capabilities of a Jupyter notebook with the user-friendliness of ChatGPT.