Deep Tech30 Nov 20264 min read

CMU develops masked data tool that computes averages without seeing individual inputs

A Carnegie Mellon project applies secure multiparty computation to surveys, allowing servers to tally totals while keeping raw individual answers hidden.

Listen to this storyAbout 6 min, read by your device
Picture made with AI

Online surveys often struggle with honesty. When participants worry that responses might be traced back to them, their behavior shifts. In sensitive situations where answers could carry personal or professional consequences, users often hold back or provide false information. To tackle this, Carnegie Mellon University computer science student Diya Krishnan and assistant professor Sarah Scheffler are building a cybersecurity framework that hides individual answers from everyone, including system administrators.

How secure aggregation hides raw data

The system relies on a theoretical cryptographic concept known as secure aggregationSecure aggregationA cryptographic method that lets a central server combine private inputs to calculate a total without seeing the individual values. Open in glossary or secure multiparty computationSecure multiparty computationA subfield of cryptography that allows multiple parties to jointly calculate a result without sharing their private inputs. Open in glossary. The core goal is straightforward: compute a final outcome, such as an average, without ever revealing the individual numbers that make up the total.

Krishnan adapted this method from a 2017 study and integrated it into an active survey platform designed for behavioral, economic, and psychological studies. When a participant fills out a form asking for personal details, such as their age, the system intervenes before the data leaves their device. The framework applies mathematical masks, which act as placeholder tokens, over the sensitive inputs.

These masked inputs travel to the central server. Under normal circumstances, administrators could view every entry. Under this cryptographic framework, the server cannot read the underlying values. Instead, it processes the masked numbers together. The system cancels out the masking tokens during compilation, leaving the server with only the aggregate sum or average. At no point in the lifecycle can an administrator access single pieces of data.

Engineering practical cryptography

While the mathematical foundation of secure aggregation has existed in theory, turning it into a usable tool presents major engineering hurdles. Krishnan noted that implementing the core method was only part of the challenge. Significant trial and error was required to resolve privacy issues across every step of data transfer and make the tool reliable.

The effort was conducted as part of a Summer Undergraduate Research Fellowship at Carnegie Mellon’s Kenneth C. Griffin School of Computer Science and CyLab. Scheffler, who studies how cryptography intersects with public policy, mentored the project. She noted that achieving true cryptographic privacy requires substantial back-end engineering to ensure the platform remains both secure and easy for non-technical researchers to operate.

This effort follows earlier security work between Krishnan and Scheffler on Safexten, a tool designed to generate proofs verifying that browser extensions are safeSAFEAn agreement where an investor funds a startup in exchange for shares at a future date. Open in glossary to use.

Implications for builders and platforms

For software developers and platform builders, holding sensitive user records represents a substantial liability. Data breaches, administrative leaks, and compliance mandates create operational risks whenever personally identifiable information is stored on central servers.

Cryptographic systems like secure aggregation change this trade-off. They allow organizations to gather useful statistical trends, such as user benchmarks or feedback metrics, without actually possessing the raw personal records. As Scheffler noted, holding individual data in certain research scenarios can be actively dangerous. Eliminating raw data collection at the server level lowers breach risks while encouraging end users to submit genuine responses.

Krishnan also noted that future iterations of this research could explore artificial intelligence applications. Integrating AI could offer higher levels of user control and verify information trustworthiness while maintaining the same strict privacy barriers.

Next steps and open-source plans

The project is moving from early prototypes to real-world evaluation. Krishnan is adding final features, conducting system testing, and preparing to submit the research findings to an academic conference for formal peer review.

On campus, Scheffler plans to test the system in an educational setting. She will deploy Krishnan’s prototype to gather anonymous responses from students enrolled in her privacy and technology course. Once testing and refinement are complete, the team intends to release the finished source code as an open-source project. That step will allow researchers and outside developers to deploy secure data collection inside their own applications.

How does this story land?

One tap per reader.

Quick poll

Should platforms stop storing raw survey data when only aggregate stats are needed?

One tap. No sign-up.

Ask this story

Still have a question?

Answers use only what is in this story. They are written by AI and can be wrong.

Sources

  1. Tech Xplore - electronic gadgets, technology advances and research news, Behind the mask: Student research applies cybersecurity solution for handling sensitive data

This story was written with AI from the sources above and edited by Ashot Sanamyan.

Up next in Deep TechSubsurface materials harness tiny vibrations to cut airplane fuel burn3 min read