Search arXiv⌕ Search

arXiv · 2610.35927

Accelerating fits in high-energy physics and beyond

Abstract

Data analysis in particle physics often involves optimizing a loss function that quantifies how well a theoretical model describes the observed data, in order to estimate the parameters of the model. This is referred to as fitting. As datasets grow larger and more expensive analysis methods are used, the time required to perform this parameter estimation can be a limiting factor. This work explores techniques for accelerating the fitting process, and measures their performance on a set of models representative of a variety of physics fits. We compare the speed and precision of variants of well-known optimization algorithms, namely Newton's method, BFGS, and the Migrad algorithm (commonly used in particle physics fits). We observe significant speedups when using some algorithms: most notably, some variants of BFGS are about ten times faster than Migrad, while achieving the same precision. For quasi-Newtonian algorithms like BFGS and Migrad, we find that the initial value of the Hessian matrix has a large impact on the runtime. We additionally discuss methods for accelerating the evaluation of the loss function and its derivatives, using algebraic simplifications, automatic differentiation, and modern hardware features. We explore techniques for achieving good precision with 32-bit operations, which can achieve significantly higher throughput on the GPU. Lastly we explore efficient parallelization strategies for the CPU and GPU. All of the techniques and algorithms in this paper are implemented in our new FastFit library, which was used for all of our benchmarks.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Amr Elmarassy, Sebastian Schmitt, Eluned Smith. 2026-10-29. Accelerating fits in high-energy physics and beyond. https://arxiv.org/abs/2610.35927

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Elementwise Adaptive Random Search for High-Dimensional Constrained Continuous Global Optimization

We propose a new stochastic method for high-dimensional constrained continuous global optimization without convexity assumptions. The algorithm combines global exploration and local refinement through coordinate-wise adaptive perturbations, whose scale is proportional to the current iterate. We show that global exploration reaches any feasible region with positive probability, while local search benefits from strong concentration properties, enabling efficient decline near optima. Their combination yields convergence to a global minimizer under mild regularity conditions. Applications to LASSO sparsity improvement as well as similar BPDN (Basis Pursuit DeNoising) problems, and to neural network pruning, illustrate the practical effectiveness of the approach.

physics.data-an↗

Transient Supercriticality in Hawkes Processes: Detection, Identifiability, and Apparent Criticality

Self-exciting (Hawkes) models of epidemics, earthquakes, financial markets, and social cascades are usually calibrated with a branching ratio $n$ below one. This is a condition for stationarity, not for existence: a process with $n>1$ grows exponentially but remains finite on any finite horizon. Imposing stationarity is also misleading, because transient supercritical episodes then masquerade as near-criticality. Reconstructing the latent genealogy of events, we show that a single finite record can reveal an excursion into the regime $n(t)>1$, and back, and date its onset and end. Detectability is governed by the excess $n-1$ times the square root of the number of exposed parents. Even when the memory time of the triggering is unknown, the data determine the growth rate of activity during the episode nearly as precisely as when it is known, and hence whether $n$ crossed unity, whereas the value of $n$ requires independent knowledge of the memory time. Letting the data choose between endogenous amplification and external forcing prevents confusing the two. In the 2015 Korean MERS outbreak, our reconstruction shows that transmission by hospital cohorts had collapsed by 28 May, before the incidence peak and two weeks before the instantaneous reproduction number fell below one; in real time, it establishes the collapse a few days earlier than this standard indicator. Our framework separates stationarity, non-explosion, and transient supercritical amplification, and provides a practical route for detecting short-lived endogenous instabilities in self-exciting systems.

physics.data-an↗

Near-exact Upper Confidence Limits for Axion Haloscopes

The data acquisition of axion haloscopes commonly implements sequential adaptive frequency scans. We present a method to calculate likelihood-based upper confidence limits on axion-photon coupling under this circumstance. We compare the likelihood-based method conceptually and quantitatively with tailor-made methods, i.e. the one proposed by Brubaker et al. (Geometric) and its upgrade the Bayesian Power-Measured (BPM) framework proposed by Palken et al. We find that the likelihood method yields average upper limits that are significantly more constraining than those obtained from these methods. For example, expected constraints improve by a factor of 1.4 as compared with the current state of the art when applied to projections for the ALPHA Plasma-haloscope. We further clarify the statistical basis for the Geometric and BPM methods. In particular, we point out the correspondence of BPM to e-values, proposed as an alternative to conventional p-values in statistics.

physics.data-an↗