Prospective Learning: It’s about time.

Joshua T. Vogelstein · Janelia · November 2026

Is time important?

for Data-Driven AI for Neuroscience

  • If you care about doing better later, then you care about time
  • If you care about doing better later, then you care about *learning
  • Time Learning
  • Alas, classical (supervised) ML/AI does not take time seriously

How should we include time?

  • Recurrence
  • Frame stacking
  • Latent variables
  • Time as a feature

The dumbest possible change

Component Formal Meaning
Data Observed prefix of a stochastic process
Hypothesis Adaptive hypothesis
Loss Time-indexed prediction loss

A previous paper that included a 'time' embedding

The Transformer architecture, with a positional encoding added to the input and output embeddings

Source: Vaswani et al., 2017

Time representations encode structure for the future

Time-embedding matrices computed from original Transformer frequencies and prospective absolute angular frequencies, with a shared color bar from negative one to one

Does it work?

Evidence that prospective learning works

PAC learning Prospective learning

Enough IID data selects one fixed predictor with risk close to the Bayes-optimal fixed predictor.

Enough past data selects one adaptive predictor with future risk close to the Bayes-optimal adaptive predictor.

Theorem: Prospective ERM asymptotically achieves prospective Bayes risk

If a finite family of stochastic processes admits increasing hypothesis classes satisfying:

I. Consistency

II. Uniform concentration of the limsup

Then is a strong prospective learner.

Predictable switches change both loss measures

Left: Task A labels inputs in [-2,-1] as -1 and [1,2] as +1, Task B flips the labels. Right: the task switches every 20 samples. Instantaneous risk of Follow-the-leader, Online SGD and Bayesian GD spikes at each switch and stays near chance, while prospective ERM drops to zero. Prospective risk of the baselines stays at chance 0.5 while prospective ERM falls to Bayes risk 0 by about step 700.

Prospective ERM approaches Bayes risk

Four task distributions A through D repeat, each lasting ten observations, for MNIST and CIFAR-10.

Scenario 2 MNIST and CIFAR-10 prospective risk from archived raw metric arrays

Prospective learning works with infinitely many aperiodic tasks

Two input classes drift up together over time. On that process, prospective risk falls to the Bayes risk for a monomial time representation, and stays near chance for a Fourier representation and for follow-the-leader.

The time representation should encode the future structure of the process

Prospective ERM learns the adaptive transition law

A four-state hierarchical Markov process: alternating transition dynamics select between paired state dynamics every ten observations.
Scenario 3 prospective risk. Curves: Follow-the-Leader, Prospective ERM, Online-SGD, Bayesian GD, Bayes risk, and chance.

Prospective foraging

Prospective foraging environment with alternating, decaying reward patches

Alternating reward patches decay before arrival

PLuC is efficient in adaptive foraging

Prospective regret rate from archived PLuC, SAC, and PPO runs. Lines show medians and shaded bands show interquartile ranges.

100× faster than time-aware SAC/PPO, neither converges without time

References

"while i love foraging as much as the next neuroscientist"

Thanks.