(This article was originally published at Normal Deviate, and syndicated at StatsBlogs.)
Happy Independence Day and Happy Higgs Day.
Frequentist statistics treats observations as random and parameters as fixed. Bayesian statistics treats everything as probabilistic. But there is an approach to statistics that removes probability completely. This is the theory of individual sequences which is a subset of online (sequential) learning. You can think of this theory of taking the idea of distribution free inference to an extreme. The description I’ll give is basically from the book:
Nicolò Cesa-Bianchi and Gábor Lugosi, (2006). Prediction, Learning, and Games
and the article:
Cesa-Bianchi and Lugosi, (1999). On Prediction of Individual Sequences. The Annals of Statistics, 27, 1865-1895.
1. Individual Sequences
Let be a sequence of numbers. For simplicity, we’ll assume that
. We observe the data sequentially and our goal is to predict the next observation. For any time
, let
denote the first observations.
The data sequence is not assumed to be random. It is just a sequence of numbers. In fact, we even allow for the possibility that the sequence is generated by an adversary who is trying to screw up our predictions.
We also have a set of algorithms (or predictors) . (In the literature, these algorithms are often called experts but I prefer to use the term algorithms.) Each algorithm takes any observed sequence and spits out a prediction. So
is the prediction of
from algorithm
based on
. We will assume that the predictions take values in the interval
. Your goal is to observe the sequence and the outputs of the algorithms and then construct your own prediction. The situation unfolds as follows:
- You see
and
where
is the prediction for
from algorithm
.
- You make a prediction
.
-
is revealed.
- You suffer loss
.
We will focus on the loss but the theory works more generally. The average cumulative loss after
rounds experienced by algorithm
is
where . (I am using the average rather than the sum which is more common.)
You suffer average cumulative loss
Your regret is your cumulative loss compared to the loss of the best prediction algorithm:
Since we are not using probability, how do we deal with the fact that the regret depends on the particular sequence? The answer is: we take the worst case over all sequences. We define the maximum regret
where the maximum is over all possible binary sequence of length . Finally, the minimax regret is
This is the smallest possible maximum regret over all predictors .
It has been shown that
In fact, this bound is essentially tight.
Is there an algorithm that achieves this bound? Yes: it is the weighted majority algorithm going back to Vovk (1990) and Littlestone and Warmuth (1994).
The algorithm is simple: we simply take a weighted average of the predictions from . Let
where the weights are
and The
‘s are called exponential weights.
Theorem 1 Let
. Then
The proof (again I refer you to Cesa-Bianchi and Lugosi 1999) is quite simple and, interestingly, it is very probabilistic. That is, even though the problem has no probability in it, the proof techniques are probabilistic.
The result is for a specific time . We can make the result uniform over time as follows. If we set
then we have:
for all and for all
.
Now suppose that is an infinite class. A set
is an
-covering if, for every
and every
there is a
such that
Let denote the size of the smallest
-covering.
Theorem 2 (Cesa-Bianchi and Lugosi) The minimax regret satisfies
Cesa-Bianchi and Lugosi then construct a predictor that nearly achieves the bound of the form
where is a predictor based on a finite subset of
. (Again, there are hidden connections to probability; the construction uses chaining, which is a familiar technique in empirical process theory.)
2. Back To Probability
What if we have batch data (as opposed to sequential data) and that we make the usual i.i.d stochastic assumption. Can we still use these online ideas? (The reference for this section is: Cesa-Bianchi, Conconi and Gentile 2004).
Using batchification it is possible to use online learning for non-online learning. For example, suppose we are given data: where
and an arbitrary algorithm
that takes data and outputs classifier
. We apply
sequentially to get classifiers
. Let
To choose a final classifier we either use or define
by choosing
to minimize
Let be the risk, that is, probability of misclassifying a future observation.
Theorem 3 If
is convex:
For any
,
This means that we get nice performance bounds in the traditional probabilistic sense from online methods.
3. Summary
Individual sequence prediction and, more generally, online prediction methods, are interesting because they require no stochastic assumptions. This is very satisfying because the usual assumption that the data are drawn from a distribution (or, if you are a Bayesian, the assumption of exchangeability) is a fiction. Data are just numbers. Except in special situations, assuming that the data are random is something we do by reflex but it is often not justifiable.
Most research in this area is done by people in machine learning. Statistics is being left behind. There are exceptions of course; some names that come to mind are Gabor Lugosi, Andrew Nobel, Peter Grunwald, Andrew Barron, Sasha Rakhlin, and others I am forgetting. Nonetheless, I think that most statisticians are unaware of this area. We need to be more involved in it.
4. References
Nicolò Cesa-Bianchi and Gábor Lugosi (2006). Prediction, Learning, and Games.
Cesa-Bianchi, N. and Conconi, A. and Gentile, C. (2004). On the generalization ability of on-line learning algorithms. IEEE Transactions on Information Theory, 50, 2050–2057.
Cesa-Bianchi and Lugosi, (1999). On Prediction of Individual Sequences. The Annals of Statistics, 27, 1865-1895.
Littlestone, N. and Warmuth, M. (1994). The weighted majority algorithm. Inform. and Computing. 108, 212-261.
Vovk, V. (1990). Aggregating strategies. Proc. Third Workshop on Computational Learning Theory, 371–383.
I recommend these lecture notes by Sasha Rakhlin and Karthik Sridharan.
—Larry Wasserman
Please comment on the article here: Normal Deviate
