Lune

STOC2024Top-tier venue

Optimization with Pattern-Avoiding Input

Benjamin Aram Berendsohn, László Kozma, Michal Opler

2024Year
1Citations
3Top-tier citations

Abstract

Permutation pattern-avoidance is a central concept of both enumerative and extremal combinatorics. In this paper we study the effect of permutation pattern-avoidance on the complexity of optimization problems.

In the context of the dynamic optimality conjecture (Sleator, Tarjan, STOC 1983), Chalermsook, Goswami, Kozma, Mehlhorn, and Saranurak (FOCS 2015) conjectured that the amortized search cost of an optimal binary search tree (BST) is constant whenever the search sequence is patternavoiding, generalizing earlier conjectures and results (sequential -, traversal-, deque-access) that can be seen as avoiding concrete small patterns. The best known bound to date is 2 α(n)(1+o(1)) recently obtained by Chalermsook, Pettie, and Yingchareonthawornchai (SODA 2024); here n is the BST size and α(•) the inverse-Ackermann function. In this paper we resolve the conjecture, showing a tight O(1) bound. This indicates a barrier to dynamic optimality: any candidate online BST (e.g., splay trees or greedy trees) must match this optimum, but current analysis techniques only give superconstant bounds.

More broadly, we argue that the easiness of pattern-avoiding input is a general phenomenon, not limited to BSTs or even to data structures. To illustrate this, we show that when the input avoids an arbitrary, fixed, a priori unknown pattern, one can efficiently compute:

• a k-server solution of n requests from a unit interval, with total cost n O(1/ log k) , in contrast to the worst-case Θ(n/k) bound, and

• a traveling salesman tour of n points from a unit box, of length O(log n), in contrast to the worst-case Θ( √ n) bound; similar results hold for the euclidean minimum spanning tree, Steiner tree, and nearest-neighbor graphs.

We show the above results to be tight. Our techniques build on the Marcus-Tardos proof of the Stanley-Wilf conjecture, and on the recently emerging concept of twin-width.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 2ce7c495-4058-4c67-8311-4eea06234819

Cited by top-tier papers3

Ask how each one uses it

Builds on6

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines