Uniform random pivots for learning a monotone predicate can lose a factor of order log log n
Choosing uniformly among the unresolved elements of a finite partially ordered set can take a factor of order \(\log\log n\) more queries than the entropy of the unknown monotone predicate, even when all predicates are equally likely. This answers Antoine Amarilli's first question about the rule. There is no universal constant bounding its expected query count by a multiple of the entropy. In fact, over posets \(P\) with exactly \(n\) elements, \[\max_{|P|=n}\frac{c_1(P)}{c_2(P)}=\Theta(\log\log n)\qquad(n\to\infty), \] with absolute constants in the upper and lower bounds. Amarilli, Posets, 'Tradeoffs between computational and oracle complexity to learn monotone predicates on posets', first question A monotone Boolean predicate \(\Pi\) satisfies \(\Pi(x)\le\Pi(y)\) whenever \(x\le y\), with \(0<1\). Its zero set \(I\) is an order ideal, meaning that it contains every element below any of its members. Each ideal gives exactly one such predicate, so the uniform prior on predicates has entropy \(c_2(P)=\log_2|J(P)|\) bits, where \(J(P)\) is the set of order ideals. The learner queries a uniformly chosen unresolved element \(x\). An answer of zero resolves every unresolved \(y\le x\), and an answer of one resolves every unresolved \(y\ge x\). The expected total number of queries, over both the predicate and the learner's choices, is \(c_1(P)\). The cost for a given predicate depends on how many elements of the same value can resolve each element. The learner can scan a uniformly random permutation and skip elements whose values are already known. A zero is queried exactly when it occurs first among the zeros at or above it. A one is queried exactly when it occurs first among the ones at or below it. For any finite poset \(R\), set \[u_R(x)=|\{y\in R:y\ge_R x\}|,\qquad S(R)=\sum_{x\in R}\frac{1}{u_R(x)}. \] The count \(u_R(x)\) includes \(x\), and the sum is zero when \(R\) is empty. If \(Q\) is the total query count, the exact formulas are \[\mathbb E[Q\mid I]=S(I)+S((P\setminus I)^{\mathrm{op}}),\qquad c_1(P)=\frac{1}{|J(P)|}\sum_{I\in J(P)}\bigl[S(I)+S((P\setminus I)^{\mathrm{op}})\bigr]. \] Both subsets carry their induced orders, and \(\mathrm{op}\) reverses the order. These formulas give the expected cost from the order relations and a specified zero set, or from an enumeration of the ideals for the uniform prior. A second relation connects these counts to entropy. For \(0<t<1\), select each element of \(R\) independently with probability \(t\) and let \(D_t\) consist of the selected elements and all elements below them. With \(H\) denoting Shannon entropy in bits and \(h_2(t)=-t\log_2t-(1-t)\log_2(1-t)\), \[H(D_t)=h_2(t)\sum_{x\in R}(1-t)^{u_R(x)-1}\le\log_2|J(R)|. \] When membership is read from higher elements to lower ones, membership of \(x\) is forced if a strictly higher element belongs to \(D_t\). Otherwise the selection of \(x\) itself determines its membership. The probability of this second case is \((1-t)^{u_R(x)-1}\). Integrating the sum in the entropy formula over \(0\le t\le1\) gives \(S(R)\). For any integer \(n\ge2\) and any \(R\) with \(|R|\le n\), the resulting bound is \[S(R)\le\frac{|R|}{n}+\bigl(\ln 2\,\ln(\log_2 n)+\tfrac12\bigr)\log_2|J(R)|. \] Here \(\ln\) is the natural logarithm. In particular, for every fixed ideal \(I\) of a poset \(P\) with \(n\ge2\) elements, \[\mathbb E[Q\mid I]\le 1+\bigl(2\ln 2\,\ln(\log_2 n)+1\bigr)c_2(P). \] For a singleton, \(c_1(P)=c_2(P)=1\). For the empty poset both are zero. The matching examples have equally many local ideals in each layer but very different chain lengths. For an integer \(r\ge2\), take layers indexed from top to bottom by \(i=0,\ldots,r-1\), with every element of a lower layer below every element of a higher one. Write \(e_i=16r4^i\) and \(M=e_{r-1}\). Layer \(i\) consists of \(w_i=M/e_i\) mutually incomparable chains, each with \(L_i=2^{e_i}-1\) vertices. Each layer has \(2^M\) local ideals, and the whole poset \(P_r\) has \(r(2^M-1)+1\) ideals. A uniform ideal cuts any specified layer in a proper nonempty subset with probability at least \(1/(2r)\). On that event every lower layer is full. The increasing chain lengths ensure that each such full layer contributes at least \(M\ln 2/2\) to the conditional expected query count, even after accounting for queries that resolve elements from higher layers. Thus \[c_1(P_r)\ge\frac{M(r-1)\ln 2}{8},\qquad c_2(P_r)\le M+\log_2r. \] To obtain a poset of any sufficiently large exact size \(n\), choose the largest \(r\) with \(n_r=\sum_{i=0}^{r-1}w_iL_i\le n\) and add a disjoint chain of \(n-n_r\) vertices. Expected costs add across the components. The chain adds \(\log_2(n-n_r+1)\) bits, which is \(O(M)\) for \(n_r\le n<n_{r+1}\), and in this range \(r=\Theta(\log\log n)\). The result concerns the uniform pivot rule. The earlier theorem of Linial and Saks gives a bounded ratio using central elements as pivots. Amarilli's subsequent question about computationally tractable alternatives is separate. Linial and Saks, *Every poset has a central element*, Theorem 1
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24798705
- Primary Topic
- Complexity and Algorithms in Graphs
- Type
- preprint