Voronoi Constellations and Shaping

Why Shaping Is Orthogonal to Coding

Coding and shaping contribute independently to the gap to capacity. The CM capacity decomposition is

12log2(1+SNR)Shannon  =  Rcodecoding side  +  γccoding gain  +  γsshaping gain  +  Δgapresidual,\underbrace{\tfrac{1}{2} \log_2(1 + \text{SNR})}_{\text{Shannon}} \;=\; \underbrace{R_{\rm code}}_{\text{coding side}} \;+\; \underbrace{\gamma_c}_{\text{coding gain}} \;+\; \underbrace{\gamma_s}_{\text{shaping gain}} \;+\; \underbrace{\Delta_{\rm gap}}_{\text{residual}},

where the three gains combine additively in dB. Coding gain γc\gamma_c arises from the structure of the codewords — it depends on the code and the lattice, not on the constellation boundary. Shaping gain γs\gamma_s arises from the shape of the constellation boundary — it depends on the marginal distribution of the transmitted symbols, not on the code. The two improvements are additive in dB because they act on orthogonal degrees of freedom, and either one can be improved without touching the other.

The practical impact: a 66-dB coding gain + a 11-dB shaping gain gives a 77-dB total gain over uncoded QAM, and we can chase each independently. Shaping is, in a very concrete sense, the "free" dB we leave on the table when we use a square QAM alphabet with uniform probability.

,

Definition:

Voronoi Constellation

Let Λc\Lambda_c be a coding lattice and let ΛsΛc\Lambda_s \subset \Lambda_c be a shaping lattice — a sublattice whose Voronoi region V(Λs)\mathcal{V}(\Lambda_s) will play the role of the constellation boundary. The Voronoi constellation with coding lattice Λc\Lambda_c and shaping lattice Λs\Lambda_s is

X(Λc,Λs)  =  Λc(V(Λs)+δ),\mathcal{X}(\Lambda_c, \Lambda_s) \;=\; \Lambda_c \cap \bigl(\mathcal{V}(\Lambda_s) + \boldsymbol{\delta}\bigr),

where δ\boldsymbol{\delta} is an arbitrary offset (usually chosen for convenience — e.g., to make the constellation zero-mean). The constellation has Λc/Λs|\Lambda_c / \Lambda_s| points.

The average energy of the constellation equals the per-dimension second moment of a uniform distribution over V(Λs)\mathcal{V}(\Lambda_s), which depends only on Λs\Lambda_s.

The idea is to shape the "boundary" of the constellation to look like a Voronoi region of some good lattice — something close to a sphere — rather than the square boundary of ordinary QAM. The sphere has minimum energy for a given number of points, so a sphere-like boundary shapes the marginal distribution of transmitted symbols toward the Gaussian ideal (high-entropy, low-energy) that Shannon capacity demands.

,

Definition:

Normalised Second Moment G(Λ)G(\Lambda)

The second moment of a lattice Λ\Lambda is the per-dimension expected squared norm of a uniformly distributed point in its Voronoi region:

σ2(Λ)  =  1nV(Λ)V(Λ)x2dx.\sigma^2(\Lambda) \;=\; \frac{1}{n \, V(\Lambda)} \int_{\mathcal{V}(\Lambda)} \|\mathbf{x}\|^2 \, d\mathbf{x}.

The normalised second moment is the dimensionless ratio

G(Λ)  =  σ2(Λ)V(Λ)2/n.G(\Lambda) \;=\; \frac{\sigma^2(\Lambda)}{V(\Lambda)^{2/n}}.

By construction G(Λ)G(\Lambda) is scale-invariant — rescaling ΛαΛ\Lambda \to \alpha \Lambda does not change it. Hence G(Λ)G(\Lambda) measures the "shape" of the Voronoi region, not its size.

Low G(Λ)G(\Lambda) means the Voronoi region is close to a sphere (small second moment per unit volume). The cube Zn\mathbb{Z}^n has G(Zn)=1/12G(\mathbb{Z}^n) = 1/12; the hexagonal lattice A2A_2 has G(A2)=5/(183)0.0802G(A_2) = 5/(18\sqrt{3}) \approx 0.0802; E8E_8 has G(E8)0.0717G(E_8) \approx 0.0717; the best known lattice at n=24n = 24 achieves G(Λ24)0.0658G(\Lambda_{24}) \approx 0.0658. The infimum as nn \to \infty is G=limnG(n-ball)=1/(2πe)0.0585G_\infty = \lim_{n \to \infty} G(n\text{-ball}) = 1/(2 \pi e) \approx 0.0585.

