[02:42:59] All right. Hi everyone. I'm Tyler >> and I'm Koshal >> and we're presenting play to perfect. Our goal is to learn precise assembly. For example, tight insertions with just half a millimeter clearance. Here the robot assembles a multi-art structure consisting of a pillar and beam. And all videos here are played at 1x speed. Finally, here's an example of screwing a table leg into a threaded hole. And all policies here are trained entirely in simulation with zero human data. So to understand why assembly is hard, let's look at the slowed down video. The robot must grasp the leg, reorient it upright, align it with the hole, and then screw it in. For reinforcement learning, long horizon tasks with sparse reward pose a [02:43:56] significant exploration challenge. For imitation learning, collecting precise teleop data is extremely difficult during contactri interactions. Prior works typically simplify the assembly problem in two ways. First with fixtures. So here the robot with a parallel jog gripper has to use a custom fixture to reorient the assembly part. Second, short horizon interaction. For example, here the nut already sits on the bolt, so the hand only has to turn it. Moreover, even with a 4x speed up on these videos, the policies are still much slower than humans. So, our goal instead is to learn the full long horizon problem of detrris assembly. And our inspiration comes from how children learn. Babies don't learn assembly right after birth. They first acquire general dexterity through play. Picking up toys, flipping them over, and dropping them. This dexterity can then [02:44:53] be perfected on challenging tasks. This is the key idea behind play to perfect. First, we train the robot to play and acquire general dexterity. Then the robot is capable enough to start perfecting precise assembly. Concretely, we define play as goalpost reaching. We train a single policy with RL to move random objects to random 60 goalp poses. This play pre-training teaches general dexterity and the same checkpoint is used for all downstream tasks. Then we can perfect precise assembly. We fine-tune the pre-trained checkpoint with RL using just a sparse reward which is defined by a CAD model of the of the assembly. With play pre-training, play to perfect reaches high success rates within 2 to 5 hours of fine-tuning. Training RL from scratch remains stuck at 0% success even [02:45:50] after 24 hours of RL training. So at deployment in the real world, we take as input CAD meshes of the assembly and RGBD images. These go into foundation pose which tracks the 60 poses of the assembly part and the fixture at 30 hertz. And then these object poses are used to condition the policy which outputs joint position targets at 60 Hz. Play to perfect works across diverse initial states in the real world on all three tasks. And this is again zero shot from simulation with no real world finetuning. Play to perfect also outperforms RL from scratch even when we make the learning easier with dense rewards. We reach the same success rate in only 4 hours which is 33 times faster than [02:46:45] dense reward RL. But we also learn a more robust strategy under force perturbations. We stay above 80% while dense reward RL drops to zero. We visualize the different strategies here. Player Perfect picks up the peg with multiple fingers and can resist external force pertabbations. Dense reward RL learns the brutal strategy of balancing the peg with his thumb. So even a small push knocks the peg loose. So play clearly helps. But what choices during play pre-training are key to enable precise assembly? Four things are key. The training objective, goal precision, object diversity, and trajectory diversity. First we look at training objective. This compares the reward function used for player pre-training. Translation only rewards do not encourage inhand rotation and transfer poorly. R6D's [02:47:41] reaching objective optimizes both translation and rotation. Second, we compare goal precision. This measures the success tolerance of hitting goals during play. We find that pre-training with loose tolerances does not transfer to precise assembly finetuning. Our method uses tight goal tolerances of 1 cm. Third, object diversity. This compares the quantity of diverse play objects. Our method pre-trains with thousand different objects and has more stable fine-tuning performance than 10 or 100 objects. Finally, we look at trajectory diversity. This measures how goals are sampled during play. Um, we find that sampling random goals in every episode outperforms a fixed number of 10 or 100 trajectories. Across experiments, there is a common takeaway. The best design choices emphasize learning of inhand manipulation. [02:48:38] The combination of playing and perfecting is critical for tight insertion tasks. So, playalone training can pick up the peg and take it to the hole, but fails as soon as there's contact. Play to perfect fine-tunes after play and completes the task by sliding the peg into the hole. Let's look take a closer look at the tight insertion and slow it down. Play to perfect is not just precise. It learns to leverage contact to search for the hole and complete the task. They do perfect also shows strong recovery behavior. In this example, it drops the object but quickly regress and then finishes the insertion. In this example, the insertion will fail at the last possible moment. [02:49:35] The bro will still recover and finish the assembly. The play to perfect recipe extends beyond assembly and to daily insertion tasks. Here is an example of manipulating an iPhone plug and putting it into the socket or even a fork from the VCB object set going into a rack. And we um open source our code with examples to run on different robots and simulators. In the first example, we uh show a flexive arm with a Vuji hand in Isaac lab. And in the second example, it's a kuka arm with a sharper hand in MJLab. Finally, we note the limitations of our current play to perfect system by analyzing the real world failures. [02:50:32] Um we can uh we still struggle with smaller size objects um due to heavy visual occlusions as you can see in these images here. Incorporating tactile sensing and extending to biommanual assembly are very exciting areas for future work. Um we are happy to take any questions now. [applause] All right. Any questions? I think we have one right here. >> Great work, guys. Um, I'm curious whether you experimented with any uh traditional notions of play during pre-training. For example, intrinsic rewards that might be linked to uh novelty, surprise, empowerment, and so on. >> Yeah, really great question. In this work, we didn't actually explore any of that. We really just focused on this kind of goalpost reaching play because I think it really built in not just like um getting diverse states, but really actually learning these very helpful in-hand manipulation skills. We really [02:51:29] found that both qualitatively and quantitatively that ability to spin objects in hand, not just have a very fixed grasp was very essential. >> Yeah. >> And kind of what's your future oriented look on play as a as a pre-training objective in sort of the traditional way. >> Yeah. I think we have to do a lot more research there. But I think that like from this work, we really found how important it is not just to have any play, but it's really to have the right kind of play that learns the right foundational manipulation skills. And I think having diverse objects and also learning diverse skills with those objects is really important. Great question. >> Great. Thanks. >> Um, very cool. You talked about using diverse objects in your simulator, but a lot of the objects looked very oblong and like if you squint, they're kind of the same shape. Did you guys experiment with or use other like >> geometries? >> Yeah. Uh that's a great question. During [02:52:26] play pre-training, we really focus on very primitive shapes to get coverage. But during the fine-tuning pre-perfecting stage, you can actually do any complex shapes. So we had some examples going for forks or plugs. So during finetuning, we are not restricted to the primitive shapes. But yeah, during play pre-training, we focus on being fast with primitive objects which are super good in simulation. >> Thanks. Um, have you guys uh considered using play as the end goal of encouraging diverse and curious behavior and then just filtering for optimal results? >> Yeah, I think we we kind of tried that. We thought like can we just do play alone and see if we can do these skills and we actually could do a good number of skills. We could like pick up hammers and make them hit things but not super reliably because it's not used to having contact because during play it's all free space uh motion so not like actually making contact with the world. So I think we really found that this this fine-tuning recipe was really essential to learn those um contact [02:53:23] strategies. So for example uh what Kashell was talking about for the tight insertion, it didn't just learn to be more precise, but actually learned a smarter strategy to kind of search for the hole. And I think that's something you won't just get through through a simple play. >> Awesome. Let's thank the speakers one more time. [applause] >> And that concludes oral session five. Please stick around for oral session six. >> Thank you. Um quick announcement. If some of the speakers for the next sessions can come up to the front, um that would be greatly appreciated. Um [02:54:01] okay. And we're going to begin our next session. So hello, my name is Ian Abraham and I'm a professor at University of Sydney. Uh and I'll be chairing the session on force tactile control and manipulation planning. And so our first speaker is going to be factor 2, learning external force sensing for commodity robot arms. Take it away. >> Hello, I'm Jason and this is Stephen.