Papers
Topics
Authors
Recent
Search
2000 character limit reached

GenFoldC: Hybrid Unfolding Algorithm

Updated 10 July 2026
  • GenFoldC is a hybrid unfolding algorithm that integrates a conditional generative model with classifier-based corrections to address detector resolution, background subtraction, acceptance, and efficiency.
  • It learns the posterior p(y|x) from paired signal simulation and iteratively reweights the gen-level prior to reduce simulation dependence, ensuring accurate unfolding.
  • The pipeline delivers analysis-ready gen-level distributions by multiplicatively incorporating corrections from background subtraction, acceptance estimation, and efficiency adjustments.

GenFoldC is an analysis-ready unfolding algorithm that combines a generative model with discriminative, classifier-based components to address, within one coherent pipeline, the detector-related effects relevant to unbinned, high-dimensional cross-section measurements: resolution or smearing, backgrounds or impurities, acceptance, and efficiency (Butter et al., 2 Sep 2025). In the formulation introduced in "Analysis-ready Generative Unfolding" (Butter et al., 2 Sep 2025), the generative component learns the posterior p(yx)p(y|x) of truth-level variables yy conditioned on reconstructed variables xx, while classifiers are used for reco-level background subtraction, acceptance estimation, gen-level efficiency estimation, and iterative reduction of prior-simulation dependence. The result is a hybrid unfolding scheme that returns an analysis-ready gen-level distribution after multiplicative correction by classifier-estimated probabilities.

1. Definition and scope

GenFoldC is a generative-discriminative hybrid. Its generative component is a conditional generative network trained on paired signal simulation to learn the posterior p(yx)p(y|x), and this component is responsible for statistically removing detector resolution or smearing by mapping reco-level events to gen-level events (Butter et al., 2 Sep 2025). Its discriminative components are classifiers used to subtract background at reco level, estimate acceptance δ(x)=p(gx)\delta(x)=p(g|x), estimate efficiency ϵ(y)=p(ry)\epsilon(y)=p(r|y), and iteratively reduce prior-simulation dependence through likelihood-ratio reweighting w(y)w(y).

The method is explicitly designed for the full measurement setting rather than the narrower problem of de-smearing alone. The motivating claim is that practical unfolding for cross-section measurements must account not only for statistical resolution effects but also for impurities and finite acceptance and efficiency effects. GenFoldC addresses those effects in a single pipeline, and the paper positions it as a complementary and analysis-ready addition to the unfolding toolkit (Butter et al., 2 Sep 2025).

A central structural feature is the tight coupling between the generator and the classifiers. The generator produces an initial unfolded sample from background-subtracted and acceptance-weighted reco-level data; a classifier then compares that sample to the simulation prior, supplies weights used to update the generative training distribution, and the process iterates. Acceptance and efficiency enter the final result multiplicatively through classifier-estimated probabilities rather than being absorbed entirely into the generator.

2. Statistical formulation

The paper defines yy as truth or gen-level variables and xx as reco-level variables, and writes the observed reco-level distribution with backgrounds, acceptance, and efficiency as

g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),

where yy0 is the unknown gen-level signal distribution in the fiducial region, yy1 is the detector response kernel, yy2 is a truth-level acceptance indicator or probability if truth-level cuts are used, yy3 is the selection or reconstruction efficiency at truth level, and yy4 is the background contribution at reco level (Butter et al., 2 Sep 2025).

The paper also gives a mixture-model form,

yy5

with yy6 the background fraction and yy7 the background pdf. In the algorithmic realization, backgrounds are statistically subtracted from data at reco level, producing a signal-only reco-level sample that serves as the input to unfolding.

Within GenFoldC, detector resolution is not treated by explicitly fitting yy8. Instead, the method learns the posterior yy9 from paired signal simulation. The paper states that if xx0 is universal and the prior xx1 is updated iteratively, then the learned xx2 can be used to statistically remove smearing from data; this suggests that the method relies on an implicit representation of detector response through conditional density modeling rather than through a separately parameterized response matrix or kernel.

