Selected publications, plus the ones I contributed to as a CMS Collaboration author. Full list on Inspire HEP · ORCID 0000-0001-8587-8266 · Google Scholar.

Highlighted

Factorizable Normalizing Flows for parameter-dependent density morphing Preprint
D. Valsecchi, M. Donegà, R. Wallny — arXiv:2606.30489 [stat.ML] (2026) · code

Normalizing flows model one fixed density, but inference in physics needs to know how a density deforms as a function of continuous parameters (calibration constants, systematic uncertainties). Learning one flow per parameter configuration does not scale, because the joint space grows exponentially. A Factorizable Normalizing Flow composes a frozen, high-fidelity flow for the nominal configuration with a learnable transformation that is polynomial in the parameters and factorized over them. Each parameter's effect is learned in isolation from samples where only that parameter is varied, and the joint response is recovered by summation at inference. This generalizes the classic "up/down template" morphing of HEP fits to a continuous, high-dimensional, differentiable setting whose cost scales linearly with the number of nuisances, with optional cross-terms for correlated effects. On a controlled problem the learned transformation reproduces the injected deformations and matches the optimal likelihood.

Figure from: Factorizable Normalizing Flows for parameter-dependent density morphing
Schematic of a Factorizable Normalizing Flow layer: a systematic effect deforms the nominal density, and the learned transformation pulls each event back to the reference. Figure 1 of arXiv:2606.30489, CC BY 4.0.

Profiling systematic uncertainties in Simulation-Based Inference with Factorizable Normalizing Flows Preprint
D. Valsecchi, M. Donegà, R. Wallny — arXiv:2602.13184 [hep-ph] (2026) · code

Unbinned likelihood fits extract the most information from data, but profiling systematic uncertainties in high dimensions has been computationally prohibitive, and most ML-based inference only measures scalar parameters. This work elevates the fit target to a Distribution of Interest (DoI), a learnable invertible map of the feature space, so that the measurement is a full distribution rather than a few numbers. Systematics are modelled with Factorizable Normalizing Flows, and an amortized training learns the dependence of the best-fit DoI on the nuisance parameters in a single optimization, replacing the repeated fits of a profile scan. A Poisson-bootstrap ensemble with an averaged likelihood propagates the finite-sample statistical uncertainty of the network itself. Validated on a synthetic HEP-like measurement, the framework aims to unify detector calibration, differential cross sections, unfolding and parameter estimation as one functional measurement.

Figure from: Profiling systematic uncertainties in Simulation-Based Inference with Factorizable Normalizing Flows
Two-step inference: Step 1 finds the global best fit with a Poisson-bootstrap ensemble of nominal maps; Step 2 trains the systematic map on a quadrature grid over the nuisance space to profile the uncertainties. Figure 2 of arXiv:2602.13184, CC BY 4.0.

From bins to flows: unbinned and multivariate scale factors CMS note
D. Valsecchi on behalf of the CMS Collaboration — CMS Performance Note CMS-DP-2025-053, presented at ACAT 2025 (2025)

Most CMS objects and triggers are calibrated with Tag-and-Probe likelihood fits of the Z→ℓℓ mass peak, repeated in bins of pT and η. Adding more observables to the correction makes the number of bins, and the fitting time, explode. This note introduces an unbinned strategy in which probabilistic ML models (normalizing flows) perform the likelihood fit with several observables at once, producing multivariate, continuous efficiency scale factors for electrons and photons with better precision than the binned approach. It is the first CMS-wide application of the unbinned calibration programme.

Figure from: From bins to flows: unbinned and multivariate scale factors
Unbinned Tag-and-Probe fit: Z boson mass in Run 3 data compared with signal and background sampled from the flow models, in two electron phase-space regions. CMS-DP-2025-053, ACAT 2025.

MEMFlow: Computing the Matrix Element Method with generative machine learning CMS note
D. Valsecchi on behalf of the CMS Collaboration — CMS Performance Note CMS-DP-2025-046, presented at EuCAIF 2025 (2025)

The Matrix Element Method (MEM) gives the statistically optimal per-event likelihood for a physics hypothesis, but requires expensive multi-dimensional integrals over the parton-level phase space convolved with detector transfer functions. MEMFlow replaces the classical integrator with transformers and generative models: ML surrogates sample the phase space of each process and encode the detector transfer functions, and the samples are used for neural importance sampling. The method is demonstrated on the challenging ttH(bb) semileptonic final state with the full CMS detector simulation, opening the way to unbinned likelihood fits of SMEFT couplings directly on data.

Figure from: MEMFlow: Computing the Matrix Element Method with generative machine learning
MEMFlow pipeline: a conditioning transformer and an unfolding flow sample parton configurations for each reconstructed event, and a transfer flow models the detector response. From the ML4Jets 2023 talk, CMS-DP-2023-085.

One Flow to Correct Them all: Improving Simulations in High-Energy Physics with a Single Normalising Flow and a Switch Journal
C. C. Daumann, M. Donegà, J. Erdmann, M. Galli, J. L. Späh, D. Valsecchi — Comput. Softw. Big Sci. 8, 15 (2024) · arXiv

Simulation never matches data perfectly, and the differences in the shapes and correlations of the reconstructed observables must be corrected. This paper proposes a morphing method based on a single autoregressive normalizing flow conditioned on a boolean "IsData" switch: the flow is trained jointly on simulation and data to map both to a common base distribution, and simulated events are corrected by mapping them to the base space, flipping the switch, and mapping back. One flow with shared parameters replaces the chains of flows or pairs of networks used in earlier approaches. On a physics-inspired toy dataset with seven correlated variables and conditional mismodelling, the corrected simulation agrees with data at the percent level in the bulk and in the tails, and a BDT can no longer separate the two.

