NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Geometry Meets Vectors: Approximation Algorithms for Multidimensional Packing

Arindam Khan, Eklavya Sharma, K. V. N. Sreenivas

TL;DR

This paper introduces the first theoretical approximation algorithms for generalized multidimensional bin packing (GVBP), a setting where items must satisfy both non-overlapping geometric packing constraints (e.g., 2D/3D shapes) and multiple vector capacity constraints (e.g., weight, radioactivity, cost limits). The authors dramatically extend the classical Round-and-Approx (R&A) framework and develop sophisticated structural packing techniques to achieve an asymptotic approximation ratio of $2(1 + \ln((d + 4)/2)) + \varepsilon$ for 2D items with $d$ vector constraints, improving to $2.919 + \varepsilon$ when $d = 1$.

What Problem Does This Paper Address?

In traditional packing problems, theory typically separates two worlds:

  1. Geometric Bin Packing (GBP): Items are boxes/rectangles that must physically fit into bins without overlapping.
  2. Vector Bin Packing (VBP): Items are multidimensional vectors (e.g., CPU, RAM, bandwidth) whose sums along each attribute cannot exceed bin capacity.

In real-world logistics (such as loading cargo airplanes or container shipping), both constraints exist simultaneously: packages have physical dimensions, but bins also have strict payload limits (weight, hazardous material thresholds, or balance requirements). Despite extensive practical heuristics, theoretical guarantees for combining geometric and vector packing—termed $(d_g, d_v)$ bin packing—have remained largely unexplored.

Methods

The paper develops algorithms ranging from straightforward reductions to advanced LP rounding techniques:

  1. Simple Baselines (simplePack & betterSimplePack):
  2. simplePack defines an item's "span" as $\max(\text{volume}, \max \text{weight})$. It packs items into 1D bins via Next-Fit, then repacks each bin into at most 3 geometric bins using Steinberg’s algorithm.
  3. betterSimplePack projects the geometry into a single scalar dimension (area) to construct a $(d+1)$-dimensional vector packing instance, solves it using known VBP algorithms, and applies Steinberg's algorithm to each bin.
  4. Broadening the Round-and-Approx (R&A) Framework:
  5. Previous R&A methods were restricted to pure geometric or vector settings, required PTAS-solvable knapsack subproblems, and only allowed rounding up sizes inside rigid container structures.
  6. The authors extend R&A to handle joint $(d_g, d_v)$ items, integrate approximate covering LP solvers, permit non-container packings, and crucially allow rounding down dimensions (paired with an explicit "unrounding" step).
  7. They also identify and fix a flaw in prior literature where rounding was incorrectly applied to residual random item subsets rather than deterministically on the full instance.
  8. Compartmental Packing (cbPack):
  9. The authors develop an algorithm inspired by 2D packing with resource augmentation. Items are categorized geometrically (big, wide, tall, small) and by density ($\text{weight}/\text{area}$).
  10. Dense items are packed into designated thin compartments via Next-Fit Decreasing Height (NFDH), effectively decoupling their geometry from their weights.
  11. Non-dense items undergo structured linear grouping. Introducing an $\varepsilon$-slack across bins allows solving an LP to pack items into containers while preventing vector capacity violations.

Datasets

Not discussed in the paper. (The work is entirely theoretical and evaluates algorithmic performance through mathematical proofs and asymptotic approximation ratios.)

Key Insights and Ideas

  • Density-Based Item Segregation: In pure geometry, items with tiny total area easily fit into few bins. With vector weights, a tiny item can have huge weight, breaking standard geometric grouping. Splitting items by density ($\text{weight}/\text{area}$) allows dense items to be treated almost purely as vectors in a tiny reserved geometric strip, while non-dense items can be rearranged geometrically without risking mass capacity blowups.
  • Rounding Down in R&A: Classical R&A methods only rounded dimensions up, which limits how tightly items can be grouped. By proving conditions under which rounding down dimensions (e.g., zeroing out tiny widths/heights) can be cleanly "unrounded," the authors enable much sharper structural bounds.
  • Tight Dependency on Vector Dimensions: Since $d$-dimensional vector packing is known to be NP-hard to approximate better than $O(\log d)$, the paper's $O(\ln d)$ dependency demonstrates that adding geometric constraints does not worsen the asymptotic hardness with respect to $d$.

Key Results

For $(2, d)$ bin packing (2D rectangles with $d$ vector dimensions), the algorithms achieve the following Asymptotic Approximation Ratios (AAR):

Algorithm AAR for $(2, d)$ BP AAR for $(2, 1)$ BP
simplePack $6(d + 1)$ $12$
betterSimplePack $3(1 + \ln(d + 1)) + \varepsilon$ $\approx 4.216 + \varepsilon$
simplePack with R&A $2(1 + \ln(3(d + 1))) + \varepsilon$ $\approx 5.584 + \varepsilon$
cbPack with R&A (no rotation) $2(1 + \ln(\frac{d+4}{2})) + \varepsilon$ $\approx 2.919 + \varepsilon$
cbPack with R&A (with rotation) $2(1 + \ln(\frac{d+3}{2})) + \varepsilon$ $\approx 2.811 + \varepsilon$

For general $(d_g, d_v)$ packing (higher-dimensional cuboids), simplePack and betterSimplePack generalize to AARs of $2b(d_v + 1)$ and $b(1 + \ln(d_v + 1) + \varepsilon)$ respectively, where $b = 9$ for 3D cuboids and $b = 4^{d_g} + 2^{d_g}$ for $d_g > 3$.

Limitations and Future Work

  • Constant Dimensions Requirement: Both $d_g$ and $d_v$ must be fixed constants; if $d_v$ is part of the input, the problem admits an inapproximability bound of $d_v^{1-\varepsilon}$.
  • High Constant Factors in Runtime: The compartmental packing and LP enumeration rely on constants depending exponentially on $1/\varepsilon$ (hidden inside $O_\varepsilon(1)$ terms), making cbPack primarily of theoretical interest rather than directly deployable without heuristics.
  • Closing the Gap: While the logarithmic dependence on $d_v$ is asymptotically tight up to constant factors, narrowing the gap between the upper bounds and known lower bounds remains open.

Summary updated

BibTeX
@inproceedings{khan2022geometry,
  author = {Arindam Khan and Eklavya Sharma and K. V. N. Sreenivas},
  title = {{Geometry Meets Vectors: Approximation Algorithms for Multidimensional Packing}},
  booktitle = {FSTTCS},
  year = {2022},
  url = {https://openreview.net/forum?id=1ThJIHOQCq},
}

Loading related content...

Figure