1.4 Lattice Metrics
The numbers that characterize a lattice — what they measure, why they matter, and how they connect.
We now have the basic vocabulary of lattices. The next step is to quantify their properties precisely. A lattice metric is a number that captures some aspect of a lattice’s geometry — how dense it is, how short its shortest vector is, how well-shaped its basis is. These metrics appear everywhere in lattice cryptography: in parameter selection, security proofs, cryptanalysis, and algorithm analysis.
This section builds up a catalogue of the most important metrics. Each one answers a specific question about the lattice, and together they give a complete quantitative picture.
Intuition
A house is described by its floor area, ceiling height and number of rooms. A lattice is described by a few numbers too: how far apart the closest points are (), how much space one cell takes up (the determinant), and how skewed a particular basis is (the Hadamard ratio).
These numbers are how cryptographers compare lattices and bases, and several of them feed directly into security estimates.
1. The Gram Matrix and Determinant
The simplest question about a lattice is: how is it shaped? The Gram matrix encodes the complete geometric information about a basis — all the lengths and angles — in one matrix of numbers.
Definition 7 — Gram Matrix
Given a basis , the Gram matrix is:
The entry is the dot product of basis vectors and . The diagonal entries are the squared lengths ; the off-diagonal entries measure how aligned pairs of vectors are. If all off-diagonal entries were zero, the basis would be perfectly orthogonal.
The lattice determinant is . This is the volume of the fundamental tile — the same for every basis of the same lattice.
2. Successive Minima: λ₁ through λₙ
We met the successive minima in §1.3. They are the most fundamental length invariants of a lattice. Recall: is the smallest radius of a ball that contains linearly independent lattice vectors. In practice:
λ₁ — Shortest vector
The length of the shortest nonzero lattice vector. This is the central quantity in SVP. Finding it exactly requires exponential time in general; it cannot be computed efficiently even with a quantum computer. All lattice security parameters are chosen to make hard to find.
λ₂, ..., λₙ — Higher minima
is the length of the shortest vector not parallel to the first; and so on. A large gap between and means the shortest vector is uniquely shorter than all others — which matters for the uniqueness of decryption in LWE-based encryption.
Minkowski’s constraint
The successive minima are not independent: their product is bounded by the determinant. More precisely, . You can’t have all of them be simultaneously large in a dense lattice.
3. Hermite’s Constant γₙ
How short can the shortest lattice vector be, relative to the overall density of the lattice? The answer is captured by Hermite’s constant — the best possible ratio of shortest-vector-length to lattice-spacing, optimized over all lattices in dimension .
Definition 8 — Hermite’s Constant
is the largest possible value of over all lattices in dimensions. Equivalently, for any lattice:
Known values: (hexagonal lattice), (the E₈ lattice — the densest known 8D packing), (the Leech lattice). Asymptotically, .
Lattices achieving the Hermite bound are the “most efficient” possible — they pack the most points into the least space. The E₈ lattice and the Leech lattice are the famous examples in dimensions 8 and 24, whose optimality was only proven in 2016–2017.
4. The Hadamard Ratio — Measuring Basis Orthogonality
This metric answers: how close to perpendicular are our basis vectors? If all basis vectors were perfectly orthogonal (at right angles to each other), the parallelepiped they span would have maximum volume for its edge lengths. Any skewing reduces the volume. The ratio of actual volume to maximum possible volume is the Hadamard ratio.
Definition 9 — Hadamard Ratio
This is always between 0 and 1.
— Value = 1: perfect orthogonal basis. Volume equals the product of lengths.
— Value near 0: highly skewed basis. Long, nearly-parallel vectors that largely cancel out.
A good lattice basis has a Hadamard ratio close to 1. A “hard” public key in a trapdoor scheme has a Hadamard ratio close to 0 — it looks terrible but still generates the same lattice.
5. The Root Hermite Factor δ₀
When a lattice reduction algorithm outputs a short vector, we want to measure how good that output is. The root Hermite factor is the standard measure used in cryptanalysis. It compares the length of the output vector to the “expected” lattice spacing, normalized by dimension.
Definition 10 — Root Hermite Factor
If a reduction algorithm outputs a vector of length from a lattice with determinant in dimension , the root Hermite factor is:
Equivalently, . (Some papers use the exponent instead; for large the difference is negligible, and this site uses throughout.) The value of achieved by BKZ- reduction is approximately for block sizes . Cryptographic parameters are chosen so that the an attack needs (around 1.003–1.004 for the NIST lattice standards) is too expensive to reach for any adversary.
The root Hermite factor is the single most important number for estimating lattice security. Given and , you can compute the block size needed to achieve that , and from you compute the number of operations needed. Kyber is designed so that achieving the necessary requires at least operations.
6. Covering and Packing Radii
Packing radius ρ
. The largest ball centered at a lattice point that doesn’t overlap any other lattice ball. Think of it as the “personal space” of each lattice point. Maximizing the packing density (fraction of space covered) is the sphere packing problem — one of the oldest problems in mathematics.
Covering radius μ
. The farthest any point in space can be from its nearest lattice point. In cryptography, this is the maximum possible CVP distance. LWE decryption works because errors are smaller than , which guarantees a unique closest lattice point to decode.
The gap: ρ ≤ μ, with μ tied to λₙ
The covering radius is always at least the packing radius (you must go at least to reach a lattice point from the worst position). But is not bounded by any multiple of : for the basis , while . The right comparison is with the last successive minimum: . Lattices where are nearly “perfect” — every point is almost equidistant from its nearest lattice neighbor.
7. The Smoothing Parameter
The final metric in our catalogue is the most technically advanced — but also one of the most important for understanding why LWE security proofs work. The smoothing parameter tells you how wide a Gaussian distribution over the lattice needs to be before it “looks” continuous — before the discrete structure of the lattice becomes invisible.
Definition 11 — Smoothing Parameter
The smoothing parameter is the smallest Gaussian width such that when you sample from a Gaussian of width restricted to the lattice, the result is statistically indistinguishable (up to error ) from a continuous Gaussian.
Formally, it is the smallest such that the “dual Gaussian mass” on nonzero dual lattice points is small: .
Why it matters: in the reduction from worst-case SVP to average-case LWE, we need to sample from a discrete Gaussian over the lattice in a way that doesn’t leak information about which lattice is being used. The smoothing parameter is precisely the threshold above which this is safe.
8. The Smoothing Parameter η_ε(Λ) and LWE Security
The smoothing parameter was introduced by Micciancio and Regev (2004) and is one of the most important technical tools in lattice cryptography. It marks the threshold at which a discrete Gaussian distribution over a lattice “looks” continuous — the point beyond which the lattice’s discrete structure is statistically undetectable.
Definition — Smoothing Parameter
For a lattice and , the smoothing parameter is the smallest Gaussian width such that the discrete Gaussian restricted to the dual lattice is small:
where is the Gaussian mass (the same convention as §9, so ). Its key consequence: for , a continuous Gaussian of width reduced modulo is within statistical distance of uniform over a fundamental domain.
Role in LWE security proofs: The worst-case to average-case reduction for LWE (Regev 2005) requires sampling a discrete Gaussian over the lattice with width . Below this threshold, the samples reveal information about the lattice structure; above it, they are statistically safe. The reduction shows: if you can solve LWE efficiently, you can solve GapSVP in the worst case — but only if the noise parameter exceeds the smoothing parameter.
A useful bound (Micciancio–Regev 2004): , which ties the smoothing parameter directly to the longest successive minimum of the lattice itself.
9. Gaussian Measures on Lattices
Discrete Gaussian distributions over lattices are the key tool for generating lattice-based signatures and for the security reductions in LWE. The discrete Gaussian assigns to each lattice point a probability proportional to the continuous Gaussian evaluated at .
Discrete Gaussian Distribution
The Gaussian function centered at the origin with width is:
The Gaussian mass of the lattice is:
The discrete Gaussian distribution assigns probability:
When , sampling from is statistically close to sampling from a continuous Gaussian and rounding — making it safe for use in security proofs. The Poisson summation formula relates to :
This duality between a lattice and its dual is the technical foundation of Regev’s reduction.
For a numerical example of the distribution above and its use in cryptography, read the discrete Gaussian sampling guide.
10. Packing Density and Sphere Packing Records
The packing density of a lattice measures what fraction of space is covered by non-overlapping balls centered at lattice points. It is one of the oldest and most studied problems in mathematics.
Packing Density — Definition and Records
The packing density of a lattice with packing radius is:
where is the volume of the unit ball. The sphere packing problem asks: what is the maximum possible ?
The connection to Hermite’s constant is direct:
Record packing densities (proven optimal):
— Dimension 2 (, hexagonal):
— Dimension 8 ():
— Dimension 24 (Leech lattice ):
For , these are proven to be the global optima over all packings (not just lattice packings), established by Thue (n=2), Viazovska (n=8, 2016), and Cohn–Kumar–Miller–Radchenko–Viazovska (n=24, 2016). For all other dimensions, the optimal packing density is unknown.
All Metrics at a Glance
Gram matrix G
Encodes all pairwise inner products of basis vectors. Captures the full geometry of the basis. Determinant gives the lattice volume.
Successive minima λ₁ ≤ ... ≤ λₙ
How short the shortest, second-shortest, ..., longest “necessary” vectors are. The key measure of lattice point density. Basis-independent.
Hermite constant γₙ
The best possible λ₁ relative to det¹/ⁿ. Achieved by the densest known lattice packings in each dimension.
Hadamard ratio H(B)
How orthogonal the basis is. 1 = perfect; near 0 = highly skewed. Measures basis quality, not the lattice itself.
Root Hermite factor δ
Output quality of a reduction algorithm. The key parameter for estimating how many operations an attacker needs.
Smoothing parameter ηε
Minimum Gaussian width to “blur” the discrete lattice structure. The threshold for worst-case to average-case security reductions.
Check Your Understanding
Q1. Which of these numbers describes the basis you happen to be using, rather than the lattice itself?
Q2. An attacker runs BKZ and gets an output vector with root Hermite factor δ₀ = 1.010. A stronger run reaches δ₀ = 1.005. What does the lower δ₀ mean?
Q3. A public key basis has a Hadamard ratio close to 0. What does that tell you?
Q4. Why does the smoothing parameter matter for LWE security proofs?