arXiv:2610.07379cs.DMOct 2026

Manuscript Offprint

arXiv:2610.07379

Property B for random non-uniform hypergraphs

Grzegorz Ryn, Jakub Kozik

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

GRZEGORZ RYN* and JAKUB KOZIK, Theoretical Computer Science, Jagiellonian University, Poland

We show that, in random hypergraphs with several permitted edge sizes, non-uniformity affects existential and algorithmic bounds for 2-colorability (Property B) in fundamentally different ways. Assigning weight 2−k2^{-k} to each k-edge, we obtain upper and lower bounds in terms of the total edge weight that asymptotically match the uniform bounds as the minimum permitted edge size grows, regardless of how edges are distributed among sizes. We also extend the best-known algorithm for 2-coloring random uniform hypergraphs to the non-uniform setting. With weight k2k\frac{k}{2^k} assigned to each k-edge, we construct non-uniform instances whose expected total edge weight per vertex is arbitrarily large, yet the algorithm finds a proper coloring asymptotically almost surely. In the uniform setting, the algorithm fails with high probability once this quantity exceeds a constant. Our construction uses sufficiently separated edge sizes, so that edges of different sizes become relevant at well-separated stages of the execution and their effects are essentially independent.

1 Introduction

A hypergraph H=(V,E)\mathcal{H} = (V, E) consists of a vertex set VV and a family E⊆P(V)E \subseteq \mathcal{P}(V) of edges. A 2-coloring c:V→{RED,BLUE}c : V \to \{RED, BLUE\} is proper if no edge e∈Ee \in E is monochromatic, i.e., every edge contains both colors. A hypergraph admitting such a coloring is called 2-colorable, or is said to have Property B. Equivalently, Property B is the satisfiability problem for a family of not-all-equal constraints on Boolean variables.

So far, random instances of Property B have been studied primarily in the uniform case, where every edge has the same size kk. There, the existential question is fairly well understood. Almost all random hypergraphs with slightly fewer than ln⁡22⋅2k⋅n\frac{\ln 2}{2} \cdot 2^k \cdot n edges are 2-colorable, while above that density proper colorings cease to exist. The best known algorithm, due to Achlioptas, Kim, Krivelevich, and Tetali [1], which we abbreviate to AKKT, reaches only a density smaller by a factor of order kk. In this paper we study what happens when edges of several different sizes are allowed to occur at once. As it turns out, the two classical aspects of the problem, namely the existence of a proper coloring and our ability to find one efficiently, react to such a change in fundamentally different ways.

Larger edges are less likely to be monochromatic under a uniformly random 2-coloring, and the edge count alone is therefore too coarse to measure non-uniform hypergraphs. Erdős and Lovász [2] addressed this in the worst-case problem by assigning the weight 21−∣e∣2^{1-|e|} to each edge ee, so that the total weight of a hypergraph is precisely the expected number of monochromatic edges. We follow the same idea assigning weight 2−k2^{-k} to a kk-edge in the existential setting and k2−kk2^{-k} in the algorithmic one. Under such normalization, each of the uniform bounds corresponds to a total edge weight proportional to nn, and we refer to the expected total weight divided by nn as the normalized density.

In the existential setting, this single quantity appears to capture most of what matters. Both of our bounds depend on the instance only through its normalized density, with every permitted edge size contributing additively, and as the minimum permitted size grows they approach the constant ln⁡22\frac{\ln 2}{2} known from the uniform model. In this sense, mixing edge sizes seems to bring neither benefit nor penalty, and the uniform bounds survive non-uniformity to leading order.

For AKKT the situation is different, and no such quantity seems to suffice. Edges of different sizes obstruct the algorithm at different moments of its execution, with larger edges becoming dangerous later, so that sizes which

∗^{*}Also with Doctoral School of Exact and Natural Sciences, Jagiellonian University.

Authors' Contact Information: Grzegorz Ryn; Jakub Kozik, Theoretical Computer Science, Jagiellonian University, Kraków, Poland.

Grzegorz Ryn and Jakub Kozik

are sufficiently far apart never obstruct it simultaneously. By assigning to each of them as much weight as it can carry on its own, we obtain instances of arbitrarily large normalized density on which AKKT still succeeds. Since the algorithm is known to fail on uniform instances of large normalized density, the same value of this parameter may correspond to failure in the uniform case and to success in a non-uniform one. In particular, no condition depending on the normalized density alone can characterize the success of AKKT.