Papers
Topics
Authors
Recent
Search
2000 character limit reached

Constant Composition Distribution Matcher (CCDM)

Updated 19 December 2025
  • Constant Composition Distribution Matcher (CCDM) is a fixed-length, invertible mapping that converts uniformly distributed bits into sequences with a fixed empirical distribution.
  • It uses combinatorial methods based on multinomial coefficients and efficient encoding techniques like arithmetic and enumerative coding to achieve near-optimal asymptotic rate with quantifiable finite-length losses.
  • CCDM is a key component in probabilistic amplitude shaping for modern communication systems, enhancing SNR performance and enabling efficient coded modulation over AWGN channels.

A constant composition distribution matcher (CCDM) is a fixed-length, invertible mapping from a uniformly distributed input bit sequence to an output sequence whose empirical distribution matches a prescribed target distribution as closely as possible. CCDM is foundational in probabilistic amplitude shaping (PAS) for modern coded modulation over AWGN channels and has been rigorously analyzed in terms of rate, divergence, implementation complexity, and performance at finite blocklengths. The defining property of CCDM is that all output sequences share the same empirical distribution—i.e., the output composition is fixed—which enables precise combinatorial analysis and asymptotic optimality up to vanishing rate and divergence loss.

1. Mathematical Formulation and Combinatorics

Given a finite alphabet A={a1,…,am}\mathcal{A} = \{a_1,\ldots,a_m\} and target PMF PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m), CCDM constructs blocklength-nn output sequences xn=(x1,…,xn)x^n = (x_1, \ldots, x_n) so that the empirical distribution matches PAP_A as closely as integer constraints permit. Composition vector n=(n1,…,nm)n = (n_1, \ldots, n_m) with ∑ni=n\sum n_i = n is chosen such that ni/n≈Pin_i/n \approx P_i. The set of all sequences with this composition forms the type class: T(n)={xn∈An:#{j:xj=ai}=ni  ∀i}.T(n) = \{ x^n \in \mathcal{A}^n : \#\{j: x_j = a_i\} = n_i \; \forall i \}. The cardinality is given by the multinomial coefficient: ∣T(n)∣=(nn1,n2,…,nm)=n!n1!n2!⋯nm!.|T(n)| = \binom{n}{n_1, n_2, \ldots, n_m} = \frac{n!}{n_1! n_2! \cdots n_m!}. CCDM implements a bijection

PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m)0

where PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m)1. The achieved rate is PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m)2 (Schulte et al., 2015, Fehenberger et al., 2018).

2. Asymptotic Rate Optimality and Finite-Length Loss

The optimal mapping would generate i.i.d. sequences according to PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m)3, achieving per-symbol entropy rate PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m)4. CCDM, at finite PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m)5, incurs a rate loss: PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m)6 which vanishes as PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m)7 and can be tightly bounded using Stirling’s formula: PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m)8 yielding

PA=(P1,…,Pm)P_A = (P_1,\ldots,P_m)9

(Schulte et al., 2015, Fehenberger et al., 2018, Pikus et al., 2019). For binary CCDM, nn0, and similar bounds hold with the type class size reduced to nn1 (Schulte et al., 2017).

The normalized informational divergence (per symbol) between the CCDM output and the i.i.d. target,

nn2

also vanishes as nn3 increases. However, the absolute divergence scales as nn4 for binary output (Schulte et al., 2017).

3. Enumerative and Arithmetic Coding Implementations

CCDM mapping is traditionally realized via enumerative coding or arithmetic coding. The arithmetic coding approach maintains a shrinking interval, at each step partitioned according to the remaining symbol counts. Encoding and decoding—picking symbols so that the output interval corresponds to the input bit-string’s fractional value, and vice versa—require only symbol counts and iterative updates of multinomial coefficients: PAP_A9 No precomputed codebook or large look-up tables are required; only factorial or log-factorial tables and small integer counters suffice (Fehenberger et al., 2018, Pikus et al., 2019).

Finite-precision arithmetic coding (FPA-CCDM) is analyzed rigorously: with nn5 bits of precision, the additional rate loss diminishes exponentially as nn6 (Pikus et al., 2019). Multiplication-free variants such as Log-CCDM further reduce hardware costs by replacing multiplications/divisions with table lookups and integer addition, achieving negligible rate loss at practical blocklengths (Gültekin et al., 2022).

4. Complexity, Parallelization, and Alternative Algorithms

Arithmetic-coding-based CCDM is fundamentally serial: for input length nn7 and output length nn8 it requires nn9 sequential steps, with per-symbol computational effort proportional to the alphabet size. Storage requirements are modest (xn=(x1,…,xn)x^n = (x_1, \ldots, x_n)0 bits for counters and interval endpoints), and overall memory and computational complexity is xn=(x1,…,xn)x^n = (x_1, \ldots, x_n)1 per block (Fehenberger et al., 2018, Gültekin et al., 2019).

