arXiv:2610.27147cs.DSOct 2026

Manuscript Offprint

arXiv:2610.27147

A Short Note on Algorithms For The Noisy kk-XOR Problem

Kiril Bangachev

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

Abstract

This mostly expository note studies the sample-noise regimes in which the testing problem for noisy kk-XOR in dimension nn can be efficiently solved. Concretely, we ask what pairs (β,δ)(\beta, \delta) admit algorithms running in time nO(k)n^{O(k)} where m=nβ,β∈[0,k]m = n^{\beta}, \beta \in [0, k] is the number of samples and Bern⁡(n−δ),δ∈(0,+∞)\operatorname{Bern}(n^{-\delta}), \delta \in (0, +\infty) is the noise distribution. The current state-of-the-art algorithms are: I. A folklore algorithm when β>1,δ>1\beta > 1, \delta > 1 based on Gaussian elimination; II. A folklore algorithm when β≥k/2\beta \ge k/2 based on the birthday paradox; III. A recent algorithm in the regime β>δ+k(1−δ),δ∈(0,1)\beta > \delta + k(1-\delta), \delta \in (0, 1) based on a reduction to the first algorithm [DJ24; CSZ24]. IV. Extending [AF09], we strictly improve the last regime to β>δ+(k−1)(1−δ),δ∈(0,1)\beta > \delta + (k-1)(1-\delta), \delta \in (0, 1). These algorithms correspond to efficiently finding short cycles in uniform hypergraphs and can be equivalently phrased as algorithmic Moore bounds.

Noise versus samples

Figure

Figure 1: Sample–noise tradeoffs for noisy kk-XOR, equivalently interpreted through finding cycles of length O~(nδ)\widetilde{O}(n^{\delta}). Regions strictly above and to the right of the curves are “easy” and handled by the respective algorithms. The Moore bound does not imply hardness for noisy kk-XOR but is an obstruction to the meta-approach described in Lemma 1.1, which underlies all four algorithms.

1 Introduction

The noisy kk-XOR problem is informally “linear regression over F2\mathbb{F}_2 where each sample is uniformly random kk-sparse” (we define it rigorously below). Perhaps surprisingly, unlike standard linear regression over R\mathbb{R}, the problem exhibits a

∗^{*}Funded by an NAE Grand Challenge Vest Fellowship and a Schwarzman College of Computing Fellowship for the duration of this work.

substantial information-computation gap when k≥3k \geq 3. In some “information-theoretically possible regimes”, there is evidence for near-exponential hardness of the problem [Sch08]. The simple linear structure combined with strong hardness makes the noisy k-XOR problem useful across Learning Theory [RRS17; Fei02; FKO06; AOW15; GHK+23; BSV19; BRT25; BLR+26], Cryptography [ABW10; DJ24; JLS22; RVV24], and Average-Case Complexity [Gri01; Sch08].

Despite the prominence of the problem, we still don’t know the answer to a basic question: In what regimes is noisy k-XOR easy? The goal of this note is to summarize the (surprisingly limited) progress towards this question. We concretely focus on the regime of small sparsity k=O~(1)k = \tilde{O}(1), inverse polynomial noise rate η=n−δ\eta = n^{-\delta}, δ∈(0,+∞)\delta \in (0, +\infty) and polynomially many equations m=nβm = n^{\beta}, β∈(0,k]\beta \in (0, k]. We also interpret easy as the existence of algorithms running in time nO(k)n^{O(k)}. This is for two reasons. First, a lot of the interesting behavior is when β=Θ(k)\beta = \Theta(k) (Figure 1), so time nO(k)n^{O(k)} is polynomial in the input size. Second, the recent work [BBT+24] gives evidence for an nΩ(k)n^{\Omega(k)} running-time lower bound on the noisy k-XOR problem. 1^{1} The problem has testing, search, and refutation versions. We focus on testing and discuss the other two at the end.

Problem 1 (Testing Problem For Noisy k-XOR). Suppose that m, n, k are natural numbers with 1≤k≤n1 \leq k \leq n, m=nβm = n^\beta for some β∈(0,+∞)\beta \in (0, +\infty). Let Spn,k(F2)\text{Sp}_{n,k}(\mathbb{F}_2) be the uniform distribution over k-sparse vectors in F2n\mathbb{F}_2^n. Suppose also that δ∈(0,+∞)\delta \in (0, +\infty) and the noise is η=n−δ\eta = n^{-\delta}. The testing problem is between the following two distributions over (A,y)∈F2m×n×F2m(A, y) \in \mathbb{F}_2^{m \times n} \times \mathbb{F}_2^m:

H0:A∼Spn,k(F2)⊗m⊥y∼Unif(F2m),H1:A∼Spn,k(F2)⊗m⊥s∼Unif(F2n)⊥e∼Bern(η)⊗m=Bern(n−δ)⊗m, andy=As+e.\begin{align*}\mathsf{H}_{0}\quad:\quad&A\sim\mathsf{Sp}_{n,k}(\mathbb{F}_{2})^{\otimes m}\perp y\sim\mathsf{Unif}(\mathbb{F}_{2}^{m}),\\\mathsf{H}_{1}\quad:\quad&A\sim\mathsf{Sp}_{n,k}(\mathbb{F}_{2})^{\otimes m}\perp s\sim\mathsf{Unif}(\mathbb{F}_{2}^{n})\perp e\sim\mathsf{Bern}(\eta)^{\otimes m}=\mathsf{Bern}(n^{-\delta})^{\otimes m},\ and y=As+e.\end{align*}

