Learning to bin: differentiable and Bayesian optimization for multi-dimensional discriminants in high-energy physics
Johannes Erdmann, Nitish Kumar Kasaraguppe, Florian Mausolf
TL;DR
The paper tackles the problem of suboptimal binning in high-energy physics discriminants, proposing a flexible GMM-based binning where events are assigned to the bin/Gaussian component with the highest density. It introduces two optimization strategies, GATO (gradient-based with a differentiable softmax assignment) and BOBR (Bayesian optimization via a Tree-structured Parzen Estimator), to maximize the Asimov significance across bins, with penalties to enforce practical robustness. In 1D, both methods outperform equidistant binning and perform comparably; in multi-dimensional settings, GATO-GMM yields the largest gains by learning non-trivial, geometry-adapted bin boundaries, though Bayesian optimization struggles as dimensionality and parameter count grow. The work provides open-source Python plugins (gato-hep, bobr-hep) for straightforward integration into analyses, enabling analysis-aware, potentially end-to-end optimization of binning in real LHC studies.
Abstract
Categorizing events using discriminant observables is central to many high-energy physics analyses. Yet, bin boundaries are often chosen by hand. A simple, popular choice is to apply argmax projections of multi-class scores and equidistant binning of one-dimensional discriminants. We propose a binning optimization for signal significance directly in multi-dimensional discriminants. We use a Gaussian Mixture Model (GMM) to define flexible bin boundary shapes for multi-class scores, while in one dimension (binary classification) we move bin boundaries directly. On this binning model, we study two optimization strategies: a differentiable and a Bayesian optimization approach. We study two toy setups: a binary classification and a three-class problem with two signals and backgrounds. In the one-dimensional case, both approaches achieve similar gains in signal sensitivity compared to equidistant binnings for a given number of bins. In the multi-dimensional case, the GMM-based binning defines sensitive categories as well, with the differentiable approach performing best. We show that, in particular for limited separability of the signal processes, our approach outperforms argmax classification even with optimized binning in the one-dimensional projections. Both methods are released as lightweight Python plugins intended for straightforward integration into existing analyses.
