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

Online Algorithms for Multi-Level Aggregation

Marcin Bienkowski, Martin Böhm, Jaroslaw Byrka, Marek Chrobak, Christoph Dürr, Lukás Folwarczný, Lukasz Jez, Jirí Sgall, Kim Thang Nguyen, Pavel VeselýESA 2015

Abstract

In the Multi-Level Aggregation Problem (MLAP), requests arrive at the nodes of an edge-weighted tree T, and have to be served eventually. A service is defined as a subtree X of T that contains its root. This subtree X serves all requests that are pending in the nodes of X, and the cost of this service is equal to the total weight of X. Each request also incurs waiting cost between its arrival and service times. The objective is to minimize the total waiting cost of all requests plus the total cost of all service subtrees. MLAP is a generalization of some well-studied optimization problems; for example, for trees of depth 1, MLAP is equivalent to the TCP Acknowledgment Problem, while for trees of depth 2, it is equivalent to the Joint Replenishment Problem. Aggregation problem for trees of arbitrary depth arise in multicasting, sensor networks, communication in organization hierarchies, and in supply-chain management. The instances of MLAP associated with these applications are naturally online, in the sense that aggregation decisions need to be made without information about future requests. Constant-competitive online algorithms are known for MLAP with one or two levels. However, it has been open whether there exist constant competitive online algorithms for trees of depth more than 2. Addressing this open problem, we give the first constant competitive online algorithm for networks of arbitrary (fixed) number of levels. The competitive ratio is O(D^4*2^D), where D is the depth of T. The algorithm works for arbitrary waiting cost functions, including the variant with deadlines. We include several additional results in the paper. We show that a standard lower-bound technique for MLAP, based on so-called Single-Phase instances, cannot give super-constant lower bounds (as a function of the tree depth). This result is established by giving an online algorithm with optimal competitive ratio 4 for such instances on arbitrary trees. We also study the MLAP variant when the tree is a path, for which we give a lower bound of 4 on the competitive ratio, improving the lower bound known for general MLAP. We complement this with a matching upper bound for the deadline setting.

Introduction

The Multi-Level Aggregation Problem (MLAP) is a fundamental optimization challenge where requests arrive at different nodes of a weighted tree over time. To satisfy these requests, an algorithm must "serve" them by selecting a subtree that includes the root. This problem balances two competing costs: the Service Cost (total weight of edges in the chosen subtree) and the Waiting Cost (penalty incurred by each request until it is served).

MLAP is a direct generalization of several classic problems. For trees of depth 1, it is equivalent to the TCP Acknowledgment Problem, and for depth 2, it corresponds to the Joint Replenishment Problem (JRP). While constant-competitive algorithms existed for these low-depth cases, it was previously unknown if such algorithms existed for deeper hierarchies (depth $D \ge 3$).

Methodology

The authors employ several novel theoretical techniques to tackle the complexity of arbitrary tree depths:

  • Reduction to L-Decreasing Trees: The core insight is that the "hardest" instances of MLAP occur when edge weights decrease rapidly from the root to the leaves. The authors prove that any tree can be transformed into an "L-decreasing" tree while only losing a factor of $D$ in the competitive ratio.
  • The OnlTree Algorithm: This online algorithm triggers a service whenever a node becomes "mature"—meaning the accumulated waiting cost of requests in its subtree equals the cost of serving that subtree. When a service is triggered, the algorithm carefully selects which additional nodes to include to amortize future costs.
  • Amortized Analysis via Charging Schemes: To prove the competitive ratio, the authors use a complex charging scheme that maps the costs incurred by the online algorithm to the costs of an optimal offline adversary, identifying "critically overdue" nodes to show the algorithm doesn't overspend relative to the optimum.

Key Results

The paper establishes the first constant-competitive ratio for fixed depth $D$, specifically $O(D^4 2^D)$ for general MLAP and $D^2 2^D$ for the variant with deadlines (MLAP-D).

Summary of competitive ratios for MLAP variants across different tree depths.

As summarized in the table above, the authors also improved the lower bound for the competitive ratio on a path from 3.618 to 4. This matches their upper bound for the deadline setting on paths, suggesting that 4 is a fundamental lower bound for many variations of aggregation problems. Furthermore, they provided a simple 2-approximation algorithm for the offline version of MLAP with deadlines, significantly simplifying previous linear programming-based approaches.

Conclusion

This research provides a significant breakthrough by resolving the open question of constant competitiveness for MLAP at arbitrary depths. The primary remaining limitation is the exponential dependence on depth ($2^D$). While constant for any fixed $D$, the ratio grows rapidly as the tree deepens. Future work may investigate whether a polynomial competitive ratio (e.g., $O(D^k)$) is possible or if randomized algorithms can achieve tighter bounds.

Summary updated

BibTeX
@inproceedings{bienkowski2015online,
  author = {Marcin Bienkowski and Martin Böhm and Jaroslaw Byrka and Marek Chrobak and Christoph Dürr and Lukás Folwarczný and Lukasz Jez and Jirí Sgall and Kim Thang Nguyen and Pavel Veselý},
  title = {{Online Algorithms for Multi-Level Aggregation}},
  booktitle = {ESA},
  year = {2015},
  url = {https://openreview.net/forum?id=QfKZRfV8KW},
}
Figure