Acceptance has a particular treatment. In the general observed-distribution model it appears as xx3, but in GenFoldC it is estimated as the conditional probability xx4 on reco inputs and then pulled to gen level after unfolding as xx5. Efficiency remains a gen-level correction through xx6.

3. Algorithmic pipeline

The GenFoldC pipeline begins with classifier-based background subtraction at reco level. A binary classifier xx7 is trained with a weighted binary cross-entropy loss on two labeled samples: label 1 is the signed sample xx8, and label 0 is the data sample xx9 with weight p(yx)p(y|x)0. With equal class priors, the trained output satisfies

p(yx)p(y|x)1

so p(yx)p(y|x)2 is the per-event weight applied to data events to implement statistical background subtraction. The corresponding loss is

p(yx)p(y|x)3

with signed weights, producing a background-subtracted reco-level signal distribution p(yx)p(y|x)4 (Butter et al., 2 Sep 2025).

Acceptance correction is then performed at reco level. A classifier is trained to distinguish reco events paired with gen-level events that pass fiducial cuts, p(yx)p(y|x)5, from those that fail, p(yx)p(y|x)6. With Bayes' theorem and equal class priors, the classifier learns

p(yx)p(y|x)7

where p(yx)p(y|x)8 is the unconditional acceptance rate estimated in simulation. The BCE objective is

p(yx)p(y|x)9

The generative unfolding step trains a conditional generative model δ(x)=p(gx)\delta(x)=p(g|x)0 on paired signal simulation δ(x)=p(gx)\delta(x)=p(g|x)1 that pass both reco and gen selections. In the implementation described in the paper, the unfolder is a conditional flow matching network. The initial unfolded distribution is

δ(x)=p(gx)\delta(x)=p(g|x)2

which amounts to pushing forward corrected reco-level data through the learned posterior.

Prior dependence is then reduced iteratively. A classifier δ(x)=p(gx)\delta(x)=p(g|x)3 distinguishes the acceptance-corrected unfolded sample δ(x)=p(gx)\delta(x)=p(g|x)4 from the simulation prior δ(x)=p(gx)\delta(x)=p(g|x)5, producing

δ(x)=p(gx)\delta(x)=p(g|x)6

The gen-level simulation prior is updated by

δ(x)=p(gx)\delta(x)=p(g|x)7

and the paired training sample is reweighted accordingly. The iterative classifier is trained with

δ(x)=p(gx)\delta(x)=p(g|x)8

The paper reports that convergence typically occurs in δ(x)=p(gx)\delta(x)=p(g|x)9 to ϵ(y)=p(ry)\epsilon(y)=p(r|y)0 iterations in its studies.

Finally, an efficiency classifier is trained on gen-level inputs to distinguish ϵ(y)=p(ry)\epsilon(y)=p(r|y)1, paired with reconstructed events, from ϵ(y)=p(ry)\epsilon(y)=p(r|y)2, not reconstructed. The learned quantity is

ϵ(y)=p(ry)\epsilon(y)=p(r|y)3

with ϵ(y)=p(ry)\epsilon(y)=p(r|y)4 estimated in simulation, and the BCE loss

ϵ(y)=p(ry)\epsilon(y)=p(r|y)5

After ϵ(y)=p(ry)\epsilon(y)=p(r|y)6 iterations, the final analysis-ready output is

ϵ(y)=p(ry)\epsilon(y)=p(r|y)7

This expression summarizes the division of labor in the pipeline: smearing is removed through the learned posterior, backgrounds are subtracted through ϵ(y)=p(ry)\epsilon(y)=p(r|y)8, acceptance is accounted for through ϵ(y)=p(ry)\epsilon(y)=p(r|y)9 and then w(y)w(y)0, prior dependence is reduced through w(y)w(y)1, and efficiency is corrected through w(y)w(y)2 (Butter et al., 2 Sep 2025).

