Lune

SIGMOD2021Top-tier venue

Secure Yannakakis: Join-Aggregate Queries over Private Data

Yilei Wang, Ke Yi

Abstract

In this paper, we describe a secure version of the classical Yannakakis algorithm for computing free-connex join-aggregate queries. This protocol can be used in the secure two-party computation model, where the parties would like to evaluate a query without revealing their own data. Our protocol presents a dramatic improvement over the state-of-the-art protocol based on Yao's garbled circuit. In theory, its cost (both running time and communication) is linear in data size and polynomial in query size, whereas that of the garbled circuit is polynomial in data size and exponential in query size. This translates to a reduction in running time in practice from years to minutes, as tested on a number of TPC-H queries of varying complexity.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HEDA: Multi-Attribute Unbounded Aggregation over Homomorphically Encrypted Database cites Senate: A Maliciously-Secure MPC Platform for Collaborative Analytics
  • HEDA: Multi-Attribute Unbounded Aggregation over Homomorphically Encrypted Database cites EnclaveDB: A Secure Database Using SGX
  • SECRECY: Secure collaborative analytics in untrusted clouds cites Efficient Oblivious Database Joins
  • SECRECY: Secure collaborative analytics in untrusted clouds cites Senate: A Maliciously-Secure MPC Platform for Collaborative Analytics
  • Senate: A Maliciously-Secure MPC Platform for Collaborative Analytics cites EnclaveDB: A Secure Database Using SGX
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Hu-Fu: Efficient and Secure Spatial Queries over Data FederationYongxin Tong, Xuchen Pan, Yuxiang Zeng, Yexuan Shi et al.VLDB 2022 · 63 citations
  2. SECRECY: Secure collaborative analytics in untrusted cloudsJohn Liagouris, Vasiliki Kalavri, Muhammad Faisal, Mayank VariaNSDI 2023 · 53 citations
  3. HEDA: Multi-Attribute Unbounded Aggregation over Homomorphically Encrypted DatabaseXuanle Ren, Le Su, Zhen Gu, Sheng Wang et al.VLDB 2023 · 42 citations
  4. TreeSensing: Linearly Compressing Sketches with FlexibilityZirui Liu, Yixin Zhang, Yifan Zhu, Ruwen Zhang et al.SIGMOD 2023 · 10 citations
  5. Avoiding Materialisation for Guarded Aggregate QueriesMatthias Lanzinger, Reinhard Pichler, Alexander SelzerVLDB 2025 · 7 citations

Builds on4

  1. Fast Private Set Intersection from Homomorphic EncryptionHao Chen, Kim Laine, Peter RindalCCS 2017 · 446 citations
  2. EnclaveDB: A Secure Database Using SGXChristian Priebe, Kapil Vaswani, Manuel CostaS&P 2018 · 329 citations
  3. Senate: A Maliciously-Secure MPC Platform for Collaborative AnalyticsRishabh Poddar, Sukrit Kalra, Avishay Yanai, Ryan Deng et al.USENIX Security 2021 · 89 citations
  4. Efficient Oblivious Database JoinsSimeon Krastnikov, Florian Kerschbaum, Douglas StebilaVLDB 2020 · 57 citations

Related papers

  1. Secure Query Processing with Linear Online CostQiyao Luo, Yilei Wang, Wei Dong, Ke YiICDE 2026
  2. Yannakakis+: Practical Acyclic Query Evaluation with Theoretical GuaranteesQichen Wang, Bingnan Chen, Binyang Dai, Ke Yi et al.SIGMOD 2025 · 7 citations
  3. Global-Scale Secure Multiparty ComputationXiao Wang, Samuel Ranellucci, Jonathan KatzCCS 2017 · 220 citations
  4. Large Scale, Actively Secure Computation from LPN and Free-XOR Garbled CircuitsAner Ben-Efraim, Kelong Cong, Eran Omri, Emmanuela Orsini et al.EUROCRYPT 2021 · 21 citations
  5. ORQ: Complex Analytics on Private Data with Strong Security GuaranteesEli Baum, Sam Buxbaum, Nitin Mathai, Muhammad Faisal et al.SOSP 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines