Voronoi Shaping and the Shaping-Gain Limit

Shaping Gain as a Universal Lattice Invariant

Chapter 4 introduced shaping gain as the dB advantage that a Voronoi-shaped constellation enjoys over a cubic (square, QAM) constellation at the same rate and minimum distance. The central number — πe/61.53\pi e / 6 \approx 1.53 dB, achievable as nn \to \infty — looked at the time like a curiosity: a ceiling that practical schemes could only asymptotically approach. The Erez–Zamir theorem of s02 reveals a deeper story: shaping gain is exactly the dB contribution of Λs\Lambda_s to the capacity gap, and any finite-dimensional Voronoi shaping reduces the gap by the corresponding amount. The ceiling is achievable because there exist lattices with normalised second moment G(Λs)1/(2πe)G(\Lambda_s) \to 1/(2 \pi e), proved by Rogers (1959) and refined by Poltyrev (1994).

This section quantifies the shaping gain of specific lattices (Zn\mathbb{Z}^n, DnD_n, E8E_8, Λ24\Lambda_{24}, Λ\Lambda_{\infty}), shows the asymptotic convergence to the 1.531.53 dB ceiling, and connects to the practical constructions (Conway–Sloane decoders, trellis shaping) that turn the theoretical bound into a fielded modem gain.

,

Definition:

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

The normalised second moment of a lattice ΛRn\Lambda \subset \mathbb{R}^n is G(Λ)  =  1nV(Λ)2/n1V(Λ)V(Λ)x2dx.G(\Lambda) \;=\; \frac{1}{n \, V(\Lambda)^{2/n}} \cdot \frac{1}{V(\Lambda)} \int_{\mathcal{V}(\Lambda)} \|\mathbf{x}\|^2 \, d\mathbf{x}. Equivalently, if X\mathbf{X} is uniformly distributed on V(Λ)\mathcal{V}(\Lambda), then P:=E[X2]/nP := \mathbb{E}[\|\mathbf{X}\|^2]/n is the per-dimension second moment and G(Λ)=P/V(Λ)2/nG(\Lambda) = P / V(\Lambda)^{2/n}.

G(Λ)G(\Lambda) is dimensionless, depends on Λ\Lambda only through its shape (invariant to scaling), and is a pure figure of merit for how "round" the Voronoi region is. It satisfies G(Λ)Gn1/(2πe)G(\Lambda) \ge G_n^* \ge 1/(2\pi e) (the Zador lower bound), with equality as nn \to \infty for lattices whose Voronoi region approaches a Euclidean ball.

The lower bound 1/(2πe)1/(2\pi e) is the normalised second moment of a Gaussian distribution — the limit that a uniform distribution on a "round enough" Voronoi region converges to, by the Central- Limit-Theorem-flavoured arguments of Rogers and Poltyrev.

,

Definition:

Shaping Gain γs(Λ)\gamma_s(\Lambda)

The shaping gain of a lattice Λ\Lambda is its normalised second-moment advantage over the cube: γs(Λ)  =  G(Zn)G(Λ)  =  1/12G(Λ).\gamma_s(\Lambda) \;=\; \frac{G(\mathbb{Z}^n)}{G(\Lambda)} \;=\; \frac{1/12}{G(\Lambda)}. It is the dB factor by which the power required to support a given rate, with Λ\Lambda as the shaping lattice, is less than that with Zn\mathbb{Z}^n (cubic, i.e., QAM) shaping.

The asymptotic (ultimate) shaping gain is the supremum over all lattices of all dimensions: γs  =  limnγs,n  =  1/121/(2πe)  =  πe6    1.53 dB.\gamma_s^* \;=\; \lim_{n \to \infty} \gamma_{s, n}^* \;=\; \frac{1/12}{1/(2 \pi e)} \;=\; \frac{\pi e}{6} \;\approx\; 1.53 \text{ dB}.

Expressed in linear dB, γs(Λ)=10log10(1/(12G(Λ)))\gamma_s(\Lambda) = 10 \log_{10} (1/(12 G(\Lambda))). The shaping gain is independent of the coding lattice — the two factor cleanly. In some references (Conway–Sloane) the reciprocal G(Λ)G(\Lambda) is called the "normalised second moment" and the shaping gain is implicit; the dB statement is the same.

,

Shaping Gain γs\gamma_s vs Dimension nn

