← Latest papers
💻 computer science

ORQ: Complex Analytics on Private Data with Strong Security Guarantees

ORQ is a novel system that enables efficient, cryptographically secure collaborative analysis of large private datasets by eliminating the quadratic cost of secure joins through on-the-fly aggregation, thereby achieving TPC-H Scale Factor 10 performance under multi-party computation without relying on trusted third parties or information leakage.

Original authors: Eli Baum, Sam Buxbaum, Nitin Mathai, Muhammad Faisal, Vasiliki Kalavri, Mayank Varia, John Liagouris

Published 2026-06-24
📖 5 min read🧠 Deep dive

Original authors: Eli Baum, Sam Buxbaum, Nitin Mathai, Muhammad Faisal, Vasiliki Kalavri, Mayank Varia, John Liagouris

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are the captain of a ship, and you have three other captains. Each of you holds a secret map with valuable treasure locations, but none of you trust the others enough to show your maps. You want to work together to find the best route that combines all your maps, but you don't want to reveal where your specific treasures are, or even how many treasures you have.

This is the problem Orq solves.

The Problem: The "Quadratic Explosion"

In the world of secure computing, there's a technique called Multiparty Computation (MPC). It allows people to compute things together without revealing their private data. Think of it like a group of people solving a math problem where everyone writes their numbers on a piece of paper, but they only pass around "scrambled" versions of those numbers.

However, there's a big bottleneck: Joins.
Imagine you have two lists of names. You want to find everyone who appears on both lists.

  • The Old Way: If you try to do this securely without revealing anything, the computers have to check every single name in List A against every single name in List B. If List A has 1,000 names and List B has 1,000 names, the computer has to do 1,000,000 checks (1,000 x 1,000).
  • The "Cascading" Nightmare: If you have three lists to join, the checks explode to 1,000,000,000. If you have four, it's a trillion. This is called the "quadratic blowup." It's like trying to find a needle in a haystack, but every time you look, the haystack doubles in size. Previous systems either gave up, leaked secrets to avoid this explosion, or needed a "trusted" third party (like a judge) to watch over them.

The Solution: Orq (The "Smart Sorter")

The researchers built a system called Orq that changes the rules of the game. Instead of blindly checking every combination, Orq uses a clever trick: It sorts the lists first.

Think of it like organizing a messy library.

  1. The Old Way: You walk up to every book in the library and ask, "Is this book about cats?" You do this for every single book, even if they are all in the wrong section.
  2. The Orq Way: You first organize the books alphabetically. Now, if you want to find all the "Cat" books, you just go to the "C" section. You don't need to check the "A" or "Z" sections.

Orq does this with data. It sorts the secret data so that matching items end up right next to each other. This turns the impossible "check everything" task into a manageable "check neighbors" task.

The Secret Sauce: "On-the-Fly" Aggregation

The paper highlights a specific insight: In most real-world questions (like "How much money did we make?"), we don't actually need to see the final list of every single transaction. We just need the total.

Orq uses a technique called Join-Aggregation.

  • Imagine a Relay Race: Instead of running the whole race, stopping to count every step, and then running again, Orq combines the running and the counting into one smooth motion.
  • As the data moves through the system, Orq joins the tables and adds up the numbers (aggregates) at the exact same time. It never creates the massive, intermediate list of all possible combinations. It keeps the size of the data bounded, like a bucket that never overflows, no matter how much water you pour in.

The Results: Speed and Scale

The researchers tested Orq in two environments:

  1. LAN (Local Area Network): Computers in the same building.
  2. WAN (Wide Area Network): Computers across the internet (like different countries).

What they found:

  • Speed: Orq is dramatically faster than previous systems. In some cases, it was 800 times faster.
  • Scale: They were able to run the famous TPC-H benchmark (a standard test for database performance) with a "Scale Factor 10." This means they processed 58 million rows of data entirely under secure encryption.
    • Context: Previous secure systems could only handle this much data if they leaked secrets or used a trusted third party. Orq did it with zero leakage and no trusted third party.
  • Security: It works even if some of the computers are "malicious" (trying to cheat) or "semi-honest" (following the rules but trying to peek).

The Takeaway

Orq is like a new, super-efficient engine for a secure car. Before, trying to drive a secure car with a heavy load (complex data) was so slow and dangerous that people either didn't drive it or took off the safety locks (leaking data). Orq redesigned the engine so you can drive fast, carry a massive load, and keep the safety locks firmly in place.

They have even made the code open-source, so anyone can use this "engine" to build their own secure data analysis tools.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →