arXiv:2610.38479cs.CROct 2026

Manuscript Offprint

arXiv:2610.38479

Recurrent Bipartite Graph Neural Networks for QC-MDPC Error Decoding in McEliece Cryptosystems

Parth Rajeshkumar Tandel, Elisabeth Fink

Abstract

As the advent of large-scale quantum computing threatens classical encryption, Quasi-Cyclic Moderate Density Parity-Check (QC-MDPC) codes have emerged as a foundational element of Post-Quantum Cryptography (PQC). However, decoding these relatively dense codes using classical Belief Propagation algorithms often leads to failures caused by short graph cycles that stall the decoder. In cryptographic applications, these failures are severe security vulnerabilities that leak secret key information. To address this, this paper proposes a Recurrent Bipartite Graph Neural Network (R-BGNN) as proof of concept. By integrating Gated Recurrent Units (GRUs) into the message-passing framework and employing a multi-topology curriculum training strategy, the R-BGNN actively learns to break limit-cycle oscillations. Evaluated across 20 unseen matrix topologies, the proposed architecture significantly outperforms classical Bit-Flipping and Min-Sum baselines, reducing the Decoding Failure Rate (DFR) by 63.7% at moderate noise levels (t=10t=10) while converging in fewer iterations.

Keywords: Post-Quantum Cryptography, QC-MDPC Codes, Graph Neural Networks, Belief Propagation, Gated Recurrent Units, Decoding Failure Rate, McEliece Cryptosystem

1 Introduction

Public key encryption (PKE) was a breakthrough in the field of modern cryptography, majorly relying on hard mathematical problems such as prime factorization and discrete logarithms. However, algorithms designed for large-scale quantum computers possess the potential to solve these mathematical defenses in polynomial time, rendering current encryption protocols at threat [1]. This anticipated future vulnerability, termed ‘Quantum D-Day’, will render modern public-key standards such as RSA and Elliptic Curve Cryptography (ECC) completely insecure, compelling an urgent global transition toward Post-Quantum Cryptography (PQC).

In response, lattice-based, hash-based and code-based cryptography have emerged as highly promising fields within PQC [2]. Among these, the McEliece public-key cryptosystem stands out as one of the most thoroughly cryptanalyzed candidates [3]. However, traditional McEliece variants utilizing Goppa codes faced significant deployment barriers due to their requirement for very large public keys. To overcome this limitation, [4] introduced the Quasi-Cyclic Moderate Density Parity-Check (QC-MDPC) McEliece variant, which relies on MDPC codes to provide highly compact keys. By adopting a quasi-cyclic (QC) structure, each circulant block of the parity-check matrix can be compactly represented by its first row, significantly reducing memory overhead and positioning QC-MDPC codes as a primary foundation for National Institute of Standards and Technology (NIST) PQC finalists like the Bit-Flipping Key Encapsulation (BIKE) cryptosystem [5].

References (27)