Communication Complexity and Secure Function Evaluation

Moni Naor, Kobbi Nissim

In the world of cryptography, Secure Function Evaluation (SFE) is the "holy grail." It allows two parties, Alice and Bob, to compute a function $f(x, y)$ on their private inputs without revealing anything other than the final result. While we've known this is possible since the 1980s, the traditional methods (like Yao’s Garbled Circuits) have a major drawback: their cost is tied to the circuit size of the function.

This paper by Moni Naor and Kobbi Nissim bridges a critical gap, showing how to build secure protocols whose complexity is proportional to the communication complexity of the function, rather than its total circuit size.

TL;DR

This paper introduces methodologies to transform efficient, low-communication (but insecure) protocols into secure ones. By using novel primitives like "Private Indirect Indexing" and simulating RAM machines via circuits with look-up tables, the authors enable secure computation for tasks like finding the median of two massive datasets with sublinear communication overhead.

What Problem Does This Paper Address?

The standard "compiler" for secure computation takes a Boolean circuit and turns it into a secure protocol. However, many functions have very large circuits but very "thin" communication requirements. For example, to find the median of two sorted lists of size $n$, Alice and Bob only need to exchange $O(\log n)$ bits. But a Boolean circuit for this task is much larger.

If you use standard SFE, you pay for the whole circuit. This paper asks: Can we have secure protocols that are as efficient as the best insecure communication protocols? The goal is to preserve the "sublinear" nature of efficient algorithms when moving into the secure domain.

Methods

The authors propose two primary methodologies centered around a new building block called Private Indirect Indexing.

  1. Private Indirect Indexing: Think of this as a "shared" version of Oblivious Transfer (OT). In standard OT, one party knows the index and the other holds the data. In Private Indirect Indexing, the index is shared (XOR-ed) between Alice and Bob, and the result is also delivered as random shares. This allows for "secure pointer jumping."
  2. Communication Complexity Trees & Branching Programs: The authors show how to take a protocol represented as a decision tree or a branching program and "walk" through it securely. Because they use Private Indirect Indexing, neither party knows which path is being taken through the tree.
  3. Circuits with Look-Up Tables (LUT): Standard circuits struggle with random memory access (RAM). The authors introduce a model where gates are look-up tables. They prove that any RAM machine can be simulated in this LUT-circuit model with only a polylogarithmic blowup. This allows developers to write a "normal" RAM-based algorithm and "compile" it into a secure protocol.

Datasets

As a theoretical computer science paper, there are no empirical datasets used for training or evaluation. Instead, the authors evaluate their methods against classic algorithmic benchmarks:

  • The Millionaires Problem: Comparing two numbers to see which is larger.
  • Median Computation: Finding the median of the union of two sets.
  • Hamming Distance: Counting bit differences between strings.
  • Karchmer-Wigderson Games: A fundamental problem in circuit complexity.

Key Insights and Ideas

  • Representation Matters: The "aha moment" is that the bottleneck in SFE isn't security itself, but the rigid representation of functions as Boolean circuits. By moving to branching programs and LUT-based circuits, we can capture the efficiency of RAM-based algorithms.
  • Secure Pointer Jumping: By using Private Indirect Indexing, parties can traverse a computation graph where the "next node" is determined by a secret share of the current state and a secret share of the input. This keeps the entire execution path hidden.
  • Breaking the "OT-per-bit" Barrier: Traditional garbled circuits require an Oblivious Transfer for every single input bit. This paper provides a path to protocols that require far fewer OTs, especially for functions with low communication complexity.
  • The "Billionaires" Footnote: In a classic academic move, the authors note that while Yao originally called it the "Millionaires Problem" in 1982, inflation has effectively updated it to the "Billionaires Problem."

Key Results

  • General Transformation: The authors prove that any function $f$ with communication complexity $c$ can be computed securely with communication complexity $\text{poly}(c, k)$, where $k$ is a security parameter.
  • The Median Problem: They achieve a secure protocol for the median of two sets of size $n$ with polylogarithmic communication in $n$. Previous circuit-based methods were linear in $n$.
  • Millionaires Problem Efficiency: Their randomized protocol for string comparison (a core part of the Millionaires problem) is more efficient in both communication and computation than previous state-of-the-art methods, requiring only a polylogarithmic number of OTs.
  • RAM Simulation: They demonstrate a way to simulate any RAM machine with $T$ time and $S$ space using a secure protocol with $O(T \cdot \text{polylog } S)$ complexity.

Limitations and Future Work

  • Semi-Honest vs. Malicious: Most of the paper focuses on the "semi-honest" model (where parties follow the rules but try to learn extra info). While they discuss a "compiler" for the malicious model, they acknowledge it is computationally expensive because it relies on heavy tools like the PCP Theorem.
  • Branching Program Width: The efficiency of the branching program approach depends on the "width" of the program. If the width is too large, the computational work for the parties can still be significant.
  • Simultaneous Preservation: A lingering open question is whether it's possible to preserve both optimal communication and optimal computation simultaneously for every possible function.

Summary updated

BibTeX
@article{naor2001communication,
  author = {Moni Naor and Kobbi Nissim},
  title = {{Communication Complexity and Secure Function Evaluation}},
  journal = {Electron. Colloquium Comput. Complex.},
  year = {2001},
  url = {https://openreview.net/forum?id=RTjsz70lwmyt},
}
Figure