HERB: Human-augmented Efficient Reinforcement learning for Bin-packing

Gojko Perovic, Nuno Ferreira Duarte, Atabak Dehban, Gonçalo Teixeira, Egidio Falotico, José Santos-VictorarXiv 2025 · DOI

Abstract

HERB (Human-augmented Efficient Reinforcement learning for Bin-packing) is a hybrid framework that combines human intuition for object sequencing with Reinforcement Learning (RL) for precise 3D placement. By leveraging human-demonstrated sequences to narrow the search space, HERB achieves higher packing success rates and better physical stability than traditional heuristics or pure RL approaches.

Introduction

Packing irregular, real-world objects into a container is a significant challenge in robotics. While 2D bin-packing is NP-hard, the 3D version introduces complexities such as combinatorial explosion in sequencing, latent constraints like stability and fragility, and the computational expense of training pure RL agents in simulation. Humans, however, possess a natural aptitude for the discrete aspects of this task—specifically sequencing and considering physical affordances—while RL excels at fine-tuning continuous parameters like $(x, y, \theta)$ coordinates.

Methodology

HERB decomposes the packing task into two specialized submodules:

  1. Human-like Sequence Planning: Utilizing a Markov chain model trained on human packing data, the system employs a "Beam-3" search algorithm. This predicts the three most "human-compatible" next objects, effectively using human intuition as a heuristic for packing order.
  2. Placement Prediction (RL): A Soft Actor-Critic (SAC) agent determines the final position. The agent receives a top-down heightmap of the container and a projection of the next object. It outputs $(x, y)$ coordinates and a planar rotation $\theta$, while the vertical $z$ coordinate is calculated to ensure the object rests on the highest available surface.
HERB System Architecture

To ensure physical feasibility, the authors introduced a Compactness and Stability (CS) reward function. This rewards volume density while penalizing placements that result in an object tipping over by more than 10 degrees.

Experimental Setup

The framework was trained and evaluated using:

  • BoxED Dataset: Human demonstrations of packing household items, providing both sequences and 3D meshes.
  • PyBullet Simulation: A re-implemented environment for high-speed, parallelized RL training.
  • Physical Validation: Testing on a Baxter robot equipped with a LiDAR camera to evaluate sim-to-real transfer.

Results and Discussion

HERB (specifically the CS0.9 variant) achieved an 87.83% success rate, surpassing both the human baseline (84.41%) and the PackIt Heuristic (82.50%).

Performance metrics comparing HERB variants against baselines.

Key findings include:

  • Efficiency: Inference speed is approximately 0.8ms per placement, significantly faster than geometric heuristics like PackIt SO(3) (~2.5ms).
  • Stability: By explicitly rewarding stability, HERB learns "canonical" orientations (e.g., keeping bottles upright), a behavior often ignored by purely geometric solvers but essential for real-world deployment.
  • Robustness: The policy demonstrated successful 0-shot transfer to a physical Baxter robot, handling noisy real-world sensor data without additional fine-tuning.

Conclusion

By dividing the packing problem into human-augmented sequencing and RL-based placement, HERB addresses the limitations of pure trial-and-error learning. Future work aims to replace the static Markov chain with Vision-Language Models (VLMs) for dynamic reasoning and to integrate complex manipulation constraints such as side-loading and grasp planning.

Summary updated

BibTeX
@misc{perovic2025herb,
  author = {Gojko Perovic and Nuno Ferreira Duarte and Atabak Dehban and Gonçalo Teixeira and Egidio Falotico and José Santos-Victor},
  title = {{HERB: Human-augmented Efficient Reinforcement learning for Bin-packing}},
  year = {2025},
  eprint = {2504.16595},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.16595},
}
Figure