betaFeedback

WorksComputer Science

Revisiting Non-Adaptive Set Membership Schemes: Removing the Logarithmic Factor

Abstract

We study non-adaptive bit-probe schemes for static set membership. Each query reads a fixed number of bits and answers by strict majority. We revisit the random bipartite-graph construction of Garg and Radhakrishnan [STACS, 2017]. The main observation is that a slightly stronger expansion property already bounds the number of exceptional elements. This makes a separate probabilistic estimate for exceptional elements unnecessary. A detailed union-bound calculation then gives, for every fixed t≥5t\ge5, a logarithm-free existence bound of Ot(m1/cn1−1/c)O_t(m^{1/c}n^{1-1/c}), where c=⌊(t−1)/2⌋c=\lfloor(t-1)/2\rfloor. For odd tt, this removes the logarithmic factor from the general upper bound of Garg and Radhakrishnan [STACS, 2017].

Introduction

Static set membership

The static set-membership problem asks how to store a set compactly while still answering membership queries quickly. We are given a universe [m]={1,2,…,m}[m] = \{1, 2, \ldots, m\} and a set S⊆[m]S \subseteq[m] with ∣S∣≤n|S| \le n. The data structure stores SS as a bit string. A query specifies an element x∈[m]x \in[m] and asks whether x∈Sx \in S.

The simplest solution is the characteristic vector of SS. It uses mm bits. The bit at position xx is one exactly when x∈Sx \in S. A query needs only one bit probe. This representation is wasteful when nn is much smaller than mm. One can instead store the elements of SS directly, but then a query may need to inspect many stored elements. The bit-probe model studies the trade-off between the number of stored bits and the number of bits inspected by each query. The survey of Nicholson, Raman, and S. Srinivasa Rao [6] gives a broad introduction to the model and its history.

A scheme is called adaptive if the location of a later probe can depend on the values returned by earlier probes. It is called non-adaptive if all probe locations are fixed before any memory bit is read. Non-adaptive probes can be issued in parallel. This restriction is central to the present paper.

We write sN(m,n,t)s_N(m,n,t) for the minimum number of bits needed by a deterministic non-adaptive scheme that stores every set of size at most nn from [m][m] and answers each query using at most tt probes. Distinct sets must have distinct representations, so the elementary counting bound is

sN(m,n,t)≥log⁡2(mn).s_N(m,n,t) \ge\log_2 \binom{m}{n}.

When n≤m/2n \le m/2, this is of order at least nlog⁡(m/n)n\log(m/n). Stronger lower bounds are known in particular parameter regimes, as discussed below.

Four probes and a few elements

The number of probes matters even when it is a small constant. Alon and Feige studied non-adaptive schemes with two, three, and four probes [1]. Alon and Feige [1] proved that, for four non-adaptive bitprobes and δ≤13\delta\le\frac{1}{3}, the space requirement satisfies

s≥c3m11+δnδ1+δ.s \ge c_3m^{\frac{1}{1+\delta}}n^{\frac{\delta}{1+\delta}}.

for some absolute constant c3>0c_3 > 0. The scheme is non explicit.

Later work gave explicit constructions for some small-set cases. Baig and Kesh gave an explicit non-adaptive four-probe scheme for storing sets of size at most four and five [2, 3]. These results address particular small values of the set size. Our goal is different. We seek one asymptotic construction that works for every set size bound nn and every fixed probe count t≥5t \ge5.

General tt-probe results

Garg and Radhakrishnan developed a random-graph method for non-adaptive majority schemes [5]. For odd t≥5t \ge5, their upper bound is

sN(m,n,t)=O(tm2t−1n1−2t−1log⁡22mn).s_N(m,n,t) = O\left(t m^{\frac{2}{t-1}} n^{1-\frac{2}{t-1}} \log_2 \frac{2m}{n}\right).

Their proof builds a bipartite graph between universe elements and memory cells. Each element is connected to one cell in each of tt blocks. A query reads the cells adjacent to that element and uses majority. Two graph properties guarantee that every target set can be encoded correctly. The graph is then shown to exist by the probabilistic method.

There is also a general lower bound due to Buhrman, Miltersen, Radhakrishnan, and Venkatesh [4]. In one commonly studied regime, for every fixed ε>0\varepsilon> 0 and n≤m1−εn \le m^{1-\varepsilon}, with t=o(log⁡m)t = o(\log m), their lower bound is

sN(m,n,t)=Ωt(tm1/tn1−1/t).s_N(m,n,t) = \Omega_t\left(t m^{1/t} n^{1-1/t}\right).

