Motivating example
Multiplicative weights update algorithm
We have n experts who give advice about some decision each day. Each decision incurs a certain loss which is revealed only after we make the decision. The loss incurred at the tth day if we follow expert i's advice is given by
. The following algorithm picks the experts in a way such that the total loss incurred over T days is approximately the loss incurred by the best expert.
Algorithm
- for i = 1 to n

.
- for t = 1 to T

- Sample an i from the probability distribution
and follow expert i's advice.
- Observe the loss obtained by the experts -



Analysis
Theorem: For any
, the expected loss incurred by the above algorithm is bound as follows:
(The inequality holds for all i = 1 to n, and, in particular, for the expert that minimizes the losses).
Proof:
.
Since
, for
,
.
Since
for all
,
.
Therefore, by induction,
Furthermore,
.
The theorem follows immediately from the above two inequalities.
Matrix multiplicative weights update algorithm
Algorithm
- for i = 1 to n

.
- for t = 1 to T

- Follow expert's advice according to

- Observe the loss matrix for day t -



Analysis
Theorem: For any
and for any
, the expected loss incurred by the above algorithm is bound as follows:
Category:Algorithms