Query Complexity of Inversion Minimization on Trees

Ivan Hu, D. Melkebeek, Andrew Morgan
{"title":"Query Complexity of Inversion Minimization on Trees","authors":"Ivan Hu, D. Melkebeek, Andrew Morgan","doi":"10.48550/arXiv.2211.12441","DOIUrl":null,"url":null,"abstract":"We consider the following computational problem: 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 $n$ leaves, we establish lower bounds close to the strongest known in the model, namely the lower bound of $\\log_2(n!)$ for sorting $n$ items. We show: (a) $\\log_2((\\alpha(1-\\alpha)n)!) - O(\\log n)$ queries are needed whenever the tree has a subtree that contains a fraction $\\alpha$ of the leaves. This implies a lower bound of $\\log_2((\\frac{k}{(k+1)^2}n)!) - O(\\log n)$ for trees of degree $k$. (b) $\\log_2(n!) - O(\\log n)$ queries are needed in case the tree is binary. (c) $\\log_2(n!) - O(k \\log k)$ queries are needed for certain classes of trees of degree $k$, including perfect trees with even $k$. The lower bounds are obtained by developing two novel techniques for a generic problem $\\Pi$ 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 $\\Pi$. We show that the size of any decision tree for $\\Pi$ 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 $n$. Lower bounds on query complexity then follow by taking the base-2 logarithm.","PeriodicalId":11639,"journal":{"name":"Electron. Colloquium Comput. Complex.","volume":"23 1","pages":"2836-2866"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Electron. Colloquium Comput. Complex.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2211.12441","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

We consider the following computational problem: 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 $n$ leaves, we establish lower bounds close to the strongest known in the model, namely the lower bound of $\log_2(n!)$ for sorting $n$ items. We show: (a) $\log_2((\alpha(1-\alpha)n)!) - O(\log n)$ queries are needed whenever the tree has a subtree that contains a fraction $\alpha$ of the leaves. This implies a lower bound of $\log_2((\frac{k}{(k+1)^2}n)!) - O(\log n)$ for trees of degree $k$. (b) $\log_2(n!) - O(\log n)$ queries are needed in case the tree is binary. (c) $\log_2(n!) - O(k \log k)$ queries are needed for certain classes of trees of degree $k$, including perfect trees with even $k$. The lower bounds are obtained by developing two novel techniques for a generic problem $\Pi$ 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 $\Pi$. We show that the size of any decision tree for $\Pi$ 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 $n$. Lower bounds on query complexity then follow by taking the base-2 logarithm.
树上逆最小化的查询复杂度
我们考虑以下计算问题:给定一棵有根的树和它的叶子的排序,通过对树排序可以获得的叶子的最小反转数是多少?数组中计数反转问题的这种变化起源于数学心理学,作为一个特例,对Mann- Whitney统计量的评估用于检测分布之间的差异。我们在比较查询模型中研究问题的复杂性,该模型用于排序和选择等问题。对于具有$n$叶子的许多类型的树,我们建立了接近模型中已知最强的下界,即用于对$n$项排序的$\log_2(n!)$的下界。我们显示:(a)只要树有一个子树,其中包含一部分$\alpha$的叶子,就需要查询$\log_2((\alpha(1-\alpha)n)!) - O(\log n)$。这意味着次为$k$的树的下界为$\log_2((\frac{k}{(k+1)^2}n)!) - O(\log n)$。(b)如果树是二叉树,则需要$\log_2(n!) - O(\log n)$查询。(c)对于某些阶为$k$的树,包括具有偶数阶$k$的完美树,需要查询$\log_2(n!) - O(k \log k)$。下界是通过开发两种新技术来解决比较查询模型中的一个通用问题$\Pi$,并将它们应用于树的反演最小化。这两种技术都可以用邻接秩调换对称群的Cayley图作为生成集来描述。考虑在$\Pi$下由具有相同值的顶点之间的边组成的子图。我们证明了$\Pi$的任何决策树的大小必须至少是:(i)该子图的连接分量的数量,以及(ii)互补子图的平均度的阶乘除以$n$。查询复杂度的下界,然后取以2为底的对数。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信