The lower bound holds even for adaptive schemes under the stated hypotheses, and therefore also applies to non-adaptive schemes. The upper and lower exponents do not match. Removing a logarithmic factor from an upper bound does not by itself settle the optimal space complexity.

Our contribution

We keep the graph model, the majority decoder, and the matching-based encoding method of Garg and Radhakrishnan [5]. We change the way the exceptional elements are handled.

In the usual proof, two graph properties are established separately. The first is expansion. The second limits the number of outside elements whose neighbourhood overlaps the target neighbourhood in a majority of its positions. The standard proof uses a logarithmic budget for these exceptional elements.

We show that a slightly stronger expansion property implies the exceptional-element bound deterministically. This means that we only need one probability estimate, for expansion. The required expansion radius remains proportional to nn when tt is fixed. The resulting block size has no logarithmic factor.

More precisely, for every fixed integer t≥5t \ge5, we prove

sN(m,n,t)=Ot(m1/cn1−1/c),c=⌊t−12⌋.s_N(m,n,t)=O_t\left(m^{1/c}n^{1-1/c}\right), \qquad c=\left\lfloor\frac{t-1}{2}\right\rfloor.

For odd tt, this becomes

sN(m,n,t)=Ot(m2t−1n1−2t−1).s_N(m,n,t)=O_t\left(m^{\frac{2}{t-1}}n^{1-\frac{2}{t-1}}\right).

And for the even tt, this becomes

sN(m,n,t)=Ot(m2t−2n1−2t−2).s_N(m,n,t)=O_t\left(m^{\frac{2}{t-2}}n^{1-\frac{2}{t-2}}\right).

The subscript on the big-OO indicates that the hidden constant may depend on the fixed probe count tt.

The rest of the paper follows the order of the general upper-bound argument in Garg and Radhakrishnan [5]. We first define the graph model and admissibility conditions. We then show that an admissible graph gives a correct scheme. After that, we prove the existence of a suitable random graph. The last sections derive the space bound and compare it with the previous results.

The graph model and admissibility

Non-adaptive graphs

Definition 2.1 (Non-adaptive (m,s,t)(m,s,t)-graph). A non-adaptive (m,s,t)(m,s,t)-graph is a bipartite graph G=(U,V;E)G=(U,V;E) with left side U=[m]U=[m] and right side partitioned into tt disjoint blocks,

V=V1⊔V2⊔⋯⊔Vt,∣Vi∣=s(i∈[t]).V=V_1\sqcup V_2\sqcup\cdots\sqcup V_t,\qquad|V_i|=s\quad(i\in[t]).

Every u∈Uu\in U has exactly one neighbour in each block ViV_i. For X⊆UX\subseteq U, let Γ(X)\Gamma(X) be the set of right-side vertices adjacent to at least one element of XX.

The graph fixes the locations probed by each query. The memory consists of tsts bits, one for each vertex of VV. To answer a query for uu, the decoder reads the tt bits indexed by Γ(u)\Gamma(u) and answers Yes if at least

a:=⌊t2⌋+1a:=\left\lfloor\frac{t}{2}\right\rfloor+1

of them equal one. This is strict-majority decoding. We also put

c:=t−a=⌊t−12⌋,δ:=a−c.c:=t-a=\left\lfloor\frac{t-1}{2}\right\rfloor,\qquad\delta:=a-c.

Thus a+c=ta+c=t, a>t/2a>t/2, and δ∈{1,2}\delta\in\{1,2\}. If tt is odd, then δ=1\delta=1; if tt is even, then δ=2\delta=2. Since t≥5t\ge5, we have c≥2c\ge2.

The graph does not by itself specify the memory contents. For each target set SS, the encoder has to assign zeros and ones so that exactly the elements of SS receive a Yes answer. We next state two structural conditions on the graph that guarantee the existence of such an assignment.

The two admissibility properties

Choose the parameters

g:=⌊cnδ⌋,R:=n+g+1.g:=\left\lfloor\frac{cn}{\delta}\right\rfloor,\qquad R:=n+g+1.

We first work in the range m≥Rm\ge R.

Definition 2.2 (Admissible graph). A non-adaptive (m,s,t)(m,s,t)-graph is called (n,g)(n,g)-admissible if it satisfies the following two properties.

(P1) Expansion.

For every W⊆[m]W\subseteq[m] with ∣W∣≤R|W|\le R,

∣Γ(W)∣≥a∣W∣.|\Gamma(W)|\ge a|W|.

(P2) Few exceptional elements.

For every S⊆[m]S\subseteq[m] with ∣S∣=n|S|=n, define

