SASS: Secure Aggregation with Secret Sharing

In a world where data is the fuel of artificial intelligence, organisations face a difficult dilemma. The most valuable insights often come from combining data held by many parties, such as hospitals, banks, universities or millions of devices. Yet that data is frequently sensitive, regulated or simply too valuable to hand over to anyone else.

SASS (Secure Aggregation with Secret Sharing) offers a way out of this dilemma. It lets a group of participants compute a combined result, such as a sum or an average, without any of them revealing their individual contribution. Not even the parties performing the computation can see it. The trick is a simple but powerful cryptographic idea: split every secret into pieces that are meaningless on their own, but add up to something useful together.

Why SASS

Many collaborative analytics and machine learning tasks do not need individual data points. They only need aggregates. A model trained with Federated Learning does not need each participant’s local update, just their average. A joint statistic across institutions does not need each organisation’s raw figures, just the total.

Federated Learning already keeps raw data on each participant’s premises. However, the model updates that participants send can still leak a surprising amount about the underlying data. SASS closes this gap, so that no single entity ever sees an individual contribution in the clear.

How It Works: A Simple Example

Imagine three universities, A, B and C, that want to know the total number of students enrolled in a programme without revealing their own figures. A has 5, B has 3, and C has 7.

Step 1: Split. Each university splits its number into three random-looking shares that add up to the original value.

Step 2: Distribute. Each university keeps one share and sends one to each of the other two. Party 1 receives the first share of every university, Party 2 the second, and Party 3 the third. Seen in isolation, a share like 12 or −9 reveals nothing about the original value.

Step 3: Add locally. Each party adds up the shares it holds and publishes only the result.

Step 4: Combine. Adding the three partial sums gives 8 − 5 + 12 = 15, exactly 5 + 3 + 7. The total is revealed, but nobody ever saw 5, 3 or 7.

Real-world SASS deployments build on this core idea with a few key ingredients:

  • Modular arithmetic: Shares are drawn uniformly at random within a fixed numeric range, so they are statistically independent of the original value.
  • Threshold secret sharing: Schemes such as Shamir’s Secret Sharing allow the result to be reconstructed from any t out of n Fewer than t shares reveal nothing. This makes the protocol robust when some participants drop out or go offline.
  • Distributed aggregators: Shares can be sent to several independent aggregation nodes rather than to the participants themselves. As long as those nodes do not collude, no one can rebuild an individual input.

How to Use it

SASS is rarely used on its own. It is a building block inside larger privacy-preserving systems:

  • Federated Learning: Each client trains locally, secret-shares its model update, and the aggregators reconstruct only the averaged update for the global model.
  • Privacy-preserving statistics: Organisations can compute joint counts, sums or histograms, for example to benchmark performance, measure educational outcomes or detect fraud patterns across institutions.
  • Combination with other techniques: SASS pairs naturally with Differential Privacy, which adds calibrated noise so that even the final aggregate do not expose any individual. It can also be combined with Trusted Execution Environments for additional assurance.

In practice, deploying SASS means defining a few parameters. These are the number of participants and aggregators, the reconstruction threshold t, and the minimum group size needed before a result is released.

Limitations and Considerations

Like any technology, SASS comes with trade-offs:

  • The aggregate is still information. With very few participants, the total may reveal too much. Minimum group sizes and Differential Privacy help mitigate this.
  • Trust assumptions. Security relies on fewer than t parties colluding, so aggregators should be operated by independent entities.
  • Communication overhead. Every value is sent as several shares, which increases network traffic compared to sending data in the clear.
  • Malicious participants. Since no one inspects individual inputs, detecting poisoned or manipulated contributions requires additional mechanisms, such as input validation or robust aggregation.

The Path Forward

As regulations such as the General Data Protection Regulation (GDPR), the Data Act and the AI Act raise the bar for data protection, the ability to collaborate without centralising sensitive data is becoming a necessity rather than a luxury. SASS turns the traditional trade-off between data utility and privacy into a balance. Organisations gain the collective intelligence of shared data, while each participant keeps full control over what it contributes.

For organisations, this opens the door to cross-institutional research, innovation and trust. For individuals, it means their data can help build better services without ever being exposed. With SASS, the whole can be known while the parts stay private.

 

TrustED has received funding from the European Union’s Horizon Europe Research and Innovation Programme under grant agreementNo. 101168467

Latest entries

Log in

Subscribe to our newsletter

Subscribe to our newsletter and be the first to hear about our updates. Don’t miss out, join our community today!