,

Definition:

Shaping Gain

The shaping gain of a lattice Λs\Lambda_s (or equivalently of a Voronoi constellation shaped by Λs\Lambda_s) is the ratio of the second moment of Zn\mathbb{Z}^n (the cubic reference) to the second moment of Λs\Lambda_s at the same volume:

γs(Λs)  =  1/12G(Λs)  =  G(Zn)G(Λs),γs[dB]=10log10γs.\gamma_s(\Lambda_s) \;=\; \frac{1/12}{G(\Lambda_s)} \;=\; \frac{G(\mathbb{Z}^n)}{G(\Lambda_s)}, \qquad \gamma_s[\mathrm{dB}] = 10 \log_{10} \gamma_s.

Because GG is scale-invariant, γs\gamma_s measures exclusively how much energy we save by using Λs\Lambda_s's Voronoi region instead of a cube of the same volume.

Equivalently, γs=1/(12G(Λs))\gamma_s = 1/(12 G(\Lambda_s)). A sphere-like Voronoi region (small GG) gives a large γs\gamma_s. A cube-like region (G=1/12G = 1/12) gives γs=1\gamma_s = 1, i.e.\ 00 dB — no shaping gain, as expected for axis-aligned QAM.

,

Voronoi Constellation: Square vs Circle vs Hex Shaping

A 2D Voronoi constellation formed by intersecting Z2\mathbb{Z}^2 with a shaping region: square (Z2\mathbb{Z}^2-Voronoi, giving standard QAM), circle (sphere-shaped, giving the πe/6\pi e / 6-approaching ideal), or hexagonal (A2A_2-Voronoi, giving the optimal 2D shaping). The "radius" of the shaping region is chosen so each option contains the same number of constellation points. Notice how the average energy Eˉs\bar{E}_s reported in the title drops as the boundary becomes more sphere-like — that is the shaping gain made visible.

Parameters
64

Theorem: Shaping Gain == Reciprocal of 12G(Λs)12 G(\Lambda_s)

Let X\mathcal{X} be a Voronoi constellation shaped by a lattice Λs\Lambda_s in nn dimensions, with constellation size Λc/Λs=M|\Lambda_c / \Lambda_s| = M. As MM \to \infty (continuous-approximation limit), the average transmit energy per dimension of X\mathcal{X} satisfies

Eˉs(X)  =  σ2(Λs)  =  G(Λs)V(Λs)2/n.\bar{E}_s(\mathcal{X}) \;=\; \sigma^2(\Lambda_s) \;=\; G(\Lambda_s) \cdot V(\Lambda_s)^{2/n}.

Consequently, at a fixed rate (equivalently, fixed V(Λs)2/nV(\Lambda_s)^{2/n} per point), the energy saving over a Zn\mathbb{Z}^n-shaped constellation of the same size is exactly

γs  =  1/12G(Λs).\gamma_s \;=\; \frac{1/12}{G(\Lambda_s)}.

In the continuous approximation, the discrete points of X\mathcal{X} are asymptotically uniformly distributed over V(Λs)\mathcal{V}(\Lambda_s), so the average energy is the uniform-distribution second moment σ2(Λs)=G(Λs)V(Λs)2/n\sigma^2(\Lambda_s) = G(\Lambda_s) V(\Lambda_s)^{2/n}. Fixing the point density (V(Λs)V(\Lambda_s)) makes the energy a pure function of G(Λs)G(\Lambda_s), and taking the ratio to the cubic case gives the claim.

,

Example: Shaping Gain of the Hexagonal Lattice A2A_2

Compute the shaping gain γs\gamma_s of the hexagonal lattice A2A_2 in R2\mathbb{R}^2. Compare to the ultimate πe/6\pi e / 6 ceiling.

,

Shaping Gain of Canonical Lattices

