Stochastic Gradient Descent for Linear Systems with Missing Data

Anna Ma, Deanna Needell · DOI

Abstract

Traditional methods for solving linear systems have quickly become impractical due to an increase in the size of available data. Utilizing massive amounts of data is further complicated when the data is incomplete or has missing entries. In this work, we address the obstacles presented when working with large data and incomplete data simultaneously. In particular, we propose to adapt the Stochastic Gradient Descent method to address missing data in linear systems. Our proposed algorithm, the Stochastic Gradient Descent for Missing Data method (mSGD), is introduced and theoretical convergence guarantees are provided. In addition, we include numerical experiments on simulated and real world data that demonstrate the usefulness of our method.

Introduction

In the era of "Big Data," solving large-scale linear systems of the form $Ax = b$ presents two primary challenges. First, the scale of matrix $A$ often exceeds available memory, necessitating iterative, row-by-row methods like Stochastic Gradient Descent (SGD). Second, real-world data—ranging from medical surveys to sensor networks—is frequently incomplete due to various factors like equipment failure or human error.

Standard approaches to missing data typically involve imputation (filling missing entries with zeros or averages) or matrix completion. However, these methods can be computationally prohibitive at scale or introduce significant statistical bias. This research introduces mSGD (Stochastic Gradient Descent for Missing Data), an algorithm designed to converge to the true solution using only partial data, bypassing the need for explicit imputation.

The mSGD Algorithm

The core innovation of mSGD lies in its modified gradient update. Naively applying SGD by treating missing entries as zeros results in a biased gradient, leading the algorithm away from the true solution. To counteract this, mSGD incorporates a correction term based on the probability $p$ of an entry being present.

By adding a correction term—specifically subtracting a scaled version of the diagonal of the sampled row—the algorithm ensures that the expected value of the update is equal to the true gradient of the full-data objective function. The authors provide convergence guarantees for two regimes:

  • Fixed Step Size: Rapid convergence to a "horizon" or neighborhood around the solution.
  • Diminishing Step Size: Slower but exact convergence to the least-squares solution.

Experimental Evaluation

The effectiveness of mSGD was validated across three distinct datasets:

  1. Synthetic Gaussian Data: Used to verify theoretical limits and convergence horizons.
  2. UCI Bike Sharing Dataset: A real-world dataset ($17,379 \times 9$) containing hourly rental and environmental data.
  3. Lyme Disease Survey Data: A patient survey dataset ($3,686 \times 81$) from lymedisease.org.

Key Results

Numerical experiments confirmed that mSGD outperforms traditional SGD paired with common imputation techniques (e.g., zero-filling, row/column means). While imputation methods often plateaued at high error rates or diverged, mSGD consistently progressed toward the solution. Furthermore, the experimental results closely aligned with the derived theoretical bounds, demonstrating that the "convergence horizon" is predictable based on the missingness probability $p$.

Discussion and Conclusion

mSGD offers a "direct" approach to solving linear systems with missing data, mathematically "undoing" the damage of missing entries through its unbiased update rule. However, the current framework assumes data is "Missing Completely at Random" (MCAR). Future research could explore more complex missingness patterns, such as structured blocks of missing data. Additionally, while the current theory focuses on single-pass convergence, extending these proofs to multiple-pass "shuffled" SGD remains an area for further investigation.

Summary updated

BibTeX
@misc{ma2017stochastic,
  author = {Anna Ma and Deanna Needell},
  title = {{Stochastic Gradient Descent for Linear Systems with Missing Data}},
  year = {2017},
  eprint = {1702.07098},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.07098},
}
Figure