Classification under Nuisance Parameters and Generalized Label Shift in Likelihood-Free Inference

Luca Masserano, Alexander Shen, Michele Doro, T. Dorigo, Rafael Izbicki +1 more
2/12/2026

No official code found. Best implementation: lee-group-cmu/lf2i (22 stars, MIT, last commit 2026-04-29).

Abstract

An open scientific challenge is how to classify events with reliable measures of uncertainty, when we have a mechanistic model of the data-generating process but the distribution over both labels and latent nuisance parameters is different between train and target data. We refer to this type of distributional shift as generalized label shift (GLS). Direct classification using observed data $\mathbf{X}$ as covariates leads to biased predictions and invalid uncertainty estimates of labels $Y$. We overcome these biases by proposing a new method for robust uncertainty quantification that casts classification as a hypothesis testing problem under nuisance parameters. The key idea is to estimate the classifier's receiver operating characteristic (ROC) across the entire nuisance parameter space, which allows us to devise cutoffs that are invariant under GLS. Our method effectively endows a pre-trained classifier with domain adaptation capabilities and returns valid prediction sets while maintaining high power. We demonstrate its performance on two challenging scientific problems in biology and astroparticle physics with data from realistic mechanistic models.

View on arXivView PDF

Code Implementations(1)

lee-group-cmu/lf2iCommunity100%
MIT

Likelihood-Free Frequentist Inference

222R, PythonJun 6, 20225 months agoMIT

Similar Papers

Cite this paper

@article{masserano2026classification,
  title  = {Classification under Nuisance Parameters and Generalized Label Shift in Likelihood-Free Inference},
  author = {Luca Masserano and Alexander Shen and Michele Doro and T. Dorigo and Rafael Izbicki and Ann B. Lee},
  year   = {2026},
  eprint = {2402.05330},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.05330},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.05330.svg)](https://codeofpaper.com/paper/2402.05330)

Discussion