Robust online learning that safely avoids bad data mistakes

Agnostic Online Learning with Reliable Abstention

Machine Learning

Summary

This paper looks at how to teach a computer to learn from data that is mostly from a real source but sometimes includes tricky, misleading examples. The computer can choose to say “I don’t know” instead of guessing when it suspects a misleading example. The authors created a method that learns well over time, making few wrong guesses or unnecessary “I don’t know” answers, without knowing ahead of time which data is misleading. Their approach works for simple and complex models like linear classifiers and some neural networks. This helps combine ideas from traditional learning and more cautious, game-like learning.

What this means in practice

  • For machine learning engineers: Improve model training to handle mixed real and adversarial data streams by allowing the model to reliably abstain on uncertain inputs.
  • For automated fraud detection teams: Deploy classifiers that reduce false alerts by abstaining on suspicious or adversarial transaction inputs during real-time analysis.

Authors

Omar Montasser

Abstract

We study online learning in the adversarial injection model (Goel, Hanneke, Moran, and Shetty, 2023), where each instance is either drawn i.i.d. from an unknown distribution or is an arbitrary adversarial injection. The learner never knows which rounds are adversarial, but may abstain without penalty on adversarial injections. The learner's goal is to make few total misclassifications and few abstentions on i.i.d. instances. This model lies between classical statistical learning, governed by the VC dimension, and adversarial online learning, governed by the Littlestone dimension. Unlike prior work, which has largely focused on the realizable setting, we consider an agnostic formulation that allows arbitrary labels. We present an online algorithm that guarantees sublinear excess misclassification error and sublinear abstention error, against oblivious and adaptive adversaries, for function classes that admit bounded bracketing number witnessed by brackets of bounded VC dimension. Our algorithm is distribution-independent and does not require prior knowledge of the distribution. As corollaries, we obtain new learning guarantees for halfspaces (linear classifiers) and richer classes such as feed-forward neural networks with threshold activations.