{
  "id": "2021/994",
  "url": "https://opencryptology.org/2021/994",
  "original_url": "https://eprint.iacr.org/2021/994",
  "title": "BKW Meets Fourier: New Algorithms for LPN with Sparse Parities",
  "authors": [
    "Dana Dachman-Soled",
    "Huijing Gong",
    "Hunter Kippen",
    "Aria Shahverdi"
  ],
  "affiliations": null,
  "abstract": "We consider the Learning Parity with Noise (LPN) problem with sparse secret, where the secret vector $\\textbf{s}$ of dimension $n$ has Hamming weight at most $k$. We are interested in algorithms with asymptotic improvement in the $\\textit{exponent}$ beyond the state of the art. Prior work in this setting presented algorithms with runtime $n^{c \\cdot k}$ for constant $c < 1$, obtaining a constant factor improvement over brute force search, which runs in time ${n \\choose k}$. We obtain the following results:\n- We first consider the $\\textit{constant}$ error rate setting, and in this case present a new algorithm that leverages a subroutine from the acclaimed BKW algorithm [Blum, Kalai, Wasserman, J.~ACM '03] as well as techniques from Fourier analysis for $p$-biased distributions. Our algorithm achieves asymptotic improvement in the exponent compared to prior work, when the sparsity $k = k(n) = \\frac{n}{\\log^{1+ 1/c}(n)}$, where $c \\in o(\\log \\log(n))$ and $c \\in \\omega(1)$. The runtime and sample complexity of this algorithm are approximately the same.\n- We next consider the $\\textit{low noise}$ setting, where the error is subconstant. We present a new algorithm in this setting that requires only a $\\textit{polynomial}$ number of samples and  achieves asymptotic improvement in the exponent compared to prior work, when the sparsity $k = \\frac{1}{\\eta} \\cdot \\frac{\\log(n)}{\\log(f(n))}$ and noise rate of $\\eta \neq 1/2$ and $\\eta^2 = \\left(\\frac{\\log(n)}{n} \\cdot f(n)\\right)$, for $f(n) \\in \\omega(1) \\cap n^{o(1)}$. To obtain the improvement in sample complexity, we create subsets of samples using the $\\textit{design}$ of Nisan and Wigderson [J.~Comput.~Syst.~Sci. '94], so that any two subsets have a small intersection, while the number of subsets is large.  Each of these subsets is used to generate a single $p$-biased sample for the Fourier analysis step. We then show that this allows us to bound the covariance of pairs of samples, which is sufficient for the Fourier analysis.\n- Finally, we show that our first algorithm extends to the setting where the noise rate is very high $1/2 - o(1)$, and in this case can be used as a subroutine to obtain new algorithms for learning DNFs and Juntas. Our algorithms achieve asymptotic improvement in the exponent for certain regimes. For DNFs of size $s$ with approximation factor $\\epsilon$ this regime is when $\\log \\frac{s}{\\epsilon} \\in \\omega \\left( \\frac{c}{\\log n \\log \\log c}\\right)$, and $\\log \\frac{s}{\\epsilon} \\in n^{1 - o(1)}$, for $c \\in n^{1 - o(1)}$. For Juntas of $k$ the regime is when $k \\in \\omega \\left( \\frac{c}{\\log n \\log \\log c}\\right)$, and $k \\in n^{1 - o(1)}$, for $c \\in n^{1 - o(1)}$.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“BKW Meets Fourier: New Algorithms for LPN with Sparse Parities” by Dana Dachman-Soled, Huijing Gong, Hunter Kippen, Aria Shahverdi, Cryptology ePrint Archive, Paper 2021/994, https://eprint.iacr.org/2021/994. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-07-28T06:37:21Z",
    "updated": "2021-07-28T06:37:21Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/994.pdf",
    "sha256": "8f9888ffd42fade45750208d5818ec526758427e56b0c2156fdbaf32ff12327e",
    "size": 741885,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/994/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/994.pdf",
      "size": 741885,
      "sha256": "8f9888ffd42fade45750208d5818ec526758427e56b0c2156fdbaf32ff12327e",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260111120207id_/https://eprint.iacr.org/2021/994.pdf",
      "captured_at": "2026-01-11T12:02:07Z",
      "size": 742827
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/994.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 741885
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/994,\n      author = {Dana Dachman-Soled and Huijing Gong and Hunter Kippen and Aria Shahverdi},\n      title = {BKW Meets Fourier: New Algorithms for LPN with Sparse Parities},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/994},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/994}\n}"
}