(1)

The goal is to design an algorithm A:F2m×n×F2m⟶{0,1}\mathcal{A} : \mathbb{F}_2^{m \times n} \times \mathbb{F}_2^m \longrightarrow \{0,1\} running in time nO(k)n^{O(k)} and distinguishing the two distributions with constant advantage, i.e.

∣P(A,y)∼H0[A(A,y)=0]−P(A,y)∼H1[A(A,y)=0]∣≥1/100.\left|\mathbb{P}_{(A,y)\sim\mathsf{H}_{0}}[\mathcal{A}(A,y)=0]-\mathbb{P}_{(A,y)\sim\mathsf{H}_{1}}[\mathcal{A}(A,y)=0]\right|\geq1/100.

The constant 1/100 is unimportant and can be boosted to any other constant by taking constantly many more samples, or to 1−1/poly(n)1 - 1/\text{poly}(n) by taking O(log⁡n)O(\log n) times more samples. Since we care only about the exponent β\beta, this change of the advantage is inconsequential.

We mention, without proof, that whenever m≥2nm \geq 2n, there is a consistent test between H0H_0 and H1H_1 based on the largest number of simultaneously satisfiable equations. This note is dedicated to exploring when a “computationally efficient” test with this property exists.

The Attack: Even Cycles and An Algorithmic Moore Bound. A natural approach to Problem 1 is based on finding linearly dependent rows of A (also known as even covers or cycles). This meta-approach underlies many attacks on noisy k-XOR and related problems including the Kikuchi matrix approach [AOW15; GHO+26; ABK26] and the BKW algorithm [BKW03; Lyu05; KLM26] in addition to the simple algorithms discussed below.

Lemma 1.1. Suppose that there is an algorithm running in time TT which on input A∈F2m×nA \in \mathbb{F}_2^{m \times n} finds with probability at least 1/101/10 a set of 1≤L≤nδ1 \leq L \leq n^\delta rows of AA, indexed by I⊆[m]I \subseteq [m] that sum up to 0n∈F2n\mathbf{0}_n \in \mathbb{F}_2^n. We claim that for any constant ϵ>0\epsilon > 0, there is an O(T+poly(n))O(T + \text{poly}(n)) testing algorithm for the noisy kk-XOR problem with m=nβm = n^\beta, η=n−δ−ϵ\eta = n^{-\delta - \epsilon}.

Proof. Let II be the set of coordinates returned by the algorithm. Then, under H0\mathsf{H}_0, we have that 1ITy∼Bern(1/2)1_I^T y \sim \text{Bern}(1/2) as yy is independent of AA and has unbiased coordinates. Under H1\mathsf{H}_1, on the other hand, 1ITy=1IT(As+e)=1ITe1_I^T y = 1_I^T (As + e) = 1_I^T e. This is the XOR of at most nδn^\delta independent Bern(n−δ−ϵ)\text{Bern}(n^{-\delta-\epsilon}) variables, which is Bern(O(n−ϵ))\text{Bern}(O(n^{-\epsilon})). This distribution can be easily distinguished from Bern(1/2)\text{Bern}(1/2) with advantage 1/101/10.

All the algorithms below and in Figure 1 are based on Lemma 1.1.

We note that the shortest cycle given m=nβm = n^\beta equations is of size roughly max⁡(2,O~(nk−2βk−2))\max(2, \tilde{O}(n^{\frac{k-2\beta}{k-2}})). Thus, a shortest-cycle oracle would succeed in the regime β≥δ+k/2(1−δ)\beta \geq \delta + k/2(1 - \delta). This bound is known as the Moore bound and is known to hold also for worst-case AA (related to the semi-random version of the problem, see Section 3) [HKM23; BKN+26; Fei08]. When such cycles can be found in time nO(k)n^{O(k)} is a wide-open problem for both random and worst-case AA. Even

1^{1}The result of [BBT+24] establishes nΩ(kpoly(log⁡log⁡n,log⁡k))n^{\Omega(\frac{k}{\text{poly}(\log\log n,\log k)})} hardness and only applies to high-noise regimes.

more mysterious is the regime when the noise is n−δn^{-\delta} but cycles of length O~(nδ)\tilde{O}(n^{\delta}) do not exist, so one cannot rely on the approach of Lemma 1.1 even with a cycle-finding oracle. 2^{2}

We outline as an interesting problem whether the converse to Lemma 1.1 holds.

Open Problem 1. Suppose that there exists an algorithm which solves the testing Problem 1 for some (β,δ)(\beta, \delta) in time T=Tn,k,β,δT = T_{n,k,\beta,\delta}. Does there exist an algorithm running in time poly(T,nk)\text{poly}(T, n^k) which on input A∼Spn,k(F2)⊗mA \sim \text{Sp}_{n,k}(\mathbb{F}_2)^{\otimes m} with m=nβm = n^\beta finds a non-trivial cycle of length nδ+o(1)n^{\delta + o(1)}?

References (28)