Reflex: Faster Secure Collaborative Analytics via Controlled Intermediate Result Size Disclosure
Long Gu, Shaza Zeitouni, Carsten Binnig, Zsolt István
TL;DR
Reflex tackles the prohibitive cost of secure MPC analytics by introducing a Resizer operator that trims intermediate results between oblivious operators, using user-defined probabilistic distributions to balance performance and privacy. A new RtR metric provides a principled way to compare how much information about intermediate sizes an attacker can infer under different trimming strategies. Implemented on MP-SPDZ with replicated secret sharing, Reflex supports trimming after joins, selections, and aggregations, and offers Beta-Binomial and DP-based distributions to control the trimming behavior. Empirical results show substantial runtime reductions while maintaining quantifiable privacy guarantees, enabling MPC-based analytics to approach practical feasibility and motivating future policy-driven query optimizers that jointly optimize performance and security guarantees.
Abstract
Secure Multi-Party Computation (MPC) enables collaborative analytics without exposing private data. However, OLAP queries under MPC remain prohibitively slow due to oblivious execution and padding of intermediate results with filler tuples. We present Reflex, the first framework that enables configurable trimming of intermediate results across different query operators -- joins, selections, and aggregations -- within full query plans. At its core is the Resizer operator, which can be inserted between any oblivious operators to selectively remove filler tuples under MPC using user-defined probabilistic strategies. To make privacy trade-offs interpretable, we introduce a new metric that quantifies the number of observations an attacker would need to infer the true intermediate result sizes. Reflex thus makes the performance-privacy space of secure analytics navigable, allowing users to balance efficiency and protection. Experiments show substantial runtime reductions while maintaining quantifiable privacy guarantees.
