arXiv:2610.40941quant-phOct 2026

Manuscript Offprint

arXiv:2610.40941

Hypergraph cycle enumeration for efficient inference of planted k-XOR with smooth trade-off

Arman Babakhani, Enrico Fontana, Junhyung Lyle Kim, Shouvanik Chakrabarti, Ruslan Shaydulin

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

Arman Babakhani, 1^{1} Enrico Fontana, 1^{1} Junhyung Lyle Kim, 1^{1} Shouvanik Chakrabarti, 1^{1} and Ruslan Shaydulin 1^{1}

1^{1}Global Technology Applied Research, JPMorganChase, New York, NY 10017, USA

We introduce hypergraph cycle enumeration (HCE), a simple spectral framework for detecting and recovering planted signals in noisy hypergraph inference problems. We study HCE on one representative problem from this class, namely planted noisy k-XOR, also known as sparse Learning Parity with Noise (LPN). Both theoretically and empirically, HCE achieves comparable recovery behavior to Kikuchi method, matching Kikuchi hierarchy. We identify parameter regimes where HCE outperforms Kikuchi method, showing that neither algorithm is universally better. We also show a subquadratic quantum speedup for HCE by replacing one of the algorithm's steps with a quantum walk. Our classical and quantum algorithms do not refute the quartic quantum speedup of quantum Kikuchi method, which remains valid for the practically relevant regime of large size and high noise strength.

I. INTRODUCTION

Many problems in high-dimensional statistics and average-case complexity ask the same basic question: when is a weak, noisy signal hidden in random data detectable, and when can it be recovered efficiently? In many settings there is a striking separation between what is possible with unlimited computation and what is possible with known polynomial-time algorithms. Understanding such informational-computational gaps has become a central goal in the study of random inference problems. [1, 2]

A particularly clean setting in which these questions arise is that of noisy parity measurements, such as Learning Parity with Noise (LPN) [3]. In the F2n\mathbb{F}_2^n setting, suppose an unknown vector xx is observed only through a set {si⋅xi+ni}\{s_i \cdot x_i + n_i\} with each sis_i revealing a parity of a set of coordinates, and each measurement being corrupted by noise nin_i. Natural questions are how many such measurements are needed to identify the hidden vector, and how many are needed for an efficient algorithm? In some natural regimes, this task appears to be computationally difficult, and is indeed a canonical model for the algorithmic limits of extracting a planted discrete signal from sparse, noisy, high-order data. [4, 5]

Here we examine the planted noisy kk-XOR problem, which is also known as sparse LPN, since we require the observations sis_i to be Hamming weight kk. [4, 6] This problem is closely related to tensor PCA [7–9] and to the refutation of random sparse CSPs [10–13]. It is more conveniently framed in terms of signed vectors with entries in {±1}\{\pm1\} instead of vectors in F2\mathbb{F}^2. A kk-XOR instance I\mathcal{I} consists of clauses (Sa,ba)(S_a, b_a), a=1,…,ma = 1, \ldots, m, where each support Sa⊆[n]S_a \subseteq [n] has size kk and each label ba∈{±1}b_a \in \{\pm1\}. Given an assignment z∈{±1}nz \in \{\pm1\}^n, the clause is satisfied when zSa:=∏v∈Sazv=baz_{S_a} := \prod_{v \in S_a} z_v = b_a. In the planted noisy model there is a hidden x∈{±1}nx \in \{\pm1\}^n such that

ba  =  ηa∏v∈Saxv,a=1,…,m,(1)b_{a}\;=\;\eta_{a}\prod_{v\in S_{a}}x_{v},\qquad a=1,\ldots,m, \tag{1}

where the supports SaS_a are i.i.d. uniform kk-subsets of [n][n] and the noise variables ηa∈{±1}\eta_a \in \{\pm 1\} are independent with E[ηa]=ρ\mathbb{E}[\eta_a] = \rho. The detection task is to decide whether the data has a planted solution, i.e., to distinguish ρ=0\rho = 0 null case from planted case with some ρ>0\rho > 0. The recovery task is to reconstruct xx. The noiseless case ρ=1\rho = 1 is solved by Gaussian elimination whenever m≳nm \gtrsim n. Information-theoretically, weak recovery (non-trivial correlation with xx) is possible already at m=Θ(n)m = \Theta(n) clauses for any constant ρ∈(0,1]\rho \in (0,1], while exact recovery requires every variable to appear in at least one clause, necessitating m=Ω(nlog⁡n)m = \Omega(n \log n) clauses [14]. No polynomial-time algorithm is known below m=Θ(nk/2)m = \Theta(n^{k/2}) for even k≥4k \geq 4, and this threshold is conjectured optimal for efficient algorithms [10, 13, 15]. The noisy case is conjectured to exhibit a sharp statistical-computational gap [10, 13, 15, 16].

