Outlier Robust Online Learning

Jiashi Feng, Huan Xu, Shie MannorarXiv 2017

Abstract

In the era of massive datasets, machine learning models face a dual challenge: the need for computational scalability and the requirement for robustness against malicious or noisy outliers. Traditional robust statistical methods often fail to scale, while efficient online learning algorithms like Stochastic Gradient Descent (SGD) are highly susceptible to data corruption. This paper introduces Online Robust Learning (ORL), a framework that bridges this gap. By combining mini-batch robust estimation with a high-level geometric median filtering process, ORL provides a computationally efficient, memory-light approach that remains mathematically accurate even when a significant portion of the data is corrupted.

Introduction

The "Big Data" paradox lies in the tension between volume and veracity. While massive datasets offer the potential for high-precision models, they are frequently too large to fit into the memory of a single machine, necessitating "online" or streaming learning approaches. However, standard online methods are fragile; a single adversarial outlier or a poisoned batch of data can derail the entire learning process. Conversely, traditional robust methods require multiple passes over the full dataset, making them impractical for petabyte-scale applications.

ORL addresses these challenges by introducing a two-level architecture designed to filter out corruption "on the fly" without sacrificing the speed and memory advantages of online learning.

The Online Robust Learning (ORL) Framework

The core innovation of ORL is a hierarchical processing strategy that isolates the influence of outliers at two distinct stages:

1. Bottom Level: Mini-batch Robust Learning

Data arrives in a continuous stream of mini-batches. For each batch, the algorithm executes a "base" robust learning procedure—such as robust Principal Component Analysis (PCA) or robust Linear Regression (LR). This produces a local estimate of the model parameters for that specific slice of data. By processing data in chunks, the algorithm avoids the "memory wall" associated with global matrix operations.

2. Top Level: Geometric Median Filtering

This stage serves as the framework's "mathematical shield." Rather than simply averaging the local estimates from the mini-batches—a process that would allow a single corrupted batch to skew the results—ORL treats these estimates as points in a high-dimensional space and calculates their geometric median.

The geometric median is a robust generalization of the standard median. Just as the median of a one-dimensional set is unaffected by extreme values, the geometric median ignores "bad" parameter estimates originating from corrupted mini-batches. The authors implement this filtering using an efficient SGD-based approach, ensuring the overhead remains minimal.

Experimental Evaluation

The authors evaluated the ORL framework using both controlled synthetic simulations and a massive real-world dataset.

Synthetic Benchmarks

Using sub-Gaussian distributions for PCA and Linear Regression, the authors introduced varying levels of corruption, reaching up to 60% in some scenarios. These tests were designed to measure the breakdown point and recovery accuracy of the algorithm under heavy noise.

Real-World Application: Flickr-10M

To test scalability, the authors utilized the Flickr-10M dataset, which contains 100 million images with noisy, user-contributed tags. The task involved predicting semantic tags based on 4,096-dimensional deep learning features. This dataset represents the typical "Big Data" challenge: high dimensionality, massive volume, and inherent label noise.

Key Results and Insights

  • Computational Efficiency: In PCA simulations involving 1 million samples, ORL-PCA completed the task in 212 seconds. In contrast, traditional batch robust PCA required approximately 27 hours to reach a similar result.
  • Memory Footprint: ORL-PCA demonstrated extreme memory efficiency, requiring only 8 MB of RAM, compared to the 8,000 MB (8 GB) required by the batch version.
  • Predictive Accuracy: On the Flickr-10M tag prediction task, ORL-LR achieved 36% accuracy, significantly outperforming standard non-robust SGD (23%) and naive online averaging (27%).
  • Resilience to Corruption: The algorithm remained stable and accurate even when 40% of the mini-batches were entirely comprised of outliers, confirming the theoretical robustness of the geometric median approach.

Discussion and Future Work

While ORL represents a significant step forward in robust scalable learning, it is subject to certain constraints. The robustness guarantee relies on the "50% threshold"; if more than half of the mini-batches are corrupted, the geometric median can eventually be pulled toward the outliers. Additionally, the framework requires the tuning of specific hyperparameters, such as the convexity parameter ($c_a$) and the robust learning parameter ($\nu$).

Future research directions include extending this framework to non-convex models, such as Deep Neural Networks, and further automating hyperparameter selection to make the system more plug-and-play for diverse data streams. Ultimately, ORL proves that robustness does not have to come at the cost of scalability, providing a viable path for secure learning in high-stakes, large-scale environments.

Summary updated

BibTeX
@misc{feng2017outlier,
  author = {Jiashi Feng and Huan Xu and Shie Mannor},
  title = {{Outlier Robust Online Learning}},
  year = {2017},
  eprint = {1701.00251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.00251},
}
Figure