← Back to section · Post-Quantum Cryptography
ML-KEM Parameter Sets in Depth: The Security Levels and Trade-offs Behind the Three Tiers
The difference between ML-KEM-512/768/1024 is more than turning a dial: how module rank, noise parameters, compression widths and decapsulation failure probability jointly set the security level and sizes — and how to choose in practice.
What actually changes across the three tiers
The parameter table in the introductory article only lists sizes. What actually determines a parameter set’s behaviour is a group of internal parameters from the appendices of FIPS 203: all three sets share polynomial degree n = 256 and modulus q = 3329, and differ in four places — the module rank k (the number of polynomials in the secret vector), the centred binomial parameters η1 and η2 for secret and noise, and the ciphertext compression widths du and dv.
| Parameter set | k | η1 | η2 | du | dv |
|---|---|---|---|---|---|
| ML-KEM-512 | 2 | 3 | 2 | 10 | 4 |
| ML-KEM-768 | 3 | 2 | 2 | 10 | 4 |
| ML-KEM-1024 | 4 | 2 | 2 | 11 | 5 |
k is the main security dial: the secret hides in a module lattice of rank k, and a larger k means a higher-dimensional lattice problem that is harder to solve. η sets the noise width: too little noise makes the LWE problem easier, too much raises the decryption failure rate. The 512 set uses the larger η1 = 3 because its low dimension needs wider noise to win back some hardness; the 768 and 1024 sets already have enough dimension, so η returns to 2 to keep the failure probability down. du/dv control how many bits each ciphertext component is compressed to: harder compression means a smaller ciphertext but more rounding error, which likewise pushes the failure probability up — the 1024 set actually relaxes to 11/5 because it needs the larger correctness margin.
What security categories 1/3/5 mean
NIST’s security categories are not arbitrary grades; each is defined by the computational resources required to break the scheme being no less than those needed against a reference primitive: category 1 is benchmarked against key search on AES-128, category 3 against AES-192, and category 5 against AES-256 (categories 2 and 4 use hash-collision-style references, for which ML-KEM has no tier). The mainstream tool for costing lattice attacks is the BKZ cost model: an attack on Module-LWE is reduced to block basis reduction on a lattice of the corresponding dimension, and both classical and quantum sieving cost estimates are counted. The three parameter sets are calibrated so that the estimated cost of the best known attacks clears the category 1/3/5 bars respectively, with margin to spare.
When choosing, keep in mind that the categories are not “a little apart”: going from 768 to 1024 raises the attack cost by an exponential step, while the size penalty is only a few hundred linear bytes. That is exactly why many high-assurance systems happily pay 400-odd extra bytes for the 1024 set.
Decapsulation failure probability: an easy-to-miss hard metric
ML-KEM is probabilistically, not absolutely, correct: there is a tiny probability δ that an honestly generated ciphertext decapsulates to a different shared secret. For the three tiers δ is roughly 2^-139, 2^-165 and 2^-175 — small enough that it will never happen on a cosmic timescale. It is still a hard metric, for two reasons. First, δ feeds directly into the security proof: certain attacks against KEMs (failure-boosting attacks) treat failure events as an information leakage channel, and a larger δ widens that channel. Second, at the protocol layer a failure shows up as a random connection abort — if an implementation’s observed failure rate is markedly above the specified value, its compression or sampling code usually has a bug. FIPS 203 therefore fixes every bit of the parameters: implementers may not “optimise” η or the compression widths on their own; change any one of them and what you have is no longer ML-KEM.
Engineering selection: each tier in its place
- ML-KEM-512: an 800-byte public key and a 768-byte ciphertext make it the most bandwidth-frugal tier. It fits settings where category 1 already meets the compliance bar and every byte counts (low-power IoT, massive volumes of short connections). The cost is the thinnest security margin.
- ML-KEM-768: public key and ciphertext of about 1.1 KB each, category 3. It is the de facto default of TLS hybrid key exchange (X25519MLKEM768), has the most complete ecosystem support, and is the direct choice for most systems.
- ML-KEM-1024: public key and ciphertext of 1568 bytes each, category 5. It suits data that must stay confidential for decades (defence against harvest-now-decrypt-later), high-assurance and top-of-scale compliance settings; the extra size is usually imperceptible on channels that do not handshake constantly.
A common misconception is to read the categories as linearly tied to key length, as if 1024 were “only a bit stronger” than 512. In fact the attack costs of the three tiers differ by orders of magnitude, and the right selection question is: which category do my threat model and compliance baseline require, and how much handshake expansion can the channel bear — not which number looks nicer.
The uncertainty of cost estimates: why margin is kept
The attack costs quoted above are estimates, and that deserves emphasis. The mainstream cost model for lattice attacks (often called the Core-SVP methodology) simplifies the cost of BKZ basis reduction to the cost of its core sieving step, deliberately ignoring polynomial factors and memory costs — sieving needs exponential memory, and in practice the memory wall may be harder to cross than the compute wall. Teams making different assumptions about sieving constants and the real quantum speedup (the actual benefit of Grover-style acceleration for sieving is still debated) can produce security estimates for the same parameter set that differ by a dozen bits or several dozen. NIST’s evaluation weighed several models together with conservative assumptions about the resources available to an attacker, and the tier thresholds were drawn under exactly this uncertainty: better a conservative estimate than security staked on a single optimistic model. This is also why “take one tier up” in engineering selection is not paranoia — when your data must stay confidential for a decade, a few hundred extra bytes is very cheap insurance against cost-model uncertainty. Conversely, anyone claiming a tier offers “exactly 128 bits of security” has misread the estimation framework: it yields lower-bound-style engineering judgements, not measurements.
Summary
A parameter set is ML-KEM’s factory security configuration: k sets the dimension, η the noise, du/dv the compression, and together with the failure probability δ they hold the attack cost above the target category. In engineering practice, pick the tier by compliance baseline and bandwidth budget — 768 by default, 1024 for high assurance, 512 only when bandwidth is truly extreme — but never re-tune any tier’s parameters yourself.
References
- NIST, FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard, 2024. https://doi.org/10.6028/NIST.FIPS.203
- CRYSTALS Team, CRYSTALS-Kyber Algorithm Specifications and Supporting Documentation, Round 3 submission, 2021. https://pq-crystals.org/kyber/
Tags: ML-KEMParameter SetsSecurity LevelsFIPS 203