The shaping gain γs(Λn)\gamma_s(\Lambda_n^*) of the best known lattice in each dimension nn, plotted in dB, approaching the asymptotic ceiling πe/61.53\pi e / 6 \approx 1.53 dB as nn \to \infty. Key data points: Zn\mathbb{Z}^n (cube) is 00 dB at every nn; D4D_4 gives 0.37\approx 0.37 dB; E8E_8 gives 0.66\approx 0.66 dB; Λ16\Lambda_{16} (Barnes–Wall) 0.87\approx 0.87 dB; K12K_{12} (Coxeter–Todd) 0.80\approx 0.80 dB; Λ24\Lambda_{24} (Leech) 1.03\approx 1.03 dB; and the theoretical ceiling is achieved only in the limit nn \to \infty. The plot shows why 22D QAM constellations sacrifice 0.9\sim 0.9 dB relative to even a moderate-dimensional lattice shaping.

Parameters
48

Theorem: Shaping Gain Convergence to πe/6\pi e / 6

Let Gn=infΛG(Λ)G_n^* = \inf_\Lambda G(\Lambda) be the infimum of normalised second moments over all nn-dimensional lattices. Then Gn    12πeasn,G_n^* \;\to\; \frac{1}{2 \pi e} \quad \text{as} \quad n \to \infty, or equivalently, the best shaping gain converges to γs,n  =  1/12Gn    πe6    1.533 dB.\gamma_{s, n}^* \;=\; \frac{1/12}{G_n^*} \;\to\; \frac{\pi e}{6} \;\approx\; 1.533 \text{ dB}. The lower bound Gn1/(2πe)G_n^* \ge 1/(2 \pi e) is the Zador bound, valid at every finite nn.

The Voronoi region V(Λ)\mathcal{V}(\Lambda) has a fixed volume V(Λ)V(\Lambda); the normalised second moment measures how its mass is distributed relative to the origin. A cube has its mass pushed to the corners and has G=1/12G = 1/12; a Euclidean ball has its mass uniformly radial and has G1/(2πe)G \to 1/(2 \pi e) as nn \to \infty. Any lattice whose Voronoi region can be made arbitrarily close to a ball (in the Hausdorff sense) achieves the ceiling, and Rogers proved that random lattices satisfy this.

, ,

Example: Shaping Gain of D4D_4 and E8E_8

Compute the shaping gain γs(D4)\gamma_s(D_4) and γs(E8)\gamma_s(E_8) from their normalised second moments. Known values: G(D4)=0.1042G(D_4) = 0.1042, G(E8)=0.0717G(E_8) = 0.0717. Compare to the asymptotic ceiling πe/6\pi e / 6 and to G(Zn)=1/120.0833G(\mathbb{Z}^n) = 1/12 \approx 0.0833.

,

Shaping and Coding Are Truly Independent

One of the most useful operational consequences of the Erez–Zamir theorem is that shaping-gain and coding-gain effects factor cleanly in dB. The total SNR gap to capacity of a nested lattice code is gapcapacity(dB)total  =  coding-gap(Λc)(dB)shortfall of Λc vs Poltyrev optimum  +  shaping-gap(Λs)(dB)πe/610log10(1/(12G(Λs))).\underbrace{\text{gap}_{\text{capacity}} (\text{dB})}_{\text{total}} \;=\; \underbrace{\text{coding-gap}(\Lambda_c) (\text{dB})}_{\text{shortfall of } \Lambda_c \text{ vs Poltyrev optimum}} \;+\; \underbrace{\text{shaping-gap}(\Lambda_s) (\text{dB})}_{\pi e / 6 - 10 \log_{10}(1/(12 G(\Lambda_s)))}. For the designer: pick any good fine lattice Λc\Lambda_c (for its decoder-friendliness) and any good coarse lattice Λs\Lambda_s (for its second-moment closeness to a ball), and the two decisions are independent. This independence is the underlying reason that the BICM-with-LDPC of Ch. 9 (cubic shaping, complex coding) and a probabilistic-shaping scheme (simple coding, near- Gaussian shaping) can be combined in 5G NR without crosstalk: the Erez–Zamir decomposition licenses the addition.

,
⚠️Engineering Note

Voronoi Shaping in DSL and V.34: Trellis Shaping and the 1.4 dB Victory