Historically this and related problems have been approached with methods such as tensor unfolding [9] and the sum-of-squares (SoS) hierarchy [1, 8, 17]. We review these algorithms in Section III. The dominant family of algorithms in the computational threshold regime is the Kikuchi hierarchy [14, 16, 18]: spectral methods indexed by a degree parameter ℓ\ell that trade runtime nO(ℓ)n^{O(\ell)} for a sample complexity that decreases smoothly with ℓ\ell. This smooth trade-off is precisely the property that makes the Kikuchi and SoS hierarchies interesting, since it interpolates between the polynomial-time and the information-theoretic thresholds.

This work started as an attempt to answer the following question: can Gaussian elimination produce a 2-XOR from which the planted solution of the original k-XOR problem can be extracted in the noisy case?

The algorithm we propose is inspired by Gaussian elimination. More formally, we introduce a practical hypergraph-cycle-enumeration hierarchy for planted noisy kk-XOR that retains the smooth trade-off of Kikuchi-type methods, while reducing recovery at every level to spectral estimation on an n×nn \times n matrix. Our contributions can be summarized as follows:

  • We introduce hypergraph cycle enumeration (HCE), a hierarchical algorithmic approach to planted noisy kk-XOR (Section IV). On level ll, HCE aggregates sets of ll clauses, each giving a weak parity signal, into an n×nn \times n recovery matrix. Crucially, unlike Kikuchi, whose level-ℓ\ell operator acts on a lifted space of dimension (nℓ)\binom{n}{\ell}, HCE keeps the spectral problem in the original variable space, with matrix size independent of ll.

  • We provide detection and recovery guarantees based respectively on collecting size-ll even covers, and using size-ll sets of clauses with symmetric difference of size 2 to generate a dense n×nn \times n matrix, the principal component of which aligns with the solution. For both detection and recovery, the parameter ll traces a similar threshold curve as in the Kikuchi and SoS hierarchies: increasing ll combines more clauses at higher computational cost. Specifically, HCE succeeds at the same threshold number of clauses per variable, m/n=Ω~(ρ−2(n/l)k/2−1)m/n = \widetilde{\Omega}(\rho^{-2}(n/l)^{k/2-1}). Thus, the HCE hierarchy exhibits a smooth trade-off, joining SoS, Kikuchi and the gadget-based methods reviewed in Section III as hierarchies with this property.

  • We compare the complexity of HCE to the best competitor, the Kikuchi method. At matched even levels and k=4k=4, their stated runtime bounds have the same leading exponent with the improved HCE probing rule, while HCE uses a smaller matrix representation. We run experiments for k=4,5,6k=4,5,6 (Section VI) using the original all-pairs probe, showing that HCE matches Kikuchi recovery overlap at equal level while using substantially less memory and runtime, especially in the ultra-sparse regimes (e.g., at n=50n=50, k=4k=4, level 6, HCE completes in ≈300\approx 300 s versus ≈5.5\approx 5.5 h per instance for Kikuchi, a ∼60×\sim 60\times speed-up; Appendix G). Thus HCE presents a practical advantage, being able to solve some instances beyond the capability of Kikuchi, and the advantage is largest in the hardest (sparsest) regime.

Note: for recovery, we use smooth trade-off in the soft-asymptotic sense common in work on the Kikuchi hierarchy, where thresholds are compared after suppressing logarithmic factors [16]. Our detection result (Theorem 3) is stronger: it has no logarithmic loss. We conjecture that a normalized or suitably trimmed HCE recovery operator removes the logarithmic slack, uniformly over a non-trivial range of growing levels l=l(n)l=l(n); proving this remains open.

Figure 1 summarizes where each method is preferable. At m=Cnk/2m=Cn^{k/2} the level-ll threshold reduces to an nn-independent condition ρ2C≳cl\rho^2C \gtrsim c_l with clc_l decreasing in ll (Section V), so the (C,ρ)(C,\rho) plane splits into nested regions indexed by the minimum usable level. Easy instances with large CC and ρ\rho are already solved at l=ℓ=2l=\ell=2; for weaker signals deeper levels are needed, and HCE remains preferable in the ultra-sparse regime C≪1C \ll 1, whereas Kikuchi overtakes it at larger densities, where the cost of enumerating ll-clause products outweighs the benefit of HCE's smaller matrix (Section VI).