Anonymous Affiliation · Anonymous Email
The three-dimensional bin packing problem (3D-BPP) is fundamental in robotic palletizing and warehouse automation, where systems must generate compact, feasible layouts that also satisfy user-defined requirements. Existing exact and heuristic methods scale poorly or cannot accommodate dynamic preferences, while learning-based approaches typically require retraining for new constraints. We present DiffusionPack, a planning framework that formulates 3D-BPP as a conditional generation problem and learns the joint distribution of complete packing layouts using a diffusion model. To ensure physical feasibility, diffusion outputs are refined through a projection mechanism guided by point-based heuristics. The method incorporates user guidance at inference: hard constraints are enforced through inpainting, and soft preferences are integrated via guidance functions. Natural language instructions are supported through an LLM that translates user input into constraint specifications. Real-world validation on a Franka robot demonstrate the applicability of our approach to practical robotic packing tasks.
Overview
Three core technical advances enabling preference-conditioned 3D bin packing
DiffusionPack pipeline: from noisy centroids to feasible packing configurations
Real DiT model outputs — centroids recorded at 30 DDPM keyframes across 250 denoising steps, with EMS projection at t=0
Evaluated on Cutting Stock Dataset (CSD) and Randomly Sampled Dataset (RSD), 16 and 32 items
| Method | Time (s) | CSD-16 UR | CSD-16 PD | CSD-32 UR | CSD-32 PD | RSD-16 UR | RSD-16 PD | RSD-32 UR | RSD-32 PD |
|---|---|---|---|---|---|---|---|---|---|
| First Fit (EP) | 0.01 | 56.7 | 44.8 | 53.2 | 43.7 | 57.4 | 54.4 | 67.5 | 67.1 |
| Key Point | 0.04 | 61.3 | 53.5 | 60.1 | 53.5 | 63.0 | 66.4 | 69.7 | 69.9 |
| BRKGA | 1.20 | 58.9 | 45.4 | 58.1 | 45.3 | 64.7 | 57.6 | 71.1 | 68.3 |
| DBLF + GA | 1.44 | 94.5 | 82.0 | 70.8 | 60.3 | 71.4 | 58.1 | 67.5 | 65.3 |
| RCQL | 1.25 | 87.1 | 71.8 | 62.6 | 59.3 | 69.1 | 57.8 | 69.6 | 61.3 |
| Ranked-Reward | 360 | 49.3 | 53.8 | 50.9 | 57.6 | 61.9 | 64.3 | 71.8 | 72.0 |
| GUROBI | 63.22 | 97.1 | 81.8 | 77.6 | 69.3 | 74.8 | 67.9 | 73.6 | 68.3 |
| Diffusion-Only | 8.05 | 48.9 | 33.1 | 43.4 | 34.7 | 47.2 | 34.2 | 49.5 | 35.1 |
| Diffusion-CP | 9.95 | 99.2 | 90.1 | 93.5 | 89.1 | 68.3 | 64.0 | 79.6 | 70.7 |
| Diffusion-EP | 8.52 | 99.1 | 90.1 | 93.5 | 89.5 | 68.1 | 59.0 | 80.3 | 71.8 |
| Diffusion-EMS (Ours) | 6.22 | 99.8 | 90.1 | 99.4 | 90.1 | 75.8 | 67.3 | 85.7 | 76.3 |
Effect of projection timing and keypoint strategy on packing quality
EMS yields the strongest performance because it directs projections into large unoccupied spaces with high structural freedom.
Hard and soft constraints expressed in natural language, translated by GPT-4o at inference time
Franka FR3 with suction gripper · ten physical packing trials
If you find DiffusionPack useful, please consider citing our work
@article{diffusionpack2026, title = {DiffusionPack: Offline Bin Packing with Custom Human Preferences}, author = {Anonymous Author(s)}, journal = {Under Review}, year = {2026}, volume = {}, pages = {}, doi = {}, note = {Under review} }