SDF-Pack: Towards Compact Bin Packing with Signed-Distance-Field Minimization

Jia-Hui Pan, Ka-Hei Hui, Xiaojie Gao, Shize Zhu, Yun-Hui Liu, Pheng-Ann Heng, Chi-Wing Fu · DOI

TL;DR

This paper introduces SDF-Pack, a novel approach for robotic bin packing that uses Signed Distance Fields (SDFs) to model container geometry and find optimal object placements for maximum compactness. It outperforms existing methods in packing more objects into containers, even with controllable packing sequences.

What Problem Does This Paper Address?

Robotic bin packing, the task of automatically arranging objects in a container, is crucial for logistics and automation. However, achieving compact packing, especially with irregularly shaped everyday objects, is a significant challenge. Existing methods often struggle to effectively model complex geometries, consider the subtle spatial relationships between objects (even non-contacting ones), and do so quickly enough for real-time robotic applications. This leads to wasted space and fewer items packed.

Methods

SDF-Pack tackles this by leveraging Signed Distance Fields (SDFs). Here's a breakdown of their approach:

  • Container Modeling with Truncated SDF (TSDF): They represent the container's occupied space using a TSDF. This field stores the shortest distance from any point in the container to the nearest object or container surface. A positive value means free space, and a negative value means occupied space. Using a truncated SDF limits the computation to a local neighborhood, improving efficiency.
  • SDF-Minimization Heuristic: The core innovation is a heuristic function that evaluates potential object placements. This function aims to:
  • Minimize average TSDF: Encourages placing objects close to existing ones and container walls.
  • Promote axis-aligned placements: Aims for more regular orientations for better packing (weighted term).
  • Maximize depth: Encourages placing objects as low as possible in the container to leave more space at the top.
  • Controllable Packing Sequence: When the order of objects to be packed isn't fixed, SDF-Pack can suggest the best object to pack next. This is achieved by extending the heuristic to include a size-balancing term, which favors packing larger objects earlier to prevent fragmentation of space, while still considering how smaller objects might fit into available gaps.
  • GPU Acceleration: To speed up TSDF construction, they utilize GPU computation, significantly reducing processing time.
  • Local Updates: After an object is placed, only the SDF in the local vicinity of the new object is updated, further enhancing efficiency.

Datasets

The paper evaluates SDF-Pack on two datasets of real-world objects:

  • YCB dataset: Contains 71 types of everyday objects.
  • Rutgers APC RGB-D dataset: Contains 25 types of objects.

They created a dataset of 1,000 packing cases by randomly generating sequences of these objects.

Key Insights and Ideas

  • SDFs as a Unified Geometric Representation: Using SDFs provides a powerful and flexible way to represent complex container geometries and assess spatial compactness, going beyond simple bounding boxes or heightmaps.
  • Beyond Direct Contact: The SDF-minimization heuristic is crucial because it can account for the "proximity" of objects, even if they aren't directly touching. This allows for tighter packing by filling smaller gaps that other methods might overlook.
  • Intelligent Object Ordering: The size-balancing term for controllable sequences is a clever way to avoid the pitfall of packing small objects too early, which can lead to inefficient space utilization later.
  • Efficiency Through Truncation and Local Updates: The practical success of SDF-Pack hinges on its computational efficiency, achieved by limiting SDF computations to local regions and updating only affected areas.

Key Results

  • Higher Packing Compactness: SDF-Pack consistently achieved higher packing compactness and packed more objects (up to 10 more in some cases) compared to state-of-the-art heuristics like Deepest Bottom-Left (DBL), Maximum Touching Area (MTA), and Heightmap Minimization (HM).
  • Improved Packed Volume: On average, SDF-Pack achieved a 7.8% increase in packed volume in fixed packing sequences and a 6.7% increase in controllable sequences (using a bounding-box volume decreasing order) compared to DBL.
  • Efficient Computation: The method is computationally efficient, with a per-object processing time comparable to existing heuristics, making it suitable for real-time robotic applications.
  • Visual Proof: Figure 4 shows compelling visual comparisons, demonstrating SDF-Pack's ability to fill containers more uniformly and compactly.

Limitations and Future Work

  • Noise Sensitivity: The authors acknowledge that improving the robustness of packing computation when dealing with noisy heightmap data is a future direction.
  • Deformable Objects: Generalizing the approach to handle non-rigid, deformable objects is another area for future research.
  • Integration with Reinforcement Learning: They plan to explore integrating their SDF-based objective with reinforcement learning to generate even better packing sequences by dynamically adjusting object order.
  • Virtual-to-Real Gap: While they demonstrate a real-world robotic demo, bridging the gap between simulation and real-world performance, especially with sensor noise and actuator limitations, remains an ongoing challenge.

Summary updated

BibTeX
@inproceedings{pan2023sdf,
  author = {Jia-Hui Pan and Ka-Hei Hui and Xiaojie Gao and Shize Zhu and Yun-Hui Liu and Pheng-Ann Heng and Chi-Wing Fu},
  title = {{SDF-Pack: Towards Compact Bin Packing with Signed-Distance-Field Minimization}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2023},
  doi = {10.1109/iros55552.2023.10341940},
}
Figure