In the 1990s the modem community squeezed nearly the full 1.531.53 dB shaping gain into consumer products. V.34 (33.6 kbps modem, 1994) used a trellis-shaping scheme, yielding 0.8\approx 0.8 dB of shaping gain — the first constellation shaping in a widely deployed modem. ADSL (1998) and VDSL (2001) adopted it too, with typical gains of 1.01.01.21.2 dB depending on the constellation size. The fundamental idea is always the same: reduce mod-Λs\Lambda_s for a shaping lattice Λs\Lambda_s with a rounder Voronoi region than the cube. In V.34 the shaping lattice was a trellis-based construction (effectively DnD_n for moderate nn); in ADSL it was a per-subcarrier scaling of D4D_4.

The 1.531.53 dB "ceiling" is asymptotic; in practice, no fielded modem implements the infinite-dimensional limit. But getting within 0.50.5 dB of the ceiling is routine with dimension-6464 lattices, which is why modern probabilistic-shaping schemes (the BICM+CCDM of Ch. 19) effectively live in very high dimension via a large block size.

Practical Constraints
  • Trellis-shaping complexity grows exponentially with trellis depth — typically 881616 state trellises in V.34

  • ADSL uses per-tone shaping, so the per-tone dimension is low (n[2,15]n \in [2, 15]) even though the aggregate is high-dimensional

  • Deep-fading subcarriers in ADSL are better served by skipping shaping (it costs bits via the mod-Λs\Lambda_s overhead) and using only the coding gain

📋 Ref: ITU V.34 (1994); ANSI T1.413 (ADSL); Forney–Ungerboeck 1998

Historical Note: Rogers (1959) and Poltyrev (1994): The Round-Voronoi Existence Proof

1959–1994

The Zador lower bound G(Λ)1/(2πe)G(\Lambda) \ge 1/(2 \pi e) was established by P. L. Zador in a 1963 Stanford Ph.D. thesis on quantisation theory — initially for a coding-theoretic problem unrelated to lattices. C. A. Rogers in his 1959 Packing and Covering monograph gave the first random-lattice existence proof approaching the ball's second moment asymptotically. Rogers's argument is a direct cousin of Shannon's random-code argument: average over the Minkowski–Hlawka ensemble and show the expectation meets the Zador bound.

G. Poltyrev (1994) sharpened Rogers's argument and put it in the language of the unconstrained AWGN channel, introducing what is now called the Poltyrev capacity: the supremum of rates for which lattice decoding achieves vanishing error probability on the infinite-constellation AWGN channel. The Poltyrev capacity is exactly 12log2(1/(2πeσ2/V2/n))=12log2(SNR)12log2(2πe)\tfrac12 \log_2(1/(2 \pi e \sigma^2/V^{2/n})) = \tfrac12 \log_2(\text{SNR}) - \tfrac12 \log_2(2 \pi e); the gap to Shannon's formula is 12log2(2πe/1212)=12log2(2πe/12)=1.53\tfrac12 \log_2(2 \pi e / 12 \cdot 12) = \tfrac12 \log_2(2 \pi e / 12) = 1.53 dB — the shaping gap, in one formula. Erez–Zamir's insight in 2004 was that this same 1.531.53 dB is recovered by the MMSE scalar α\alpha plus Voronoi shaping.

Common Mistake: Shaping Gain Is Not the Same as Coding Gain

Mistake:

Collapsing "shaping gain" and "coding gain" into a single "constellation gain." The two contribute separately to the capacity gap, come from different lattices, and grow at different rates in nn. Coding gain is bounded by the Minkowski–Hlawka limit (6\sim 6 dB in any dimension, eventually unbounded); shaping gain is bounded by πe/6=1.53\pi e / 6 = 1.53 dB regardless of dimension.

Correction:

Keep them separate:

  • Coding gain γc(Λc)\gamma_c(\Lambda_c): a property of the fine lattice; depends on its packing density relative to Zn\mathbb{Z}^n.
  • Shaping gain γs(Λs)\gamma_s(\Lambda_s): a property of the coarse lattice; depends on the second moment of its Voronoi region relative to the cube.

A lattice code is specified by a pair (Λc,Λs)(\Lambda_c, \Lambda_s); the total dB gap to capacity is γc+γs\gamma_c + \gamma_s (as shortfalls, each dB). Probabilistic shaping in Ch. 19 is a different modern implementation of the shaping side that doesn't use a geometric Voronoi region at all but achieves the same asymptotic 1.531.53 dB.