Lattice Λs\Lambda_snnG(Λs)G(\Lambda_s)γs\gamma_s [dB]% of πe/6\pi e / 6
Zn\mathbb{Z}^n (cube)any0.08330.08330.000.000%0\%
A2A_2 (hexagonal)220.08020.08020.170.1711%11\%
D4D_4440.07660.07660.370.3724%24\%
E8E_8880.07170.07170.650.6542%42\%
Λ16\Lambda_{16} (Barnes–Wall)16160.06830.06830.860.8656%56\%
Λ24\Lambda_{24} (Leech)24240.06580.06581.031.0367%67\%
nn-sphere (limit)\infty1/(2πe)0.05851/(2\pi e) \approx 0.05851.531.53100%100\%

Why This Matters: Shaping Gain in Lattice Space–Time Codes (Ch. 17)

The shaping gain we derive here is not an academic quantity — it is a key ingredient in the LAST (Lattice Space–Time) codes of Part IV. The construction of Erez–Zamir for the AWGN channel and its MIMO extension by El Gamal, Caire, and Damen use nested lattices where the outer lattice plays the role of the coding lattice (Λc\Lambda_c) and the inner lattice plays the role of the shaping lattice (Λs\Lambda_s). The MMSE-scaled modulo-lattice operation on the receiver side separates the two: the inner lattice determines the shaping gain (at most 1.531.53 dB) while the outer lattice determines the coding gain. Chapter 17 will revisit the same decomposition for the fading channel, where shaping plays a crucial role in achieving the optimal DMT.

🔧Engineering Note

Shaping Gain in Modern Wireless Standards

In modern digital-communications standards, shaping is almost always implemented as probabilistic shaping (Ch. 19) rather than lattice-shell mapping. The rationale: probabilistic shaping allows a capacity-approaching binary code (LDPC or polar) and a simple QAM alphabet to be used unchanged, with shaping achieved by changing only the input distribution. This buys about 0.80.81.01.0 dB of shaping gain over uniform QAM at rates 4\ge 4 bits/symbol — well short of the ultimate 1.531.53 dB but bought at minimal system-level cost. Voronoi/shell-mapping constellations of the kind discussed in this chapter are used in practice almost exclusively in legacy dial-up modems (V.34) and satellite systems (DVB-S2X shaping extension).

Practical Constraints
  • Legacy: V.34 modem (1616D shell mapping, 0.8\sim 0.8 dB shaping gain)

  • Modern: 5G NR uses uniform QAM — no shaping in the standard

  • Emerging: probabilistic amplitude shaping in DVB-S2X and optical coherent links (1\sim 1 dB shaping gain)

📋 Ref: DVB-S2X optional annex M

Voronoi constellation

A constellation formed by intersecting a coding lattice Λc\Lambda_c with the Voronoi region of a shaping lattice ΛsΛc\Lambda_s \subset \Lambda_c. Its average energy is determined by the shaping lattice alone.

Related: Shaping Gain, Lattice in Rn\mathbb{R}^n, Sublattice

Shaping gain

The dB energy advantage of a non-cubic constellation boundary over a square (QAM) boundary, at the same point density. Equal to 1/(12G(Λs))1/(12 G(\Lambda_s)). Bounded above by πe/61.53\pi e / 6 \approx 1.53 dB.

Related: Voronoi Constellation, Normalised Second Moment G(Λ)G(\Lambda)

Normalised second moment

The scale-invariant quantity G(Λ)=σ2(Λ)/V(Λ)2/nG(\Lambda) = \sigma^2(\Lambda) / V(\Lambda)^{2/n} that measures how sphere-like the Voronoi region of a lattice is. Bounded below by the ball value 1/(2πe)1/(2\pi e) as nn \to \infty.

Related: Shaping Gain, Voronoi Region, Packing and Covering Radii

Quick Check

What is the shaping gain γs\gamma_s of the cubic lattice Zn\mathbb{Z}^n?

00 dB

1.531.53 dB

Depends on nn

πe/6\pi e / 6 dB

Key Takeaway

Shaping gain depends only on the shape of the constellation boundary. Build the boundary from the Voronoi region of a shaping lattice Λs\Lambda_s; the resulting shaping gain is γs=1/(12G(Λs))\gamma_s = 1 / (12 G(\Lambda_s)), where G(Λs)G(\Lambda_s) is the dimensionless normalised second moment. The sphere is optimal, giving the ceiling πe/6\pi e / 6; all finite-dimensional lattices fall short. The next section proves this ceiling rigorously and shows where it comes from.