cs.AIJun 9, 2024

GFPack++: Attention-Driven Gradient Fields for Optimizing 2D Irregular Packing

Authors: Tianyang Xue, Lin Lu, Yang Liu, Mingdong Wu, Hao Dong, Yanbin Zhang, Renmin Han, Baoquan Chen

Organizations: Shandong University, China · Microsoft Research Asia, China · Peking University, China

Abstract

2D irregular packing is a classic combinatorial optimization problem with various applications, such as material utilization and texture atlas generation. Due to its NP-hard nature, conventional numerical approaches typically encounter slow convergence and high computational costs. Previous research (GFPack) introduced a generative method for gradient-based packing, providing early evidence of its feasibility but faced limitations such as insufficient rotation support, poor boundary adaptability, and high overlap ratios. In this paper, we propose GFPack++, a deeply investigated framework that adopts attention-based geometry and relation encoding, enabling more comprehensive modeling of complex packing relationships. We further design a constrained gradient and a weighting function to enhance both the feasibility of the produced solutions and the learning effectiveness. Experimental results on multiple datasets demonstrate that GFPack++ achieves higher space utilization, supports continuous rotation, generalizes well to arbitrary boundaries, and infers orders of magnitude faster than previous approaches. Codes for this paper are at https://github.com/TimHsue/GFPack-pp.

Figures & tables

Explore similar work

CardsList
  1. GeoNest: Learning to Select Failure-Aware Neighborhoods for the Irregular Knapsack Problem in a Circular Container

    Sep 30, 2026Zhongman Du, Huiming Zhang, Linlin Yang +2Knapsack ConstraintLarge Neighborhood Search

  2. Differentiable Packing of Irregular 3D Objects with Adaptive Container Estimation

    Jun 15, 2026Palak Gupta, Shanmuganathan RamanDifferentiable PhysicsBounding Box