OSCRJun 23, 2021

MAGE: Nearly Zero-Cost Virtual Memory for Secure Computation

arXiv:2106.14651v21 citations
Originality Highly original
AI Analysis

This addresses a significant obstacle for industry adoption of SC in practical applications by reducing memory costs.

The paper tackles the high memory overhead in Secure Computation (SC) by developing MAGE, an execution engine that uses memory programming to provide a virtual memory abstraction, achieving up to an order of magnitude speedup over OS virtual memory and near-zero performance loss for memory-intensive computations.

Secure Computation (SC) is a family of cryptographic primitives for computing on encrypted data in single-party and multi-party settings. SC is being increasingly adopted by industry for a variety of applications. A significant obstacle to using SC for practical applications is the memory overhead of the underlying cryptography. We develop MAGE, an execution engine for SC that efficiently runs SC computations that do not fit in memory. We observe that, due to their intended security guarantees, SC schemes are inherently oblivious -- their memory access patterns are independent of the input data. Using this property, MAGE calculates the memory access pattern ahead of time and uses it to produce a memory management plan. This formulation of memory management, which we call memory programming, is a generalization of paging that allows MAGE to provide a highly efficient virtual memory abstraction for SC. MAGE outperforms the OS virtual memory system by up to an order of magnitude, and in many cases, runs SC computations that do not fit in memory at nearly the same speed as if the underlying machines had unbounded physical memory to fit the entire computation.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes