CONCEPT Cited by 1 source
Secure aggregation¶
Definition¶
Secure aggregation is the class of cryptographic protocols that lets a server compute a sum (or other aggregate) of values from many clients without learning any individual contribution — only the aggregate is revealed. Mathematical-proof confidentiality, not policy-based confidentiality.
Formal statement: given clients c₁, c₂, …, cₙ each holding xᵢ, the
server learns Σxᵢ (or some function f(x₁,…,xₙ)) and nothing else.
A compromised server cannot reconstruct any xᵢ from what it has access to.
Where it lives in the stack¶
Secure aggregation is the cryptographic primitive under federated analytics and federated learning. It's what makes the "only the aggregate is revealed" guarantee load-bearing rather than aspirational.
Compositionally:
[device] → encrypted contribution
↓
[aggregation server] — runs secure-aggregation protocol →
can only recover Σxᵢ, not any xᵢ
↓
[aggregate + differential-privacy noise] → published
The protocol does not leak xᵢ even if the server is fully compromised
(under the protocol's threat model — typically honest-but-curious or
malicious-minority depending on construction).
Protocol-design axes¶
Secure-aggregation schemes vary along several axes that determine deployability:
| Axis | Options | Trade-off |
|---|---|---|
| Rounds | one-shot vs multi-round | Multi-round needs all devices online for the window; one-shot is robust to drive-by clients |
| Math substrate | Pairing-based / DDH / lattice / secret-sharing | Lattice gives concepts/post-quantum-cryptography resilience and key-aggregation |
| Trust model | Honest-but-curious server / malicious server / malicious server + minority of malicious clients | Stronger models cost more |
| Dropout tolerance | None / threshold-fraction / arbitrary | Critical for mobile clients |
| Output type | Sum / mean / histogram / generic function | More expressive functions cost more |
| DP composition | External / internal | Internal-DP (computed inside the aggregation) is harder but stronger |
The 2026-05-27 Google post introduces a new lattice-based scheme that's one-shot, dropout-tolerant via committees, malicious-server-secure, and DP-internal — checking many of these boxes simultaneously is what makes the scheme production-novel.
Generations of Google secure aggregation¶
| Gen | Year | Shape | Limitation it removed |
|---|---|---|---|
| 1 | 2017 | Pairwise-mask multi-round | Showed feasibility; required all online |
| 2 | ~2021 | Distributed-DP multi-round | Strengthened DP composition; still multi-round |
| 3 | 2026-05-27 | patterns/one-shot-secure-aggregation + patterns/client-committee-key-shares (one-shot lattice-based + client committees) | Single-message submission — devices don't need to stay online for an aggregation window |
The Generation-3 protocol is the load-bearing innovation that lets secure aggregation scale to the mobile-fleet population rather than to the "always-online subset" of the fleet.
Why "key aggregation" is load-bearing¶
The 2026-05-27 post emphasises:
"An innovative lattice-based protocol that allows clients to encrypt their data in a way that the resulting ciphertexts can be aggregated while aggregating the underlying messages as well as encryption keys."
This is the structural innovation. In a traditional homomorphic-encryption scheme, ciphertexts can be summed but the decryption key remains a single key held by some party. If that party is compromised, the scheme degrades to "trust this one party not to decrypt individual ciphertexts."
In the 2026 lattice scheme, encryption keys also aggregate: the only
key the server can ever obtain is one that decrypts the sum, not the
individual contributions. Even a fully compromised server cannot decrypt
xᵢ because the per-client key needed to do so is not assembled anywhere.
The decryption key for the sum is derived from a committee of clients
revealing key hints — see
client-committee key shares.
Composition with TEE¶
Secure aggregation's confidentiality guarantee is independent of the host that runs the protocol — a fully compromised aggregation server still cannot recover individual contributions. So why combine it with TEE at all?
Two reasons named in the 2026-05-27 post:
- Attestation of the aggregation binary — TEEs let the client verify that the correct secure-aggregation implementation is running, with no tampered version that subtly leaks state through covert channels.
- Defense in depth against unknown unknowns — even mathematically-sound protocols can have implementation bugs; combining with TEE means an attacker has to find both a crypto bug and a TEE breakout.
This composition is canonicalised as cryptography-plus-TEE defense in depth.
Caveats¶
- Secure aggregation is not anonymisation of inputs. It is non-extractability of
inputs — the server can compute the sum without ever decrypting any
individual
xᵢ. The semantic meaning of "secure" is mathematical, not policy-based. - Even-sum-leaks-individuals attack class. If the population size is small or one client dominates, the aggregate may leak the individual. This is what DP noise is for — a privacy-budget-bounded leakage cap on the aggregate.
- Implementation side-channels still apply. The mathematical guarantee doesn't protect against an implementation that leaks plaintext via microarchitectural side-channels — composition with TEE + standard side-channel hardening matters.
- Multi-round protocols have churn cost. First-generation Google secure aggregation required all participating devices to remain online — a structural barrier to mass-fleet deployment that the 2026 one-shot protocol removes.
Seen in¶
- sources/2026-05-27-google-private-analytics-via-zero-trust-aggregation — canonical wiki instance of the third-generation secure-aggregation protocol. Key-aggregating lattice-based one-shot scheme with client committees and internal DP composition. Production target: Android System SafetyCore.
Related¶
- concepts/federated-analytics — the canonical use case
- concepts/differential-privacy — composed for output privacy
- concepts/lattice-based-cryptography — math substrate
- concepts/post-quantum-cryptography — sibling implication of lattices
- concepts/zero-knowledge-proof — not the same primitive but cousin (ZKP can prove correctness of aggregation)
- concepts/trusted-execution-environment — composed defense layer
- patterns/one-shot-secure-aggregation — single-message-per-client variant
- patterns/client-committee-key-shares — distributed-key-share pattern
- patterns/cryptography-plus-tee-defense-in-depth — the composed-defense pattern
- systems/google-confidential-federated-analytics
- systems/android-safetycore