BASIL: Scalable Bayesian Semi-supervised Clustering with Feature Selection and Adaptive Constraint Weighting
Abstract
Lay Summary
Doctors, biologists, and analysts often need to sort large collections of items into meaningful groups, for example grouping patients by health profile or images by content. Pure data-driven grouping ignores what experts already know, while rule-based grouping ignores patterns in the data. Combining the two is the best approach. Existing combined methods struggle when the data is huge, when some expert hints are wrong, or when it is unclear which features actually drive the grouping. We introduce BASIL, a method that groups items using both the data and pairs of items that experts mark as "should belong together" or "should not belong together." BASIL also identifies which characteristics matter most for each group, and automatically down-weights expert hints that look inconsistent with the rest of the data. It scales to very large datasets, including over half a million UK patient health records. In our experiments, BASIL trains in hours where competing methods take days, stays accurate when up to a third of the expert hints are wrong, and produces interpretable summaries of each group. Applied to UK primary-care records, it identified patient subgroups with markedly different risks of hospitalisation and mortality, suggesting it could help direct care to those who need it most.