{
  "id": "2023/1650",
  "url": "https://opencryptology.org/2023/1650",
  "original_url": "https://eprint.iacr.org/2023/1650",
  "title": "An Efficient Variant of F4 Algorithm for Solving MQ Problem",
  "authors": [
    "Kosuke Sakata",
    "Tsuyoshi Takagi"
  ],
  "affiliations": null,
  "abstract": "In this paper, we propose an enhanced variant of the F4 algorithm specifically designed for efficiently solving multivariate quadratic (MQ) problems, which are central to many post-quantum cryptographic schemes. Our approach overcomes a major inefficiency of conventional F4 by integrating a Hilbert-driven strategy that determines the optimal number of S-polynomials to generate at each degree, thereby reducing unnecessary zero reductions. We further introduce refined pair selection techniques that prioritize candidates yielding S-polynomials with smaller leading terms, which in turn minimizes the dimensions of intermediate matrices used during reduction. Experimental results show that our implementation outperforms state-of-the-art systems such as M4GB and Magma's F4 in both single-core and multi-core environments. Notably, our method sets new records in the Fukuoka MQ Challenge for Type VI problems over F(31) with m = 21,22,23,24 demonstrating the robustness and practical impact of our approach in solving highly challenging MQ instances.\nAccording to the computational complexity estimation formula], the problem with m = 24 is approximately 47,627 times harder than the previous record case with m = 20.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“An Efficient Variant of F4 Algorithm for Solving MQ Problem” by Kosuke Sakata, Tsuyoshi Takagi, Cryptology ePrint Archive, Paper 2023/1650, https://eprint.iacr.org/2023/1650. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-10-25T06:31:36Z",
    "updated": "2026-04-15T05:49:25Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1650.pdf",
    "sha256": "25899ba4a5ee6108a7427cdbdcb568aef9904db47a876bef848795f094b13c48",
    "size": 409876,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1650/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1650.pdf",
      "size": 409876,
      "sha256": "25899ba4a5ee6108a7427cdbdcb568aef9904db47a876bef848795f094b13c48",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/1650/versions/20240415T094425Z.pdf",
      "captured_at": "2024-04-15T09:44:25Z",
      "label": "copy captured 2024-04-15",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240415094425id_/https://eprint.iacr.org/2023/1650.pdf",
      "size": 121154,
      "sha256": "23a4e838d88e0b3a26ed12b56a3615dd69261d991cac8e434a289cb171afbc35",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1650.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 409876
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240723161731id_/https://eprint.iacr.org/2023/1650.pdf",
      "captured_at": "2024-07-23T16:17:31Z",
      "size": 117556
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1650,\n      author = {Kosuke Sakata and Tsuyoshi Takagi},\n      title = {An Efficient Variant of F4 Algorithm for Solving MQ Problem},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1650},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1650}\n}"
}
