← Latest papers
🤖 machine learning

Learning to Fold: prizewinning solution at LeHome Challenge 2026 (1st place online, 2nd offline)

This paper presents a prizewinning bimanual garment folding system for the LeHome Challenge 2026 that achieves top rankings by enhancing a vision-language-action policy with a self-supervised reinforcement learning loop, where the policy's own predictions of success and progress drive advantage estimation and failure detection, supported by a comprehensive suite of engineering optimizations including flow-matching, distributed training, and robust sim-to-real transfer.

Original authors: Ilia Larchenko

Published 2026-06-26
📖 5 min read🧠 Deep dive

Original authors: Ilia Larchenko

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a robot trying to fold a messy t-shirt or a pair of pants. It sounds simple to us, but for a robot, a piece of cloth is like a chaotic, slippery snake that changes shape every time you touch it. This paper describes how the author, Ilia Larchenko, built a robot brain that won first place in a simulation contest and second place in a real-world contest for this exact task.

Here is the story of how he did it, broken down into simple concepts.

1. The Problem: The "Ghost" in the Machine

The robot had to fold four types of clothes (long/short sleeves, long/short pants) using two arms.

  • The Catch: The robot didn't know what it was holding. It had to look at the shirt and figure out, "Is this a t-shirt or a pair of pants?" before it could start folding.
  • The Reward: The robot only got a "Gold Star" (a reward) if the shirt was perfectly folded at the very end. If it messed up halfway, it got nothing. This is like trying to learn to ride a bike but only getting a cookie if you reach the finish line without ever falling.

2. The Solution: A "Self-Teaching" Loop

Instead of just copying human demonstrations (which is like trying to learn to swim by watching a video), the author built a system that learns by doing, failing, and trying again. He calls this a "Flywheel."

Think of it like a three-person team working in a factory:

  1. The Trainer: The teacher who studies the data and updates the robot's brain.
  2. The Runners: A fleet of robots in a video game (simulation) that try to fold clothes thousands of times a day.
  3. The Human Helper: A person who steps in only when the robot gets stuck, fixes the shirt, and lets the robot try again.

These three don't talk to each other directly; they just drop notes in a shared digital mailbox (HuggingFace Hub). The Trainer reads the notes, learns, and drops a new "brain update" back in the box. The Runners pick it up and try again.

3. The Secret Sauce: The Robot is its Own Scorekeeper

Usually, in robotics, you need one brain to decide what to do and a separate brain to guess how well it's doing. This author merged them.

  • The Magic Trick: The same neural network that decides "grab the sleeve" also predicts "I'm 80% likely to succeed" and "I'm 40% of the way through."
  • Why it helps: Because the robot knows its own score in real-time, it can learn faster. If it predicts it's going to fail, it knows to try a different move. It's like a student who not only takes the test but also grades their own answers immediately to see where they went wrong.

4. Learning from Mistakes (The "Replay" Strategy)

The author realized that just practicing is boring. You need to practice the hard parts.

  • Hard Mining: When the robot fails, the system saves that exact moment (like a "Save State" in a video game). It then loads that failed state and tries again, but this time with extra "noise" (random changes in lighting or cloth texture) to make it harder.
  • The Human Touch: When the robot gets truly stuck, the human takes over for just a few seconds to fix the shirt, then hands control back. The robot learns from this tiny correction. This is called DAgger (a fancy name for "learning from human fixes").

5. The "Magic Glasses" (Inference Optimization)

Even with a smart brain, the robot can be clumsy if it moves too fast or too slow. The author found that by tweaking how the robot "thinks" at the very last second, performance skyrocketed.

  • The Analogy: Imagine you are taking a multiple-choice test. Instead of just picking the first answer that pops into your head, you quickly generate three different answers in your mind, check which one feels "best" based on your gut feeling (the score), and then pick that one.
  • Thompson Sampling: The author used a mathematical game (like a slot machine) to automatically figure out the perfect settings for every type of shirt (e.g., "For shorts, move slower; for long pants, grab tighter") without needing to manually test every single combination.

6. The Real-World Challenge: From Video Game to Reality

The hardest part was moving from the computer simulation to a real robot in a real room.

  • The "Uncanny Valley" of Physics: In the simulation, the clothes looked perfect. In reality, the lighting was different, the camera was slightly crooked, and the robot's arms had a little bit of "slop" (backlash).
  • The Fix: The author didn't try to make the robot perfect. Instead, he made the training data chaotic. He taught the robot to fold clothes in the dark, in the bright sun, with the camera tilted, and with the robot moving at different speeds.
  • The Result: By training the robot to be comfortable with chaos, it didn't panic when it saw the real world. It was like training a surfer in a stormy ocean so that a calm beach feels easy.

7. The Outcome

  • Simulation: The robot folded clothes successfully 79.6% of the time, beating 61 other teams.
  • Real World: It placed 2nd in the final competition, successfully folding real clothes on a real robot.

The Big Lesson

The author admits this wasn't a perfect scientific experiment with controlled variables. It was a "kitchen sink" approach—throwing every useful tool (reinforcement learning, human feedback, heavy data augmentation, and smart guessing) into the pot until it worked.

The main takeaway is that for robots to handle messy, unpredictable things like clothes, they need to be able to predict their own success, learn from human fixes, and be trained in chaotic, varied environments so they don't get confused when reality doesn't look like the video game.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →