Speakeasy: Privacy Preserving Programs, Composed in the Real World
summary
Speakeasy is a Scala library that composes privacy-preserving techniques into executable pipelines by representing data as private distributed datasets (PDDs) and mapping operations to either plaintext or secret-shared domains. It builds an embedded DSL on Scala 3 using context functions, macros and given contexts, compiles MPC payloads for a proprietary VM or emits Python simulations, and schedules graphs with an experimental bootleg evaluator. Current backends are the project VM plus a Python simulator; the system already runs nontrivial composed pipelines mixing mpc and local preprocessing.
AI-written summary · about
chapters (20)
- 0:00Start
- 1:14Secure multi-party computation (MPC)
- 4:38MPC is not enough - making it numeric
- 6:09What is Speakeasy
- 6:57Anatomy of a Speakeasy program
- 8:26The Setup
- 10:22Anatomy of a Speakeasy pragram
- 22:28Bootleg: an example strategy for evaluating PDDS
- 23:42Evaluating a PDD
- 24:45Evolution of Speakeasy
- 25:141. External Language
- 26:582. Embedded Language
- 27:17Scala Features Used in the Embedded DSL
- 30:13Builder Context, End-to-End Flexibility
- 31:12Builder Context, End-to-End Restrictions
- 32:03Embedded to Composite
- 33:21Scala 3 Features Used in the Composite DSL
- 34:09Macros and context Functions
- 36:56Key Insights
- 37:29Speakeasy beyond MPC
