VOOZH about

URL: https://thenewstack.io/open-source-ai-gym-helps-robots-evolve/

⇱ Open Source AI 'Gym' Helps Robots Evolve - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2022-01-17 03:00:56
Open Source AI 'Gym' Helps Robots Evolve
profile,
Edge Computing

Open Source AI ‘Gym’ Helps Robots Evolve

The MIT team's platform, Evolution Gym, aims to offer other researchers a simple method of co-optimizing the body structure and controller of robots, in addition to providing a way to test them out in a standardized way.
Jan 17th, 2022 3:00am by Kimberley Mok
👁 Featued image for: Open Source AI ‘Gym’ Helps Robots Evolve

While the idea of biological organisms evolving is familiar to us, the idea of machines “evolving” may be less so. But roboticists are often trying to find new ways to optimize their robot designs; however, more often than not, it happens in a fragmentary way, with researchers either improving upon a robot’s mechanical body, or their “brains,” also known as the controller. Rarely it is simple to optimize both at the same time, or in an automated way.

But that gap may soon be filled, thanks to a team of researchers from MIT’s Computer Science and Artificial Intelligence Laboratory (CSAIL), who are now proposing a simple and open source platform that uses AI algorithms for optimizing both robot brain and body. This method of simultaneous optimization is also known as “co-design.” While there is already some existing robot co-design software out there, they generally require a lot of time and computational resources.

In contrast, the MIT team’s platform, Evolution Gym, aims to offer other researchers a simple method of co-optimizing the body structure and controller of robots, in addition to providing a way to test them out in a standardized way.

“While optimal control is well studied in the machine learning and robotics community, less attention is placed on finding the optimal robot design,” wrote the team in their paper, which was recently presented at the Conference on Neural Information Processing Systems. “This is mainly because co-optimizing design and control in robotics is characterized as a challenging problem, and more importantly, a comprehensive evaluation benchmark for co-optimization does not exist. Evolution Gym [is] the first large-scale benchmark for co-optimizing the design and control of soft robots.”

Generations of Machine Evolution

The Evolution Gym system is essentially a simple and fast simulator that generates different types of soft robots using a library of “voxels,” or robotic components that might be soft, rigid, or horizontal and vertical actuators. Within the two-dimensional interface of Evolution Gym, these simulated components are represented in different assemblages of colored squares, each representing a different type of voxel. These components are organized in different layouts, with different algorithms used to automatically determine the best design for the task at hand.

These simulated soft robots are then put to the test in 30 benchmark environments that will see how they perform with various types of terrains, locomotions or manipulations. For instance, depending on the type of terrain or motion required, tasks might be rated as either “easy”, “medium” or “hard” — walking on across flat surface would be ranked as “easy.” while sliding over that same flat surface and under a beam would be considered “hard.”

Rather than designing and tweaking individual robots, the team’s approach mimics biological evolution by leveraging AI algorithms, in order to generate successive populations of robots, each with slightly different designs, which are then tested in these benchmark environments. In particular, the team’s method uses two interdependent levels of optimization — one level or “outer loop” that involves a design optimization method that evolves physical structures of the robots, and an “inner loop” that optimizes the robot’s controller for that particular structure design.

“We [developed] several robot co-evolution algorithms by combining state-of-the-art design optimization methods and deep reinforcement learning techniques,” explained the team. “Evaluating the algorithms on our benchmark platform, we [observed] robots exhibiting increasingly complex behaviors as evolution progresses, with the best-evolved designs solving many of our proposed tasks.”

👁 Image

For the design optimization loop, the team used a variety of avenues, like genetic algorithm (GA), Bayesian optimization (BO), and Compositional Pattern Producing Network (CPPN). For the control optimization loop used to train the robot’s controller, the team applied a type of reinforcement learning (RL) algorithm known as Proximal Policy Optimization (PPO).

By having the algorithms for both design optimization and control optimization work in tandem, a kind of evolutionary process occurs where the design optimizer can generate a structure for a new robot to the control optimizer, which will then produce a controller for that new structure after some interactions with the Evolution Gym, tailored to ensure that this new generation of robot will maximize the reward achieved in whatever benchmark tests it will be to subjected to. Design aspects of robots that successfully perform tasks and maximize rewards will be kept, reiterated and improved upon in subsequent generations, thus automatically evolving to retain their greatest advantages.

👁 Image

When compared to their human-created counterparts, the algorithmically designed robots generally performed much better than hand-designed ones, with the system coming up with complex designs that no human could have ever conjured up, along with some designs that were strikingly animal-like in nature, despite it having no information about the animal world. However, there were some tasks that too difficult for either both the human- and machine-generated robots to accomplish.

“The experiment results demonstrate that intelligent robot designs can be evolved fully autonomously while outperforming hand-designed robots in easier tasks, which reaffirms the necessity of jointly optimizing for both robot structure and control,” said the team. “However, none of the baseline algorithms are capable enough to successfully find robots that complete the task in our hardest environments. Such insufficiency of the existing algorithms suggests the demand for more advanced robot co-design techniques, and we believe our proposed Evolution Gym provides a comprehensive evaluation testbed for robot co-design and unlocks future research in this direction.”

Ultimately, the researchers hope that this nascent field of study can further develop by making this simple but versatile platform open source and accessible to everyone. By offering a comprehensive platform where robot designs are generated and tested against standard benchmarks, developing optimized robots will become an easier task for a wider segment of the discipline, rather than an insurmountable challenge that can only be solved by those with the most resources.

“In this way, Evolution Gym provides an easy-to-use platform for co-design algorithms to evolve both robot structure and control to optimize for robots’ task performances,” noted the team. “Evolution Gym is designed to be the first comprehensive testbed for benchmarking and comparing different co-design algorithms with the hope to facilitate the development of more novel and powerful algorithms in the co-design field.”

Read more in the paper, and download the code on GitHub.

Images: MIT CSAIL

TRENDING STORIES
Kimberley Mok is a tech and design reporter who covers artificial intelligence, robotics, quantum computing, tech culture and science stories for The New Stack. Trained as an architect, she is also an illustrator and multidisciplinary designer who has been passionate...
Read more from Kimberley Mok
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.