Alternative algorithms include:

  • Multiset ranking (MR-CCDM) and subset ranking (SR-CCDM): These perform direct ranking/unranking on multisets for composition-aware mapping, reducing serial depth and facilitating hardware parallelization, especially in binary-output or parallel-amplitude architectures (Fehenberger et al., 2020, Fehenberger et al., 2019).
  • Parallel-amplitude CCDM (PA-DM): Decomposes xn=(x1,…,xn)x^n = (x_1, \ldots, x_n)2-ary composition matching into xn=(x1,…,xn)x^n = (x_1, \ldots, x_n)3 parallel binary CCDMs with negligible rate penalty, dramatically reducing serial bottlenecks (Fehenberger et al., 2019).
  • Log-CCDM: Employs log-domain updates and lookup tables to avoid multiplications/divisions, achieving near-ideal performance and minimal rate loss with sub-kilobyte memory at xn=(x1,…,xn)x^n = (x_1, \ldots, x_n)4 (Gültekin et al., 2022).

5. Performance at Finite Blocklength and Motivations for Generalizations

At small or moderate xn=(x1,…,xn)x^n = (x_1, \ldots, x_n)5 (e.g., xn=(x1,…,xn)x^n = (x_1, \ldots, x_n)6), CCDM's rate loss remains nontrivial, which directly translates into SNR loss and degradation in achievable information rates in PAS frameworks:

  • For xn=(x1,…,xn)x^n = (x_1, \ldots, x_n)7, rate loss xn=(x1,…,xn)x^n = (x_1, \ldots, x_n)8 bits/symbol.
  • Achieving xn=(x1,…,xn)x^n = (x_1, \ldots, x_n)9 bits/symbol requires PAP_A0 (Fehenberger et al., 2018, Gültekin et al., 2019).
  • Power loss in dB due to CCDM is PAP_A1 for PAS with AWGN (Gültekin et al., 2019).

Practical limitations thus include latency and strict sequentiality for long PAP_A2, motivating alternatives:

  • Multiset-Partition DM (MPDM) unifies multiple compositions, reducing rate loss by PAP_A3 over CCDM at the same block length; for fixed SNR gap to capacity, MPDM achieves 2.5–5× block-length savings (Fehenberger et al., 2018, Gültekin et al., 2019).
  • Multi-composition DM (MCDM) incorporates several compositions within arithmetic coding, further closing the gap to the theoretical maximum for short PAP_A4 (Pikus et al., 2019).
  • Sphere shaping (ESS/SM), which maximize energy efficiency rather than composition, can outperform CCDM in finite blocklength regimes (Gültekin et al., 2019).

6. Role in Probabilistic Amplitude Shaping and Practical Systems

CCDM is the standard distribution matcher in PAS frameworks for spectrally efficient coded modulation (e.g., 64-QAM, 256-QAM):

  • PAS architectures use CCDM to shape amplitude sequences with prescribed empirical PMFs, while FEC code supplies sign bits (Schulte et al., 2015, Fehenberger et al., 2018).
  • Achievable information rates with bit-metric decoding are reduced by CCDM’s rate loss; practical SNR gains of PAP_A5 dB are realizable versus uniform signaling at moderate blocklengths (Gültekin et al., 2019, Fehenberger et al., 2020).
  • CCDM can operate as a drop-in module; backward compatibility and low storage footprint facilitate adoption (Fehenberger et al., 2018, Fehenberger et al., 2020).
  • Specialized architectures, such as list-encoding CCDM with energy-dispersion-based candidate selection, have demonstrated measurable SNR and achievable rate gains in nonlinear optical systems (effective SNR improvement of 0.35 dB, AIR gain of 0.22 bit/4D-symbol, and 8% reach extension) (Wu et al., 2021).

7. Limits, Optimality, and Open Directions

CCDM achieves the entropy rate asymptotically, and normalized divergence to the target vanishes with increasing PAP_A6. However, for fixed-length, one-to-one DMs, it is proven that normalized divergence cannot be made zero at finite PAP_A7 due to combinatorial cardinality constraints; leading-order divergence grows as PAP_A8 (Schulte et al., 2017).

To approach the theoretical rate-divergence limits at short blocklengths, research now focuses on multi-composition schemes, sphere/shell shaping, and parallel architectures that address the inherent limitations of constant compositions (Fehenberger et al., 2018, Gültekin et al., 2019, Pikus et al., 2019).

Major open areas include further reducing computational latency, optimizing rate/divergence trade-offs for ultra-short packets, and integrating energy-dispersion-aware selection in non-linear channels without compromising PAS compatibility (Wu et al., 2021).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Constant Composition Distribution Matcher (CCDM).