Bit-Interleaved Data Packing
- Bit-interleaved data packing is a set of strategies that distribute coded bits across multiple domains to improve error resilience, hardware utilization, and parallel processing.
- Its algorithmic implementations, including optimized interleaver designs and packing factors, enable high-throughput performance in FPGA accelerators and cryptographic systems.
- Optimized mapping and constellation shaping techniques enhance decoding thresholds and spectral efficiency in modern coded modulation and iterative decoding systems.
Bit-interleaved data packing refers to a family of strategies wherein coded data bits are distributed, rearranged, or embedded across multiple domains—such as symbols, channels, coefficients, or memory banks—in a manner that substantially improves error resilience, parallelism, spectral efficiency, or hardware utilization. Driven by diverse requirements in communication theory, hardware acceleration, encryption, and compression, the concept underpins high-performance system design for MIMO systems, LDPC codes, FPGA datapaths, homomorphic encryption, and neural codecs.
1. Interleaver Design Criteria for Error Resilient Communications
In coded modulation systems, the interleaver determines how coded bits are distributed across the physical resources (symbols, subcarriers, spatial streams). For bit-interleaved coded multiple beamforming (BICMB) systems (0807.2464), two critical criteria are enforced for all error events:
- Symbol Separation of Consecutive Bits: Each coded bit in a sequence must be mapped to a distinct symbol. Mathematically, consecutive bits are mapped such that no two bits in the same error event occupy the same symbol, reducing error burst sensitivity and increasing diversity.
- Stream Participation: For spatial streams, each stream must contribute at least once to any error event:
where is the number of times stream is used with channel bit $1$.
For OFDM systems, consecutive bits must also be transmitted over distinct subcarriers, maximizing both spatial and frequency diversity. These design rules guarantee that no error pattern can bypass the diversity of the entire system, and are sufficient for full diversity in BICMB systems when the free distance is replaced by the Hamming distance in performance analyses. The implementation of these interleaver criteria—especially in multi-stream systems—can become complex, requiring careful combinatorial design to maintain symbol and stream separation for all paths.
2. Algorithmic Bit-Interleaved Packing in Cryptography and Accelerators
Bit-interleaved packing is foundational for high-throughput computation and communication in constrained environments. In privacy-preserving federated learning, FedBit (Meng et al., 27 Sep 2025) employs bit-interleaved packing to embed multiple quantized weights into each polynomial coefficient of a BFV ciphertext:
Here, is the packing factor for layer , each weight is quantized to bits with a carry protection margin , and is the coefficient count. This packing drastically reduces ciphertext expansion and enables efficient SIMD-style polynomial operations on dedicated FPGA accelerators, yielding speedups of up to for encryption and lower communication overhead.
In FPGA DSP blocks (Sommer et al., 2022), bit-interleaved packing allows multiple low-bitwidth multiplications to be performed in a single wide operator. For example, four $4$-bit multiplications can be executed in parallel via controlled bit-offsets, generalizable as:
Advanced methods such as "Overpacking" (packing with negative bit offsets) are introduced, supporting up to six concurrent $4$-bit multiplications per DSP block at minor accuracy cost.
3. Optimized Mapping and Shaping for Channel and Code Performance
Bit-interleaved coded modulation (BICM) is central to modern coded communication. The efficient distribution of bits via optimized bit mappers enhances performance over parallel channels and complex modulations (Häger et al., 2013, Liao et al., 2021). An assignment matrix is constructed such that columns sum to $1$, controlling the allocation of variable nodes across bit channels ( is the fraction of bits at position mapped to channel ).
Optimization methods—including differential evolution—seek to maximize the decoding threshold or minimize decoding iterations for spatially coupled LDPC codes. Results show significant improvements: optimized mappers reduce the required chain length (e.g., drops from $40$ to $25$ for a fixed gap to capacity); additionally, in tail-biting ensembles, decoding waves are initiated by locally enriched mappings.
Constellation shaping (Valenti et al., 2012) further refines bit packing by biasing shaping bits to select lower-energy subconstellations more frequently. This is formalized as:
where is total rate, LDPC rate, shaping bits per symbol, shaping code rate. The combination of shaping, iterative decoding, and LDPC optimization yields gains exceeding $1$ dB in AWGN.
4. Packing Strategies for Data Storage, Compression, and Streaming
Data packing markedly improves memory bandwidth utilization in accelerators (Ferry et al., 22 Jan 2024). Rather than transmitting data aligned to hardware word sizes (e.g., $32$ bits with $17$-bit payloads), the approach packs contiguous custom-width values (so-called Maximal Atomic irRedundant Sets, MARS) into bit-level streams, eliminating padding bits. This is formalized as:
Runtime compression further reduces traffic by encoding differences between sequential values, e.g., using a length indicator and sign bit for the difference , delivering up to reduction in I/O cycles.
In video codecs (Said et al., 2023), overhead from multiple parallel streams is reduced by bidirectional bitstream packing—concatenating one forward and one reverse stream to share entry points and termination bytes:
- Bitstream overhead:
- Bidirectional packing reduces , leading to less than overhead for $95$-byte streams, and under for $1200$-byte streams.
5. Physical Layer Bit Interleaving for Robustness under Interference
Bit interleaving at the physical layer disperses coded bits across temporal and frequency domains to resist burst and impulse errors (Zhan et al., 2022). Various interleaver designs—packet block, symbol block, 3GPP QPP, S-random—spread errors, increasing the likelihood that error correction codes can recover from burst interference.
For short-packet WirelessHP transmissions, interleavers such as the 3GPP QPP () and S-random (spacing adjacent bits by at least positions) outperform simpler block schemes, especially when operating under severe impulse interference defined by
Packet error rates remain low up to dB, but escalate beyond that point, highlighting the limitations of interleaving under extreme conditions.
6. Theory-Driven Multilevel and Lattice Packing
Sphere packing and multilevel constellation design exploit bit-interleaved architectures for maximum packing density (Bollauf et al., 2018). Construction C* generalizes classic Construction C by partitioning codewords into bit-groups and mapping via
The resulting constellation achieves geometric uniformity for and is “nonlattice” in general, but under sufficient conditions (nested antiprojections, Schur closure) becomes a lattice. Asymptotic packing efficiency () reaches the Minkowski bound ($1/2$) for , exceeding traditional constructions.
7. Bit-Interleaved Packing for Iterative Decoding and Modulation
Bit-interleaved packing directly interfaces with iterative demapping and decoding frameworks for bandwidth-efficient systems (Fang et al., 2021). In bit-interleaved coded modulation (BICM) with protograph-based LDPC codes and spatial coupling, bits are mapped for optimal variable node protection, including schemes such as Variable Degree Matched Mapping (VDMM), Two-Stage Lifting Aided Mapping (TSLM), and Spatial-Position Matched Mapping (SPMM). The iterative process
leverages soft information feedback between the demapper and the decoder, enhancing capacity-approaching performance across diverse channels (AWGN, fading, Poisson, flash-memory).
Conclusion
Bit-interleaved data packing serves as a versatile paradigm unifying principles from modulation theory, code design, data storage, hardware acceleration, cryptographic aggregation, and robust wireless communications. By distributing, embedding, and aligning coded bits across resources—guided by rigorous interleaver and packing criteria—it unlocks substantial gains in diversity, parallelism, error resilience, efficiency, and hardware utilization. As demonstrated across the referenced works, careful design and optimization of bit-interleaved packing strategies are critical for realizing next-generation system performance in both communication-theoretic and computational domains.