Lijie Chen, E. Demaine, Yuzhou Gu, V. V. Williams, Yinzhan Xu, Yuancheng Yu
{"title":"部分和完全追溯数据结构之间的几乎最优分离","authors":"Lijie Chen, E. Demaine, Yuzhou Gu, V. V. Williams, Yinzhan Xu, Yuancheng Yu","doi":"10.4230/LIPIcs.SWAT.2018.33","DOIUrl":null,"url":null,"abstract":"Since the introduction of retroactive data structures at SODA 2004, a major unsolved problem has been to bound the gap between the best partially retroactive data structure (where changes can be made to the past, but only the present can be queried) and the best fully retroactive data structure (where the past can also be queried) for any problem. It was proved in 2004 that any partially retroactive data structure with operation time $T(n,m)$ can be transformed into a fully retroactive data structure with operation time $O(\\sqrt{m} \\cdot T(n,m))$, where $n$ is the size of the data structure and $m$ is the number of operations in the timeline [Demaine 2004], but it has been open for 14 years whether such a gap is necessary. \nIn this paper, we prove nearly matching upper and lower bounds on this gap for all $n$ and $m$. We improve the upper bound for $n \\ll \\sqrt m$ by showing a new transformation with multiplicative overhead $n \\log m$. We then prove a lower bound of $\\min\\{n \\log m, \\sqrt m\\}^{1-o(1)}$ assuming any of the following conjectures: \n- Conjecture I: Circuit SAT requires $2^{n - o(n)}$ time on $n$-input circuits of size $2^{o(n)}$. (Far weaker than the well-believed SETH conjecture, which asserts that CNF SAT with $n$ variables and $O(n)$ clauses already requires $2^{n-o(n)}$ time.) \n- Conjecture II: Online $(\\min,+)$ product between an integer $n\\times n$ matrix and $n$ vectors requires $n^{3 - o(1)}$ time. \n- Conjecture III (3-SUM Conjecture): Given three sets $A,B,C$ of integers, each of size $n$, deciding whether there exist $a \\in A, b \\in B, c \\in C$ such that $a + b + c = 0$ requires $n^{2 - o(1)}$ time. \nOur lower bound construction illustrates an interesting power of fully retroactive queries: they can be used to quickly solve batched pair evaluation. We believe this technique can prove useful for other data structure lower bounds, especially dynamic ones.","PeriodicalId":447445,"journal":{"name":"Scandinavian Workshop on Algorithm Theory","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":"{\"title\":\"Nearly Optimal Separation Between Partially And Fully Retroactive Data Structures\",\"authors\":\"Lijie Chen, E. Demaine, Yuzhou Gu, V. V. Williams, Yinzhan Xu, Yuancheng Yu\",\"doi\":\"10.4230/LIPIcs.SWAT.2018.33\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Since the introduction of retroactive data structures at SODA 2004, a major unsolved problem has been to bound the gap between the best partially retroactive data structure (where changes can be made to the past, but only the present can be queried) and the best fully retroactive data structure (where the past can also be queried) for any problem. It was proved in 2004 that any partially retroactive data structure with operation time $T(n,m)$ can be transformed into a fully retroactive data structure with operation time $O(\\\\sqrt{m} \\\\cdot T(n,m))$, where $n$ is the size of the data structure and $m$ is the number of operations in the timeline [Demaine 2004], but it has been open for 14 years whether such a gap is necessary. \\nIn this paper, we prove nearly matching upper and lower bounds on this gap for all $n$ and $m$. We improve the upper bound for $n \\\\ll \\\\sqrt m$ by showing a new transformation with multiplicative overhead $n \\\\log m$. We then prove a lower bound of $\\\\min\\\\{n \\\\log m, \\\\sqrt m\\\\}^{1-o(1)}$ assuming any of the following conjectures: \\n- Conjecture I: Circuit SAT requires $2^{n - o(n)}$ time on $n$-input circuits of size $2^{o(n)}$. (Far weaker than the well-believed SETH conjecture, which asserts that CNF SAT with $n$ variables and $O(n)$ clauses already requires $2^{n-o(n)}$ time.) \\n- Conjecture II: Online $(\\\\min,+)$ product between an integer $n\\\\times n$ matrix and $n$ vectors requires $n^{3 - o(1)}$ time. \\n- Conjecture III (3-SUM Conjecture): Given three sets $A,B,C$ of integers, each of size $n$, deciding whether there exist $a \\\\in A, b \\\\in B, c \\\\in C$ such that $a + b + c = 0$ requires $n^{2 - o(1)}$ time. \\nOur lower bound construction illustrates an interesting power of fully retroactive queries: they can be used to quickly solve batched pair evaluation. We believe this technique can prove useful for other data structure lower bounds, especially dynamic ones.\",\"PeriodicalId\":447445,\"journal\":{\"name\":\"Scandinavian Workshop on Algorithm Theory\",\"volume\":\"21 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-04-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"7\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Scandinavian Workshop on Algorithm Theory\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.4230/LIPIcs.SWAT.2018.33\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Scandinavian Workshop on Algorithm Theory","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.SWAT.2018.33","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7
摘要
自从SODA 2004引入追溯性数据结构以来,一个主要的未解决的问题是,对于任何问题,最好的部分追溯性数据结构(可以对过去的数据进行更改,但只能查询现在的数据)和最好的完全追溯性数据结构(也可以查询过去的数据)之间的差距。2004年证明,任何具有部分追溯性的操作时间为$T(n,m)$的数据结构都可以转化为具有完全追溯性的操作时间为$O(\sqrt{m} \cdot T(n,m))$的数据结构,其中$n$为数据结构的大小,$m$为时间轴上的操作次数[Demaine 2004],但是否需要这样的差距已经开放了14年。在本文中,我们证明了对于所有$n$和$m$,该间隙的上界和下界几乎匹配。我们通过展示一个新的带有乘法开销$n \log m$的变换来改进$n \ll \sqrt m$的上界。然后,我们证明了$\min\{n \log m, \sqrt m\}^{1-o(1)}$的下界,假设以下猜想中的任何一个:猜想一:电路SAT需要$2^{n - o(n)}$时间在$n$上-尺寸为$2^{o(n)}$的输入电路。(远弱于广为相信的SETH猜想,它断言具有$n$变量和$O(n)$子句的CNF SAT已经需要$2^{n-o(n)}$时间。)猜想二:整数$n\times n$矩阵和$n$向量之间的在线$(\min,+)$乘积需要$n^{3 - o(1)}$时间。—猜想三(3-SUM猜想):给定三组$A,B,C$大小为$n$的整数,判断是否存在$a \in A, b \in B, c \in C$使得$a + b + c = 0$需要$n^{2 - o(1)}$时间。我们的下界构造说明了完全追溯查询的有趣功能:它们可用于快速解决批处理对求值。我们相信这种技术可以证明对其他数据结构下界,特别是动态下界是有用的。
Nearly Optimal Separation Between Partially And Fully Retroactive Data Structures
Since the introduction of retroactive data structures at SODA 2004, a major unsolved problem has been to bound the gap between the best partially retroactive data structure (where changes can be made to the past, but only the present can be queried) and the best fully retroactive data structure (where the past can also be queried) for any problem. It was proved in 2004 that any partially retroactive data structure with operation time $T(n,m)$ can be transformed into a fully retroactive data structure with operation time $O(\sqrt{m} \cdot T(n,m))$, where $n$ is the size of the data structure and $m$ is the number of operations in the timeline [Demaine 2004], but it has been open for 14 years whether such a gap is necessary.
In this paper, we prove nearly matching upper and lower bounds on this gap for all $n$ and $m$. We improve the upper bound for $n \ll \sqrt m$ by showing a new transformation with multiplicative overhead $n \log m$. We then prove a lower bound of $\min\{n \log m, \sqrt m\}^{1-o(1)}$ assuming any of the following conjectures:
- Conjecture I: Circuit SAT requires $2^{n - o(n)}$ time on $n$-input circuits of size $2^{o(n)}$. (Far weaker than the well-believed SETH conjecture, which asserts that CNF SAT with $n$ variables and $O(n)$ clauses already requires $2^{n-o(n)}$ time.)
- Conjecture II: Online $(\min,+)$ product between an integer $n\times n$ matrix and $n$ vectors requires $n^{3 - o(1)}$ time.
- Conjecture III (3-SUM Conjecture): Given three sets $A,B,C$ of integers, each of size $n$, deciding whether there exist $a \in A, b \in B, c \in C$ such that $a + b + c = 0$ requires $n^{2 - o(1)}$ time.
Our lower bound construction illustrates an interesting power of fully retroactive queries: they can be used to quickly solve batched pair evaluation. We believe this technique can prove useful for other data structure lower bounds, especially dynamic ones.