Skip to main content
QUICK REVIEW

[Paper Review] Online Stochastic Bin Packing

Varun Gupta, Ana Radovanović|arXiv (Cornell University)|Nov 12, 2012
Optimization and Search ProblemsComputer Science18 references25 citations
TL;DR

This paper introduces a family of distribution-oblivious online stochastic bin packing algorithms inspired by interior-point methods in convex optimization. The algorithms achieve $Ø(\sqrt{T})$ additive suboptimality across all item size distributions, outperforming prior learning-based or distribution-specific methods that only achieve $o(T)$ regret under restrictive assumptions.

ABSTRACT

Bin packing is an algorithmic problem that arises in diverse applications such as remnant inventory systems, shipping logistics, and appointment scheduling. In its simplest variant, a sequence of $T$ items (e.g., orders for raw material, packages for delivery) is revealed one at a time, and each item must be packed on arrival in an available bin (e.g., remnant pieces of raw material in inventory, shipping containers). The sizes of items are i.i.d. samples from an unknown distribution, but the sizes are known when the items arrive. The goal is to minimize the number of non-empty bins (equivalently waste, defined to be the total unused space in non-empty bins). This problem has been extensively studied in the Operations Research and Theoretical Computer Science communities, yet all existing heuristics either rely on learning the distribution or exhibit $o(T)$ additive suboptimality compared to the optimal offline algorithm only for certain classes of distributions (those with sublinear optimal expected waste). In this paper, we propose a family of algorithms which are the first truly distribution-oblivious algorithms for stochastic bin packing, and achieve $\mathcal{O}(\sqrt{T})$ additive suboptimality for all item size distributions. Our algorithms are inspired by approximate interior-point algorithms for convex optimization. In addition to regret guarantees for discrete i.i.d. sequences, we extend our results to continuous item size distribution with bounded density, and also prove a family of novel regret bounds for non-i.i.d. input sequences. To the best of our knowledge these are the first such results for non-i.i.d. and non-random-permutation input sequences for online stochastic packing.

Motivation & Objective

  • Address the gap in online stochastic bin packing where existing heuristics require distribution learning or only work for specific distributions with sublinear optimal waste.
  • Develop algorithms that are truly distribution-oblivious—requiring no prior knowledge of the item size distribution—yet achieve strong regret bounds.
  • Provide the first regret guarantees for non-i.i.d. and non-random-permutation input sequences in online stochastic bin packing.
  • Extend theoretical results from discrete i.i.d. sequences to continuous distributions with bounded density.
  • Achieve $Ø(\sqrt{T})$ additive suboptimality for all item size distributions, regardless of the underlying distributional properties.

Proposed method

  • Formulate the online bin packing problem as a convex optimization problem using a penalized Lagrangian dual framework.
  • Design a primal-dual algorithm based on interior-point methods, where the penalty function (e.g., log-barrier or translated-quadratic) ensures smoothness and stability.
  • Use a dynamic update rule that adjusts bin usage based on the current state and item arrival, minimizing the Lagrangian function incrementally.
  • Bound the expected change in the Lagrangian per item arrival using second-order Taylor expansion and properties of the penalty function.
  • Derive regret bounds by relating the change in the Lagrangian of the online algorithm to that of an idealized offline algorithm $A_F$.
  • Apply concentration and smoothness arguments to show that the suboptimality gap grows as $\mathcal{O}(\sqrt{T})$ for all distributions, including continuous and non-i.i.d. inputs.

Experimental results

Research questions

  • RQ1Can we design an online bin packing algorithm that achieves $\mathcal{O}(\sqrt{T})$ additive suboptimality across all item size distributions without learning the distribution?
  • RQ2How can interior-point methods from convex optimization be adapted to online, sequential decision-making in stochastic bin packing?
  • RQ3What regret bounds can be established for non-i.i.d. or semi-adversarial input sequences in online stochastic bin packing?
  • RQ4Can distribution-oblivious algorithms achieve suboptimality that is sublinear in $T$ for all distributions, including those with heavy-tailed or bounded-density item sizes?
  • RQ5What penalty functions in the primal-dual framework yield optimal trade-offs between convergence and regret in this setting?

Key findings

  • The proposed primal-dual algorithm with a log-barrier penalty achieves regret bounded by $Tb(F) + 4\sqrt{BT\log(T+1)}$, where $b(F)$ is the optimal expected waste per item.
  • Using a translated-quadratic penalty function yields a tighter regret bound of $Tb(F) + \sqrt{2BT}$, independent of logarithmic factors.
  • The algorithm achieves $\mathcal{O}(\sqrt{T})$ additive suboptimality for all item size distributions, including continuous distributions with bounded density.
  • For non-i.i.d. or semi-adversarial sequences, the framework provides novel regret bounds, extending beyond i.i.d. and random-permutation assumptions.
  • The method is distribution-oblivious: it does not require estimating or learning the underlying distribution of item sizes.
  • The theoretical analysis establishes that the expected number of bins used is within $\mathcal{O}(\sqrt{T})$ of the optimal offline solution across all distributions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.