Prospective Learning: Learning for a Dynamic Future

Ashwin De Silva, Rahul Ramesh, Rubing Yang, Siyu Yu, Joshua T. Vogelstein, Pratik Chaudhari

Abstract

Traditional machine learning frameworks, such as Probably Approximately Correct (PAC) learning, rely on the assumption that data is Independent and Identically Distributed (IID). However, real-world environments are characterized by constant shifts in distributions and objectives. We introduce Prospective Learning (PL), a theoretical framework that treats time as a primary feature, enabling models to anticipate and adapt to future changes. We propose the Prospective Empirical Risk Minimization (ERM) algorithm and demonstrate its ability to achieve Bayes optimal risk in dynamic scenarios where standard learners fail.

Introduction

The bedrock of modern machine learning is the IID assumption: the belief that the "rules of the game" remain constant between training and deployment. In practice, this assumption is frequently violated by sensor drift, evolving user preferences, and environmental changes. While fields like continual learning and domain adaptation attempt to address these shifts, they often act reactively. They lack a first-principles mathematical framework for "prospection"—the ability to model the process of change itself.

The Prospective Learning Framework

Prospective Learning shifts the goal from finding a single optimal hypothesis to outputting an infinite sequence of predictors for all future time steps.

Prospective Empirical Risk Minimization (ERM)

Unlike standard ERM, which is time-agnostic, Prospective ERM incorporates time ($s$) as an explicit input alongside data ($x_s$). By using sinusoidal time embeddings—similar to positional encodings in Transformers—neural networks can learn to recognize periodic patterns and trends in distributional shifts.

Figure 1: The Prospective Learning framework (left) and its performance across four distinct data scenarios (right).

Experimental Evaluation

The authors evaluated PL across several scenarios:

  1. Synthetic Data: Binary classification where decision boundaries flip over time.
  2. Dynamic Benchmarks: MNIST and CIFAR-10 tasks where digit classes switch periodically or according to a Hidden Markov Model.
  3. LLM Probing: Testing the ability of Large Language Models to predict future outcomes in Bernoulli trials.

Key Results

  • Convergence to Bayes Risk: In non-IID scenarios (Scenarios 2-4 in Figure 1), standard approaches like Online SGD or Follow-the-Leader often perform at chance levels. In contrast, the Prospective Learner successfully converges to the Bayes optimal risk by learning the underlying dynamics of the data-generating process.
  • Handling Periodic Shifts: While baseline models experience error spikes during task transitions, Prospective ERM anticipates these switches, maintaining low instantaneous risk.
  • LLM Limitations: Current state-of-the-art LLMs (e.g., Llama-7B) struggle with simple prospective tasks, suggesting that auto-regressive training on static datasets is insufficient for developing prospective intelligence.

Discussion and Biological Inspiration

Prospective Learning is inspired by allostasis, the biological process where organisms adjust their internal states to anticipate future needs. By treating time as a feature rather than a nuisance, PL allows AI to move from reactive adaptation to proactive anticipation.

While PL shows great promise, challenges remain regarding sample complexity—which scales with the period of change—and the difficulty of predicting the infinite future in purely stationary processes without discounting. Future research will explore scaling these principles to more complex, non-periodic real-world applications.

Summary updated

BibTeX
@inproceedings{silva2024prospective,
  author = {Ashwin De Silva and Rahul Ramesh and Rubing Yang and Siyu Yu and Joshua T. Vogelstein and Pratik Chaudhari},
  title = {{Prospective Learning: Learning for a Dynamic Future}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=0Rl6KxJlvd},
}
Figure