Lower Bound Techniques in the Comparison-Query Model and Inversion Minimization on Trees
Abstract
Given a rooted tree and a ranking of its leaves, what is the minimum number of inversions of the leaves that can be attained by ordering the tree? This variation of the problem of counting inversions in arrays originated in mathematical psychology, with the evaluation of the Mann--Whitney statistic for detecting differences between distributions as a special case. We study the complexity of the problem in the comparison-query model, used for problems like sorting and selection. For many types of trees with leaves, we establish lower bounds close to the strongest known in the model, namely the lower bound of for sorting items. We show: (a) queries are needed whenever the tree has a subtree that contains a fraction of the leaves. This implies a lower bound of for trees of degree . (b) queries are needed in case the tree is binary. (c) queries are needed for certain classes of trees of degree , including perfect trees with even . The lower bounds are obtained by developing two novel techniques for a generic problem in the comparison-query model and applying them to inversion minimization on trees. Both techniques can be described in terms of the Cayley graph of the symmetric group with adjacent-rank transpositions as the generating set. Consider the subgraph consisting of the edges between vertices with the same value under . We show that the size of any decision tree for must be at least: (i) the number of connected components of this subgraph, and (ii) the factorial of the average degree of the complementary subgraph, divided by . Lower bounds on query complexity then follow by taking the base-2 logarithm.
Cite
@article{arxiv.2211.12441,
title = {Lower Bound Techniques in the Comparison-Query Model and Inversion Minimization on Trees},
author = {Ivan Hu and Dieter van Melkebeek and Andrew Morgan},
journal= {arXiv preprint arXiv:2211.12441},
year = {2024}
}
Comments
55 pages, 18 figures, conference version of paper appeared in the Proceedings of the 2023 ACM-SIAM Symposium on Discrete Algorithms