Below is a guest post from Aditya Baru, product marketing manager for our AI product group. He will be talking about a new partnership between MathWorks and Microsoft.
I’m glad to announce that MathWorks is partnering with Microsoft to help engineers develop autonomous systems for industrial and manufacturing applications.
This partnership focuses on the integration between Simulink
, our platform for simulation and Model-Based Design and Project Bonsai
, Microsoft’s cloud-based platform for designing autonomous systems through a combination of machine teaching and reinforcement learning techniques.
Project Bonsai enables engineers and domain experts to use machine teaching techniques to break down complex problems into smaller parts that can be solved faster using AI algorithms. These algorithms learn to solve individual problems in a trial-and-error manner by trying out a wide range of possible actions to take in a given scenario and then selecting the best one.
For example, imagine a robot learning to walk using this trial-and-error approach. It would first need to learn how to keep its balance, then understand how to move its limbs so it doesn’t fall over, and then start learning how to move its limbs so that it can move from one point to another. As you can imagine, this approach requires a lot of training data, and obtaining this data from real, physical systems can be expensive and dangerous.
Which is why simulation models are becoming increasingly crucial for developing autonomous systems and are especially integral to the success of a machine teaching approach. Simulation models built using Simulink and Simscape are perfect for modeling the wide range of environmental and operational conditions an autonomous system might encounter in the real world. The data generated by simulating these models in a variety of conditions is then used by the machine teaching algorithm, resulting in an autonomous system that is trained to perform in a number of scenarios.
Our partnership is focused on enabling the use of models built using Simulink and Simscape with Project Bonsai, and more importantly, scaling simulations of these models in parallel on Azure, which significantly improves training performance. This is done via the Bonsai Toolbox, which provides a Simulink block that can be added to your existing Simulink model to connect it to the Azure-based Project Bonsai platform.
The Bonsai Toolbox can be accessed via the Add-On Explorer in MATLAB or File Exchange
. For scaling training, you can upload your Simulink model files to the Project Bonsai platform and parallelize simulations to improve training performance.
Project Bonsai is now generally available and you can learn more about the platform here
and Microsoft’s solution for designing autonomous systems here
MathWorks and Microsoft have also collaborated on an example that demonstrates how a Simscape model can be used for training an autonomous system with Project Bonsai. We have trained a robot to balance a ball on a plate and navigate virtual obstacles on this plate using machine teaching.
Watch the YouTube Video here!
To download the Project Bonsai examples files, including the Simscape model, access the File Exchange submission here
To learn more about building physics-based models of your system and concepts of reinforcement learning and machine teaching, click on the links below.
For more information, please contact Aditya Baru