Optimality of Linear Sketching under Modular Updates
Shachar Lovett (UCSD)
Kaave Hosseini (UCSD β CMU), Grigory Yaroslavtsev (Indiana)
under Modular Updates Shachar Lovett (UCSD) Kaave Hosseini (UCSD - - PowerPoint PPT Presentation
Optimality of Linear Sketching under Modular Updates Shachar Lovett (UCSD) Kaave Hosseini (UCSD CMU), Grigory Yaroslavtsev (Indiana) Streaming and sketching Streaming with binary updates Counters 1 , , 2
Kaave Hosseini (UCSD β CMU), Grigory Yaroslavtsev (Indiana)
000000
100000
100010
110010
100000
π π¦1, β¦ , π¦π
π β {0,1}
(i) π: πΎ2
π β πΎ2 π linear function
(ii) π: πΎ2
π β {0,1} post-processing function
π β {0,1} factors as π π¦ = π(π π¦ ) where
(i) π: πΎ2
π β πΎ2 π linear function
(ii) π: πΎ2
π β {0,1} post-processing function
π
π β {0,1} has a randomized linear sketch of size k if it can be
approximated by a distribution over linear sketches of size k
(i) π: πΎ2
π β πΎ2 π linear function
(ii) π: πΎ2
π β {0,1} post-processing function
Such that Pr
L,p π π¦ = π(π π¦ ) β₯ 1 β π
(random parities)
memory, can we extract from it a linear sketch for π of size β π?
π β {0,1}
and using π bits of memory
[Li-Nguyen-Woordruff β14, Ai-Hu-Li-Woodruff β16]
π β {0,1}
supporting N = Ξ© π2 updates which uses π bits of memory
π β [0,1]
randomized linear sketch, but its size will be ππππ§(π) instead of π(π)
π
(π¦π is the aggregate of the n updates in the i-th chunk)
π
w.h.p over shared randomness
Player 1 Player 2 Player M
π¦1 β πΎ2
π
π¦2 β πΎ2
π
π¦π β πΎ2
π
Message π1 β 0,1 π Message π2 β 0,1 π Message ππβ1 β 0,1 π Output ππ£π’ β {0,1}
π β {0,1}
π π¦1 + β― + π¦π for π = Ξ©(π) players with k-bit messages (recall: this corresponds to π = ππ = Ξ© π2 binary updates)
π β {0,1}
π
π uniformly, π¦π = π¦1 + β― + π¦πβ1 + π¦
the success probability too much
β, π2 β, β¦ , ππβ1 β
π: π1 π¦1 = π1 β
π: π2 π1 β, π¦2 = π2 β
function of only π¦π = π¦1 + β― + π¦πβ1 + π¦
π of density 2βπ
probability ππ£π’ π¦1 + β― + π¦πβ1 + π¦ = π π¦
π
π of co-dimension π(π),
such that the sum is near invariant to a random shift from π
high probability ππ£π’ π¦1 + β― + π¦πβ1 + π¦ + π€ = π π¦
linear sketch for π π¦
linear sketching is universal
randomized linear sketch with similar guarantees
regime, giving a linear sketch for f on random inputs
this regime as well, but require assuming π β₯ 222π