This repository is the official implementation of "Beyond Task Diversity: Provable Representation Transfer for Sequential Multi-Task Linear Bandits" and "Efficient Algorithms for Lifelong Learning Linear Bandits"
Python 3.10
git clone https://github.com/duongnhatthang/BOSS.git
cd BOSS
pip install -r requirements.txt
Interactive Notebook
Our algorithm achieves the following performance on a synthetic dataset:
| Regret over tasks | Estimation error of B | Estimation error of |
|---|---|---|
![]() |
![]() |
![]() |
| Estimation error of the angle between |
Regret over T, average across all tasks |
|---|---|
![]() |
![]() |
The code is referencing this repo.




