Robotics as a field faces a large data gap, and one of the most promising directions for solving it is sim-to-real robot learning. We talked with Stone Tao about ManiSkill3: a powerful, easy-to-use framework for generalizable sim-to-real learning. In particular, we learned about how with Maniskill + HuggingFace LeRobot, you can easily train your own sim-to-real manipulation policies on a low-cost robot! Abstract: Simulation has enabled unprecedented compute-scalable approaches to robot learning. However, many existing simulation frameworks typically support a narrow range of scenes/tasks and lack features critical for scaling generalizable robotics and sim2real. We introduce and open source ManiSkill3, the fastest state-visual GPU parallelized robotics simulator with contact-rich physics targeting generalizable manipulation. ManiSkill3 supports GPU parallelization of many aspects including simulation+rendering, heterogeneous simulation, pointclouds/voxels visual input, and more. Simulation with rendering on ManiSkill3 can run 10-1000x faster with 2-3x less GPU memory usage than other platforms, achieving up to 30,000+ FPS in benchmarked environments due to minimal python/pytorch overhead in the system, simulation on the GPU, and the use of the SAPIEN parallel rendering system. Tasks that used to take hours to train can now take minutes. We further provide the most comprehensive range of GPU parallelized environments/tasks spanning 12 distinct domains including but not limited to mobile manipulation for tasks such as drawing, humanoids, and dextrous manipulation in realistic scenes designed by artists or real-world digital twins. In addition, millions of demonstration frames are provided from motion planning, RL, and teleoperation. ManiSkill3 also provides a comprehensive set of baselines that span popular RL and learning-from-demonstrations algorithms. Project Page ArXiV Original Post on X This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit robopapers.substack.com
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_03Welcome to another episode of RoboPapers. Super glad to have Stone Tao joining us today. So today we're doing something a little bit different. Instead of going through a specific paper, actually we're going through more like a long-term project, which Stone is kind of leading. It's called ManySkill, which is a simulation platform for robotic learning. So anyway, Stone, you know, great to have you. Thanks for making the time. Maybe as a start, you can share a little bit about yourself, your personal background. How do you end up doing many skills, I guess?
SPEAKER_01Yeah. So, yeah, my name's Stone. I'm a rising third year PhD at UC San Diego. I am currently advised by Professor Hao Su. Some people might know as for ImageNet fame. That's what he gets most citations of. But he also worked on a lot of other things like point net and whatnot. My primary research interests are all things at the intersection of simulation and machine learning. So I don't work purely on simulation technology and I also just don't work purely on algorithms. I think there's a lot of interest in combining these two in many ways that we don't expect to make things better.
In terms of how I got started, it kind of goes way back to me competing in AI competitions. I used to compete in an AI programming competition called Battlecode for fun.
SPEAKER_01It's run by a bunch of MIT students. It's designed for students to compete in. You write like a bot in Java. You write rule-based AI, not RL, but rule-based AI to like compete in a game they design every year. And it was pretty fun. That kind of was what spurred my interest in AI and some parts of, you know, autonomous learning or like reinforcement learning initially. Did pretty well in the competition, retired from it because it took too much time. I did bomb like a couple of midterms to compete in that. And so around the time when I stopped competing is when I started taking more AI courses at UCSD,
SPEAKER_01one of which was my current advisor's course, learned about computer vision, learned about robotics, learned about robot learning and reinforcement learning. And the only topic that hit home was reinforcement learning. Like this stuff was cool. It has a lot of potential. It's very uncertain where it will go, whereas computer vision was getting more and more saturated. And so I applied to join Hal's lab as an undergrad. And coincidentally, the very first project I worked on at his lab was building simulation environments and doing RL testing in the first iteration of the Manascope project. There have been three so far. But the very first one was very focused on generalizable robot learning.
So training a policy model, robot model, to control a bimanual mobile robot to kind of like move objects around or like open cabinets open drawers that was kind of like the first manuscript project and which year was this you mentioned the
SPEAKER_01manuscript one was around 2021. Yeah. Can you talk about why you guys decided to build your own simulator in the first place?
SPEAKER_00As opposed to, there were other simulators around then. I think, I can only hypothesize because I don't actually know the true reason.
SPEAKER_01I was just an undergrad at the time. But you can look at some of the motivation for the original paper that Manascale 1 was built on, which is called Sapien. Sapien, I can't remember what it stands for. It stands for like simulated part simulation engine or something. It's like a custom physics engine that combines physics, at the time CPU physics, with our own custom Vulkan-based renderer. I remember some of the original motivations were we weren't super satisfied with existing renderers and we couldn't do a lot of things flexibly. Like, I don't know, we wanted to render all kinds of things like Albeda maps,
SPEAKER_01normals, I don't know. That might have been one of the reasons. And then another reason is we wanted to build a system for doing generalizable robot learning. I think a lot of existing platforms are very like restricted. Like if you look at MetaWorld or like D4RL, it's really just like one task with some spatial randomization, but not geometry based randomizations. I think concurrently, Habitat was starting to be released from Meta, and they also started exploring geometry based randomizations. So concurrently with us, we were kind of both exploring like, okay, we want to, you know, train robots to generalize over different geometries.
SPEAKER_01Can we use simulation to do that? The answer is partially yes. We didn't really do much Sim2Real on manuscript one. We only started doing it more on manuscript two and three. Well, it was part of our journey exploring the simulation space and saying, how can we improve on things? And so part of the design of the Sapien engine, which powers Manascale, which is based on physics and Vulkan, was designing software that's very amenable for supporting heterogeneous simulation. And what does that mean? That means like, you know, each parallel environment or each environment can randomize geometry,
SPEAKER_01randomize articulated objects, articulations being like cabinets, fridges, things that can move with joints. And so that was kind of the big focus of that. I'm trying to tackle those kinds of problems, a little bit niche at the time. Yeah, and then actually Maniscal One had a competition associated with it. We did it in collaboration with some people from Sergey's lab, if I remember correctly, that run decently well. We had some support from Qualcomm. We tried to get people to submit online submissions to our competition. Worked out well, okay. I have my own opinions on robotics competitions these days, but that was a really good kickstart to give us some motivation
to keep doing the
SPEAKER_01next iteration of the project.
SPEAKER_00What are your opinions on robotics competitions these days?
SPEAKER_01My personal recommendation is they are very, very hard to make popular. Like I think we were both on a panel last year for the CMTR competitions last year for robotics. Yes, the competitions are great research competitions. My main concern is they often don't get nearly enough submissions that I would hope compared to other competitions that I've run actually, not for robotics, but for other things. You know, these competitions average like 5 to 10 teams. The biggest competitions I'm aware of is the one called RoboTwin. This is from China, which actually is also based on Sapien.
SPEAKER_01They got at most maybe 80, 90 teams, which is very impressive, but that's not counting for the fact that they spent some money on PR and advertising, which, you know, my lab is not going to bother doing. And so this is actually kind of reflected in Man of Skill 2's competition where we random won again, but we had even less teams. So that was complicated. And I suspect the reason is it's very hard to get good teams because, you know, the best people who are in the PhD program don't have a random three-month block to allocate to doing a competition. That's what makes competition running very, very difficult. I do advocate for long-running competitions, but like more short-term ones are three to six months.
SPEAKER_01I personally found it very hard to convince people to compete in. And oftentimes, because of the short timeframe, these competitions often yield submissions that are basically like, you know, fine-tuning PPO, or making a very, very small addition that, you know, is not far different. And I'm vaguely aware that some competition organizers will make the baseline inherently weaker. Like, they don't tune it that much just to encourage more submissions, to lower the barrier of entry to at least, you know, beat the baseline. This is actually a design approach used by many AI competitions. including, some of you might know,
SPEAKER_01I run a competition on the side for fun called Lux AI Challenge. It's a style of like programming AI bots for a new game that someone designs every year. I designed them with my co-founder. This series of competitions, like Battlecode, like Halite, which was run by Two Sigma, very similar competitions, will actually purposely make the baseline super, super weak. And that way people can like tune in and modify it. And so in some sense, there's a lot of conflicting parts of research world and competition design. So I've always found it hard. I'm very impressed that RoboTwin was able to get so many competitors, but you do need some bit of money and finding a way to find
people to sign up.
SPEAKER_01Yeah, that makes sense. So, and I, uh, yeah, I have a lot of things actually to say about robotic competition. So I, we, we run one call, uh, twice now, iROS and iCRA recently called Earth Rover Challenge.
SPEAKER_03These are like real sidewalk robot, like basically we place in a real world and then, but our benchmark is- Oh,
SPEAKER_00you have it already?
SPEAKER_03Yeah, yeah, yeah. So, so we have these buggers running around in about like 10 cities around the world. And so this is truly in the wild kind of competition. And so I totally see all the pain points that you mentioned, like, you know, it takes a lot of effort. And if you really want good teams, there are only just that many with a three month block to do something. But yeah, I totally see the challenge you mentioned. I do think though, like in-person competitions are far easier to do in some sense.
SPEAKER_01Like if you look at IEEE, they've been running like robot soccer and robot mouse, like a mouse solving, sorry, a maze, maze mouse, mouse maze, I forgot. You have a mouse robot solving a maze. And the goal is to do it as fast as possible or win the soccer game. Those have tons and tons of participation. Like maybe 20 to 100 universities across the globe are competing in those things. And they, you know, send people on flights to places to compete. I tried to figure out what was the secret that made those work. And honestly, I think it's because they're targeting undergrads,
not graduate students.
SPEAKER_01I don't recall seeing any graduate students at UCSD competing in them. It was mostly just undergrad student orgs that did it. And obviously there's a lot of funding from ITROPEE to market things and provide equipment actually to students to compete in these things.
SPEAKER_00And it is also valuable that it's every year, like it's a year. You get a year, not three months, right?
SPEAKER_01Definitely for sure. But even then, like those RoboCup, those robot soccer competitions are actually not really designed for research. It's more like education in most sense. And so I think educational kind of competitions are easier to design for competing competitions in some sense. At least in the realm of robotics, obviously. A little bit of a tangent on robot competitions. I think, what was the original question? I think it was about Mansfield 1. Yeah, so you're saying Manuskill 2, you did another competition and then even less people. But I guess Manuskill 2, yeah.
SPEAKER_01I think we put most effort in Manuskill 2. Actually, I think in terms of all the Manuskill papers, Manuskill 2 is the most popular currently. Like it has the most citations. Most people are still using it, although many people are now transitioning to Manascope 3 for its nice features. So Jia Ruan, the leader of Manascope 2, who recently started to become a professor in Shanghai, led the project, did a great job increasing the number of tasks, increasing lots of demonstration data sets for all those tasks so you can do imitation learning or learning from demonstrations. A lot of interesting research that you can do, and a lot of interesting papers did come out of that.
Most of my algorithms research before I started doing simulation stuff was based on
SPEAKER_01Manascope 2 as well. But the competition, again, was hard to get people to compete in. You know, even with the surprise pool, it's hard to convince people. I cannot really tell the exact reasons why, but these are my suspicions. Yeah, a lot of Manusco 2's motivation is primarily around just fixing all the Manusco 1 issues, which is some usability issues. We actually improved the renderer speed a lot. I think at the time, Manusco 2 was actually still the fastest renderer. If you had a decent number of CPUs, like 128, with one GPU and 128 CPUs, we actually already had a form of
tiled rendering or parallel rendering where each parallel environment is being
SPEAKER_01rendered simultaneously on a GPU very efficiently. And that was achieving like 3,000 to 4,000 FPS, which was beating, you know, all the other estimulators. Like at the time, Isaac Jim was released too. And we are faster than them because they don't optimize for rendering speed. They only optimize for state simulation speed. So that was another big feature of Mansca 2, which is very fast visual RL. That's like a 10x on previous simulators approximately. And that was some of the motivation for building that. We were building our simulation engine further and we want to benchmark to support that.
SPEAKER_03Yeah, maybe this is a good time. I don't know whether it's a good time to talk about it. Like what are the different dimensions that you know, these users of this simulation would care about. So you mentioned a couple, you mentioned, you know, frame per second and you mentioned like state, you know, estimation, parallelization. So what are things that, and I saw that you have a very good chart where you compare many skill to a bunch of others on the site. I don't know whether that's a good place to, to show, but yeah.
SPEAKER_01You mean like our tech stack comparison?
SPEAKER_03Yeah, like you mentioned a couple of them, like large-scale demonstration data, GPU, parallelized simulation, things like that. And so if you can talk through each of them, like for those who are new to simulation, like why do these matter? And, you know, yeah, I think it would be a good way to give the context.
SPEAKER_01Let me just share the general tech stack of simulators. Yeah. This is what I usually share with people. This is obviously not complete because there's actually a lot of other simulators out there, but this is just kind of an example. Every single suite, at the very top level, people have heard of Isaac Lab. That's the one that's being advertised by NVIDIA. Very powerful, very good for locomotion and other things. There's another project called Omni Gibson from Stanford. and the Fei-Fei's group. There's other ones you guys might have heard of, like RoboSuite, Robocasa,
SPEAKER_01Meta's Habitat Simulator, and Allen AI's Thor Simulator. There's many. At the very top layer is what we like to define as tasks and APIs. And also, I want to give credit. This is originally designed by my lab mate, Jungjo-Mu. Jungjo just graduated. Yeah, at the very top level, we have tasks and APIs. What is that top level for? That's basically just to say that you don't have to touch any of the C++ code that's done for simulation or any of the low-level Python code that's being written for doing rendering and simulation. You get a very simple interface that actually all of these
libraries adopt called
SPEAKER_01Gymnasium, which is like a generic interface for interacting with environments. that you can take actions in environment and you get observations back and potentially other data. And so that's in like the task part, like Manascule, Isaac Lab, Omni Gibson and other benchmarks or frameworks will have a bunch of pre-built environments that you can just run out of the box. They've already been designed for you. For example, we have a queue picking one, we have humanoid manipulation ones, locomotion, random other kinds of environments. And the APRs part of it is, okay,
we want to abstract away a lot of the low-level code that's happening in Sapien,
SPEAKER_01which is the engine-powering Manascule, or the engine-powering IsaacLab, or the Omniverse tools, which are being used to power multiple other projects. And because we don't want people to deal with like tensor indexing, we don't want them to deal with memory allocations, a lot of messy things. And so we give them easy APIs to use, right? Every single benchmark has to think about API design. So these include APIs for like how to add objects into an environment, right? If I want to build my own environment, let's say I want to create an environment where I have a desktop table and a
SPEAKER_01computer on it and a robot to open the computer. I have code and APIs designed to add objects into the scene, add lighting, add cameras to the scene, add different kinds of sensors, change the simulation parameters, such as, you know, you can simulate faster, slower, or at different resolutions of accuracy, and also define things like reward functions, which are very useful for reinforcement learning, or maybe even modify the observation information for state-based reinforcement learning. And so that's kind of like a task on API's level. I work primarily at that layer and a little bit in the sapient layer.
SPEAKER_01The other part of the SimulHead tech stack is assets. A lot of robotics simulation is empty because if you can't see anything, you need assets, you need objects, you need both visual and collision meshes. And for those who might not be aware, I have a great explainer for what these meshes are. I actually purposely wrote a section on our documentation just doing a quick one-on-one on simulation robotics. And this is what I mean by collision mesh and visual meshes. you'll actually, in the simulation world,
SPEAKER_01the visual mesh and collision mesh don't have to align. The visual mesh is what you see in the camera. The collision mesh is what the physics engine uses to decide how does a robot or object behave in the real world. Oftentimes, they don't align. This particular mesh is used by Isaac Vlad that we copied over and clearly very, very different. And I can talk about optimizations we make around that later. But yeah, that's like the asset layer, right? Designing and modeling robots, modeling objects. Right below that is in the simulation framework, right? We need a framework to then, you know, combine different technologies together, like the renderer and the physics engine.
And that's essentially what like Isaac Sim is doing and Sapien is doing in many ways.
SPEAKER_01both IsaacSim and Asapian are both using the PhysX PhysX engine, which is a physics engine developed by NVIDIA currently, which also has a CPU and GPU variant. I can talk about parallel simulation later. And they also have their own custom renderers. I don't know what Isaac uses for rendering. I suspect also Vulkan-based. But Sapiens is a Vulkan-based renderer. And then I don't remember how to explain Vulkan, but Vulkan is just like a layer above the CUDA or low-level GPU
code to render
SPEAKER_01triangles and shapes and images extremely fast. And so the simulation framework wraps that together. And then at the lowest level, we have the code that's touching the direct GPU memory in many ways. We have the renderer and the physics engine itself. The renderer is for capturing images to show you what's happening, or if you want to do visual robot learning. And the physics engine is just dictating where things move if they collide with each other. Or how does your action at the task and API layer correspond to robot movement? And so that's a high-level overview of simulation tech stacks.
SPEAKER_01Other simulators will have very different ways of organizing things, like Sapien covers the middle three layers. Simulators like Mujoco have a renderer and physics engine kind of together. Mujoco defines the physics engine and also has OpenGL-based code, if I remember correctly, for the renderer. And for tasking APIs, projects like Mujoco Playground will be kind of equivalent to Manasio. Yeah, so that's kind of like a quick overview of simulation tech stacks.
SPEAKER_00Yeah, I feel like one thing that's always impressive in any skill in particular, other than the speed, which you already covered was the API. So as it was like, you're mentioning that you thought that this was like, well, a necessary part, but arguably I've used a lot of these simulators and a lot of people do not put much effort into building good API's or making it easy to design new tasks, like particularly the ones that didn't make the cut on this figure, I think.
SPEAKER_01Yeah. I mean, I think it's a mix of how long the product has been going on. Like a lot of singlation benchmarks are released for research purposes, but only lasts for like three months, six months. There's not much ascended for those users, people to like continuously maintain and improve the API. Manusco's API has gone over like two rewrites from Manusco 1, which was horrible to use. Manusco 2, which was slightly better, but had very poor documentation. And finally, Manusco 3, which has a lot more documentation. I've painstakingly written a lot of it with the Help with ChatGBT.
And also a lot of redesign on some of the APIs to make GPU simulation easier to write.
SPEAKER_01The CPU simulation API is kind of similar, but we find at least the old Isaac Lab and the old Isaac Gym, they've improved a lot since. A lot of unreasonable API decisions that could have been better that we tried to fix. I could show one example. This is not reflective of Isaac anymore, but this was what happened when we built the paper initially. This is just a comparison of a high-level view of the old APIs of Isaac compared to Manuskills' current API. So I can zoom in a little bit. So what we're doing here, just as a kind of example,
SPEAKER_01is we want to take an articulated object, right? Articulated objects composed of many joints. Each joint has like an angle value to determining how open it is. So we have a cabinet in each of these frameworks, IsaacLab, IsaacGym, which is much older, and in Manuskills 3. And then all we want to do as an example task is to get the joint angle of one of the links. And that's basically it. And we also want to get the position of the handle on the link. And so the code...
SPEAKER_01is much simpler generally in manuscript. And even if you remove the comments I write for isaacgemms and isaaclab, those are still longer. The other thing is our API is much more object-oriented and in some sense semantic. You will notice that the old isaacgemms has a lot of code that has like magic numbers. Like if you see like there's a negative one here and 13, where's that 13 from? You have to know something about the robot itself to know what that 13 value is from. A bunch of other kind of magical numbers are hard to explain. And you have to do some kind of, like, tensor indexing, right?
SPEAKER_01This is what I like to call a tensor indexing nightmare, right? This is why people don't write in batch code, and this is why people have gone over to Jack sometimes. Writing batch code is super annoying. You have to deal with batch size, you have to deal with batch operations, and you have to deal with indexing. So Isaac Jim had a lot of indexing he had to do. If you were a... a proficient programmer, no issue. If you aren't, hard to read. Whereas ManusQL makes a lot of improvements where we do a lot of things object-oriented. There's like a physical cabinet object that you can use to access, you know, whatever joints you want,
SPEAKER_01whatever links you want by finding them by string IDs, which is far easier to do. Isaac made some improvements, but they still have some random magic numbers that they deal with, particularly around mesh processing. If you wanted to find the middle of the mesh, they actually hard-code position, whereas we can actually generate a mesh object that you can then sample from. That's just an example. And then just other small things, this is another very small one. I think IsaacLab has ever fixed this, actually, where if you want to do pose transformations, which is a pain, Pose transformations in Manuscule are chainable, whereas in Isaac Lab you have to do method chaining on the right,
SPEAKER_01which is much harder to read. You have to do a lot of nesting, which is hard to read, whereas in Manuscule it reads like a math equation, right? I'm taking pose 1 times pose 2, take the inverse, multiply with pose 2's inverse. Very simple. And that's kind of like some of the API design that we've tried to build on like past simulators. I personally have read a lot of code for past simulators trying to identify the pain points. And from my own experience doing RL research, I often find these pain points because I try to run the code and I find something that doesn't work and I have to understand it more deeply.
SPEAKER_01And so those are some examples. And there's a whole host of other things that I think other seminars actually have learned from us and that I'm actually very, it's awesome to see. Yeah. That's basically around that.
SPEAKER_03Yeah. So I guess you were maybe about to share the, you know, the feature comparison chart that you have on ManusQ. So I think it's great to hear what you describe and you show visually, like just how I guess you abstract a lot of the way the dirty stuff that make maybe coding in simulation a lot easier, more pleasant. But I still, yeah, I think it would be good for you to run through each of these. Why do they matter for the end user of this simulation engine?
SPEAKER_01Yeah. So at this point, I guess we're now moving on to Manisco 3 discussion. So Manisco 3's improvement on Manisco 2 primarily is parallel simulation, parallel rendering, and heterogeneous parallel simulation. You can look at which parts are novel. The ones that we have text and others don't have, essentially, is kind of novel. So I think the main thing is these days, with Maniscal 3, Isaac Lab, and MJX, or the new MJX Warp, or Newton, as some people might have heard from NVIDIA that they're working on,
SPEAKER_01which is a warp-based simulator, GP Paralyze. GPU parallel simulation is the idea that on a single GPU, you can have thousands, tens of thousands of parallel environments all running simultaneously. And why do we want that? Why do we want to have high data throughput generation from a simulator? Well, it turns out reinforcement learning algorithms are very data hungry. If we can feed them more data per second, our algorithms solve the problem faster. So like if you want to train a robot to walk, right, in Isaac lab, or if you want to train a Franco arm to pick up cubes,
SPEAKER_01it's far faster when you have GPU parallelized simulation. Previously, if you want to do parallelization to increase your data throughput, you have to use CPU parallelization. But CPU parallelization is notoriously very, very difficult because not only is your data on the CPU that has to transfer to GPU when you're doing reinforcement learning, right, using neural networks, You need a beefy server, and servers are less likely to have 100 plus CPUs, whereas on a single GPU, you can have thousands of environments very easily. So that's kind of what that is. A lot of the old simulators don't have GPU parallel simulation,
SPEAKER_01and in many ways, it's very hard to use it. We directly use the physics binaries, and so we kind of engineered it based on the physics documentation and code to make it as efficient as we can. Other people often have to build on top of IsaacLab or IsaacSyn or build on top of MJX when you start getting more overhead. And the second really big feature, and it's one of the biggest things that we released, I would say Maniscal Suite is the first one to have a more production-ready parallel renderer. There were some small projects from NVIDIA that did do parallel
rendering before us.
SPEAKER_01They did like, well, they call it tiled rendering. They did parallel rendering of like Carpool or like Ant environments, but those weren't really usable at the time and didn't have a general purpose one. What GPU-paralyzed rendering is, it's like exactly the same thing. We're gonna have each of these thousands of environments all be rendering at the same time. And what are we rendering? We're essentially rendering camera images, right? Like maybe 128 by 128 by three RGB image in each parallel environment. And why this is important is this unlocks a new scale of data throughput for visual
SPEAKER_01robot learning, right? Previous simulators are often at a scale of like 30 FPS, like 300 FPS approximately at max. And that's because they don't have optimized rendering that is directly connected to the GPU simulation. There's no device transfer now. And so we achieved anywhere from 10,000 to 40,000 frames per second, which is 10 to 1,000 times faster compared to other simulators, depending on which ones you check. Some of them really do only render at 30 FPS. Some of them render at 300. We've made massive improvements on the rendering speed.
SPEAKER_01And IsaacLab followed suit. We released ours last year, and then they released theirs about six months. And funny enough, all the major simulators are parallel rendering now. Mujoko has also released a parallel renderer in the form of called MJX Madrana, which is based on a simulator called Madrana, which is separate. And they released it about three months ago. So everyone's doing the same thing now.
SPEAKER_03So I guess concretely, basically this parallelization allows you to nearly 1x what you used to be able to do with the same level of hardware.
SPEAKER_0110 to 1000x. It depends on who you're comparing against. There are some simulators that are really slow, reported over some of those scenes. If I remember correctly, I think RoboCost on their paper, their FPS is like 40 or 50. It's quite slow. And if you use some really old simulators, like RL-Bench or AR2 Thor, it's even slower. And so with that massive throughput, you can do a lot of things like domain minimization, like add new skills. For example, these are just two environments. There's a Push T environment, a very famous environment now, and there's a cube stacking one. I actually have 1,024 environments being run in parallel.
SPEAKER_01I'm just showing four of them. Each one of them has different colors or different camera positions. So you can actually train your policy to generalize across these variations. And later on, I'll show one of our demos, our Simp2Real demo, which leverages this feature very well to do zero-shot Simp2Real.
SPEAKER_03Got it.
SPEAKER_01Yeah. The third feature that I'll mention that's a little bit more niche, I think most people don't actually really need it entirely, is called heterogeneous GP parallel simulation. What is this referring to is essentially like in each parallel environment, we are allowed to support a different number of objects, articulations with different degrees of freedom, like they have a different number of joints, simultaneously in parallel. We have one common task we often show to kind of show off this feature, which is this environment. This is actually ported over from Manascope 1, in fact.
SPEAKER_01This is one of the original tasks we built. We've now upgraded it to GPU simulation and parallel rendering, and it solves like 10 to 50 times faster now. And what's unique about this is that I think currently Isaac or gym or lab still it doesn't quite support this and maybe they'll add in the future but they don't support having like heterogeneous simulation where every cabinet that we're trying to open with a robot is completely different right there's different textures there's different shapes there's different collision meshes visual meshes and there's a different number of joints each
SPEAKER_01And the way we do it is not super interesting. What we do is in PhysX, we just pad everything as much as we can. And then at the manuscript layer, we're just doing a lot of indexing for the users ahead of time so they can still access data of all these cabinets in an object-oriented manner. Like for example, I can have a single object called link or drawer that represents a particular drawer on every single cabinet at a different location. And I can access a joint angle of that drawer for each cabinet in parallel. even though each cabinet has a different number of drawers and doors.
SPEAKER_01And so we did some work on that. It was pretty cool. We have yet to do a lot of sim-to-real testing for this environment, but we hope someone with a fetch robot could do it. Those are unfortunately discontinued, but I know one lab at UCSD has one, so maybe we'll work with them. So that's what I mean by heterogeneous simulation. And on the right, there's another example. Each of these tabletops have different objects sampled and a different number of objects sampled per tabletop. So this is like a clutter picking task that's actually quite difficult to do from vision. Each one has a different number of objects. And so this is more ways to kind of really robustly test your
model when you're doing training to have a lot more variation than you can usually do in previous GPU
SPEAKER_01simulations. So that's heterogeneous simulation. And I think the main claims to fame for manuscript 3 is really like the simpler API, parallel rendering, and heterogeneous GPU simulation. Most of the other aspects are things that we had before or other people have and it's not so, so interesting, but I'll quickly go over them. Some benchmarks include demonstration data, like pre-collected demonstration data so that people can do imitation learning research or are all learning from demonstrations research. I think this is false now. I think I'm pretty sure Isaac Lapid's demonstration data sets now.
SPEAKER_01previously did not. But a lot of these benchmarks don't have it, so you can only do certain kinds of research if you don't have that data. So are these like tele-op human doing stuff in your simulation environment and
SPEAKER_03asking them to do some tasks?
SPEAKER_01Well, we have a mix. We have multiple tools for collecting data. The most common tool we use that's the most scalable is motion planning. What is motion planning? Motion planning is like an open loop way to control robots where you define a sequence of key points and then you have a robot follow them. So for example, if I want to pick up a cube, I would define like a key points of like pick up the cube, and you will generate like 1,000 or 10,000 demonstrations. We also provide tele-op tools to collect things by hand. We're much slower, so we don't really do that much. And if I recall correctly, ROBench also does motion planning base.
SPEAKER_01We were inspired by them to do the same solution. Realistic object physics, this one is variable. Different simulators have different levels of precision, to be honest. Like if you're comparing Mujoku and PhysX, just different levels of realism. But in general, we put X for Habitat and AI2 because they don't support low-level physics. What happens for them is that if your robot touches an object, the object attaches to the robot. So you don't actually have to graph the object. That's kind of what we're comparing. A photorealistic rendering, this one is iffy to be honest, but this is just tacking if these simulators support ray tracing,
SPEAKER_01which is a form of realistic rendering. RoomSkill scenes are just scene datasets. We have a Robocasta dataset actually. We also have Habitat's dataset and AI2's dataset in our benchmark. Visual RO baselines, basically very few have these because the renderer is too slow in some of these benchmarks. And even if they do have these baselines, like Habitat and A by 2 Thor, they run too slowly. So the only fast ones that really run are AsicLab and Manascope3. And the other ones, I, I guess I can encourage readers just to read about them.
SPEAKER_01Um, in the sake of time, there's like too many things to explain,
SPEAKER_03but... Sorry, Stone, uh, can I ask you about the so-called realistic object physics, right? So, you know, some of this like a mechanical system in the real world, sometimes have extremely sensitive to initial conditions. So let's say if I, if I were to drop a pen on the table, like where, you know, the, the pen will land depends heavily on the initial condition. So when you say realistic object, it's, is it like sensitive to the extent?
SPEAKER_01There are definitely many real-world phenomena that we cannot simulate. For one, soft body simulation currently is pretty weak. I mean, we have warp-based soft body sims that are really cool and powerful. But in terms of accuracy, it's very, very hard to model real-world cloth, real-world deformables very accurately. We're almost always approximating things. For rigid body simulation, which is the main focus of Manus Code 3, and that's what we kind of paralyze a lot, it's much more accurate. Accurate enough that we can do Sim2Real, and I would love to show the Sim2Real demo later.
But there will all be certain dynamics that are heavily dependent on things
SPEAKER_01independent of the physics engine, actually. Like, for example, if you don't model the object well enough at the asset layer of the framework, it's not going to stimulate well. For example, some people will, if you, like, let's say we look at this cup. If you don't model the hole in the cup, the cup is not a cup anymore, right? It won't work correctly. Another thing is we can only model things up to a certain amount of precision, really. If you try to make it super precise, the simulator gets real slow and impractical to use. So oftentimes in the simulation world, we're often trading off simulation accuracy with simulation speed, actually.
SPEAKER_01You often never get... faster speed and accuracy that's usually something that's not possible without fundamental improvements on algorithms like even between the physics engine that we use between the cpu simulator and gpu simulator there's already some small differences the cpu simulator is more accurate than slightly more accurate than gpu simulator gpu is much faster and so we still love to use it but it will have some small inaccuracies from got it yeah i mean you mentioned about this trade-off
SPEAKER_03between accuracy and speed yes I also like your take on just the diversity of what you simulate, right? So I think it's great to see all this parallelism, you know, across like just different objects and maybe similar tasks, but just maybe varied. So I don't know, like I was thinking One in like maybe layman version of this I keep thinking about is in theory, you can speed up time in simulation versus obviously the real world. And that's always the appeal of simulation, right?
SPEAKER_03But then again, like there could be nearly an infinite search space or exploration space, you know, all kinds of lighting, different conditions, lighting conditions, like even cups that there's so many different cups, right? So I wonder like, how do the practitioner actually do it right now in order to make it somewhat tractable so that the, let's say the stuff that you collect in simulation is kind of representative of the actual distribution of things that you may observe in the real world. You know what I mean? Like it feels like if I were to, let's say use simulation to get a robot arm to fry an egg,
SPEAKER_03I can literally think of almost nearly an infinite way to simulate that. Yep. And so how do practitioners who use this simulation engine do that trade-off today?
SPEAKER_01Yeah. In fact, I would say in the world of simulation, the biggest downside of simulation is diversity is hard to achieve if you don't know how to do it. What I mean by that is you can actually achieve a lot of diversity in terms of asset textures if you use Gen.AI, for example. The RoboCasa project from UT Austin in India is actually a great example of this. They use Luma AI's 3D generation tool to actually sample a bunch of random objects. And they have a dataset of 1,000 objects. You also have Optiverse. There's a bunch of other datasets out there. That is the way people try to scale diversity, I think, right now,
SPEAKER_01where they just zero-shot or one-shot generate a lot of object models, and you train on all of them, essentially. That would be the hope. Another approach that is quite interesting, people at Polk at Agriwal's group at MIT, Abhishek Gupta's group at UW, and I think some people in the Fei-Fei's group at Stanford, they're exploring real-to-sim training. What they do is, okay, maybe we can't generate things. We don't know what to generate. know what to generate. We could use a real-world scan of our environment or scan of the objects that we have in our box that we want to, let's say, pick in place, generate those in simulation,
and make digital twins or digital cousins is another term people like to use.
SPEAKER_01That is representative of the real-world distribution in some sense. We're not going to simulate everything, but we're going to simulate the things that we have captured already in the real world. And some people also even go as far as modeling simulation physics and parameters, like they'll tune the friction parameters and density parameters accordingly based on real-world rollouts. I don't remember the paper name, but that was a really cool idea, where they'll have a robot in the real world push an object over multiple times and use data collected from that to inform how to simulate the object more accurately. And so these approaches are more targeting exact replicas. This is one approach towards getting that diversity.
SPEAKER_01Another approach, which is what I was mentioning earlier, which is the Gen AI approach in some sense, is really mostly about what we call domain randomization. And we want to achieve generalization by brute force. And this is what has worked for locomotion. And that's why I think people want to do different manipulation as well. What I mean by that is for locomotion training, like, you know, you see Tesla walking around, you see those humanoids walking around, those quadrupeds walking around. Those are all trained in reinforcement learning these days in ISAC or other simulators. And what they do is they do a lot of perturbations in simulation. They'll push a robot around. They'll modify the joint parameters, the simulation parameters randomly so you can be,
SPEAKER_01so that regardless of what the real world conditions are, we've probably seen something similar in simulation. We're achieving generalization by brute force. Similarly, for manipulation problems, which I'm very interested in, another approach is we're basically doing the same thing. We're going to randomize the camera position. We're going to randomize a lot of the dynamics of the object we care about. Instead of modeling the friction perfectly, let's just randomize the range. Let's make it possible that it can pick up a cube that's a wooden material as well as an ice cube material. That would be the hope. And then similarly for textures, you can also do texture randomization.
SPEAKER_01We can make the cube color random. We do that for a Sim2Real demo. Or you can do the Robocasa approach and many other papers where they sample a bunch of assets from Luma or any other 3D generator.
SPEAKER_03So in your view, do you think this brute force approach eventually will give you enough examples to be a fair representation of the actual distribution you may still see in the real world, right? I mean, ultimately, that's what you want in order to get zero shot Sim2Real, I suppose. Yeah.
SPEAKER_01Well, I guess the reverse question actually for you is, do you think video generation models or image generation models are reflective of the real world yet? Do you think they will be?
SPEAKER_03I think they are already in some sense. I think the question I have is still, what if you have such a model that can, like, you still need to... kind of tell it to, okay, simulate what, right? So like you say, I guess you call it domain diversification, something like that. And so is 1,000 objects enough? Because in theory, you can do 1 million objects or maybe even more. So when is it enough?
SPEAKER_01Yeah.
SPEAKER_03What's your sense?
SPEAKER_01I think for one, I'm 100% sure the amount of range that we can randomize in for textures and model and meshes is sufficient. Like looking at current image generation, video generation models, they are really good. We will probably get there for 3D generative models, generating meshes. I'm not an expert on that, but we're getting there, right? We're getting to the diversity we need. Now the question is a problem of sampling. Which of these things in this giant set of possible samples should be used? And that question is very, very much unanswered.
SPEAKER_01It often depends on your task. Obviously, I would argue the more the better. But it is unclear, like, how much we need, right, until we get generalization. Some people might say a thousand different objects. And the question is, how different are these objects, right? It could be a thousand different cups and then you can generalize to, like, the bag. So it's a very open problem. I don't know the answer either, but people want more objects in general. Like, the more the better, right? And the other thing is simulation in Gen AI is compute scalable, right? This is one of the biggest reasons why I want to work on simulation. Because of the compute scalability, you know,
SPEAKER_01for the most part, I think simulation is here to stay. It's very, very hard, in my opinion, to scale reward data. And yes, there's been great successes so far from like Pi and Gemini Robotics team, right, for the VLAs. But there are still limitations to those, right? The success rate or reliability might not be high enough. And we hope that simulation is what's going to bridge that gap of reliability going from 10%, 50% to like five nines. Yeah.
SPEAKER_00And the simulation has like really clear wins in a few areas, right? Like locomotion, Lego locomotion in particular. And to a lesser extent it's doing very well in things like grasping, but like there's still plenty of spaces where it feels like simulation to real is not quite there. Like particularly when it comes to like semantics, like what do you, what do you think about that? Like, I guess the part of the answer is the gen AI, like creating assets to specific tasks and so on. Sim-to-real manipulation is definitely very, very far away from being solved.
SPEAKER_01Traditionally, people actually have relied on depth sensors, because simulation depth images look very similar to real-world depth. People recently are trying RGB now, like my lab as well as NVIDIA and the Mojoko team, where they use parallel RGB rendering and to get sim-to-real manipulation. We're very early stages. And actually, in fact, the last three months or last half year has been the first time we've ever been able to train models so fast with large scale randomization to do zero shots into real from RGB images. Previously is often death images or very, very slow training.
SPEAKER_00It does seem like stereo also is doing really well. We'll talk to Dextra next week, I think, about that. Yeah, they are using stereo vision and it's helped improve the success rate a little bit.
SPEAKER_01Our center wheel demo, as well as Mujoko's center wheel demo, is actually just zero shot one camera. But all are possible. Yeah, there's a lot of open problems. Like for sure, we don't know how much diversity we need. And I think in terms of center wheel, the biggest gap primarily is still visuals for rigid body. For soft body where deformable manipulation is physics and visuals. But for rigid body, I will say primarily it's a visual problem. How can we random? The question is like, I mean, we're still exploring right now. Now that we have GPU paralyzed rendering, right, what should we be randomizing? How much should we be randomizing? Like, for example, I could randomize a camera everywhere instead of just within
plus or minus five
SPEAKER_01centimeters. Who knows, right? I think with the release of our parallel renderer and NVIDIA's parallel renderer and Majokos, now we've actually opened a very new avenue of research that previously would have taken hours or days to train.
SPEAKER_03Yeah, I guess in some ways it's a good problem to have, but now it strikes me that maybe the bottleneck to what's using tools like manual skill three and all these updates to parallelization to the other engines as well is who is the researcher who is going to dictate what to simulate. because now you can simulate so much because otherwise you could waste compute if you end up having a diversity that actually doesn't matter in the real world and then you miss all the diversity actually you really need to to do it so and it's it's it's it seems to me it's it's very hard for anyone to it's almost like you you
kind of have to feel the simulation agi whatever you call it it's a gut feel and there's a very very few people in the world in my but i don't know it's just just
SPEAKER_03my guess that actually know how to feel it Yeah, I will say there's very few teams in a world that actually understand simulation deeply.
SPEAKER_01I would say like MyLab, NVIDIA's physics team, Mojogo's physics team, and a handful of startups around the world understand simulation at the physics engine layer and renderer layer. There are more people who can like, you know, build environments on there like me, but that's also quite rare, right? People, you know, people don't teach simulation in school. They teach machine learning. So imitation learning is so easy. Explosion and growth for like the robot support for imitation learning, hugging faces, is because everyone learns machine learning and supervised learning. You know, using those PyTorch tools and MSC loss function or whatever, it's pretty easy to understand.
SPEAKER_01Emulation on the other hand is actually a graphics problem in many sense. You have to understand the model things. You have to understand why things don't work. Like I learned Blender to build BitManusGo3. I actually had to learn that. I remodeled certain meshes. I actually helped the Hugging Face team model some of their gripper meshes to be convex so you can simulate them properly. But that took like a year and a half of me just learning that. I've been working on this for a year and a half now, ManusGo3. And I'm very grateful for my co-author, Fan Buol, who's now at Hillbot full-time, my advisor startup. He taught me a lot of the trade on simulation tools.
SPEAKER_01I mean, he is the creator of the safety net as well.
SPEAKER_03Yeah. So while we, I suppose, while we, in theory, the computer can continue to scale, we need to also scale people like you, Stone, who actually, now we're all this powerful tool, how to, otherwise you'll be like, you know, wasting GPU, you know, if a fella don't know what he's doing.
SPEAKER_01Yeah. um i i feel like that our answer to this is we can make sense of real work super seamlessly better than before we'll get more people on board everyone's studying imitation learning now but we can get something to study simulation and reinforcement learning more often right and that's really dependent on the success real world successes right there's gonna be like you know top down trickle effects essentially that we want to help yeah maybe this is a good set way for you to show some of this video that you have like actual seem to real i guess i can talk more features about manuscript 3. One of the other things that support that Sim2Real demo that
I'll show in a second
SPEAKER_01is primarily that we optimize a lot for memory, actually. And this is actually part of my interest in intersectional machine learning and simulation research. I often find that for reinforcement learning, especially visual reinforcement learning, GPU memory is like gold. You want to use as little of it as possible in a simulator. And so I think currently still, we have the most efficient memory usage of all the parallel renderers, I think. Like we use like two to three times like less than Isaac. And so you can actually run all these experiments on one GPU, on Google Colab even. How do you achieve that?
SPEAKER_01It's just a lot of engineering design on the Sapient engine itself. Actually, one of the things we did is we stripped out a lot of the unnecessary features of a renderer. So we have different shader options. One of the shader options is called minimal. only renders very, very basic RGB in depth. It looks like this. It doesn't look realistic at all. There's no shadows. It's just images. Oh, this one has shadows.
SPEAKER_00Wait, you're not sharing. Are you trying to share something?
SPEAKER_01Yeah, I got to share again. It's very, very basic RGB in depth. We're not rendering albedo or normals or anything our old renderer used to do. And that saved a lot of memory. Otherwise, it's a lot of engineering tricks on the Vulkan side to just save it in general. This is the renderer we're using. There's no shadows. It's very minimal. And this is quite different from the approach that IsaacLab is doing. I think IsaacLab by default has ray tracing enabled for the parallel rendering. And so they have a, I suspect that's why they have a much higher amount of usage
than us.
SPEAKER_01So they look slightly more realistic, but slower rendering. And so one of the cool things this enables is that, you know, actually during the LaRobot hackathon, people have trained our Simp2Real demo. They follow a trail for doing Simp2Real. And I'm going to go find the video. Give me a second. Do you see this video of the robot? Yeah, so this is the SO100 robot designed by the robot studio in Hug & Face. That's like $100. Very cheap. Actually, quite hard to do sim to reel on because the joints are very inaccurate. So during the Loroa hackathon, people will actually use our simulator,
SPEAKER_01train it, and Google Colab for about a couple hours on a pretty weak t4 gpu and get sim to real transfer success uh the example i'm showing here is trained on 4090 for one hour uh using highly randomized visual visual management and minuscule 3 and we get like zero shot sim to real deployment and this is just an example of a qpick policy You also assume you have to do dynamics randomization to handle the slop on the joints? We do randomizations on the joints. We do randomizations on the cube friction and the cube size. So I test on the same cube here twice,
SPEAKER_01but it actually generalizes the different colors of cubes, different shapes of cubes, and also has a very large spatial randomization. So I actually randomized the error of about 30 by 30 centimeters. And why we're so interested in that is because compute is scalable in simulation. I don't need to collect demonstration data to do this. Demonstration data will help, but the larger your randomization area, the more demonstration data you need. So this is one of the main advantages for simulation. Obviously, the caveat is you have to model the same simulation a little bit. Modeling robots and objects is kind of hard, but once you do model it, you can get very fast,
SPEAKER_01let's say, manipulation behaviors. I say if you do imitation learning on this, it will probably take much longer to actually solve the task. And this is what the training looks like. It looks nothing like the real world, really. but we're doing massive domain randomization here. So you can see that we're randomizing the link colors, the cube colors, and this is all visualizations. And it's hard to see, but we're also randomizing the camera extrinsics and intrinsics a little bit. And perhaps even harder to see. So we're actually showing in multiple views. Let's see if I can zoom in on the training images.
So the one with the orange table background, this is the raw simulator output. The main trick we use to bridge the sim to real gap for a zero shot sim to real
SPEAKER_01demo is using green screening. You will notice that the background and the smaller image here is the green screen applied to the segmentation map that we use above here. So basically what we're doing is we're going to green screen everything but the robot and the object of interest. And so as a result, tiny 128 by 128 image looks actually kind of realistic. And when we train on that data, covers so much of possible images that in the real world, the real world images are in distribution suddenly. We have examples where the robot is a white color, a black color, orange color.
We have examples where the camera is slightly shifted to the left and right.
SPEAKER_01And so if the real world is perturbed a little bit, it's fine. We do this training for about one hour on a 4090, and you can get 90% plus success rate if it's calibrated correctly.
SPEAKER_03Yeah, but I guess during the actual deployment, the camera angle is roughly what you also sample from the simulation, right?
SPEAKER_01Even though it doesn't have to be precise. I don't actually do accurate sampling, so I'll show you how rough it is. It's very rough. I think people who are roboticists might remember the days when they're doing camera calibration. They're often using checkerboards. This is super annoying. I hate doing this. I suck at doing it. I don't want to do it. This thing. This is like, honestly, if I want people to try doing Sim2Real and they have to do this, I don't think they will ever try it. So what we do is we make a very simple tool where we simply ask a user to position the real world camera to line up with the simulation one.
And what we do is we show them an image with both the images aligned up together.
SPEAKER_01So this is the real world image on top of the simulation image. And all we ask is that you get it approximately lined up. And this is how well lined up it is. It actually has a lot of error. You can see for one, we've got a lot of wires. This link is slightly off. This back part is slightly off, right? There's like some amount of error. But it's perfectly fine because, you know, in simulation, we're doing large scale randomization and we're randomizing things that we just can't estimate in the real world easily. And so as a result, it's quite easy to do the Sim to Real setup. It takes like two to three hours to do entirely. My camera calibration time takes like two minutes.
SPEAKER_01I will quite literally, and I did this at RSS2, I brought the camera out, put it on the ground, moved it around for two minutes until it looked approximately correct. And here's another example. It's very far off, but it's fine because we're doing large-scale simulation and large-scale visual simulation to cover all these randomizations, essentially.
SPEAKER_02Mm-hmm.
SPEAKER_03So this one hour in 4090, roughly how many, like, uh, yeah, I don't know what is the right way to think about it. Like how many, how many times would it have like the speed up time, you know, across all these various things that you're randomizing, like a different camera angle, um, you know, slightly different joints, different objects, color and whatnot. Are you asking how long it takes to how many environment samples or how long does it train?
SPEAKER_01Yeah, yeah.
SPEAKER_03Yeah, no. How long? Sorry, how many environment samples?
SPEAKER_01Yeah. So we train for one hour, and that's approximately... Let's take a look. So these are some of the successful runs that I train at RSS, actually. Let me just hide ones that are fine-tuning checkpoints. Oh, this is a wrong one. Also a wrong one, sorry. There we go. So we're roughly, like, collecting almost, like... So the policy starts getting like 90% success rate at around like the 35 to 40 return mark on the reinforcement learning training. And that's about 40 million samples in simulation.
SPEAKER_01So on average, from my multiple runs and testing, I would often collect about 25 to 50 million samples in simulation before I deploy it successfully with a pretty high success rate. So that's like, and also every time step, we are randomizing a lot of things. So you can imagine it is about like several millions of different color variations. small differences essentially yeah on order millions okay yeah i think that's a great number to just just for layman and myself to think about it like i mean this is like as if you did the whole thing 50 million times you know
other different scenarios i will say um my own experimentation you don't need to randomize that
SPEAKER_01much actually The reason why it's being randomized so much is because we're doing reinforcement learning. I can limit the diversity a bit more. I can reuse colors more often than once. Right now I'm not reusing colors at all. I always sample new ones. But I could reuse them. And I think the performance will do fine. The reason why we collect so many samples is because RO has to learn from trial and error. So it spends a lot of time just learning that essentially. But a million is a good mark. A million is a good number. More doesn't hurt.
SPEAKER_03I guess it also gives a rough sense, like with a consumer-grade GPU, one hour, what do you get in something like Maniscule, right, for tasks like this? Okay, cool. I will also point out, I love how people like to say 4090 is a consumer-grade GPU.
SPEAKER_01In my opinion, it's not really, because the other thing I want to know is that 4090 is the best GPU for simulation, actually. H100s are more costly, but not better. And that's because 4090s have ray tracing cores. They have parts of the GPU dedicated for rendering. And Vulkan will optimize the hell out of them. If you use H100 and A100, they actually render much slower. Yes, they have high memory capacity, but they render very slowly. And so they're not... I see. Yeah, they're just faster. yep yeah got it because you have rendering you need to take
snapshot of of uh actual actual visual output and all this like uh yeah yeah that's by being a consumer gpu they're actually the best one to use yeah what you want is gaming consumer gpu like the best one there is the best gaming gpu right like it's a
SPEAKER_00really
SPEAKER_01Yeah, so that's kind of like our Sim2Real demo. We have another video on my Twitter account and also on our website showing like an uncut one, like speed, where it does like 19 of these cute places in a row successfully. And we stop it when it fails. So this has pretty decent reliability.
SPEAKER_00Is it pretty representative of the success rate, 95%? Is it representative of the simulation success rate? The real-world one, the real-world success rate. Oh, sorry, was this all simulation that you were talking about? Yeah.
SPEAKER_01No, I'm saying in the real world, the success rate is like 90% plus. Run it like 20 trials and like 19 out of 20 times, it will pick up the queue.
SPEAKER_00Yeah, nice.
SPEAKER_01We also did some experiments, although this really depends on your system ID where you align the real world to the simulation. On our previous setup with the Koch arms, which is like an older version of the Hugging Face low-cost arms. Let me see if I can find it. This is the video. I want to use a B2 paper. This is the outdated one. Let's see. We actually try to check the simulation and reward success rate to see if they're similar. And they actually are kind of similar for a very basic task.
SPEAKER_00That's interesting. Yeah. The basic task. The same cube task. Oh yeah. Grasslifter.
SPEAKER_01We check two successes. We check an intermediate success rate where it grasps cube. And then we check whether or not it lifts the cube up and returns it to like a predefined rest position. And the simulation successor and real-world successor are pretty well aligned, actually. Yeah. And then we also even tried the number of 3Cs. Like, we did a lot of evaluations. Every single checkpoint, we evaluated, I think, eight times. And we have a total of, like, 3Cs times 20 checkpoints each of, like, 60. Mm-hmm. And this part of the project was led by Xander, one of our undergraduate interns, and with me, and we did a lot of, like, testing on this.
SPEAKER_01And it was quite cool to see the result. It's not perfect, though, but it was quite cool to see.
SPEAKER_03All right. Yeah, so I guess... Okay, go ahead.
SPEAKER_00Chris, you go first.
SPEAKER_03Chris, you go ahead first.
SPEAKER_00Well, I was going to ask. This is a little bit of a change of direction, though, so if you want to ask about this, go... If you're a final year PhD student, right, or close to it, what is going to happen to ManiSkill? What's ManiSkill's future look like?
SPEAKER_03Oh gosh, it's the exact same question I have, man. I was like, what incentivizes you guys to keep reading? And there's not just ManiSkill, right? There are all these Robocasta and different projects. It seems to me there's a diversity of tools and what motivates teams to do this?
SPEAKER_01I'll say most teams are not. You'll see a lot of projects out there. The last commit was like a year ago or many years ago or many months ago. The last commit was like a couple days ago. So I'm still maintaining it. But no, it's a very valid question. It's a little bit up in the air what I will do with it because after I graduate, I obviously will have much less time. Maybe I will do it on my free time. I don't know. Especially if the part becomes even bigger. But it's hard, right? I mean, I have a work-life balance, right? I have a girlfriend and I have sports and I do other things. So... It will get difficult to do that.
I will say one thing that at least during my PhD that motivates me to do it is kind
SPEAKER_01of based on my advisor's advice to me when I first started. His advice to me was to very much focus on aiming to not only do good work, but become the number one or top three people people think about when they think about your research area. And that's kind of what I'm aiming for. I'm thinking if anyone thinks simulation and reinforcement learning, I hope they think of me. And I guess the fact that I'm on a podcast maybe is working a little bit. I've reached the podcast levels of fame. So that's kind of one of my motivation for maintaining a long-term project. I've personally felt like when I maintain a project so long,
I increase the quality of it. Yes, I'm publishing less papers, which is kind of antithetical to a PhD to some extent.
SPEAKER_01And I make improvements on the paper that I'm not submitting, actually. I've added a lot of things to Maniscal since the original research submission, since the resolution release. But the amount of motivation is that, you know, to become someone that is recognized as an expert, you want people to be using your code. You want people to be asking you for help whenever there's a bug. Not that I purposely leave bugs in the code for people to ask questions about, but, you know, I'm often responding to issues. I'm often the first people people see when they use our project. And so I have like a very public profile now, essentially. But yeah, I maintain it for such a long time,
you know, it's been like a year and a half now. I've been on the project for much longer than that, but as a lead, it's been a year and a half. building that reputation i think is very important in some sense for my academic profile and also furthering research in many ways and it's also a great way if i maintain it for long to find issues that other people have that could spread up new projects so that's kind of like my motivation for keeping on it with the phd i'll also point out another thing this project is now partially affiliated with a startup my advisor runs a startup called hillbot which is also very focused on simulation based training for foundation models and so it is
possible that in the
SPEAKER_01future they may hire an engineer to maintain it when it was on right That's one possibility. They've considered that. We haven't done it yet. We do have a simulation team at Hillbot that is maintaining the underlying engine, at least. So the public version and the company's internal version is being maintained by the sim team. The manuscript part is only being maintained by me at the moment. Or primarily by me. There are other people who help out. We've also reached a stage of open source where people that I don't know personally have been contributing PRs, which is great.
SPEAKER_00That's nice, yeah. Self-sustaining. Hopefully it reaches that point where it's actually self-sustaining, but yeah. We'll see. Yeah, we'll see.
SPEAKER_03Yeah, I think it's such an incredible thing you guys are doing. I mean, simulation is going to be a very, very, very big part of embodied AI. Yep. And I'm glad folks like you are betting on simulation because everyone just go and do tele-op because tele-op works for now. And then if everyone just do tele-op, then only the big boys who have the resources to tele-op can do it, get a big warehouse and do it. I think it leveled the even playing field a lot, especially with your, all these APIs that you're making it. I mean, just looking at the lines of code, it's just so much shorter than the one,
SPEAKER_03let's say from Isaac. I'm surprised though. Like I would have felt that NVIDIA will make the best out of it, but anyway.
SPEAKER_01Three more, for sure. It's a lot better than our paper. Our paper was like released six months ago. So in that time, they've improved a lot, actually.
SPEAKER_03Got it. Yeah.
SPEAKER_01I will also add another thing. Another reason why I'm very interested in simulation is also for robotics evals. I actually, you know, I have no idea if simulation data is ever going to be used for training. But at minimum, you know, a lot of companies these days who are doing VLAs, they need a way to scalably evaluate their models. Currently, video generation models are not accurate enough. And then simulation has already been used for evaluation. We did a project in my lab with Google last year investigating this exactly. And it's one of the most commonly benchmarked environments now called Simpler. I have some interest in making it bigger,
SPEAKER_01but, you know, I think at least it's there to stay for evaluation purposes. That's another interesting viewpoint I have for simulation research.
SPEAKER_03Yeah, I think simulation, my own take is that it will be used for both like data generation and also eval. Yep. Eval, I don't know. I kind of feel that you definitely should do eval in simulation, but ultimately you still need to test it in the real world. I mean, this is robotics after all.
SPEAKER_00Yeah,
SPEAKER_03you still need to test things, but before you put it out there, eval in simulation, sort of when it fails, it's fine, right? Yep, definitely.
SPEAKER_00Yeah. You know, one last question I have. All right. So we're talking about domain randomization, all this. One thing that I always wonder about these demos is how sensitive are the domain randomization parameters? How much tuning do you have to do to get it to work the first time, right? Like the transfer data, you're 95%.
SPEAKER_01That's a really good question. I wouldn't know because I think for our Cintereal demo, my undergrad intern, Xander, he was a person who did it. So it was free because it was undergraduate labor, so zero. All right. So I have no idea. I took his parameters and modified it a bit more, and it worked well for me. I just know vaguely while we were doing the project discussion about the Cintereal stuff, we initially started with just cube shape and color. We added friction a little bit later, and then camera randomizations later as well. Definitely, we did notice a very noticeable improvement from doing camera randomizations. My own experiments have shown the same.
SPEAKER_01If I don't do randomizations, it doesn't work so well, especially because I'm not aligning up the camera perfectly. So that definitely helped quite a bit. But it's also like a bit of an art. Like I think the Dextra RGBH paper is also kind of theoretically defining some domain randomizations, like initial and final conditions and doing like a schedule between. It's an art, I think. Yeah. I do want to advocate for more people to explore more automatic curriculum learning methods that you like, you know, let's say the value function of the reinforcement learning model to like guide your randomization process. Some automatic ones recently,
SPEAKER_01I remember, they're maybe less principled, like Eureka works, line of work from the lab. They use language models, right, to decide randomization methods. Or that was Dr. Eureka, I forget which one it was. But similarly, there's a lot of open room to explore around curriculum learning and randomization ranges, right? You want to start from an easy task and then go to harder tasks. Or you want to decide, you know, how hard is too hard.
SPEAKER_00That's interesting, because this does feel like the big, like... open question to me in a lot of this is like if it how how hard that is how hard how well like well defined that distribution has to be and maybe it's possible that there's just some common set that always that common set of parameters i assume it does get easier to apply to a new task so maybe it is just not as big of a deal yeah i hope it becomes like ppo parameters i think everyone uses very similar hyper parameters they use the same exactly they use the same architecture maybe we'll
SPEAKER_01converge on that
SPEAKER_03Yeah, makes sense. Yeah. So I guess maybe as a wrap up, do you, I know you may not work on many skills forever, but you know, if you were to continue like helping out on many skills, you know, let's say for many skills for, let's say the next one, what kind of improvement would you want to push for? Or would you like the community to contribute, like to get it to?
SPEAKER_01That's a great question. It's actually the most popular question I've been given at RSS. During my presentation at RSS, some in the crowd asked that question. Every time someone has met me that I didn't before, that was the first question they ask. I think there's two aspects to consider. You can either consider applications or performance, I think. Applications being like simple real, scaling evals, stuff like that, and performance being like making the simulator faster. I think performance-wise, we are already close to some limit, like in terms of GPU bandwidth in some sense. We are already hitting some limits a little bit. The renderer could be faster for sure.
I am aware there's some possible optimizations that we have not done or released.
SPEAKER_01The physics engine, I believe, can be faster as well, particularly as we're using physics's GPU version. It is anticipated that NVIDIA's new Newton simulator or the MJX warp simulator will be much faster. And I'm very, very excited to help possibly integrate that once it's released. I think their API should be similar. I'm very familiar with them. We definitely want to have Newton as a possible backend. And we trust the NVIDIA team a lot to like make good software. They made PhysX, which is, you know, I think one of the best simulator engines out there. It's very flexible, very stable, which is often the most important part of simulation.
SPEAKER_01So that's kind of one aspect of the performance part. But I think we ourselves don't have much power to do that. I think we are kind of just waiting for the video to do something better with the new 10. And once that's released, I'll probably just add it. But we probably won't release another paper just for that. In terms of actual research, there's kind of two directions. One of them is further pursuing that zero-centered real research. Since the central demo I showed earlier was zero shot, but I think it's very powerful to try to consider, can we do adding real world demonstrations? Teleop one or two, instead of 50, click one,
SPEAKER_01and use that to help align the simulation train model to the real world. Another really powerful consideration is that because we're doing reinforcement learning simulation, It should be easy to transfer to doing real-world reinforcement learning without having to change the loss function. If your loss function doesn't have to change while you're training in one environment to another, it just makes things a lot easier, right? There's actually been a lot of research in the past where they try to take imitation learning models and try to fine-tune the reinforcement learning later, and oftentimes the performance just plummets. Part of the reason is because of the objective mismatch. The loss function is different. People have tried to fix it in recent ways,
and I'm really excited to explore that.
SPEAKER_01There's one called diffusion PPO, all kinds of PPO's. But another consideration is could we just do simrl and rewardrl? And the great thing about doing this approach is that rewardrl has traditionally not been possible because we often only have sparse reward functions in the real world. Sparse reward functions make it impossible to do reinforcement learning because reinforcement learning is bottlenecked by exploration. If I'm not being told that every time except how well I'm doing, I'm only being told that at the very end of the task, it's very hard to solve. But if you have a pre-trained SIM reinforcement learning train model, maybe that policy gets you 90% of the way. Like for example, currently my Sim2Real demo gets like 90% success rate-ish,
SPEAKER_01plus or minus 10, five. It's not 100% yet, or five nines. But you know, it gets 90% of the way there. And we can use real-world RL to fine-tune it a little bit more to be better adapted to the real-world images and the real-world dynamics, right? And that could be quite interesting to explore. And I think real-world RL is already making a comeback. Quite a few people are working on it, especially Abhishek Gupta's group at UW. They're doing a lot of really cool work on real-world RL. I'm very interested in trying it in the future. The third kind of arm of research is evaluations. I think we had an existing simpler project, which is a set of like eight environments or it looks realistic
and you can test
SPEAKER_01all kinds of open source VLA's on it. And we show that the success rate in SIM is correlated with the success rate in real and that the ranking of models in terms of success rate is actually the same in real and some. That only has eight environments, not a very big test of generalizability, and it's also primarily still based on Maniscal 2. We poured some of it over to Maniscal 3. It makes evaluations even faster, but we need to clean up it a lot. So cleaning up that project a bit and also trying to find a way to scale it so that we can have like thousands or tens of thousands of environments. without having to model each one individually is a very interesting project.
SPEAKER_01We want to build maybe a simulated version of Robo Arena. Robo Arena is a recent project from many people in Berkeley and some members of Pi where they have a chatbot arena robot evaluation benchmark. But that's real world only, which is obviously limited. We are thinking about ways if we can do the same thing in simulation and scale it up somehow. long-term research products though very hard problem because if you got to do a 3d reconstruction and i don't think the 3d reconstruction technology is even ready yet we have to innovate it's getting better but yeah yeah not quite yeah very cool all right well thank you so much for the sharing man still it's
certainly very very eye-opening for me uh maybe just as the last last question we always ask are there any like recent papers that you saw i guess it doesn't have to be recent but any cool papers that you come across that you want to give a shout out to folks
SPEAKER_03listening to this can can also go and read that paper
SPEAKER_01Yeah. This recent paper just won an award at the OOD Workshop, Out-of-Distribution Data Workshop RSS. It's by Jesse Zhang at USC. I don't remember the paper name, but you can search up Jesse Zhang. It's Rewind, right? He has a real-world language-guided RL training system. Yeah, that's a cool one. I've been looking at launch RL stuff. Another pretty cool project that actually builds on R-Simulator also won an award at a workshop, which is quite cool. It's called Rosetta from Stanford.
SPEAKER_00Oh, yeah.
SPEAKER_02Cool.
SPEAKER_01I just saw that they built a digital twin. They do real-to-sim and sim-to-real, and they are similar to the digital twin. Quite cool to see it happen. They do a lot more randomizations in my sim-to-real demo. Like they literally rotate the camera like 50 degrees. So it was quite cool to see that one and see how they do real-to-sim. That's like another one that was pretty cool. You know, I think those two are some of the cool ones, like RealWorld RL and BuildSystem Center Real were some of the recent ones I've been exploring. Awesome.
SPEAKER_00Yeah. Thanks. Well, yeah, this was a lot of fun. It's really cool work that you do on Miniscale. I'm always impressed. Thank you. Great.
SPEAKER_03Yeah. All right. You know, hopefully you can keep building Miniscale. I think the community will really benefit from it. Clearly, I mean, there are very good research papers that's built on what you build, so... Okay, sounds good. I guess, yeah, until the next time, thanks so much for making the time stone. All right, thank you. All right, Chris, what have you learned today? It was really nice going through all the different qualities that many skill had.
SPEAKER_00I really like all the time. I went to this during this. But I really like all the thought that Stone and his team have put into making it easy to use and making it accessible and powerful and easy to do domain randomization. Domain randomization is basically a first class citizen, it seems like. And like they've really considered how to do this heterogeneous simulation so you can get like really diverse environments. And it's all just like very, very well designed to be like the simulator for robot learning, in my opinion. I'm always impressed by the stuff that he's able to show.
SPEAKER_00So I don't know, what do you think? Yeah, I mean, honestly, I don't know much about simulation at all, like just a casual observer.
SPEAKER_03So to hear from him was really eye-opening just now, I would say. For example, what are the dimensions that matters for a simulation engine like like Maniscule, right? And it's just a bit mind-boggling to me that to do a good simulation platform like Maniscule, that's so much part of the stack that he needs to know. All the way from SIP physics engine to the rendering, all the way to the, you know, the top level, like, you know, the API exposure. So things are abstract away, easy to read and code. And It's a non-trivial thing, man. I mean, I'm trying to think like, how do they done it so consistently?
SPEAKER_03This is a third iteration, right? And so to do it is, I think it's an open source, right? So I'm really glad that they're doing all this. Yeah, I hope more people can contribute to the project. So hopefully those who listen to this podcast will want to help out. Yeah.
SPEAKER_00Yeah, I hope it does well.
SPEAKER_03Same.
SPEAKER_00Yeah.
SPEAKER_03All right. Okay, cool. I guess until the next one, Chris, I'll see you.
A robot could line up an ethernet cord almost perfectly and still fail to insert it if it’s off by a millimeter. If robot foundation models had a better understanding of force and contact, this would not be an issue....
Imitation learning has enabled amazing robot capabilities, empowered in part by diffusion or flow-matching policies. These generative models outperform direct action prediction, but come at a cost: they are often slower...
Coding agents powered by large language models are increasingly able to complete complex, long-horizon goals, but this capability is still largely relegated to computer tasks. Bringing agents to real-world robotics is...
Delta Intelligence’s Δ₀ is a humanoid full-body foundation model, which can perform long-horizon, whole body loco-manipulation. They show a single, generalist policy which can control a 69-DoF humanoid to perform...
Robotics has a data problem, but not the one you’re thinking of: almost all robotics data is of successful instances of robot behaviors. But many of the most exciting research areas for robotics today, including world...