Saved in:
Bibliographic Details
Main Authors: Singh, Vikash, Khanzadeh, Matthew, Davis, Vincent, Rush, Harrison, Rossi, Emanuele, Shrader, Jesse, Lio, Pietro
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.01771
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910629073256448
author Singh, Vikash
Khanzadeh, Matthew
Davis, Vincent
Rush, Harrison
Rossi, Emanuele
Shrader, Jesse
Lio, Pietro
author_facet Singh, Vikash
Khanzadeh, Matthew
Davis, Vincent
Rush, Harrison
Rossi, Emanuele
Shrader, Jesse
Lio, Pietro
contents We present Bayesian Binary Search (BBS), a novel probabilistic variant of the classical binary search/bisection algorithm. BBS leverages machine learning/statistical techniques to estimate the probability density of the search space and modifies the bisection step to split based on probability density rather than the traditional midpoint, allowing for the learned distribution of the search space to guide the search algorithm. Search space density estimation can flexibly be performed using supervised probabilistic machine learning techniques (e.g., Gaussian process regression, Bayesian neural networks, quantile regression) or unsupervised learning algorithms (e.g., Gaussian mixture models, kernel density estimation (KDE), maximum likelihood estimation (MLE)). We demonstrate significant efficiency gains of using BBS on both simulated data across a variety of distributions and in a real-world binary search use case of probing channel balances in the Bitcoin Lightning Network, for which we have deployed the BBS algorithm in a production setting.
format Preprint
id arxiv_https___arxiv_org_abs_2410_01771
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Bayesian Binary Search
Singh, Vikash
Khanzadeh, Matthew
Davis, Vincent
Rush, Harrison
Rossi, Emanuele
Shrader, Jesse
Lio, Pietro
Machine Learning
We present Bayesian Binary Search (BBS), a novel probabilistic variant of the classical binary search/bisection algorithm. BBS leverages machine learning/statistical techniques to estimate the probability density of the search space and modifies the bisection step to split based on probability density rather than the traditional midpoint, allowing for the learned distribution of the search space to guide the search algorithm. Search space density estimation can flexibly be performed using supervised probabilistic machine learning techniques (e.g., Gaussian process regression, Bayesian neural networks, quantile regression) or unsupervised learning algorithms (e.g., Gaussian mixture models, kernel density estimation (KDE), maximum likelihood estimation (MLE)). We demonstrate significant efficiency gains of using BBS on both simulated data across a variety of distributions and in a real-world binary search use case of probing channel balances in the Bitcoin Lightning Network, for which we have deployed the BBS algorithm in a production setting.
title Bayesian Binary Search
topic Machine Learning
url https://arxiv.org/abs/2410.01771