4. Treatment of detector effects and relation to GenFoldG

Backgrounds in GenFoldC are modeled via reco-level simulated background w(y)w(y)3 and subtracted from observed data using the classifier-derived weight w(y)w(y)4. The paper emphasizes that no gen-level background is needed for this step. The subtraction is therefore likelihood-ratio-based and probabilistic rather than based on explicit hard assignment.

Acceptance and efficiency are treated asymmetrically. Acceptance addresses events that pass reco-level selection but lie outside the gen-level fiducial region, and is corrected by w(y)w(y)5, learned from paired simulation and later pulled to gen level as w(y)w(y)6. Efficiency addresses events in the gen-level fiducial region that fail reconstruction, and is corrected by w(y)w(y)7, learned on gen-level inputs (Butter et al., 2 Sep 2025). This separation is central to the “analysis-ready” designation, because it extends the method beyond pure deconvolution.

The paper contrasts GenFoldC with GenFoldG, a fully generative alternative introduced in the same work. GenFoldC uses one generative model for w(y)w(y)8 plus classifiers for background subtraction, acceptance, efficiency, and prior updates; its corrections enter as per-event weights at reco level, w(y)w(y)9 and yy0, and gen level, yy1, while prior update is performed by reweighting the gen-level training sample via yy2. GenFoldG, by contrast, is described as fully generative across all steps: background subtraction is done with a generative model trained with negative weights to model yy3, acceptance and efficiency are integrated via “empty events” in the generative training and sampling loop, and prior updating proceeds through fully generative steps. The paper states that GenFoldG ultimately returns unweighted unfolded events, whereas GenFoldC returns weighted events with yy4 and yy5 factors applied.

This division suggests two different operational philosophies. GenFoldC fits naturally into pipelines that already use classifiers for selection and subtraction corrections, while GenFoldG moves those operations into the generative model itself. The paper explicitly notes that GenFoldC is often simpler to deploy if classifier-based corrections are already in use, whereas GenFoldG is attractive when unweighted unfolded events are preferred.

5. Training configuration and implementation

The required inputs are reco-level data yy6 including backgrounds, reco-level background MC yy7 for subtraction, and paired signal MC yy8 passing both reco and gen selections with flags indicating yy9 and xx0 (Butter et al., 2 Sep 2025). Background subtraction therefore depends only on reco-level background simulation or data-driven estimates, whereas the generative unfolding step requires adequate paired signal simulation for learning xx1.

The paper describes an optional preprocessing step in which gen-level MC is pre-reweighted to match pseudo-data gen-level distributions, with the aim of reducing non-universal response differences. Network architectures are then specialized by task: the unfolder is a conditional generative model xx2, implemented with conditional flow matching in the paper, while the background, acceptance, efficiency, and iterative prior-update components are feed-forward classifiers trained with BCE losses.

The reported optimization schedules are explicitly presented as selected examples. For the Gaussian toy example, GenFoldC uses xx3 epochs for classifiers, a one-cycle learning-rate schedule, learning rate xx4, Adam, batch size xx5, and xx6 layers of width xx7; the unfolder uses a cosine schedule, learning rate xx8, and the same batch size. For the OmniFold dataset, the paper lists xx9 epochs for background and acceptance classifiers, g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),0 epochs for the efficiency classifier, g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),1 epochs for the iterative classifier, learning rates about g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),2 to g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),3, Adam, batch sizes g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),4 to g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),5, widths g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),6 to g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),7, and for the unfolder g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),8 epochs initially, later iterations reduced to g(x)=R(xy)A(y)ϵ(y)f(y)dy+B(x),g(x) = \int R(x|y) A(y)\,\epsilon(y)\,f(y)\,dy + B(x),9, cosine schedule, learning rate yy00, width yy01, yy02 layers, and batch size yy03 (Butter et al., 2 Sep 2025).

