NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Analog Lagrange Coded Computing

Mahdi Soleymani, Hessam Mahdavifar, Amir Salman Avestimehr

TL;DR

Analog Lagrange Coded Computing (ALCC) moves private distributed computing from the rigid world of finite fields into the flexible analog domain. By using floating-point numbers instead of fixed-point quantization, ALCC eliminates the "computation overflow" problem that limits the scalability of traditional coded computing, enabling high-accuracy, privacy-preserving calculations on massive datasets.

What Problem Does This Paper Address?

In distributed computing, a "master" node offloads heavy computations to multiple "worker" nodes. When the data is sensitive (e.g., medical records), we need to ensure workers can perform the task without actually "seeing" the raw data.

The state-of-the-art solution is Lagrange Coded Computing (LCC), which uses polynomial interpolation to hide data. However, LCC traditionally operates over finite fields. To use it, real-world decimal data must be quantized into integers. As the dataset grows or the math becomes more complex (like high-degree polynomials), these integers grow exponentially. Eventually, they exceed the maximum value the system can handle—a "computation overflow"—leading to a total loss of accuracy. This makes traditional LCC difficult to scale for modern big-data applications.

Methods

The authors propose Analog LCC (ALCC), which performs all operations over the infinite fields of real ($\mathbb{R}$) or complex ($\mathbb{C}$) numbers using standard floating-point representation.

Key technical components include:

  • Lagrange Monomials on the Unit Circle: To keep the math numerically stable, the authors pick evaluation points ($\alpha_i$) and interpolation points ($\beta_j$) specifically on a circle in the complex plane. This prevents the underlying matrices from becoming "ill-conditioned" (a common problem in analog computing where small errors explode).
  • Noise Injection for Privacy: To protect the data, the master node adds random "noise" matrices (drawn from a complex Gaussian distribution) into the Lagrange polynomial. This ensures that even if a subset of workers colludes, they cannot easily reconstruct the original dataset.
  • MIMO-Inspired Security Analysis: The authors use tools from wireless communication (specifically MIMO channel capacity) to mathematically bound how much information is "leaked" to curious workers.

Datasets

The paper evaluates the algorithm using synthetic datasets consisting of batches of large matrices.

  • Entries are drawn from continuous random variables (Gaussian distributions).
  • The primary test case is matrix-matrix multiplication ($X^T X$), a fundamental building block for machine learning models like linear and logistic regression.
  • The experiments compare ALCC against traditional LCC implemented with 64-bit fixed-point numbers.

Key Insights and Ideas

  • The Scalability "Cliff": Traditional LCC works perfectly until it hits a specific dataset size, at which point it suffers a "sharp increase" in error due to overflow. ALCC, by contrast, maintains a nearly constant, low relative error regardless of dataset size.
  • The Accuracy-Privacy Trade-off: In the analog world, privacy isn't "perfect" (binary), but "probabilistic." There is a fundamental "knob" (the parameter $\beta$): increasing it makes the data more private but reduces the numerical precision of the result.
  • Floating-Point Superiority: The paper proves that for a fixed number of bits (e.g., 64-bit), floating-point ALCC is significantly more robust than fixed-point LCC for large-scale distributed tasks.

Key Results

  • Relative Error: In matrix multiplication tests, ALCC achieved a relative error as low as $10^{-4}$ to $10^{-5}$, while traditional LCC's error jumped to effectively 100% (unusable) once the dataset size crossed the overflow threshold.
  • Privacy Metrics: The authors successfully characterized privacy using Mutual Information Security (MIS) and Distinguishing Security (DS). They demonstrated that with a noise standard deviation ($\sigma_n$) of $10^{12}$, the information leakage is negligible (around $10^{-20}$), which is sufficient for practical privacy.
  • Stability: By using roots of unity for encoding, the system remains numerically stable even when many worker nodes are involved.

Limitations and Future Work

  • Byzantine Workers: The current ALCC model assumes workers are "honest-but-curious" (they follow the rules but try to peek at the data). It does not yet account for "Byzantine" workers who might intentionally return incorrect or malicious results to sabotage the computation.
  • Optimal Parameter Selection: While the paper identifies the importance of the $\beta$ parameter, finding the mathematically optimal $\beta$ for a specific accuracy-privacy target remains an open question.
  • Decoding Complexity: The authors suggest that developing a numerically accurate analog version of the Reed-Solomon decoding algorithm would be a major leap forward for this field.

Summary updated

BibTeX
@article{soleymani2021analog,
  author = {Mahdi Soleymani and Hessam Mahdavifar and Amir Salman Avestimehr},
  title = {{Analog Lagrange Coded Computing}},
  journal = {IEEE J. Sel. Areas Inf. Theory},
  year = {2021},
  doi = {10.1109/jsait.2021.3056377},
}
Figure