Papers
Topics
Authors
Recent
Search
2000 character limit reached

Near Optimal Algorithms for Noisy kk-XOR under Low-Degree Heuristic

Published 12 Apr 2026 in cs.CC and cs.DS | (2604.10457v1)

Abstract: Noisy kk-XOR is a basic average-case inference problem in which one observes random noisy kk-ary parity constraints and seeks to recover, or more weakly, detect, a hidden Boolean assignment. A central question is to characterize the tradeoff among sample complexity, noise level, and running time. We give a recovery algorithm, and hence also a detection algorithm, for noisy kk-XOR in the high-noise regime. For every parameter DD, our algorithm runs in time n<sup>D+O(1)n<sup>{D+O(1)} and succeeds whenever m≥Ckn<sup>k/2D<sup> k/2−1δ<sup>2,</sup></sup></sup> m \ge C_k \frac{n<sup>{k/2}}{D<sup>{\,k/2-1}δ<sup>2},</sup></sup></sup> where CkC_k is an explicit constant depending only on kk, and δδ is the noise bias. Our result matches the best previously known time--sample tradeoff for detection, while simultaneously yielding recovery guarantees. In addition, the dependence on the noise bias δδ is optimal up to constant factors, matching the information-theoretic scaling. We also prove matching low-degree lower bounds. In particular, we show that the degree-DD low-degree likelihood ratio has bounded L<sup>2L<sup>2-norm below the same threshold, up to the same factor D<sup>k/2−1D<sup>{k/2-1}. Under the low-degree heuristic, this implies that our algorithm is near-optimal over a broad range of parameters. Our approach combines a refined second-moment analysis with color coding and dynamic programming for structured hypergraph embedding statistics. These techniques may be of independent interest for other average-case inference problems.

Authors (1)

Summary

  • The paper introduces an explicit algorithm for noisy k-XOR recovery that eliminates previous sample complexity overhead by matching the optimal noise bias threshold.
  • It leverages hypergraph statistics, color coding, and dynamic programming to achieve a precise tradeoff between runtime and sample complexity.
  • A corresponding low-degree lower bound confirms that any n^(O(D))-time algorithm requires Ω(n^(k/2)/(D^(k/2-1)δ^2)) samples, establishing the algorithm’s optimality.

Near-Optimal Algorithms for Noisy kk-XOR under the Low-Degree Heuristic


Problem Statement and Context

The paper addresses the noisy kk-XOR problem, equivalently known as sparse Learning Parity with Noise (LPN). Here, one observes mm random kk-XOR constraints—parity checks over exactly kk variables—each presenting a noisy label: zα=xαξαz_\alpha = x_\alpha \xi_\alpha, where the hidden Boolean vector x∈{±1}nx \in \{\pm1\}^n is to be recovered, and ξα\xi_\alpha is a Rademacher noise with mean δ\delta. The central computational task is either recovery (estimating xx) or detection (distinguishing a planted assignment from pure noise), in a parameterized regime (number of samples kk0, arity kk1, noise bias kk2).

Noisy kk3-XOR is foundational in average-case complexity, learning theory, and cryptography (e.g., as a hardness assumption for various primitives). Prior work established the statistical threshold for detection at kk4, but efficient recovery algorithms matching this were unattainable in the high-noise regime—there was a persistent overhead in sample complexity (especially in kk5).

The paper studies this gap exhaustively, seeking to resolve the optimal tradeoff between sample complexity, running time, and noise bias for recovery (and thus, detection), within the low-degree paradigm.


Main Results

1. Algorithmic Upper Bound

The authors develop an explicit algorithm for noisy kk6-XOR that, for any arity kk7 and parameter kk8, achieves runtime kk9 and succeeds at recovery whenever

mm0

where mm1 is a constant depending only on mm2. This eliminates the prior polylogarithmic factors and, crucially, is information-theoretically optimal in mm3, matching the lower bound implied by channel capacity considerations.

Unlike existing algorithms (e.g., Basu et al.), this method closes the sample complexity gap in mm4, unifying detection and recovery thresholds. The result also produces a tight computational-sample tradeoff: as mm5 grows, runtime increases while the required number of samples decreases, interpolating all the way down to the statistical threshold.

2. Matching Low-Degree Lower Bound

Theoretical guarantees are established by analyzing the low-degree likelihood ratio, following the framework where the existence of low-degree distinguishing polynomials correlates with the existence of efficient algorithms. The paper proves that:

mm6

