arXiv Science⌕ Search

arXiv subjects

Yang S. Hu

Publications and source records attributed to Yang S. Hu.

3 recordsLinked to original sources

Tight Lower Bounds for Value-Dynamic Retrieval

In the value-dynamic retrieval problem, a data structure stores a function $f : S \to [2^b]$ on a fixed set $S$ of $n$ keys from a universe $[U]$, and must support queries and updates to $f$ (without being required to give meaningful answers for keys outside of $S$). The classical solution, which stores the values in an array indexed by a minimal perfect hash function, uses $nb + n \log e + o(n)$ bits. We prove a matching lower bound, showing that for $b = ω(1)$ and $U = ω(n)$, a space bound of $nb + n \log e - o(n)$ bits is necessary. We also consider a partially-dynamic version of the problem in which only $n/k$ of the keys have dynamic values. Intuitively, one might expect the space bound in this case to drop to something like $nb + Θ(n/k)$ bits, averaging to $O(1)$ bits of redundancy per dynamic value. Our second result says that this is not the case; instead, for $k = ω(1)$ and $2n \le U \le 2^{\text{poly}(n)}$, the optimal space bound becomes $nb + Θ(n \log k / k)$, meaning that any solution must pay the asymptotic cost of encoding which $n/k$ keys (out of the $n$) have dynamic values. All of our lower bounds are information-theoretic, and are proven via one-way communication arguments.

cs.DS↗

Tight Bounds for Rank Estimation in Turnstile Streams

We study rank estimation in turnstile streams. A frequency vector $f$ over the universe $[U]$ receives insertions and deletions. Given a query $x\in[U]$, the goal is to estimate the rank $\sum_{u<x}f_u$ within additive error $ε\|f\|_1$ with constant probability. The standard approach is Dyadic CountSketch by Luo, Wang, Yi and Cormode, using $\tilde{O}(ε^{-1}\log^{3/2}U\log n)$ bits, where $n$ is the final $\ell_1$ norm of $f$. Bulánek, Kumar, Meka, Nelson, and Sarlós placed this approach in a matrix-factorization framework. They improved the space of Dyadic CountSketch to $O(ε^{-1}\log^{3/2}U)$ words, and proved a lower bound of $Ω(ε^{-1}\log^2(εU))$ bits for all streaming algorithms when $U\le n\le U^{O(1)}$ and $ε=U^{-1+Ω(1)}$. This leaves a gap of $\sqrt{\log U}$. In this work, we fully determine the space cost of rank estimation up to an absolute constant. Our main result is a space lower bound for all streaming algorithms: for $0<ε\le 1/8$ and $n\ge\log^2 U$, the space is at least $Ω(\min\{ε^{-1}L^{3/2}\log(2+nε/\sqrt{L}), ε^{-2}\log U\log n, \log\binom{U+n}{n}\})$ bits, where $L=\log(2+Uε)$. When $U\le n\le U^{O(1)}$ and $ε=U^{-1+Ω(1)}$, this simplifies to $Ω(\min\{ε^{-1}\log^{5/2}U, ε^{-2}\log^2 U\})$ bits. Our proof uses a surprising hard distribution and novel information-theoretic techniques. The above bound matches Dyadic CountSketch when $n\ge U$ and $U^{-1+Ω(1)}\leε\le O(1/\sqrt{\log U})$. The lower bound is also tight in the remaining regimes. For $ε\ge(\log U)^{-1/2}$, there exists an algorithm that uses $O(ε^{-2}\log U\log n)$ bits using $\ell_1$ samplers. For $ε\le U^{-1+o(1)}$, we refine Dyadic CountSketch so that its space in bits matches the first term of the bound.

cs.DS↗

Iterative Randomized Rounding for $k$-Median in General and Euclidean Metrics

We refine the iterative rounding framework of Byrka, Guo, Hu, Li, Wan, and Wang [FOCS'26], which gives a $(2+\varepsilon)$-approximation for $k$-median. Our algorithm opens $k+O(1)$ facilities with expected connection cost at most $1.9999$ times the standard LP value. Despite the small numerical gain, this shows that the LP integrality gap is below $2$ with a constant additive facility allowance, partially answering Li and Svensson's open question [SICOMP'16]. Their reduction yields a $1.9999$-approximation opening at most $k$ facilities. Our preprocessing makes the LP solution $\mathrm{poly}(\varepsilon)$-integral with a $(1+\varepsilon)$ loss in each client's expected connection cost and $O(1)$ extra facilities, without special treatment of clients with concentrated fractional facilities. We replace batch processing with single-facility openings and combine a tighter analysis for clients with unequal distances to their facilities with a complementary algorithm for nearly uniform distances. In Euclidean metrics, we obtain a $1.71955$-approximation for $k$-median and a $1.4561$-approximation for uncapacitated facility location (UFL). For every $p\ge2$ and sufficiently small $\varepsilon>0$, we obtain a $((3^p+2)/3+\varepsilon)$-approximation for $k$-clustering with $p$-th power distance costs. For $p=2$, our $(11/3+\varepsilon)$-approximation for $k$-means improves the $(3+\ln2+\varepsilon)$ bound of Anand, Charikar, Cohen-Addad, Gao, Grandoni, Lee, Sharma, and van Wijland [SODA'27]. The Euclidean $k$-median, $k$-means, and UFL ratios are below the respective general-metric hardness bounds $1+2/e$, $1+8/e$ [STOC'02], and $1.463$ [J. Algorithms'99]. The Euclidean $k$-median bound relies on a geometric inequality proved via a nonnegativity certificate constructed from positive-semidefinite kernels.

cs.DS↗