TS:={y∈[m]∖S:∣Γ(y)∩Γ(S)∣≥a}.T_S:=\{y\in[m]\setminus S:|\Gamma(y)\cap\Gamma(S)|\ge a\}.

Then ∣TS∣≤g|T_S|\le g.

An element y∉Sy\notin S belongs to TST_S if at least aa of its probe locations also lie in Γ(S)\Gamma(S). If those locations are set to one while encoding SS, the query for yy could receive a false Yes answer. Property (P2) says that there are only a few such elements.

The radius R=n+g+1R=n+g+1 is one larger than the number n+gn+g needed in the matching argument. This extra vertex is deliberate. It is what makes the deterministic implication in the next section strict.

Admissibility implies satisfiability

Lemma 2.3 (Admissibility implies a correct encoding). If GG is (n,g)(n,g)-admissible, then for every S⊆[m]S\subseteq[m] with ∣S∣≤n|S|\le n, there is an assignment of the tsts memory bits that answers all membership queries correctly by strict majority.

Proof. Fix a target set SS with ∣S∣≤n|S|\le n. Choose a superset S′⊇SS'\supseteq S of size exactly nn. This is possible because n≤mn\le m.

By (P2), ∣TS′∣≤g|T_{S'}|\le g. Define

Z:=S′∪TS′.Z:=S'\cup T_{S'}.

The sets in this union are disjoint, so

