Collaborate sim and real: Robot Bin Packing Learning in Real-world and Physical Engine

Lidi Zhang, Han Wu, Liyu Zhang, Ruofeng Liu, Haotian Wang, Chao Li, Desheng Zhang, Yunhuai Liu, Tian HearXiv 2025 · DOI

Introduction

The 3-Dimensional Bin Packing Problem (3D-BPP) is a critical challenge in logistics, focusing on maximizing space utilization within containers. While traditionally approached as a static geometric optimization problem, real-world deployment reveals significant complexities. In actual warehouse environments, physical forces such as gravity, friction, and non-uniform weight distribution cause items to slide or collapse if not balanced precisely. Static models, which ignore these dynamics, often suffer from collapse rates as high as 70% when executed by robotic systems.

The Sim-to-Real Challenge

Bridging the gap between idealized mathematical models and messy physical reality is the primary hurdle. Even high-fidelity physics engines like NVIDIA Isaac Sim face a "sim-to-real gap" because they typically assume perfect geometries and uniform material properties. Real-world packages are frequently irregular, slippery, or top-heavy.

The CoPack framework addresses the gaps between static modeling, physical simulation, and real-world deployment.

The CoPack Framework

To address these issues, we present CoPack, a hybrid reinforcement learning (RL) framework that integrates static pre-training, physical simulation, and real-world feedback.

The three-stage CoPack architecture: static pre-training, simulation-based training with domain randomization, and real-world fine-tuning.

The framework operates in three distinct stages:

  1. Static Pre-training: The agent first masters basic space maximization in a rule-based environment. This provides a computationally efficient "warm start" for subsequent learning.
  2. Physical Simulation with Domain Randomization: Training transitions to a physics-heavy environment (Isaac Sim). To ensure robustness, we measured over 100 real packages to establish realistic ranges for friction and center-of-gravity offsets. These parameters are randomized during training, forcing the agent to learn strategies that generalize across diverse physical conditions.
  3. Collaborative Real-world Fine-tuning: The model is fine-tuned using data from actual robot deployments. By identifying "negative samples"—instances where simulation predicted stability but the real world resulted in collapse—the RL model learns to avoid high-risk placements through a trajectory-aligned mechanism.

The underlying architecture utilizes a Graph Attention Network (GAT) to encode the bin state, while an Actor-Critic (ACKTR) method handles the RL updates.

Key Insights and Methodology

A central finding of this work is that static stability rules (e.g., center-of-mass support) are insufficient for robotic packing. They fail to account for the dynamic impacts and vibrations introduced when a robotic arm releases a package.

CoPack overcomes this by:

  • Measured Randomization: Grounding simulation parameters in empirical data rather than heuristic ranges.
  • Learning from Failure: Treating real-world collapses as high-penalty training signals.
  • Pruned Action Space: Using Empty Maximal Space (EMS) for position generation, then pruning based on robotic reachability and collision constraints.

Results and Deployment

CoPack was evaluated against state-of-the-art baselines and deployed in large-scale logistics operations using ABB IRB4600 robot arms. Key performance metrics include:

  • Stability: A 35% reduction in package collapses compared to standard RL and heuristic methods.
  • Efficiency: A space utilization rate of 60.23% on real-world data, significantly outperforming existing RL models (37-51%).
  • Scale: Successful processing of over 100,000 parcels across multiple facilities by mid-2025.

Conclusion

CoPack demonstrates that integrating physical grounding and real-world failure data into the RL loop is essential for practical robotic bin packing. Future work will focus on reducing simulation bottlenecks and incorporating multi-modal sensory feedback, such as vision and tactile data, to enable real-time adjustments during the placement process.

Summary updated

BibTeX
@misc{zhang2025collaborate,
  author = {Lidi Zhang and Han Wu and Liyu Zhang and Ruofeng Liu and Haotian Wang and Chao Li and Desheng Zhang and Yunhuai Liu and Tian He},
  title = {{Collaborate sim and real: Robot Bin Packing Learning in Real-world and Physical Engine}},
  year = {2025},
  eprint = {2511.19932},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.19932},
}
Figure