Threshold Selection for Iterative Decoding of $(v,w)$-regular Binary Codes
Alessandro Annechini, Alessandro Barenghi, Gerardo Pelosi
TL;DR
The paper addresses efficient decoding of sparse $(v,w)$-regular binary codes by designing state-aware, syndrome-weight dependent thresholds for a two-iteration parallel bit-flipping decoder. It develops a closed-form model for the distribution of the syndrome weight after the first iteration using a non-homogeneous Markov process, enabling joint optimization of the first- and second-iteration thresholds $\mathtt{th}^{(1)}(y)$ and $\mathtt{th}^{(2)}(y,z_0,z_1)$. By deriving explicit second-iteration flip probabilities and incorporating $(v,w)$-regularity constraints, the authors present a practical two-stage threshold selection framework that achieves significantly lower decode failure rates (DFR) than fixed thresholds or BIKE-style thresholds, while remaining scalable to cryptographic code sizes. The approach offers reproducible, off-the-shelf threshold computation that improves decoding reliability for post-quantum cryptographic primitives and related applications.
Abstract
Iterative bit flipping decoders are an efficient and effective decoder choice for decoding codes which admit a sparse parity-check matrix. Among these, sparse $(v,w)$-regular codes, which include LDPC and MDPC codes are of particular interest both for efficient data correction and the design of cryptographic primitives. In attaining the decoding the choice of the bit flipping thresholds, which can be determined either statically, or during the decoder execution by using information coming from the initial syndrome value and its updates. In this work, we analyze a two-iterations parallel hard decision bit flipping decoders and propose concrete criteria for threshold determination, backed by a closed form model. In doing so, we introduce a new tightly fitting model for the distribution of the Hamming weight of the syndrome after the first decoder iteration and substantial improvements on the DFR estimation with respect to existing approaches.
