# Poster 27683

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/27683

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello, today I'll be presenting our work kinetics. So first of all, I'll start with the hopefully uncontroversial statement that in supervised learning, more data generally tends to lead to better performance. Now in reinforcement learning, this is not as simple and very often depends on the environment. Some environments are maybe too simple and do not provide enough diversity, so your performance saturates quite early.
Other environments, maybe Minecraft, for instance, do provide a challenge and are difficult and very open-ended, but maybe are too slow to run and run kind of a reasonable amount of time steps in. And kind of other environments, for instance, NetHack, are more bounded by exploration. And even if you provide your agents quite a lot of samples, the agents may not necessarily perform much better because exploration is the fundamentally limiting factor.
So what if we had an environment that was very general, very fast, and not bounded by exploration? What we kind of thought about here is that it had to be some sort of physics-based environment, and we kind of looked at the existing ones out there. For instance, the kind of CPU-based physics environments are very general and can represent pretty much any scene, but they tend to be quite slow to run, especially when you add reinforcement learning training in the loop.
On the other hand, for instance GPU-based simulators tend to be very fast, but they're very specific. What we mean by this is that how they get their speed is by simulating identical scenes in parallel, which basically means you can't really simulate different morphologies at the same time.
So what we do is we introduce Jax2D. It's a 2D rigid body physics engine written in Jax, and it's super fast, running at 80 million steps per second on a single L40s, and it's super general, meaning that it can parallelize over heterogeneous environments, meaning that all of these environments shown on the screen are representable and kind of parallelizable at the same time, in stark contrast to something like MDX. Now, building on top of Jax2D, we introduce kinetics.
A suite of diverse oral environments all within a shared framework. Kinetics consists of a few simple components. Motors connect two shapes together, allowing them to rotate and move around, while thrusters apply a force to a particular shape in a specific direction, and using motors and thrusters an agent can control a scene.
Next, every level in Kinetics has the following two rules. There must be a green shape and a blue shape in the scene, and the goal is to make these touch, at which point the episode terminates successfully. However, there may be red shapes in the scene, and if the red shape touches the green shape, the episode terminates unsuccessfully. Using these simple rules, we can represent a wide range of possible tasks, including robotic locomotion and grasping, but it doesn't stop there. We can design logic puzzles like this one, where the agent first has to move the boulder into the gap before being able to drive over.
And kinetics can also represent more interesting interconnected contraptions like this one or classic games like Pong. This can go further and we can represent more complex scenes where multiple entities have to coordinate in order to solve a particular task and since kinetics is based on rigid body physics we can be even more creative and design arbitrary environments for instance ones that include something like logic gates.
And to emphasize again, all these environments have the same observation space and action space and a shared semantic goal space. So the exact same agent can act in all of these environments. Now a simple thing to do would just be to train one agent on all of them and see what happens. However, we opt for something more interesting and we keep all of these environments as held-out evaluation environments and aim to train a general agent that can zero-shot solve these interesting problems.
Now the question is what do we train this agent on? Well, we procedurally generate billions of unique tasks to train this agent. While these tasks look very different to the previous hand -designed ones, due to the shared semantics the agent should be able to transfer from these to our holdout environments. And one important point to note is that our holdout environments are within the support of the sampling distribution.
Now what happens when we train this at scale? So this plot measures the performance of an agent on a set of randomly generated but unseen evaluation levels, where the y-axis measures performance compared to an agent that trained on these levels. And what we find is that even after a really large number of time steps, 1 trillion in this case, the agent's performance is still improving.
And we find that our agent can solve relatively simple levels without ever having trained on them, such as this one, but that it does struggle to solve more difficult and complex ones. Coming to an end of the talk, in conclusion, we've introduced Jack City and used it to build kinetics, a framework of diverse RL environments, all with a shared interface and shared semantics. Due to its diversity and speed, we believe that kinetics can be used by the academic community to study the large-scale training of generalist RL agents.
Thank you for listening to our talk and if you're interested in our work or would like to create your own environments Please follow the QR code or reach out if you have any questions. Thank you very much
