References
The research BanditDB is built on, grouped by the part of the system that uses it.
BanditDB implements published methods. It doesn't invent its own. Each entry below is used by the engine, the SDKs, the benchmarks or the BanditDB paper. If you build on BanditDB in research, please cite the original work as well.
Bandit algorithms
The five algorithms a campaign can run.
| Used for | Reference |
|---|---|
| LinUCB | L. Li, W. Chu, J. Langford, R. E. Schapire. A Contextual-Bandit Approach to Personalized News Article Recommendation. WWW 2010. arXiv:1003.0146 |
| LinUCB analysis | W. Chu, L. Li, L. Reyzin, R. E. Schapire. Contextual Bandits with Linear Payoff Functions. AISTATS 2011. |
| UCB principle | P. Auer. Using Confidence Bounds for Exploitation-Exploration Trade-offs. JMLR 3:397–422, 2002. |
| Confidence ellipsoids | Y. Abbasi-Yadkori, D. Pál, Cs. Szepesvári. Improved Algorithms for Linear Stochastic Bandits. NeurIPS 2011. |
| Thompson Sampling | W. R. Thompson. On the Likelihood that One Unknown Probability Exceeds Another in View of the Evidence of Two Samples. Biometrika 25(3/4):285–294, 1933. |
| Linear Thompson Sampling | S. Agrawal, N. Goyal. Thompson Sampling for Contextual Bandits with Linear Payoffs. ICML 2013. arXiv:1209.3352 |
| Thompson Sampling | O. Chapelle, L. Li. An Empirical Evaluation of Thompson Sampling. NeurIPS 2011. |
| Thompson Sampling | D. Russo, B. Van Roy, A. Kazerouni, I. Osband, Z. Wen. A Tutorial on Thompson Sampling. Foundations and Trends in ML, 2018. arXiv:1707.02038 |
| NeuralLinUCB | P. Xu, Z. Wen, H. Zhao, Q. Gu. Neural Contextual Bandits with Deep Representation and Shallow Exploration. ICLR 2022. arXiv:2012.01780 |
| NeuralThompsonSampling | W. Zhang, D. Zhou, L. Li, Q. Gu. Neural Thompson Sampling. ICLR 2021. arXiv:2010.00827 |
| NeuralUCB | D. Zhou, L. Li, Q. Gu. Neural Contextual Bandits with UCB-based Exploration. ICML 2020. arXiv:1911.04462 |
| Neural-linear | C. Riquelme, G. Tucker, J. Snoek. Deep Bayesian Bandits Showdown. ICLR 2018. arXiv:1802.09127 |
| Textbook | T. Lattimore, Cs. Szepesvári. Bandit Algorithms. Cambridge University Press, 2020. |
Updates, decay and neural training
How a reward changes the model, how old evidence fades, how the MLP is trained.
| Used for | Reference |
|---|---|
| O(d²) reward update | J. Sherman, W. J. Morrison. Adjustment of an Inverse Matrix Corresponding to a Change in One Element of a Given Matrix. Annals of Mathematical Statistics 21(1):124–127, 1950. |
| Half-life decay (D-LinUCB) | Y. Russac, C. Vernade, O. Cappé. Weighted Linear Bandits for Non-Stationary Environments. NeurIPS 2019. arXiv:1909.09146 |
| Non-stationary bandits | A. Garivier, E. Moulines. On Upper-Confidence Bound Policies for Switching Bandit Problems. ALT 2011. arXiv:0805.3415 |
| MLP optimiser (AdamW) | I. Loshchilov, F. Hutter. Decoupled Weight Decay Regularization. ICLR 2019. arXiv:1711.05101 |
| Anchor to W₀ (L2-SP) | X. Li, Y. Grandvalet, F. Davoine. Explicit Inductive Bias for Transfer Learning with Convolutional Networks. ICML 2018. arXiv:1802.01483 |
Budgets and Lagrangian pacing
Shadow prices, dual descent and feasibility masking behind Budgets & Costs.
| Used for | Reference |
|---|---|
| Bandits with knapsacks | A. Badanidiyuru, R. Kleinberg, A. Slivkins. Bandits with Knapsacks. FOCS 2013; JACM 65(3), 2018. arXiv:1305.2545 |
| Linear contextual BwK | S. Agrawal, N. R. Devanur. Linear Contextual Bandits with Knapsacks. NeurIPS 2016. arXiv:1507.06738 |
| Contextual BwK | S. Agrawal, N. R. Devanur, L. Li. An Efficient Algorithm for Contextual Bandits with Knapsacks, and an Extension to Concave Objectives. COLT 2016. arXiv:1506.03374 |
| Dual mirror descent | S. Balseiro, H. Lu, V. Mirrokni. The Best of Many Worlds: Dual Mirror Descent for Online Allocation Problems. Operations Research 71(3), 2023. arXiv:2011.10124 |
| Online gradient descent | M. Zinkevich. Online Convex Programming and Generalized Infinitesimal Gradient Ascent. ICML 2003. |
| Online convex optimisation | E. Hazan. Introduction to Online Convex Optimization. Foundations and Trends in Optimization 2(3–4), 2016. |
| Duality | S. Boyd, L. Vandenberghe. Convex Optimization. Cambridge University Press, 2004. |
| Max-min | J. Danskin. The Theory of Max-Min, with Applications. SIAM J. Applied Mathematics 14(4), 1966. |
Off-policy evaluation and the tournament
SNIPS in the Progressive tournament, and IPS / SNIPS / DR in banditdb.eval and the benchmarks.
| Used for | Reference |
|---|---|
| IPS | D. G. Horvitz, D. J. Thompson. A Generalization of Sampling Without Replacement from a Finite Universe. JASA 47(260):663–685, 1952. |
| SNIPS | A. Swaminathan, T. Joachims. The Self-Normalized Estimator for Counterfactual Learning. NeurIPS 2015. |
| Doubly Robust | M. Dudík, J. Langford, L. Li. Doubly Robust Policy Evaluation and Learning. ICML 2011. arXiv:1103.4601 |
| DR with shrinkage (DRos) | Y. Su, M. Dimakopoulou, A. Krishnamurthy, M. Dudík. Doubly Robust Off-Policy Evaluation with Shrinkage. ICML 2020. arXiv:1907.09623 |
| SwitchDR | Y.-X. Wang, A. Agarwal, M. Dudík. Optimal and Adaptive Off-policy Evaluation in Contextual Bandits. ICML 2017. arXiv:1612.01205 |
| Replay evaluation | L. Li, W. Chu, J. Langford, X. Wang. Unbiased Offline Evaluation of Contextual-bandit-based News Article Recommendation Algorithms. WSDM 2011. arXiv:1003.5956 |
| Open Bandit Pipeline | Y. Saito, S. Aihara, M. Matsutani, Y. Narita. Open Bandit Dataset and Pipeline. NeurIPS Datasets & Benchmarks 2021. arXiv:2008.07146 |
| Counterfactual reasoning | L. Bottou et al. Counterfactual Reasoning and Learning Systems: The Example of Computational Advertising. JMLR 14, 2013. arXiv:1209.2355 |
| Adaptive-data CIs | V. Hadad, D. A. Hirshberg, R. Zhan, S. Wager, S. Athey. Confidence Intervals for Policy Evaluation in Adaptive Experiments. PNAS 118(15), 2021. arXiv:1911.02768 |
| Adaptive weighting | R. Zhan, V. Hadad, D. A. Hirshberg, S. Athey. Off-Policy Evaluation via Adaptive Weighting with Data from Contextual Bandits. KDD 2021. arXiv:2106.02029 |
Diagnostics
The statistics behind /report and /diagnostics.
| Used for | Reference |
|---|---|
| Convergence CIs | E. B. Wilson. Probable Inference, the Law of Succession, and Statistical Inference. JASA 22(158):209–212, 1927. (Wilson score interval behind converged.) |
| Selection entropy | C. E. Shannon. A Mathematical Theory of Communication. Bell System Technical Journal 27, 1948. (Normalised entropy behind selection_entropy.) |
Causal analysis
Estimating per-arm treatment effects from exported decisions, and checking overlap.
| Used for | Reference |
|---|---|
| Potential outcomes | D. B. Rubin. Estimating Causal Effects of Treatments in Randomized and Nonrandomized Studies. J. Educational Psychology 66(5), 1974. |
| Propensity scores | P. R. Rosenbaum, D. B. Rubin. The Central Role of the Propensity Score in Observational Studies for Causal Effects. Biometrika 70(1), 1983. |
| Textbook | G. W. Imbens, D. B. Rubin. Causal Inference for Statistics, Social, and Biomedical Sciences. Cambridge University Press, 2015. |
| Double ML | V. Chernozhukov et al. Double/Debiased Machine Learning for Treatment and Structural Parameters. Econometrics Journal 21(1), 2018. arXiv:1608.00060 |
| Causal forests | S. Wager, S. Athey. Estimation and Inference of Heterogeneous Treatment Effects using Random Forests. JASA 113(523), 2018. arXiv:1510.04342 |
| Generalized random forests | S. Athey, J. Tibshirani, S. Wager. Generalized Random Forests. Annals of Statistics 47(2), 2019. arXiv:1610.01271 |
| Policy learning | S. Athey, S. Wager. Policy Learning with Observational Data. Econometrica 89(1), 2021. arXiv:1702.02896 |
| Meta-learners | S. R. Künzel, J. S. Sekhon, P. J. Bickel, B. Yu. Metalearners for Estimating Heterogeneous Treatment Effects using Machine Learning. PNAS 116(10), 2019. arXiv:1706.03461 |
| Limited overlap | R. K. Crump, V. J. Hotz, G. W. Imbens, O. A. Mitnik. Dealing with Limited Overlap in Estimation of Average Treatment Effects. Biometrika 96(1), 2009. |
| EconML | K. Battocchi et al. EconML: A Python Package for ML-Based Heterogeneous Treatment Effects Estimation. Microsoft Research, 2019. |
Systems
Durability design, and the systems BanditDB is compared with.
| Used for | Reference |
|---|---|
| Write-ahead logging | C. Mohan, D. Haderle, B. Lindsay, H. Pirahesh, P. Schwarz. ARIES: A Transaction Recovery Method Supporting Fine-Granularity Locking and Partial Rollbacks Using Write-Ahead Logging. ACM TODS 17(1), 1992. |
| Main-memory databases | D. J. DeWitt et al. Implementation Techniques for Main Memory Database Systems. SIGMOD 1984. |
| Decision service | A. Agarwal et al. Making Contextual Decisions with Low Technical Debt. 2016. arXiv:1606.03966 |
| Bandit bake-off | A. Bietti, A. Agarwal, J. Langford. A Contextual Bandit Bake-off. JMLR 22, 2021. arXiv:1802.04064 |
| Prediction serving | D. Crankshaw et al. Clipper: A Low-Latency Online Prediction Serving System. NSDI 2017. arXiv:1612.03079 |
| Vector search (HNSW) | Y. A. Malkov, D. A. Yashunin. Efficient and Robust Approximate Nearest Neighbor Search Using Hierarchical Navigable Small World Graphs. IEEE TPAMI 42(4), 2020. arXiv:1603.09320 |
| Export format | Apache Software Foundation. Apache Parquet File Format Specification. |
Benchmark datasets
Used in Benchmarks.
| Used for | Reference |
|---|---|
| Yahoo! R6A | Yahoo! Research. Yahoo! Front Page Today Module User Click Log Dataset, version 1.0. Yahoo! Webscope, 2009. |
| MovieLens-100K | F. M. Harper, J. A. Konstan. The MovieLens Datasets: History and Context. ACM TiiS 5(4), 2015. |
| UCI (mushroom, magic, shuttle, adult) | D. Dua, C. Graff. UCI Machine Learning Repository. University of California, Irvine, 2019. |