Normalised second moment

The shape-invariant quantity G(Λ)=P/V(Λ)2/nG(\Lambda) = P / V(\Lambda)^{2/n}, where PP is the per-dimension second moment of a uniform distribution on V(Λ)\mathcal{V}(\Lambda). Bounded below by the Zador constant 1/(2πe)1/(2\pi e); achieved asymptotically by random lattices.

Related: Shaping Gain γs(Λ)\gamma_s(\Lambda), Voronoi Region, Rogers (1959) and Poltyrev (1994): The Round-Voronoi Existence Proof

Shaping gain

The dB advantage γs(Λ)=G(Zn)/G(Λ)=(1/12)/G(Λ)\gamma_s(\Lambda) = G(\mathbb{Z}^n)/G(\Lambda) = (1/12)/G(\Lambda) of a Voronoi-shaped constellation over a cubic one. Bounded above by πe/61.53\pi e / 6 \approx 1.53 dB, with equality as nn \to \infty.

Related: Normalised Second Moment and Shaping Gain of Classical Lattices, Zador, Voronoi Region

Normalised Second Moment and Shaping Gain of Classical Lattices

LatticeDimension nnG(Λ)G(\Lambda)γs(Λ)\gamma_s(\Lambda) (dB)Fraction of asymptotic ceiling
Zn\mathbb{Z}^n (cube)any0.08330.08330.000.000%0\%
A2A_2 (hexagonal)220.08020.08020.170.1711%11\%
D4D_4 / D4D_4^*440.07660.07660.370.3724%24\%
E8E_8 / E8E_8^*880.07170.07170.660.6643%43\%
K12K_{12} (Coxeter–Todd)12120.06960.06960.800.8052%52\%
Λ16\Lambda_{16} (Barnes–Wall)16160.06830.06830.870.8757%57\%
Λ24\Lambda_{24} (Leech)24240.06570.06571.031.0367%67\%
Λ\Lambda^* (asymptotic best)\to \infty1/(2πe)0.0586\to 1/(2 \pi e) \approx 0.0586πe/6=1.53\to \pi e / 6 = 1.53100%100\%

Quick Check

What is the asymptotic upper bound on the shaping gain γs\gamma_s of any Voronoi-shaped constellation over a cubic (QAM) one?

00 dB (no possible gain)

1.531.53 dB

3.03.0 dB (a factor of 22)

Unbounded — the gain grows without limit as nn \to \infty

Why This Matters: Forward Reference: DMT-Optimal LAST Codes in Ch. 17

In Chapter 17, the CommIT group's LAST (Lattice Space-Time) code construction of El Gamal, Caire, and Damen (2004) will use exactly the same (Λc,Λs)(\Lambda_c, \Lambda_s) decomposition we have built here, but replace the scalar MMSE α\alpha with a matrix MMSE-GDFE (generalised decision-feedback equaliser). The shaping lattice Λs\Lambda_s continues to provide the Voronoi- constrained transmit power; the coding lattice Λc\Lambda_c is now required to be DMT-optimal (achieves the full diversity–multiplexing trade-off curve of Zheng–Tse). The Erez–Zamir mod-Λs\Lambda_s trick of this chapter generalises verbatim to the LAST code setting — the proof pattern is preserved, only the scalar objects become matrix objects. If you understood s02–s03 cleanly, Ch. 17 is "the matrix version of the same theorem."

Key Takeaway

The shaping gain γs(Λs)=(1/12)/G(Λs)\gamma_s(\Lambda_s) = (1/12)/G(\Lambda_s) of a Voronoi-shaping lattice is bounded by πe/61.53\pi e / 6 \approx 1.53 dB in every dimension, with equality only as nn \to \infty. This is the dB contribution of Λs\Lambda_s to the capacity gap of a nested lattice code; it adds (in dB) to the coding-gain shortfall of Λc\Lambda_c, and the two terms are independent. Practical shaping schemes (V.34 trellis shaping, ADSL, probabilistic shaping in 5G NR) recover most of the 1.531.53 dB with moderate-dimensional lattices. The DMT-optimal LAST codes of Ch. 17 will use the same (Λc,Λs)(\Lambda_c, \Lambda_s) decomposition with a matrix MMSE equaliser — the shaping idea generalises without modification.