Figure from: One Flow to Correct Them all: Improving Simulations in High-Energy Physics with a Single Normalising Flow and a Switch
One flow with a boolean switch morphs a checkerboard into two moons (top) and back (bottom). Figure 2 of arXiv:2403.18582, CC BY 4.0.

Performance of heavy-flavour jet identification in Lorentz-boosted topologies in proton-proton collisions at √s = 13 TeV Journal
CMS Collaboration — JINST 20 (2025) P11006 (2025) · arXiv

Boosted H→bb/cc and BSM searches rely on large-radius jet taggers that identify hadronic decays of massive particles. This paper documents the performance of the CMS boosted-object taggers on simulation and, above all, the novel calibration techniques on 2016–2018 collision data: three complementary methods in multijet events, based on machine learning, on muons inside energetic boosted jets, and on hadronically decaying high-energy Z bosons, are combined into a single set of scale factors. I developed calibration strategies for these taggers, which are now used across CMS physics analyses.

Figure from: Performance of heavy-flavour jet identification in Lorentz-boosted topologies in proton-proton collisions at √s = 13 TeV
sfBDT calibration method: nine selection thresholds on a BDT score select proxy jets that mimic the signal jets. Figure 11 of arXiv:2510.10228, CC BY 4.0.

Deep learning techniques for energy clustering in the CMS ECAL Proceedings
D. Valsecchi on behalf of the CMS Collaboration — J. Phys. Conf. Ser. 2438 012077 (ACAT 2021) (2022) · arXiv

Electrons and photons spread their energy over several ECAL clusters because of bremsstrahlung and conversions in the tracker material bent by the 3.8 T field. The legacy "Mustache" superclustering algorithm groups clusters with a purely geometrical window and cannot reject pile-up or noise. DeepSC is the first ML superclustering for CMS: clusters are encoded with a GNN over their crystals, a dynamic graph is built with self-attention, and a graph-convolution plus attention stack decides which clusters belong to the seed, together with an energy regression and a particle-type output. It keeps the Mustache signal efficiency while removing most pile-up and noise contamination, improving the uncorrected energy resolution mainly at low energy and high |η|, and flattening the dependence on pile-up. Follow-ups: IEEE NSS-MIC 2022 proceedings and the CHEP 2024 paper on deployment in the CMS reconstruction.

Figure from: Deep learning techniques for energy clustering in the CMS ECAL
Photon energy resolution versus transverse energy: DeepSC (squares) against the legacy Mustache algorithm (dots), with their ratio below. Figure 3 of arXiv:2204.10277, CC BY 4.0.

Evidence for WW/WZ vector boson scattering in the decay channel ℓνqq produced in association with two jets in proton-proton collisions at √s = 13 TeV Journal
CMS Collaboration — Phys. Lett. B 834 (2022) 137438 (2022) · arXiv

Main result of my PhD thesis. Vector boson scattering probes electroweak symmetry breaking directly, and the semileptonic channel has the largest branching ratio but an overwhelming W+jets background. Using the full Run 2 dataset (138 fb⁻¹), events with one lepton, two forward jets and a hadronic W/Z candidate (resolved or as one large-radius jet) are classified with DNN discriminators, and the dominant backgrounds are constrained in dedicated control regions with a data-driven strategy. The electroweak WV signal strength is 0.85 ± 0.12 (stat) +0.19/−0.17 (syst), a significance of 4.4σ (5.1σ expected): the first evidence of VBS in the ℓνqq final state at the LHC.

Figure from: Evidence for WW/WZ vector boson scattering in the decay channel ℓνqq produced in association with two jets in proton-proton collisions at √s = 13 TeV
Simultaneous fit of the electroweak and QCD WV signal strengths: observed and expected 68% and 95% CL contours. Figure 6 of arXiv:2112.05259, CC BY 4.0.

Comparing quantum and classical machine learning for Vector Boson Scattering background reduction at the Large Hadron Collider Journal
D. Cugini, D. Gerace, P. Govoni, A. Perego, D. Valsecchi — Quantum Machine Intelligence 5, 35 (2023)

A controlled comparison between variational quantum circuits, run on publicly available quantum hardware, and classical deep neural networks for separating VBS signal from background at the LHC. The quantum classifiers reach an AUC very close to the classical networks while using far fewer parameters and less training data, one of the first proof-of-principle studies of near-term quantum hardware for event classification in HEP.

Figure from: Comparing quantum and classical machine learning for Vector Boson Scattering background reduction at the Large Hadron Collider
Test AUC versus number of training samples for the classical DNN (left) and the quantum classifier (right). Figure 6 of Quantum Mach. Intell. 5, 35, CC BY 4.0.

Other publications

Software

  • PocketCoffea — creator and lead developer. Configuration-driven columnar analysis framework for CMS NanoAOD on Coffea/Awkward/Dask; about 20 active contributors, about 20 public analyses and calibration tools on GitHub built on it. Docs · PyPI · PyHEP 2023 talk.
  • factorizable-normalizing-flow — reference implementation of Factorizable Normalizing Flows (Zenodo).
  • distribution-of-interest-profiling — code for the amortized profiling of systematics in unbinned fits (Zenodo).
  • Zuko — contributor. Normalizing flows in PyTorch.