∣Z∣=n+∣TS′∣≤n+g=R−1.|Z|=n+|T_{S'}|\le n+g=R-1.

We will first give each element of ZZ a private set of aa memory locations. We then set the locations for elements of SS to one and all other locations to zero. Construct an auxiliary bipartite graph HH. Its left side is Z×[a]\mathcal{Z} \times[a]. Thus each element u∈Zu \in\mathcal{Z} is copied aa times. The right side is VV. Join each copy (u,j)(u,j) to every vertex in Γ(u)\Gamma(u).

We verify Hall’s condition. Take an arbitrary set X⊆Z×[a]X \subseteq\mathcal{Z} \times[a]. Let X0X_0 be the set of elements of Z\mathcal{Z} that have at least one copy in XX. There are at most aa copies of each element, so

∣X∣≤a∣X0∣.|X| \leq a|X_0|.

All copies of the same element have the same neighbourhood. Therefore

NH(X)=Γ(X0).N_H(X) = \Gamma(X_0).

Since X0⊆ZX_0 \subseteq\mathcal{Z} and ∣Z∣≤R−1|\mathcal{Z}| \leq R-1, property (P1) applies and gives

∣NH(X)∣=∣Γ(X0)∣≥a∣X0∣≥∣X∣.|N_H(X)| = |\Gamma(X_0)| \geq a|X_0| \geq|X|.

This holds for every subset XX of the left side. Hall’s theorem therefore gives a matching that covers every vertex of Z×[a]\mathcal{Z} \times[a].

For each u∈Zu \in\mathcal{Z}, let AuA_u be the set of the aa memory locations matched to its aa copies. Then

Au⊆Γ(u),∣Au∣=a,A_u \subseteq\Gamma(u), \qquad|A_u| = a,

and the sets AuA_u, as uu ranges over Z\mathcal{Z}, are pairwise disjoint.

Now assign the memory bits. Set a bit to one exactly when its location belongs to AuA_u for some u∈Su \in S. Set every other bit to zero. We check the three possible kinds of query.

Case 1: u∈Su \in S. All aa locations in AuA_u contain one. Since a>t/2a > t/2, the query answers Yes.

Case 2: u∈Z∖Su \in\mathcal{Z} \setminus S. The set AuA_u is disjoint from every AvA_v with v∈Sv \in S. Hence all aa locations in AuA_u contain zero. At most t−a=c<at-a=c<a of the probes for uu can contain one, so the query answers No.

Case 3: y∉Zy \notin\mathcal{Z}. Every one-location lies in Γ(S)\Gamma(S) and hence in Γ(S′)\Gamma(S'). Because y∉TS′y \notin T_{S'}, we have

∣Γ(y)∩Γ(S′)∣<a.|\Gamma(y) \cap\Gamma(S')| < a.

This quantity is an integer, so it is at most a−1a-1. Every one-location probed by yy lies in Γ(S′)\Gamma(S'). Thus at most a−1a-1 probes for yy contain one, and the query answers No. Also y∉Sy \notin S, because S⊆S′⊆ZS \subseteq S' \subseteq\mathcal{Z}.

Every query falls into one of these three cases. The assignment is therefore correct for every element of the universe.

A random graph with the required expansion

We now prove that a graph satisfying (P1) exists. The graph is random. For each u∈[m]u \in[m] and each block ViV_i, choose the neighbour of uu in ViV_i independently and uniformly from its ss vertices. All choices, including choices made by different left vertices, are independent.

Put

Ct:=ea+1(at)c.C_t := e^{a+1}\left(\frac{a}{t}\right)^c.

The constant CtC_t depends only on tt. Choose the block size

s:=⌈(2CtmRc−1)1/c⌉.s := \left\lceil(2C_t m R^{c-1})^{1/c} \right\rceil.

We will show that the probability of failure of (P1) is strictly below one.

A simple size check

We first check that s≥Rs \ge R. Since a>t/2a > t/2, we have a/t>1/2a/t > 1/2. Also a≥c+1a \ge c + 1. It follows that

Ct=ea+1(at)c>ea+12−c≥ec+22−c=e2(e2)c>1.C_t = e^{a+1}\left(\frac{a}{t}\right)^c > e^{a+1}2^{-c} \ge e^{c+2}2^{-c} = e^2\left(\frac{e}{2}\right)^c > 1.

The definition of ss gives

sc≥2CtmRc−1.s^c \ge2C_t mR^{c-1}.

Since m≥Rm \ge R and 2Ct>12C_t > 1, we have sc>Rcs^c > R^c. Hence s>Rs > R.

Bounding a fixed witness

Suppose (P1) fails. Then there is a nonempty set W⊆[m]W \subseteq[m] with ∣W∣≤R|W| \le R and

∣Γ(W)∣<a∣W∣.|\Gamma(W)| < a|W|.

Write r=∣W∣r = |W|. As neighbourhood sizes are integers, failure means

∣Γ(W)∣≤ar−1.|\Gamma(W)| \le ar - 1.

Set h=ar−1h = ar - 1. Thus the neighbourhood of WW is contained in some set Λ⊆V\Lambda\subseteq V of exactly hh vertices. The set Λ\Lambda can be chosen because

h<ar≤aR<tR≤ts=∣V∣.h < ar \le aR < tR \le ts = |V|.

Fix WW and Λ\Lambda. For each block ViV_i, let

ℓi:=∣Λ∩Vi∣.\ell_i := |\Lambda\cap V_i|.

The blocks partition VV, and so ∑i=1tℓi=h\sum_{i=1}^{t} \ell_i = h. Each of the rr elements of WW chooses its neighbour in block ViV_i independently and uniformly. The probability that all rr neighbours in this block lie in Λ\Lambda is therefore (ℓi/s)r(\ell_i/s)^r. Choices in different blocks are also independent. Thus

P(Γ(W)⊆Λ)=∏i=1t(ℓis)r.\mathbb{P}(\Gamma(W) \subseteq\Lambda) = \prod_{i=1}^{t}\left(\frac{\ell_i}{s}\right)^r.

By the arithmetic-geometric mean inequality,

∏i=1tℓi≤(ht)t.\prod_{i=1}^{t}\ell_i \le\left(\frac{h}{t}\right)^t.

Consequently,

P(Γ(W)⊆Λ)≤(hts)tr.\mathbb{P}(\Gamma(W) \subseteq\Lambda) \le\left(\frac{h}{ts}\right)^{tr}.

This estimate applies to each fixed pair (W,Λ)(W,\Lambda).

Union bound over all witnesses

There are (mr)\binom{m}{r} choices for WW and (tsh)\binom{ts}{h} choices for Λ\Lambda. The union bound gives

P(a failure witness of size r)≤(mr)(tsh)(hts)tr.\mathbb{P}(\text{a failure witness of size }r) \le\binom{m}{r}\binom{ts}{h}\left(\frac{h}{ts}\right)^{tr}.

We now simplify this expression. We use the standard estimate

(xj)≤(exj)j,1≤j≤x.\binom{x}{j} \le\left(\frac{ex}{j}\right)^j,\qquad1 \le j \le x.

Applying it to both binomial coefficients yields

(mr)(tsh)(hts)tr≤(emr)r(etsh)h(hts)tr=(emr)reh(hts)tr−h.\binom{m}{r}\binom{ts}{h}\left(\frac{h}{ts}\right)^{tr} \le\left(\frac{em}{r}\right)^r\left(\frac{ets}{h}\right)^h\left(\frac{h}{ts}\right)^{tr} = \left(\frac{em}{r}\right)^r e^h\left(\frac{h}{ts}\right)^{tr-h}.

The exponent in the last factor is easy to compute. Since h=ar−1h=ar-1 and t−a=ct-a=c,

tr−h=tr−ar+1=cr+1.tr-h=tr-ar+1=cr+1.

Also, h≤arh\le ar. Hence

eh≤ear,(hts)cr+1≤(arts)cr+1.e^h\le e^{ar},\qquad\left(\frac{h}{ts}\right)^{cr+1}\le\left(\frac{ar}{ts}\right)^{cr+1}.

It follows that

P(a failure witness of size r)≤(emr)rear(arts)cr+1=arts[emrea(arts)c]r=arts[ea+1(at)cmrc−1sc]r=arts(Ctmrc−1sc)r.\begin{aligned} \mathbb{P}(\text{a failure witness of size }r) &\le\left(\frac{em}{r}\right)^r e^{ar}\left(\frac{ar}{ts}\right)^{cr+1}\\ &= \frac{ar}{ts}\left[\frac{em}{r}e^a\left(\frac{ar}{ts}\right)^c\right]^r\\ &= \frac{ar}{ts}\left[e^{a+1}\left(\frac{a}{t}\right)^c\frac{mr^{c-1}}{s^c}\right]^r\\ &= \frac{ar}{ts}\left(\frac{C_tmr^{c-1}}{s^c}\right)^r. \end{aligned}

Every failure of (P1) has a witness of some size rr with 1≤r≤R1\le r\le R. A second union bound over these sizes therefore gives

P((P1) fails)≤∑r=1Rarts(Ctmrc−1sc)r.(1)\mathbb{P}(\text{(P1) fails})\le\sum_{r=1}^{R}\frac{ar}{ts}\left(\frac{C_tmr^{c-1}}{s^c}\right)^r. \tag*{(1)}

Summing the probability bound

The choice of ss gives

sc≥2CtmRc−1.s^c\ge2C_t mR^{c-1}.

For every r≤Rr\le R, we therefore have

Ctmrc−1sc≤12(rR)c−1≤12.\frac{C_tmr^{c-1}}{s^c}\le\frac{1}{2}\left(\frac{r}{R}\right)^{c-1}\le\frac{1}{2}.

We used c≥2c \ge2 here. Substituting this into (1), we obtain

P((P1) fails)≤ats∑r=1Rr2−r.\mathbb{P}((\mathrm{P1})\text{ fails}) \le\frac{a}{ts}\sum_{r=1}^{R} r2^{-r}.

The standard geometric-series identity gives

∑r=1∞r2−r=2.\sum_{r=1}^{\infty}r2^{-r}=2.

Thus

P((P1) fails)≤2ats.\mathbb{P}((\mathrm{P1})\text{ fails}) \le\frac{2a}{ts}.

We already showed that s>Rs>R. Also g≥1g\ge1, because c≥2c\ge2, n≥1n\ge1, and δ≤2\delta\le2. It follows that R=n+g+1≥3R=n+g+1\ge3 and s≥3s\ge3. Since a<ta<t,

P((P1) fails)≤2ats<2s≤23<1.\mathbb{P}((\mathrm{P1})\text{ fails}) \le\frac{2a}{ts}<\frac{2}{s}\le\frac{2}{3}<1.

Therefore the random graph satisfies (P1) with positive probability.

Property (P2) follows from expansion

We have proved that the random graph satisfies (P1) with positive probability. We now show that every graph satisfying (P1) automatically satisfies (P2). This is the step that removes the need for a second probability estimate.

Lemma 3.1 (Expansion implies the exceptional-set property). With gg and RR chosen as above, every graph satisfying (P1) also satisfies (P2).

Proof. Suppose that a graph satisfies (P1). Fix an arbitrary set S⊆[m]S\subseteq[m] with ∣S∣=n|S|=n. We will show that ∣TS∣≤g|T_S|\le g.

Assume, for a contradiction, that ∣TS∣≥g+1|T_S|\ge g+1. Choose a set T⊆TST\subseteq T_S with exactly g+1g+1 elements. Every element of TST_S lies outside SS, so SS and TT are disjoint. Define

W:=S∪T.W:=S\cup T.

Then

∣W∣=∣S∣+∣T∣=n+g+1=R.|W|=|S|+|T|=n+g+1=R.

Property (P1) applies to WW, and therefore

∣Γ(W)∣≥aR=a(n+g+1).|\Gamma(W)|\ge aR=a(n+g+1).

We now count the same neighbourhood from above. Each element of SS has exactly tt neighbours, so ∣Γ(S)∣≤tn|\Gamma(S)|\le tn. For every y∈Ty\in T, the definition of TST_S gives

∣Γ(y)∩Γ(S)∣≥a.|\Gamma(y)\cap\Gamma(S)|\ge a.

The vertex yy has exactly tt neighbours. At least aa of them already lie in Γ(S)\Gamma(S). Hence at most t−a=ct-a=c of them lie outside Γ(S)\Gamma(S), and

∣Γ(y)∖Γ(S)∣≤c.|\Gamma(y)\setminus\Gamma(S)|\le c.

Every vertex of Γ(W)\Gamma(W) either belongs to Γ(S)\Gamma(S) or is a neighbour outside Γ(S)\Gamma(S) of some element of TT. Thus

∣Γ(W)∣≤∣Γ(S)∣+∑y∈T∣Γ(y)∖Γ(S)∣≤tn+c∣T∣=tn+c(g+1).|\Gamma(W)| \leq|\Gamma(S)| + \sum_{y\in T}|\Gamma(y) \setminus\Gamma(S)| \leq tn + c|T| = tn + c(g+1).

The lower and upper bounds cannot both hold. Indeed,

a(n+g+1)−(tn+c(g+1))=(a−t)n+(a−c)(g+1)=−cn+δ(g+1).a(n+g+1) - (tn+c(g+1)) = (a-t)n + (a-c)(g+1) = -cn + \delta(g+1).

By the definition g=⌊cn/δ⌋g=\lfloor cn/\delta\rfloor,

g≤cnδ<g+1.g \leq\frac{cn}{\delta} < g+1.

Since δ>0\delta>0, this implies δ(g+1)>cn\delta(g+1)>cn. The difference above is therefore strictly positive, so

a(n+g+1)>tn+c(g+1).a(n+g+1)>tn+c(g+1).

This contradicts the two bounds on ∣Γ(W)∣|\Gamma(W)|. We conclude that ∣TS∣≤g|T_S|\leq g. Since SS was arbitrary, (P2) holds for every set of size nn.

The admissible graph exists

We can now prove the main existence theorem. The proof follows the random-graph method of Garg and [5], but the second graph property is obtained by the deterministic lemma rather than a separate probability estimate.

Theorem 4.1 (Existence of an admissible graph). Let m,n,tm,n,t be integers with 1≤n≤m1\leq n\leq m and t≥5t\geq5. Define

a=⌊t2⌋+1,c=t−a,δ=a−c,g=⌊cnδ⌋,R=n+g+1.a=\left\lfloor\frac{t}{2}\right\rfloor+1,\qquad c=t-a,\qquad\delta=a-c,\qquad g=\left\lfloor\frac{cn}{\delta}\right\rfloor,\qquad R=n+g+1.

Assume m≥Rm\geq R, and set

Ct=ea+1(at)c,s=⌈(2CtmRc−1)1/c⌉.C_t=e^{a+1}\left(\frac{a}{t}\right)^c,\qquad s=\left\lceil(2C_t m R^{c-1})^{1/c}\right\rceil.

Then there is a non-adaptive (m,s,t)(m,s,t)-graph satisfying (P1) and (P2).

Proof. Generate the random graph described in § 3. The preceding calculation shows that the probability of failure of (P1) is at most 2a/(ts)2a/(ts), which is strictly less than one. Hence the probability that (P1) holds is positive.

By Theorem 3.1, every graph satisfying (P1) also satisfies (P2). Thus the event that both properties hold contains the event that (P1) holds. In particular,

P((P1) and (P2) hold)≥1−2ats>0.\mathbb{P}((\mathrm{P1})\text{ and }(\mathrm{P2})\text{ hold})\geq1-\frac{2a}{ts}>0.

An event with positive probability is nonempty. Therefore at least one graph satisfies both properties.

The resulting space bound

Theorem 5.1 (Logarithm-free space bound). For every fixed integer t≥5t \ge5, there is a deterministic non-adaptive strict-majority scheme for set membership using

sN(m,n,t)=Ot(m1/cn1−1/c) bits,c=⌊t−12⌋,s_N(m,n,t)=O_t\left(m^{1/c}n^{1-1/c}\right)\ \text{bits},\qquad c=\left\lfloor\frac{t-1}{2}\right\rfloor,

for all integers 1≤n≤m1 \le n \le m.

Proof. Assuming m≥Rm \ge R. By Theorem 4.1, an admissible graph exists with

s=⌊(2CtmRc−1)1/c⌋s=\left\lfloor(2C_t mR^{c-1})^{1/c}\right\rfloor

vertices in each block. By Theorem 2.3, this graph gives a correct scheme with tsts memory bits.

The definition of RR gives

R=n+⌊cnδ⌋+1≤n+cnδ+1≤(2+cδ)n,R=n+\left\lfloor\frac{cn}{\delta}\right\rfloor+1\le n+\frac{cn}{\delta}+1\le\left(2+\frac{c}{\delta}\right)n,

where the last inequality uses 1≤n1 \le n. Therefore

s≤(2CtmRc−1)1/c+1≤(2Ct(2+cδ)c−1)1/cm1/cn(c−1)/c+1.\begin{aligned} s\le(2C_t mR^{c-1})^{1/c}+1 \\ &\le\left(2C_t\left(2+\frac{c}{\delta}\right)^{c-1}\right)^{1/c}m^{1/c}n^{(c-1)/c}+1. \end{aligned}

The factor in front depends only on tt. Also, since m≥nm \ge n,

m1/cn(c−1)/c=n(mn)1/c≥n≥1.m^{1/c}n^{(c-1)/c}=n\left(\frac{m}{n}\right)^{1/c}\ge n\ge1.

Thus the additive one can be absorbed into the same constant. After multiplying by the fixed number tt of blocks, the total space is

Ot(m1/cn1−1/c).O_t\left(m^{1/c}n^{1-1/c}\right).

Corollary 5.2 (Odd and even probe counts). For every fixed odd integer t≥5t \ge5,

sN(m,n,t)=Ot(m2t−1n1−2t−1).s_N(m,n,t)=O_t\left(m^{\frac{2}{t-1}}n^{1-\frac{2}{t-1}}\right).

For every fixed even integer t≥6t \ge6,

sN(m,n,t)=Ot(m2t−2n1−2t−2).s_N(m,n,t)=O_t\left(m^{\frac{2}{t-2}}n^{1-\frac{2}{t-2}}\right).

Proof. If tt is odd, then c=(t−1)/2c=(t-1)/2, so 1/c=2/(t−1)1/c=2/(t-1). Substituting this into Theorem 5.1 gives the first formula.

If tt is even, then c=(t−2)/2c=(t-2)/2, so 1/c=2/(t−2)1/c=2/(t-2). The second formula follows in the same way.

The five-probe case

For t=5t = 5, we have a=3a = 3, c=2c = 2, and δ=1\delta= 1. The parameters simplify to

g=2n,R=3n+1,C5=e4(35)2=9e425.g = 2n,\qquad R = 3n + 1,\qquad C_5 = e^4\left(\frac{3}{5}\right)^2 = \frac{9e^4}{25}.

Thus the block size in the theorem is

s=⌈18e425m(3n+1)⌉.s = \left\lceil\sqrt{\frac{18e^4}{25}m(3n+1)}\right\rceil.

Since 3n+1≤4n3n + 1 \le4n for every n≥1n \ge1,

s≤62e25mn+1<13mn+1.s \le\frac{6\sqrt{2}e^2}{5}\sqrt{mn} + 1 < 13\sqrt{mn} + 1.

Hence the total space is O(mn)O(\sqrt{mn}). A simple explicit statement is that the scheme uses at most 5⌈13mn⌉5\lceil13\sqrt{mn}\rceil bits in the range m≥3n+1m \ge3n + 1. When m≤3nm \le3n, the replicated characteristic vector already uses 5m=O(mn)5m = O(\sqrt{mn}) bits. Thus the same asymptotic bound holds for all 1≤n≤m1 \le n \le m.

Corollary 5.3 (Five probes). There exists a non-adaptive strict-majority five-probe scheme that stores every subset of size at most nn from [m][m] using O(mn)O(\sqrt{mn}) bits.

Comparison and discussion

Comparison with the Garg–Radhakrishnan GargRadhakrishnan2017 bound

For odd t≥5t \ge5, Garg and Radhakrishnan prove the upper bound

O(tm2t−1n1−2t−1log⁡22mn).O\left(t m^{\frac{2}{t-1}} n^{1-\frac{2}{t-1}}\log_2\frac{2m}{n}\right).

using a random graph and majority decoding [5]. Our result gives, for each fixed odd t≥5t \ge5,

sN(m,n,t)=Ot(m2t−1n1−2t−1).s_N(m,n,t) = O_t\left(m^{\frac{2}{t-1}}n^{1-\frac{2}{t-1}}\right).

And for the even tt,

sN(m,n,t)=Ot(m2t−2n1−2t−2).s_N(m,n,t) = O_t\left(m^{\frac{2}{t-2}}n^{1-\frac{2}{t-2}}\right).

The logarithmic factor is absent.

The reason is not a stronger concentration inequality. It is a change in the logical order of the graph-property proof. The original admissibility framework proves expansion and the exceptional-set bound separately. Here, expansion through the radius R=n+g+1R = n + g + 1 forces the exceptional-set bound automatically. Since gg is proportional to nn for fixed tt, the radius RR is also proportional to nn. The expansion union bound then leads to a block size of order m1/cn1−1/cm^{1/c}n^{1-1/c}.

Relation to lower bounds

The information-theoretic lower bound is log⁡2(mn)\log_2\binom{m}{n}. The stronger lower bound of Buhrman et al. applies even to adaptive schemes in its stated regime and has the form

Ω(tm1/tn1−1/t).\Omega\left(t m^{1/t}n^{1-1/t}\right).

for n≤m1−εn \le m^{1-\varepsilon} and t=o(log⁡m)t = o(\log m), with fixed ε>0\varepsilon> 0 [4]. Since non-adaptive schemes are a subclass of adaptive schemes, that lower bound also applies to our model in the same regime.

For odd t≥5t \ge5, the exponent of mm in our upper bound is 2/(t−1)2/(t - 1), while the lower bound has exponent 1/t1/t. These do not match. Our result therefore does not determine the optimal non-adaptive space complexity. It removes one logarithmic factor from a known upper bound.

Nonconstructive existence

Our argument uses the probabilistic method. It proves that a suitable graph exists, but it does not give a deterministic algorithm for finding that graph. Once a graph is fixed, the query pattern is simple: each element has one fixed location in each block, and the answer is the strict majority of the tt read bits. The encoding proof reduces to a bipartite matching problem for the particular target set.

The constants are explicit in the proof, but they have not been optimized. The hidden constant in Ot(⋅)O_t(\cdot) depends on the fixed value of tt. We make no claim of a uniform constant when tt grows with mm.

Conclusion

We gave a detailed random-graph argument for logarithm-free upper bounds in the non-adaptive bit-probe model. The main observation is simple. A graph that expands every set up to a carefully chosen radius cannot have too many outside elements whose neighbourhoods overlap a target neighbourhood in a majority of positions. This turns the exceptional-set condition into a consequence of expansion.

The remaining probability calculation is a union bound over small sets with unusually small neighbourhoods. It gives a graph with the required expansion at block size Ot(m1/cn1−1/c)O_t(m^{1/c}n^{1-1/c}). Hall’s theorem then supplies the private memory locations needed by the encoder. For odd t≥5t \ge5, the result removes the logarithmic factor from the upper bound of Garg and Radhakrishnan [5]. The construction is nonconstructive, and the known lower bounds leave a gap. Closing that gap, or finding explicit graphs with the same parameters, remains open within the scope of this paper.

Declaration of Generative AI and AI-Assisted Technologies

During the preparation of this manuscript, the author used ChatGPT and Claude to improve the clarity and presentation of the writing, review mathematical proofs, and identify possible errors. The author carefully reviewed and verified the content and takes full responsibility for the final manuscript.

References

  1. [1]N. Alon and U. Feige, On the power of two, three and four probes, in Proceedings of the Twentieth Annual ACM–SIAM Symposium on Discrete Algorithms (SODA 2009), pp. 346–354, 2009.
  2. [2]M. G. A. H. Baig and D. Kesh, Two new schemes in the bitprobe model, in WALCOM: Algorithms and Computation, 12th International Conference, Lecture Notes in Computer Science, vol. 10755, pp. 68–79, Springer, 2018. doi:10.1007/978-3-319-75172-6_7.DOI
  3. [3]M. G. A. H. Baig and D. Kesh, Two improved schemes in the bitprobe model, Theoretical Computer Science, 806:543–552, 2020. doi:10.1016/j.tcs.2019.08.033.DOI
  4. [4]H. Buhrman, P. B. Miltersen, J. Radhakrishnan, and S. Venkatesh, Are bitvectors optimal?, SIAM Journal on Computing, 31(6):1723–1744, 2002. doi:10.1137/S0097539702405292.DOI
  5. [5]M. Garg and J. Radhakrishnan, Set membership with non-adaptive bit probes, in 34th Symposium on Theoretical Aspects of Computer Science (STACS 2017), Leibniz International Proceedings in Informatics, vol. 66, Article 38, pp. 38:1–38:13, 2017. doi:10.4230/LIPIcs.STACS.2017.38.DOI
  6. [6]P. K. Nicholson, V. Raman, and S. S. Rao, A survey of data structures in the bitprobe model, in Space-Efficient Data Structures, Streams, and Algorithms, Lecture Notes in Computer Science, vol. 8066, pp. 303–318, Springer, 2013. doi:10.1007/978-3-642-40273-9_19.DOI

Paper details

vlnc:W_37vencfn
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

ChatGPT, Claude

View statement
Looking for related papers…
Contents