Prerequisites & Notation
Before You Begin
This chapter builds the modern theory and practice of shaping β the last dB of the gap to AWGN capacity for a coded modulation system. The foundation from Chapter 4 (Forney-style lattice shaping) and Chapter 9 Section 5 (Probabilistic Amplitude Shaping in 400G optical) is essential: we assume the reader can already state the dB asymptotic shaping bound and has seen the PAS block diagram. Chapter 19 now puts the machinery under the microscope. We derive the Maxwell-Boltzmann distribution from first principles (KKT on a max-entropy Lagrangian), build a constant-composition distribution matcher (CCDM) by arithmetic coding, quantify its short-block rate loss, introduce geometric shaping as the dual option, and conclude with rate-adaptive transmission β the operational reason the industry cares. Familiarity with LDPC codes (Telecom Chapter 11), BICM (Chapter 5), and the AWGN-channel capacity formula is assumed.
- Sphere-shaping gain bound (Review ch04)
Self-check: Can you state the shaping gain ceiling dB and explain why it is the asymptotic limit of spherical-vs-cubic second-moment ratio?
- Probabilistic Amplitude Shaping (PAS) block diagram(Review ch09)
Self-check: Can you draw the PAS pipeline (info bits CCDM amplitude bits systematic LDPC QAM mapper) and explain why the sign bits can remain uniform while the amplitude bits carry the MB distribution?
- BICM capacity and Gray-labelling near-optimality(Review ch05)
Self-check: Can you write for a Gray-labelled -QAM and state the dB empirical gap to at high SNR?
- LDPC codes and systematic-form encoding(Review ch11)
Self-check: Can you explain what a systematic LDPC code is (information bits appear verbatim in the codeword) and why PAS requires this property?
- Gaussian maximum-entropy theorem(Review ch09)
Self-check: Can you prove that among distributions on with variance , the entropy-maximising one is ?
- Lagrangian optimisation and KKT conditions
Self-check: Given a concave objective on a probability simplex with a linear constraint , can you write the Lagrangian and solve for the stationary distribution?
- Arithmetic coding(Review ch05)
Self-check: Can you sketch how arithmetic coding maps a binary input stream into a real interval and state why the compression rate approaches the source entropy in the limit of long blocks?
- Adaptive modulation and coding (AMC) MCS tables(Review ch09)
Self-check: Can you explain why 5G NR uses 28 discrete MCS indices (staircase) for rate adaptation and what the typical gap between adjacent staircase steps is in bits per symbol?
Notation for This Chapter
Symbols specific to Chapter 19. We follow the Bocherer-Steiner-Schulte convention for PAS and the Forney convention for shaping gain.
| Symbol | Meaning | Introduced |
|---|---|---|
| Maxwell-Boltzmann shaping parameter, . The MB distribution is | s01 | |
| Partition function, | s01 | |
| Entropy of the constellation input distribution, in bits | s01 | |
| Shaping gain in dB. dB at high SNR | s01 | |
| LDPC code rate. where information bits produce codeword bits | s02 | |
| Effective PAS transmission rate in bits per 2D QAM symbol. | s02 | |
| Distribution-matcher output rate in bits per amplitude symbol; equals minus rate loss | s03 | |
| Amplitude alphabet. For square -QAM, per in-phase/quadrature | s02 | |
| Target distribution on amplitudes. MB-derived: | s02 | |
| CCDM block length (amplitude symbols per shaping block) | s03 | |
| Constant-composition distribution matcher. Arithmetic-coded invertible bit-to-amplitude mapping | s03 | |
| Spectral efficiency in bits/s/Hz. Under PAS, is continuous in and | s05 | |
| Constellation size (QAM order). Standard values: , , , | s01 |
Key Takeaway
Shaping is the last dB of the Shannon gap that coding cannot close. Chapter 4 taught us that sphere shaping saves up to dB in the asymptotic, large-dimension limit. Chapter 9 showed the industry implementation via PAS. Chapter 19 completes the theory: the Maxwell-Boltzmann distribution is the optimal finite-alphabet input, the CCDM realises it with rate loss, geometric shaping is the dual of probabilistic shaping and achieves the same asymptotic, and all of it enables rate-adaptive transmission with a single fixed modulation and code β the feature that made 400ZR a commercial reality.