arXiv:2609.07913cs.DSSep 2026

Manuscript Offprint

arXiv:2609.07913

Improved Upper Bounds for Dynamic Bin Packing of General, Unit-Fraction, and Power-Fraction Squares

Miguel A. Mini, Flávio K. Miyazawa, Gabriel M. Silva, Yoshiko Wakabayashi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

This paper presents significant upper-bound improvements for dynamic 2D square bin packing, where square items arrive and depart over time and the objective is to minimize the peak number of concurrent active unit bins. In our model, repacking is permitted only within a destination bin upon item arrival; migration between active bins is strictly forbidden. By introducing a streamlined two-list algorithm and proving a tight 5/16 occupied-area bound for Next-Fit Decreasing Height, we reduce the upper bound on the asymptotic competitive ratio for arbitrary squares from 4.2154 down to 3.918, breaking a longstanding theoretical ceiling. For restricted variants, we establish asymptotic competitive ratios of at most 3.356 for unit-fraction side lengths and 2.211 for power-fraction side lengths.

Keywords: Dynamic bin packing; square packing; online algorithms; competitive analysis.

1 Introduction

The dynamic square bin packing problem is an online multidimensional packing problem in which square items arrive and depart over time. The primary objective is to minimize the peak number of active bins required simultaneously throughout the entire packing process. We adopt the model introduced by Epstein and Levy [6], where departure times are unknown to the online algorithm and item migration between bins is forbidden. However, upon the arrival of a new item, the algorithm may repack items within their destination bin to exploit space vacated by previous departures, enabling internal restructuring via algorithms such as Next-Fit Decreasing Height (NFDH). Repacking is prohibited upon item departures.

In the one-dimensional dynamic setting, introduced by Coffman, Garey, and Johnson [5], a modified First-Fit algorithm achieves an asymptotic competitive ratio of at most 2.788, alongside an online lower bound of 2.388. They also showed a lower bound of 2.5 when the offline adversary is allowed to repack items (even moving them to other bins). Chan, Wong, and Yung [3] strengthened this lower bound by showing that 2.5 holds even against an offline adversary who is not allowed to repack, which Wong, Yung, and Burcea [11] later improved to 8/3.

Epstein and Levy [6] initiated the study of dd-dimensional dynamic bin packing for d≥2d \geq 2. For two-dimensional squares, they gave an algorithm with an asymptotic competitive ratio of 4.2154 and established a lower bound of 2.2307. They also derived upper and lower bounds for rectangles (8.5754 and 3.7), cubes (5.37037 and 2.117), and general dd-dimensional items (2×3.5d2\times3.5^d and d+1d+1). Subsequently, Wong and Yung [10] improved the upper bounds for general dd-dimensional items to 7.788 (d=2d=2),

22.788 (d=3d=3) and 3d3^d (d≥4d \geq 4), but for general squares, 4.2154 has remained the best-known upper bound.

A prominent restriction considers unit-fraction items, whose side lengths take the form 1/k1/k for k∈Z≥1k \in \mathbb{Z}_{\geq 1}. This structure enables tighter density guarantees and often serves as a stepping stone toward the general case. Bar-Noy, Ladner, and Tamir [1] analyzed standard online 1D unit-fraction packing, while Chan, Lam, and Wong [4] proved that Any-Fit algorithms are 3-competitive and First-Fit achieves a ratio of 2.4942 against a 2.45 lower bound. Han et al. [8] generalized the analytical framework for First-Fit under maximum item size restrictions.

Extending unit-fraction packing to higher dimensions, Burcea, Wong, and Yung [2] developed specialized classification schemes for two- and three-dimensional items, including power-fraction items with side lengths 2−k2^{-k} for k∈Z≥0k \in \mathbb{Z}_{\geq 0}. Their First-Fit strategies yielded competitive ratios of 6.7850 (2D) and 21.6108 (3D) for unit-fraction items, and 6.2455 for 2D power-fraction items. When restricted to unit-fraction squares, their analysis implicitly yields a 3.9654-competitive algorithm, improving on the 4.2154 general bound.

Contributions. We present improved online algorithms and tightened competitive bounds for dynamic 2D square packing across three settings:

  • General Squares: We achieve an asymptotic competitive ratio of at most 3.918, improving the 4.2154 bound of Epstein and Levy [6]. While Epstein and Levy split the item sequence into three sublists, our improvement stems from a streamlined classification into two sublists, paired with a tighter lower bound on bin area occupancy through a refined analysis of NFDH.

  • Unit-Fraction Squares: We improve the upper bound from 3.9654 to 3.356.

  • Power-Fraction Squares: We improve the competitive ratio from 2.4842 (inherited from 1D unit-fraction dynamic packing [8]) to 2.211.

For both restricted settings, the tighter bounds follow from exact computations of the minimum occupied area in levels that cannot accommodate a given item. As the 2.2307 lower bound of Epstein and Levy [6] uses unit-fraction square inputs, it applies directly to both general and unit-fraction variants. Our results reduce the competitive gap from 1.89 to 1.76 for general squares, and from 1.78 to 1.50 for unit-fraction squares.

Organization. Section 2 provides technical preliminaries. Section 3 presents the general dynamic square packing algorithm. Sections 4 and 5 introduce the specialized analyses for unit-fraction and power-fraction items, respectively.