BiD Codes: Unified Algebraic Code Constructions
- BiD codes are binary abelian codes defined by the row span of Kronecker powers of a 3×3 binary kernel, unifying Berman codes, their duals, and intersections.
- They achieve competitive error-correction performance with a normalized distance exponent of approximately 0.543, offering denser rate–distance tradeoffs than Reed–Muller codes.
- Specialized decoding algorithms, including recursive subproduct and belief-propagation methods, enable near-ML performance with quasi-linear complexity at practical block lengths.
BiD codes, short for Berman–intersection–dual Berman codes, are a recently introduced family of binary abelian codes defined via the row span of Kronecker powers of a 3×3 binary kernel. These codes unify and generalize constructions central to algebraic coding—namely Berman codes, their duals, and their intersections—with direct implications for error correction on memoryless channels, distributed computation, and algebraic code structure. In the context of gradient coding theory, "BiD codes" may also denote codes constructed from Balanced Incomplete Block Designs (BIBDs) and their generalizations, which possess combinatorial and probabilistic structure optimized for straggler mitigation in distributed systems. This entry focuses on algebraic BiD codes and their principal properties, with forward references to related combinatorial and bidirectional distance profile codes only for nomenclature clarity.
1. Algebraic Construction: 3×3 Kernel and Abelian Code Families
Let be the full-rank binary matrix
The -fold Kronecker power , with , serves as the foundational structure for BiD codes. Rows of are indexed by and each has weight for times weight-2 rows and times weight-3 rows in the tensor product. The multiplicity of rows of weight is exactly .
Given , the associated abelian code is
The dimension of is . Its dual is with , so parity checks arise from the complementary row subcollection.
Berman codes and dual Berman codes correspond respectively to and . The Berman–intersection–dual Berman ("BiD") code with parameters is
with dimension (Dash et al., 14 Jul 2025).
2. Parameters, Distance Bounds, and Weight Spectra
For of length , generator rows have only possible weights with explicit multiplicity. Known bounds and exact values for minimum distance include:
- : .
- : .
- General bound:
As , for fixed rate and , the normalized distance exponent satisfies
surpassing the $0.5$ exponent achieved by Reed–Muller (RM) codes.
These codes fill out a denser set of rate–distance tradeoff points at practical blocklengths than RM codes and their variants (Dash et al., 14 Jul 2025, Jain et al., 14 Jan 2026).
3. Decoding Algorithms: Algebraic and Inference Approaches
For first-order BiD codes , fast maximum-likelihood (ML) and max-log-MAP decoding can be implemented via recursive subproduct code algorithms. Let correspond to data with and . Decoding proceeds by recursively decoding after soft-marginalizing over the parameters. The complexity is for (Jain et al., 14 Jan 2026).
Second-order BiD codes exploit a large set of explicit weight-6 parity checks as well as an algebraic "projection" property (in the sense of RM decoding), allowing the design of a belief-propagation decoder. The factor graph features variables, degree-6 check nodes, and projection-based generalized check nodes. Iterative message passing (sum-product for degree-6 nodes, specialized algorithms for projections) yields block error rate within dB of ML at moderate blocklengths, with per-iteration complexity (Jain et al., 14 Jan 2026).
4. Performance: Tradeoffs and Empirical Results
Simulation studies, primarily at (), establish that BiD codes nearly match or slightly outperform RM, RM–Polar, and CRC-aided Polar codes under ML and near-ML decoding on the binary-input AWGN and erasure channels. For example, BiD(5,2,2) achieves similar BLER to RM(8,2) and both approach finite-blocklength converse bounds (Polyanskiy–Poor–Verdú) for erasures. Under ML, SNR required for BLER= is 2.8 dB (BiD) versus 3.3 dB (RM) at . Belief-propagation decoding for second-order BiD codes further narrows the gap to ML, offering near-optimal empirical performance with moderate complexity (Dash et al., 14 Jul 2025, Jain et al., 14 Jan 2026).
5. Encoding, Decoding Complexity, and Practical Construction
Encoding in BiD codes follows Arıkan-style polar encoding with replaced for the classic kernel. Input vector is mapped to , selectively "freezing" bits whose corresponding generator row weight lies outside . The complexity is . ML decoding leverages Successive-Cancellation Ordered-Search (SCOS) adapted to , with practical average node-visits (ANV) notably lower than RM list decoders at similar rates.
BiD codes’ algebraic structure, including projection and explicit check construction, underpins the implementation of specialized decoders (belief propagation, SCOS, and recursive subproduct decoders) that combine quasi-linear complexity with scalability to large blocklengths (Dash et al., 14 Jul 2025, Jain et al., 14 Jan 2026).
6. Broader Context: Connections to Other BiD, BIBD, and BDP Codes
In distributed computing, "BiD codes" or BIBD-based gradient codes represent a distinct line wherein combinatorial block designs (BIBDs) are used to construct gradient codes for straggler-resilient distributed machine learning. Here, the incidence matrix of a -BIBD provides an encoding where each worker computes gradients and each data point is assigned to workers, with worst-case error performance given in closed form as a function of (number of stragglers). Extensions include Soft-BIBD (probabilistic relaxation via a linear program, guaranteeing performance as good as combinatorial BIBDs whenever feasible) and Kronecker-product codes enabling scalability to massive systems via tensor products of smaller codes (Sakorikar et al., 2021).
In convolutional coding, the "bidirectional distance profile" (BDP) measures the minimum of the code and its time-reversal’s distance profiles and underlies the construction of Optimum BDP (OBDP) codes for minimizing the complexity of bidirectional sequential decoding (Stanojević et al., 2022). Though the terminology overlaps, these BDP codes are not derived from the 3×3 kernel framework central to algebraic BiD codes.
7. Asymptotic Properties and Channel Capacity Results
Generalizing the KCP "beyond double-transitivity" argument, BiD codes with contiguous and fixed rate achieve BEC (binary erasure channel) capacity under bit-MAP decoding. The minimum distance exponent at fixed rate is , exceeding that of RM codes (). This property, combined with provable and empirical ML and iterative decoding performance, positions BiD codes as competitive candidates for future applications in both classical channel coding and straggler-resilient distributed systems (Jain et al., 14 Jan 2026, Dash et al., 14 Jul 2025, Sakorikar et al., 2021).