SHORE: Stability-Hybrid On-Policy Reinforcement Learning for Online Bin Packing

Chang Shi, Ann Majewicz FeyarXiv 2026

TL;DR

SHORE (Stability-Hybrid On-Policy Reinforcement Learning) is a new approach to 3D bin packing that integrates a learned physics-based stability model directly into an actor-critic framework. By treating stability as a continuous probability rather than a binary "allowed/forbidden" mask, SHORE allows agents to intelligently trade off the risk of a stack collapse against the potential for higher volume utilization, leading to faster learning and denser packing.

What Problem Does This Paper Address?

Online 3D bin packing is a classic logistics challenge: boxes arrive one by one, and a robot must decide which box to pick from a small buffer, how to orient it, and where to place it in a bin without knowing what boxes will arrive next.

The ultimate goal is to maximize space utilization (pack as much volume as possible) while ensuring physical stability. If the stack collapses, the episode ends immediately, and all remaining volume is lost. Most existing Reinforcement Learning (RL) methods handle stability using "hard masks"—geometric rules that simply forbid certain placements. However, these masks are often too rigid, preventing the agent from making "risky but rewarding" moves, and they don't allow the agent to consider how a placement might affect the stability of the stack long-term.

Fig. 1: Illustration of the online bin packing setting with a finite processing buffer. The packing agent selects a box from the buffer, its orientation, and its placement while future arrivals remain unknown.

Methods

The authors propose SHORE, which fuses a learned stability model with a discrete on-policy actor-critic learner (specifically, a discretized version of REPPO).

Key components include:

  • Stability Model (3D U-Net): A dedicated neural network that takes the current bin occupancy and the properties of the box to be placed (dimensions, density) and predicts the probability that the placement will be stable.
  • Hybrid Integration: Unlike previous methods that use stability as a post-hoc filter, SHORE integrates the stability estimate $S$ into two places:
  • Actor Prior: It acts as a "soft" guide for the actor, nudging it toward stable actions without strictly forbidding others.
  • Critic Weighting: It factors the critic's value function, essentially teaching the critic that the value of an action is the probability of survival multiplied by the expected future return.
  • Simulated Alternatives: During training, SHORE doesn't just learn from the actions it took. It uses parallel simulations in Isaac Gym to label "what-if" scenarios—testing other possible placements to gather more data on what causes collapses, which significantly accelerates early training.
  • Safeguards: To prevent an untrained, noisy stability model from derailing the RL agent, SHORE uses an "activation gate." The stability model only starts influencing the policy once it reaches a specific accuracy threshold (AUROC > 0.8).
Fig. 2: SHORE framework. The bin configuration Ct and the buffer dt are encoded as EMS tokens and (box, orientation) item tokens, and the rule-based mask m keeps the geometrically valid pairs. The actor, a Packing Transformer, scores every valid pair and samples the action a = (u, k), which Isaac Gym executes and adjudicates by Eq. (2). A second Packing Transformer, the critic, values every pair in one pass, and a discretized REPPO learner updates both from on-policy rollouts (Sec. IV-B).

Datasets

The researchers evaluated SHORE on two primary sets:

  1. Base Set: A simpler environment with 4 box types and 40 arrivals per episode.
  2. Expanded FBA Set: A more challenging benchmark inspired by Amazon Fulfillment (FBA) box rules, featuring 12 different geometries and 60 arrivals per episode. This set includes a mix of light/deformable and heavy/rigid boxes, making stability highly dependent on the internal density layout of the stack, not just the top surface.

Key Insights and Ideas

  • Risk vs. Reward: The "aha moment" is that stability shouldn't be a binary constraint. A slightly risky placement that creates a perfectly flat, wide foundation for future heavy boxes might be better than a "safe" placement that leaves the bin disorganized. SHORE’s probabilistic approach enables this trade-off.
  • Factored Value Functions: By explicitly separating "will this collapse now?" from "how good is this for the long term?", the critic has a much easier time learning. Without this, the critic has to conflate two very different signals into one number.
  • Sim-to-Real Transfer: The authors demonstrated that the policy, trained entirely in a high-speed parallel simulator (Isaac Gym), could be deployed on a real UFactory Lite6 robot arm using standard camera inputs, proving the method's practical viability.

Key Results

  • Faster Learning: In the Isaac Gym environment, SHORE reached 73% space utilization in just 0.4 million environment steps. A standard learner without the stability model required 1 million steps to reach the same level.
  • Higher Utilization: On the demanding 60-box expanded set, SHORE achieved a space utilization of 0.734, significantly outperforming the state-of-the-art GOPT baseline, which reached 0.588.
  • Better Risk Management: SHORE maintained a better balance between packing density and failure rates. While it took more risks than the most conservative baselines, those risks were "smarter," resulting in much higher total packed volume.

Limitations and Future Work

  • Credit Assignment for Collapses: Currently, if a placement causes a collapse, that specific action is penalized. However, the true cause might have been a "fragile" structure built several steps earlier. Future work could look at better temporal credit assignment for stability.
  • Robot Constraints: The RL agent currently focuses on packing logic and physics. It does not explicitly account for robot-specific constraints like reachability, joint limits, or potential collisions between the gripper and the bin walls during the optimization process.
  • Exogenous Factors: The authors suggest that future versions could benefit from explicitly modeling the distribution of incoming boxes to better prepare for future arrivals.

Summary updated

Abstract

Online 3D bin packing with a processing buffer requires choosing which box to pack, its orientation, and its placement while keeping the stack stable under unknown future arrivals. A collapse ends the episode and forfeits the remaining volume. Existing methods use geometric rules or hard stability masks, limiting how risk can influence the joint choice of box, orientation, and placement. We propose Stability-Hybrid On-Policy Reinforcement Learning (SHORE), which combines a learned stability probability of a placement with an on-policy estimate of its return conditional on stability. A 3D U-Net learns stability from executed outcomes and simulated alternatives, revealing outcomes of actions underrepresented in early rollouts. A discrete on-policy actor--critic uses stability predictions in both its action values and policy prior, with gates that limit the effect of an untrained or changing model. In deployment, SHORE does not require additional search or simulation overhead. In Isaac Gym, SHORE reaches 73\% space utilization by 0.4M environment steps, while the same learner without stability modeling reaches that level at about 1M. On the expanded 60-box set, SHORE achieves 0.734 space utilization versus 0.588 for the GOPT state-of-the-art baseline, with a higher placement-failure frequency (1.03\% vs. 0.63\%), trading more risk for greater packed volume. The results show faster learning and higher utilization on the more demanding realistic box arrival set. Ablations suggest that simulated alternatives provide useful early supervision, while executed outcomes alone sustain later performance. We also demonstrate the method on a real robot to verify the simplicity of integrating the method to real bin packing pipelines.
BibTeX
@misc{shi2026shore,
  author = {Chang Shi and Ann Majewicz Fey},
  title = {{SHORE: Stability-Hybrid On-Policy Reinforcement Learning for Online Bin Packing}},
  year = {2026},
  eprint = {2611.08364},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08364},
}
Figure