is required for any degree-mm7 polynomial (i.e., any mm8-time algorithm) to distinguish or recover, thus conjecturally establishing optimality of the presented algorithm. The combinatorial enumeration of even mm9-uniform hypergraphs is essential for the explicit form of these bounds.

3. Algorithmic Construction

The algorithm leverages:

  • Hypergraph statistics: Aggregated sums over structured kk0-uniform hypergraph patterns with specific regularity and connectivity constraints. Character sums are evaluated over families of degree-2 regular cycles and paths.
  • Color coding and dynamic programming: Efficient enumeration of bounded-width hypergraph embeddings by introducing random coloring and DP recursion, with variance reduction via averaging—a blueprint adapted from recent advances in average-case inference (notably tensor PCA and planted CSPs).
  • Clean-up (Rounding) Step: After a weak recovery step (recovering kk1 up to a fixed error), a majority-vote postprocessing with fresh samples resolves all bits, exploiting independence to eliminate residual bias.

This modularity enables direct control over the runtime-sample tradeoff via the hypergraph gadget’s "width" (kk2).


Numerical Guarantees and Tightness

The paper’s main theorems give precise, explicit constants and asymptotics: for arity kk3 and every kk4 (a multiple of kk5) in a specified range,

Algorithmic Guarantee:

  • Runtime: kk6
  • Sample Complexity: kk7
  • Success Probability: kk8, approaching kk9 as kk0 or kk1 grows

Low-Degree Barrier:

  • No kk2-time algorithm can succeed for kk3

The dependence on kk4 is strictly quadratic, which is provably optimal, while the scaling in kk5 and kk6 matches the precise combinatorial threshold predicted by the low-degree method.

Contrasts with Prior Work

The results strictly improve over Basu et al. (who incur an kk7 or worse overhead), and show that earlier search-to-decision reductions for kk8-XOR are suboptimal except in regimes where computational hardness is unconstrained.


Technical Contributions

Hypergraph-Based Mean-Variance Analysis

The detection statistic is a sum over hypergraph patterns with intricate regularity properties, selected so as to maximize signal under the planted model and minimize variance under the null model. Second-moment and combinatorial analyses guarantee separation in all relevant parameter regimes.

Color Coding and DP for Efficient Computation

The adoption of color coding (Alon et al.) transforms the inherently exponential pattern-matching task into a polynomial-time DP on bounded width forests, underpinning the runtime guarantees. Multiple colorings are averaged to mitigate additional variance without loss of bias.

Sample Model Equivalence and Statistical Reductions

Careful analysis shows that Bernoulli, fixed-with and fixed-without replacement versions of the model are asymptotically equivalent in the parameter regime, up to negligible additive differences. All technical results are formulated in the most convenient model for each argument.

Information-Computational Barrier under Low-Degree Heuristic

Matching upper and lower bounds in the low-degree framework provide strong evidence that the computational barrier found is tight, at least for constant or slowly growing noise rates. The combinatorial enumeration of even degree-kk9 hypergraphs is addressed explicitly.


Theoretical and Practical Implications

  • Theoretically, the work precisely locates the onset of computational hardness for noisy zα=xαξαz_\alpha = x_\alpha \xi_\alpha0-XOR, and specifies the optimal tradeoff attainable by any polynomial-time (or sub-exponential time) algorithm, aligning detection and recovery thresholds.
  • Practically, these algorithms have potential application for cryptanalysis in cryptographic primitives based on sparse LPN assumptions, as they close possible gaps between decision and search hardness at high noise rates—the regime exploited in cryptography.
  • The general technique—pattern statistics + color coding for average-case inference—serves as a model for advanced algorithmic design in high-dimensional, noisy combinatorial problems.

Future Directions

The analysis reveals that in the low-noise regime (zα=xαξαz_\alpha = x_\alpha \xi_\alpha1), the standard low-degree heuristic may fail to capture all tractability phenomena, as certain algorithmic reductions (cf. Chen et al.) go beyond low-degree predictions. A precise conjectural framework interpolating constant- and vanishing-noise complexity remains open.

Further, extensions to more general planted CSPs, variants with additional combinatorial structure, and observation models with more general noise or sampling may admit similar hypergraph-based reductions and yield new algorithmic frontiers.


Conclusion

This work settles the optimal sample--runtime--noise tradeoff for recovery in the noisy zα=xαξαz_\alpha = x_\alpha \xi_\alpha2-XOR problem, establishing that low-degree polynomial algorithms achieve the finest possible threshold predicted by current computational heuristics. The synthesis of hypergraph statistics, color coding, and low-degree analysis provides a robust framework expandable to a broad class of average-case high-dimensional inference problems.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.