The practical guidance in the paper adds several implementation caveats. Weighted BCE may become numerically unstable in regions of near-perfect separation, for example with highly clustered backgrounds, and the suggested responses are oversampling the background, pretraining, or constraining classifier capacity. The interpretation of yy04 as a likelihood ratio assumes balanced class priors. For acceptance near sharp phase-space boundaries, yy05 can become prior-dependent; the paper therefore recommends considering sideband inclusion and enforcing the gen-level selection after unfolding rather than relying on yy06 alone when the fiducial cut lies on the unfolded observable itself. It also notes that large batch sizes for conditional generative models reduce variance and that later iterations can be shorter.

6. Validation, uncertainty, and limitations

The paper validates GenFoldC on both a Gaussian toy model and an LHC-like OmniFold dataset, reporting closure and percent-level accuracy in most kinematic regions but not providing a full uncertainty model such as coverage or pull plots (Butter et al., 2 Sep 2025). It therefore presents strong empirical validation of reconstruction quality while leaving full statistical calibration to future work.

In the Gaussian toy example, the truth distributions are yy07 and yy08, the reco-level smearing kernel is yy09, there is yy10 background contamination, and there is a uniform yy11 drop at reco and gen, corresponding to efficiency and acceptance. The first iteration of unfolding showed more than yy12 discrepancy relative to truth, while after five iterations GenFoldC matched yy13 at the percent level. Background and acceptance corrections worked as expected, and the final GenFoldC and GenFoldG results agreed within uncertainties.

In the LHC-like OmniFold dataset, the background labeled ZV contributes approximately yy14 contamination; acceptance is about yy15 for events passing reco but failing gen, and efficiency is about yy16 for events passing gen but failing reco. The study used yy17 iterations for GenFoldC and yy18 for GenFoldG, with later iterations trained for fewer epochs to reduce cost. The unfolded six-dimensional distributions in jet mass yy19, multiplicity yy20, width yy21, log groomed mass yy22, yy23, and groomed yy24 matched gen-level pseudo-data at the percent level across most of phase space. Remaining differences were concentrated in the tails of yy25 and groomed mass and were described as consistent with residual prior dependence.

The limitations are stated explicitly. Residual prior dependence remains in extreme regions or when the forward mappings yy26 differ between pseudo-data and MC even after gen-level reweighting, and the paper recommends treating this as a systematic uncertainty. Acceptance estimates near sharp boundaries can be sensitive to the prior, especially when the fiducial selection aligns with the unfolded observable. Background subtraction can be unstable with highly clustered backgrounds in high-dimensional spaces, and mis-modeling can appear in the high-mass tail where purity is low; the paper suggests possible future improvements through oversampling or alternative subtraction strategies. A plausible implication is that GenFoldC is most reliable when paired simulation is sufficiently representative and when boundary effects and low-purity tails are explicitly monitored during validation.

For uncertainty estimation in practice, the paper states that statistical uncertainties can be estimated through bootstrap or toy resampling of the data and MC pairs through the entire pipeline, with bands obtained from the dispersion of unfolded results, and that systematic components such as residual prior dependence and background modeling can be assessed by varying classifiers, generators, hyperparameters, and background normalizations. These are implementation recommendations rather than a full uncertainty prescription, but they align with the method’s modular structure.

Overall, GenFoldC is characterized in the paper as a hybrid unfolding pipeline in which a conditional generative model performs the de-smearing step, classifiers implement background subtraction and selection corrections, and iterative classifier reweighting suppresses dependence on the simulation prior. Within the reported studies, it achieves percent-level agreement with truth in most regions and performs comparably to the fully generative GenFoldG, while retaining the weighted-event structure implied by its acceptance and efficiency corrections (Butter et al., 2 Sep 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to GenFoldC.