Skip to content

BorealisAI/jump-starting-bandits

Repository files navigation

Official Repo of "Jump Starting Bandits with LLM-Generated Prior Knowledge" appearing in EMNLP2024 (Main Conference)

Authors: Parand A. Alamdari, Yanshuai Cao, Kevin H. Wilson

Arxiv: https://arxiv.org/abs/2406.19317

Pretrain phase:

plot

Online fine-tuning phase:

plot

Instructions to run experiments.

First Experiment: Personalized Email Campaign for Charity Donations

To generate virtual users and responses:

python generate_dataset.py

To pretrain contextual bandit model and generate plots:

python pretrained-bandit.py -r 10

Second Experiment: A Choice-Based Conjoint Analysis with Real-world Data

To generate virtual users and responses:

cd conjoint_simulation

python generate_counterfactuals.py

To pretrain contextual bandit model and generate plots:

cd conjoint_simulation

python conjoint-pretrained-bandit.py -r 10

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages