High-level description of the package
This package implements several algorithms to deal with combinatorial multi-armed bandit (CMAB), including the first polynomial-time optimum-regret algorithms: AESCB (described in our paper) and AOSSB (described in our paper).
See also Bandits.jl, focusing on multi-armed bandits (i.e. not combinatorial).
To install:
]add CombinatorialBandits
Example usage:
using CombinatorialBandits, Distributions
n = 20
m = 8
ε = 0.1
distr = Distribution[Bernoulli(.5 + ((i % 3 == 0) ? ε : -ε)) for i in 1:n]
i = MSet(distr, 8, MSetAlgosSolver())
@time simulate(i, ThompsonSampling(), 200)
@time simulate(i, LLR(), 200)
@time simulate(i, CUCB(), 200)
@time simulate(i, ESCB2(ESCB2Budgeted(.1, true)), 200)
There is more documentation in the docs
folder.
If you use this package in your research, please cite either article:
@article{cuvelier2021aescb,
author = {Cuvelier, Thibaut and Combes, Richard and Gourdin, Eric},
title = {Statistically Efficient, Polynomial-Time Algorithms for Combinatorial Semi-Bandits},
year = {2021},
issue_date = {March 2021},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
volume = {5},
number = {1},
url = {https://doi.org/10.1145/3447387},
doi = {10.1145/3447387},
journal = {Proc. ACM Meas. Anal. Comput. Syst.},
month = feb,
articleno = {09},
numpages = {31},
keywords = {combinatorial bandits, combinatorial optimization, bandits}
}
@InProceedings{cuvelier2021glpg,
title = {Asymptotically Optimal Strategies For Combinatorial Semi-Bandits in Polynomial Time},
author = {Cuvelier, Thibaut and Combes, Richard and Gourdin, Eric},
booktitle = {Proceedings of the 32nd International Conference on Algorithmic Learning Theory},
pages = {505--528},
year = {2021},
editor = {Feldman, Vitaly and Ligett, Katrina and Sabato, Sivan},
volume = {132},
series = {Proceedings of Machine Learning Research},
month = {16--19 Mar},
publisher = {PMLR},
pdf = {http://proceedings.mlr.press/v132/cuvelier21a/cuvelier21a.pdf},
url = {https://proceedings.mlr.press/v132/cuvelier21a.html},
abstract = {We consider combinatorial semi-bandits with uncorrelated Gaussian rewards. In this article, we propose the first method, to the best of our knowledge, that enables to compute the solution of the Graves-Lai optimization problem in polynomial time for many combinatorial structures of interest. In turn, this immediately yields the first known approach to implement asymptotically optimal algorithms in polynomial time for combinatorial semi-bandits. }
}