{
  "id": "2016/170",
  "url": "https://opencryptology.org/2016/170",
  "original_url": "https://eprint.iacr.org/2016/170",
  "title": "Fast Learning Requires Good Memory: A Time-Space Lower Bound for Parity Learning",
  "authors": [
    "Ran Raz"
  ],
  "affiliations": null,
  "abstract": "We prove that any algorithm for learning parities requires either a memory of quadratic size or an exponential number of samples. This proves a recent conjecture of Steinhardt, Valiant and Wager and\nshows that for some learning problems a large storage space is crucial.\n\nMore formally, in the problem of parity learning, an unknown string $x \\in \\{0,1\\}^n$ was chosen uniformly at random. A learner tries to learn $x$ from a stream of samples $(a_1, b_1), (a_2, b_2)... $, where each $a_t$ is uniformly distributed over $\\{0,1\\}^n$ and $b_t$ is the inner product of $a_t$ and $x$, modulo 2. We show that any algorithm for parity learning, that uses less than $n^2/25$ bits of memory, requires an exponential number of samples.\n\nPreviously, there was no non-trivial lower bound on the number of samples needed, for any learning problem, even if the allowed memory size is $O(n)$ (where $n$ is the space needed to store one sample).\n\nWe also give an application of our result in the field of bounded-storage cryptography. We show an encryption scheme that requires a private key of length $n$, as well as time complexity of $n$ per encryption/decryption of each bit, and is provenly and unconditionally secure as long as the attacker uses less than\n$n^2/25$ memory bits and the scheme is used at most an exponential number of times. Previous works on bounded-storage cryptography assumed that the memory size used by the attacker is at most linear in the time needed for encryption/decryption.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Fast Learning Requires Good Memory: A Time-Space Lower Bound for Parity Learning” by Ran Raz, Cryptology ePrint Archive, Paper 2016/170, https://eprint.iacr.org/2016/170. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-02-19T20:19:58Z",
    "updated": "2016-02-19T20:19:58Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/170.pdf",
    "sha256": "428d4ee4428556baa97e2e5b357f241609a929fcf8a52b8f242d8aef294e785d",
    "size": 400118,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/170/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/170.pdf",
      "size": 400118,
      "sha256": "428d4ee4428556baa97e2e5b357f241609a929fcf8a52b8f242d8aef294e785d",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20220120223905id_/https://eprint.iacr.org/2016/170.pdf",
      "captured_at": "2022-01-20T22:39:05Z",
      "size": 345488
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/170.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 400118
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/170,\n      author = {Ran Raz},\n      title = {Fast Learning Requires Good Memory: A Time-Space Lower Bound for Parity Learning},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/170},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/170}\n}"
}
