Abstract
In sequential prediction, the challenge lies in combining advice from multiple experts whose relative performance may change over time. This paper introduces a unified framework that views "tracking the best expert" strategies as Hidden Markov Models (HMMs). By defining priors over sequences of experts (ES-priors), the authors unify existing algorithms and introduce new, efficient models like the Switch Distribution and the Run-length Model, providing a systematic approach to balancing performance and computational complexity.
Introduction
In machine learning and statistics, we often rely on a "council of experts"—different models or strategies with varying strengths. The core problem is not just identifying the best expert in hindsight, but dynamically combining their advice as data evolves.
Standard Bayesian mixtures are effective if a single expert remains the most accurate throughout the entire sequence. In this paradigm, we assign prior weights to each expert and update them based on performance. Eventually, the best expert dominates the mixture.
However, real-world data is often non-stationary; the "best" expert might change due to seasonal shifts or market volatility. While "tracking" algorithms like Fixed Share were developed to handle these shifts, they often appeared as ad-hoc recipes. This paper seeks to bring order to this "zoology" of models by providing a rigorous, unified framework.
The HMM Framework for Expert Sequences
The authors introduce Expert Sequence Priors (ES-priors), which are probability distributions over infinite sequences of experts. The key innovation is using Hidden Markov Models (HMMs) as a graphical language to define these priors.
In this framework, the "hidden states" of the HMM represent the expert currently being followed. This perspective offers several advantages:
- Efficient Inference: By leveraging the HMM structure, the exact weights for the next prediction can be calculated using the Forward Algorithm in $O(\text{transitions})$ time.
- Unification: Many established algorithms are revealed to be specific HMM structures. For instance, "Fixed Share" corresponds to an HMM where every state can transition to a central "silent" state that redistributes weight.
A Zoology of Expert Models
The paper maps out a hierarchy of models based on their computational complexity and flexibility. This systematic categorization allows researchers to choose the right tool based on their computational budget and the expected frequency of expert switches.
New Efficient Strategies
Beyond unifying existing work, the authors introduce two powerful new models:
- The Switch Distribution: A "parameterless" model that automatically learns the switching rate. Unlike Fixed Share, which requires manual tuning of a switching parameter $\alpha$, the Switch Distribution achieves $O(n|\Xi|)$ time (linear in both data and experts) while remaining robust to changes.
- The Run-length Model: This model adapts techniques from data compression to model the time between expert switches. It allows for more flexible clustering of switches than the geometric distribution used in standard tracking algorithms.
Performance and Complexity
The authors evaluate these models using worst-case loss bounds rather than empirical datasets. They prove that their algorithms are "universal," meaning they perform nearly as well as the best-hindsight strategy without prior knowledge of the optimal switching sequence.
Key results include:
- Complexity Mapping: Most tracking tasks can be achieved in $O(n|\Xi|)$ time, which is the gold standard for efficiency in this domain.
- Regret Bounds: The Switch Distribution's overhead is only marginally higher ($m + m \log m$ bits, where $m$ is the number of switches) than a perfectly tuned Fixed Share model, despite requiring no manual tuning.
- Stability: The Switch Distribution exhibits a "stability benefit"—if the best expert eventually stops changing, the additional loss (regret) stops growing, becoming $O(1)$.
Limitations and Future Work
While the HMM framework is powerful, it has some constraints. The current results are derived specifically for logarithmic loss. While generalizations to other loss functions via the Aggregating Algorithm are possible, they are not fully explored here. Additionally, the framework assumes a finite set of experts; extending this to continuous expert spaces would require new integration techniques. Finally, while $O(n|\Xi|)$ is efficient, more flexible models like the general Run-length model can reach $O(n^2|\Xi|)$ complexity, which may be prohibitive for very large datasets.
Summary updated