基数草图是用于表示集合或向量的紧凑数据结构。这些草图具有空间高效性,通常只需要关于输入大小的对数级存储,并能够近似基数(或非零项数量)。应用中的一个关键性质是可组合性,这意味着集合并集的草图可以由各个单独草图计算得到。现有设计提供了很强的统计保证,可确保随机采样的草图映射对于以草图大小 k 计的指数数量查询仍然稳健。然而,当查询是自适应的,即查询依赖于先前响应时,这些保证会退化为关于 k 的二次级别。此前关于统计查询的工作(Steinke 和 Ullman,2015)以及关于特定 MinHash 基数草图的工作(Ahmadian 和 Cohen,2024)已经证明这一点是紧的,因为它们可以通过二次数量的自适应查询被攻破。在本文中,我们开发了一个适用于广泛类别基数草图的通用攻击框架。我们证明,任何并集可组合的草图映射都可以用 \ ilde{O}(k^4) 次自适应查询攻破;而对于单调映射(包括 MinHash、统计查询和布尔线性映射),该结果改进为 \ ilde{O}(k^2) 的紧界。类似地,任何在实数域 R 和有限域 F_p 上的线性草图映射都可以使用 \ ilde{O}(k^2) 次自适应查询攻破,这是最优的,并强化了 GribelyukLWYZ:FOCS2024 最近的部分结果;他们建立的是一个更弱的多项式界。
英文摘要:
Cardinality sketches are compact data structures for representing sets or vectors. These sketches are space-efficient, typically requiring only logarithmic storage in the input size, and enable approximation of cardinality (or the number of nonzero entries). A crucial property in applications is \emph{composability}, meaning that the sketch of a union of sets can be computed from individual sketches. Existing designs provide strong statistical guarantees, ensuring that a randomly sampled sketching map remains robust for an exponential number of queries in terms of the sketch size $k$. However, these guarantees degrade to quadratic in $k$ when queries are \emph{adaptive}, meaning they depend on previous responses.
Prior works on statistical queries (Steinke and Ullman, 2015) and specific MinHash cardinality sketches (Ahmadian and Cohen, 2024) established that this is tight in that they can be compromised using a quadratic number of adaptive queries. In this work, we develop a universal attack framework that applies to broad classes of cardinality sketches. We show that any union-composable sketching map can be compromised with $\tilde{O}(k^4)$ adaptive queries and this improves to a tight bound of $\tilde{O}(k^2)$ for monotone maps (including MinHash, statistical queries, and Boolean linear maps). Similarly, any linear sketching map over the reals $\mathbb{R}$ and finite fields $\mathbb{F}_p$ can be compromised using $\tilde{O}(k^2)$ adaptive queries, which is optimal and strengthens some of the recent results by~\citet{GribelyukLWYZ:FOCS2024}, who established a weaker polynomial bound.
Columbia University(哥伦比亚大学);Microsoft Research Silicon Valley(微软研究院硅谷分部);Indiana University Bloomington(印第安纳大学伯明顿分校);Weizmann Institute of Science, Israel(以色列魏茨曼科学研究所);Hong Kong University of Science and Technology(香港科技大学);IBM Almaden Research(IBM阿尔马登研究中心)