WorksPhysics and Astronomy
OmniX: A first jet and event model
Abstract
Foundation models are a new approach to building machine learning algorithms for particle physics. Their central idea is that a single model can be adapted to a variety of downstream tasks, amortizing training costs. So far, most foundation model prototypes have operated on the constituents of a single jet. This limits their usefulness for physics problems at the scale of full events, such as distinguishing different processes, and restricts their performance, as global correla- tions are invisible to the model. Here, we introduce OmniX, an architecture that operates on both single jets and whole events within a single model. Using the jet-level JetClass and Top-tagging datasets and the event-level Collide-2V dataset, we demonstrate that OmniX trained jointly on single jets and full events matches or exceeds otherwise equivalent jet-only and event-only models in generation and classification.
Introduction
The foundation model paradigm [1] moves machine learning away from models built for a single problem and towards models that are pre-trained once on broad data and then adapted to many downstream tasks. Particle physics is well suited to this approach: many analyses operate on closely related datasets and ask similar questions of them, such as particle identification, tagging, or reconstruction in their various forms. A single pre-trained model can therefore potentially reach strong performance on individual problems with little task-specific fine-tuning.
So far, however, foundation models in particle physics [2] have focused almost exclusively on jets, and in particular on jet tagging [3, 4, 5, 6, 7]. This emphasis is well motivated, since jet tagging is a high-impact task central to many analyses, and it has produced a number of key results, such as first hints at transfer [4], understanding of the scaling properties [8, 9, 10] or redefining the state of the art for identifying heavy resonances [11].
At the same time, a model restricted to jets cannot capture the global structure of the event or the underlying physics process that produced it. Event-level foundation models have received comparatively little attention, with a couple of notable exceptions [12, 13, 14, 15, 16, 17, 18, 19]. The data granularity used in these models ranges from high-level physics reconstruction objects [12, 13, 14, 15, 16] and particle flow candidates [17], to reconstructed tracks and calorimeter clusters [19] and reconstructed tracks only [18]. There are also examples of multi-modal reconstruction models [20], which use the principle of pre-training and fine-tuning without calling it a foundation model, as well as examples of how to use the foundation model paradigm for fine-tuning the full analysis chain for events [21].
In this work, we show that the choice between single jets and full events need not be binary. OmniX operates on jet constituents as inputs and solves both classification and generative tasks at the level of individual jets and of complete events. This is achieved by training a decoder-only transformer jointly on next-token prediction and classification. The input consists of a concatenation of conditioning tokens, jet-level tokens, and constituent-level tokens. The features are binned individually and delayed in the spirit of SPADE [22]. This allows the input to be binned finely enough to not lose resolution, and avoids having to train a separate tokenization model.
The rest of the paper is structured as follows: We introduce the event-level and jet-level datasets in Sec. II and review the details of the OmniX architecture in Sec. III. We then show the results for generation and classification tasks in § 1.3, and close with a discussion in § 1.4.
Datasets
We use three simulated datasets (Table I): full QCD and events from Collide-2V [23], single jets from JetClass [3, 24], as well as the top-tagging community dataset [25, 26] for a downstream classification task. In the first two datasets, every particle is described by the same seven features: the transverse momentum , the pseudorapidity , the azimuthal angle , the electric charge , the particle type, and the transverse and longitudinal impact parameters and . In the third dataset, only the four-momenta of the constituents are recorded.
Collide-2V events
Collide-2V [23] is a simulated event-level dataset of 750 million events from 50 different Standard Model processes. The version we used1 is generated at 14 TeV with MadGraph5_aMC@NLO 3.5.8 [27], with hadronization and showering by Pythia 8.310 [28, 29]. A modified version of Delphes, based on a pre-release of 3.5.1 [30], is used for detector simulation, with the CMS Phase-2 HL-LHC Delphes card. Pileup is added with . The dataset contains a dual view of the same events: L1 trigger-level objects and fully reconstructed objects. In this work, only the fully reconstructed objects are used.
| Dataset | Object | Classification target | Training | Validation | Test |
| Pre-training | |||||
| JetClass | one AK8 jet | ten jet classes | 100 | 5.0 | 20 |
| Collide-2V | full event, AK4 jets | AK4 jet flavor (, , light) | |||
| QCD inclusive | 9.2 | 1.2 | 1.2 | ||
| QCD | 2.0 | 0.25 | 0.25 | ||
| , all hadronic | 3.8 | 0.48 | 0.48 | ||
| , semi-leptonic | 3.9 | 0.48 | 0.48 | ||
| , all leptonic | 3.9 | 0.48 | 0.48 | ||
| Fine-tuning | |||||
| Top-tagging | one AK8 jet | top vs. QCD | 1.2 | 0.40 | 0.40 |
Table 1. Datasets used in this work. Split sizes are given in millions of jets or events.
We use five processes: QCD inclusive ( GeV), QCD ( GeV), (all hadronic), (semi-leptonic) and (all leptonic). After removing events with event weight zero, we are left with 28.5 million events in total. We only use the pileup-per-particle identification (PUPPI) [31, 32] collections: all PUPPI particles as well as the JetPuppiAK4 jets. Our preprocessing details can be found in Appendix A 1. After preprocessing, we select all AK4 jets with GeV (corresponding to the cut in Delphes) and . No further kinematic cuts are made. The maximum number of AK4 jets per event with our selection is 20. In Collide-2V, the impact parameter information is stored without any smearing. To match JetClass, and to enable non-trivial flavor tagging, we add smearing to these variables using values extracted from Ref. [33]. This procedure is described in Appendix A 2. After smearing, is clipped to cm and to cm.
Finally, we split the dataset 80:10:10 into training, validation, and test splits.
JetClass
JetClass [3, 24] is a simulated dataset of 125 million jets in ten equally populated classes, on which a large number of jet foundation models are trained (examples include [4, 5, 7, 34, 35, 36]). The hard processes are generated with MadGraph5_aMC@NLO [27], and parton showering and hadronization are simulated with Pythia 8.2 [37]. No pileup is included. The detector response is simulated with Delphes [30] in the CMS configuration. Jets are clustered from the energy-flow objects with the anti- algorithm [38, 39] with distance parameter and
kept if
One class contains jets initiated by light quarks or gluons, and the other nine contain jets from decays of boosted Higgs bosons, top quarks, and and bosons. A jet contains on average 39 constituents. Despite being AK8 jets, these jets have a small number of particles outside the jet cone. In order to remove noise, we remove the 0.16% of particles with or relative to the jet axis, all of them soft and charged. We do not add any further kinematic cuts, and use all jets in the official training, validation, and test splits.
Top tagging
The top-tagging dataset [25, 26] is a standard benchmark for jet taggers and is also commonly used to evaluate pre-trained models (examples include [3, 11, 34, 35, 40]). Jets from hadronically decaying top quarks (signal) and from light quarks and gluons (background) are generated with Pythia 8 [37] at TeV. No pileup is included, and the detector response is simulated with Delphes [30] in the ATLAS configuration. Jets are clustered from the energy-flow objects with the anti- algorithm [38, 39] with distance parameter . The leading jet of each event is kept if
For each jet, only the four-momenta of up to 200 constituents are provided. Signal and background jets occur in equal proportions.
OmniX
OmniX is a decoder-only transformer for single jets and full events. Like OmniJet- [4], one of its training tasks is next-token prediction, which requires discrete training targets. Instead of a learned tokenizer over the full phase space, such as a vector-quantized variational autoencoder
(VQ-VAE) [4, 5, 40, 41, 42] or its residual-quantized variant (RQ-VAE) [43, 44, 45, 46], we adopt the split-and-delay approach of SPADE [22], in which every feature of a particle is binned and tokenized on its own. This factorization keeps the total vocabulary size small, even with fine binning.
Figure 1 illustrates the split-and-delay mechanism of SPADE, and Figure 2 shows the architecture of the model. The full pipeline is discussed in the following.
Figure 1. Sequence layout of OmniX, shown for one event. The sequence starts with conditioning tokens, indicating the dataset (jets or events), the feature mode (full features or kinematic features only), the delay order (controlling in which order the particle features are listed), and a process token (indicating the jet class or the event process type). The plan tokens include the particle multiplicity of the event, as well as jet-level features of up to twenty jets. The particle features include the features of all particles in the event, as well as their jet index indicating to which jet (if any) each particle belongs. The collected features of particle 1 are outlined along the diagonal, shown in one of the 32 delay orders. These form a completed particle at position , which lets the model understand the full particle despite the delay.
Figure 2. The network of OmniX and the two passes of a training step. It runs twice per training step with shared weights: causally for the generative loss and bidirectionally for the classification loss. Colors follow Figure 1, with the counter in the color of the plan it is computed from, and red marks classification. The inputs are drawn once per type of position, numbered as in Figure 1: conditioning (1), plan (2), and particles (3). The particle token embeddings are combined with the continuous input of the completed particles (i.e., without the delay), as well as with the counter vector that keeps track of the remaining four-momentum of the jet (according to the plan). Their sum then enters a transformer decoder, where pairwise bias vectors are added at every layer. The output from the transformer goes to four heads: a plan head and a particle head, which together form the generative head, a jet classification head (for JetClass) and a jet flavor tagging head (for jets from Collide-2V).
Particle properties and discretization
Every particle carries the seven features: , , , the electric charge , the particle type, , and . We merge and the particle type into one categorical feature, pid, with the eight categories , , , , and . To these six features, we add the jet index , which either assigns the particle to one of at most twenty jets, selected as in Secs. II A and II B and numbered by decreasing (), or marks it as an out-of-jet particle (). The constituents of a jet carry and as offsets and from the jet axis, where and are the rapidity and the azimuth of the four-momentum sum of its constituents, each taken as massless. Out-of-jet particles keep absolute coordinates, after the event has been rotated in azimuth such that the leading jet lies at . If an event has no selected jet, its particle with the highest is rotated to instead. In this representation, an event consists of up to twenty jets and the particles outside them. Single jets from JetClass are events with exactly one jet and no particles outside it. All jets are discretized with the same codebooks, one for each of the seven features (Table II, top).
| Quantity | Binning | Range | Bins |
| logarithmic | 0.1–6000 GeV | 1022 | |
| , (constituents) | symmetric-log., | , | 510 |
| , (out-of-jet) | linear | , | 510 |
| symmetric-log., cm | cm | ||
| symmetric-log., cm | cm | ||
| particle type, | categorical | – | 8, 21 |
| multiplicity | integer | 1–521 (1–183) | 521 (183) |
| jet | logarithmic | 1–6000 GeV | 3485 |
| jet rapidity | linear | 4000 | |
| jet | linear | 3142 | |
| jet mass | quadratic | 0–1000 GeV | 512 |
| jet constituents | integer | 0–255 | 256 |
Table II. Codebooks of the particle features (top) and of the plan quantities (bottom). The number of bins excludes the padding and missing tokens. Symmetric-logarithmic bins with scale follow Eq. (3), and quadratic bins are uniform in the square root of the underlying variable. Values outside the range are assigned to the first or last bin. For and , the is a separate bin for particles without a track, which are exactly the neutral particles.
All datasets share the same codebooks, including their binning and range. The binning type of each codebook follows the shape of the distribution of its feature. The relative and of the constituents, as well as the trajectory displacement features and , are signed and peak at zero. They are therefore binned uniformly in
a symmetric-logarithmic transform, where is the value of the feature and is a scale that is set per feature (listed in Table II). The bins are fine for and increasingly coarse above it. The absolute and of out-of-jet particles are binned uniformly, with the same number of bins and thus the same tokens. Which of the two binnings applies is fixed by the jet index. In Appendix B, we show that encoding and decoding the test data leaves all fidelity metrics unchanged within their statistical precision.
Sequence layout
Next-token prediction requires every event to be written as a sequence. Figure 1 shows this sequence, which we describe from left to right.
Since OmniX models jets and events from different datasets, the sequence begins with conditioning tokens, which state what kind of event follows. They are given as input and never predicted. First, the dataset token states whether the event is from JetClass or from Collide-2V. The datasets also differ in the particle features they provide. The top-tagging dataset, for instance, provides only the four-momenta of the particles. To present such data in a form the model has seen in training, we add a kinematic mode, which the feature-mode token selects. The feature mode of a training event is drawn at random, full or kinematic with equal probability. In the kinematic mode, pid, , and are replaced by the missing token and excluded from the loss, so that the model also learns to describe the particles by their kinematics alone. A jet from the top-tagging dataset then has the same form as a JetClass jet in the kinematic mode. To generate events of a chosen kind, the process token can name a jet class or a Collide-2V process.
Before the first particle, the model predicts a plan, which describes the event coarsely by its multiplicity and its jets. The event is thus generated from coarse to fine, with the particles filling in the details after the plan. Both the plan and the particles enter the generative loss. The plan begins with the particle multiplicity . This fixes the number of particles during generation, so that no end-of-sequence token is needed. Twenty jet slots follow, each describing one jet by its , its axis , and its mass , together with its number of constituents . Each quantity has its own codebook (Table II, bottom). Unused slots are filled with zeros. As in SPADE [22], each of the five slot quantities fills its own row of the sequence, delayed by one position against the previous one, so that the twenty slots occupy 24 positions.
The particles of an event form a point cloud without a natural order. Rather than imposing an arbitrary order for the next-token prediction task, we shuffle the particles every time an event is seen in training. The model is thus trained to describe an unordered set, even though the network itself is not permutation invariant. Just like the elements of the plan, the particles are arranged in the split-and-delay layout, with one row for each of their seven features, so that the collected features of a particle lie on a diagonal (as outlined for particle 1 in Figure 1). The benefit of this layout is that it keeps the sequence short. A flattened version would require a sequence of length , which scales badly in the attention mechanism (). With this layout, the particles of an event instead occupy only positions.
The elements of the sequence differ in their number of tokens: a conditioning element has one, a jet of the plan five, and a particle seven. Each position must nevertheless enter the network as one vector of the model dimension . Conditioning tokens and the jet quantities of the plan are embedded directly as vectors of size , and the jet quantities that share a position are summed. For the particles, each of the seven tokens is first embedded into a smaller vector. The seven vectors are then concatenated and projected to by a linear layer. In this way, all elements in the sequence, regardless of whether they have one token (conditioning features), five tokens (jet-level plan) or seven tokens (particles), are mapped to the same embedding dimension. The delay itself makes sure that the inter-feature correlations are preserved. At position , feature of a particle will be predicted based on the previous features of this particle.
With a fixed order of the rows, every feature would always be predicted conditioned on the same set of earlier features. OmniX therefore varies the order from event to event. Two rules restrict the possible orders. The jet index is always placed before the kinematics, because and of a jet constituent are given relative to the axis of its jet. Since only charged particles leave a track with and , pid is always placed before them. Of the 420 orders that satisfy both rules, a fixed random subset of 32 is used. One of them is drawn for every event and given to the model as the delay-order token at the start of the sequence.
Tokens, particles, counters
At every particle position, the network embeds the token of each row with the dedicated codebook, concatenates the seven embeddings, and projects them to the model width (Figure 2). Since all targets are discrete, it predicts the token of every row at the next position as a distribution over the bins of its codebook. The generative loss is the sum of the cross-entropies of the seven particle features and the six plan quantities, each averaged over all its tokens in a batch. Padding and missing tokens are excluded, whereas the plan tokens of unused jet slots are included. Instead, a special counter (one per jet) provides these numbers directly. Once the jet index has been predicted, the correct counter can be called. It keeps track of the remaining four-momentum, how many constituents the jet has so far and how many are still to come according to the plan. If the jet index is zero (i.e., the next particle lies outside the jets), the counter is zero. An MLP maps the counter to the model width, and the result is added to the embedding at every position. The values in the counter are recomputed at every position.
The pid of a particle fixes which bins of and are possible. A neutral particle always takes the bin for particles without impact parameters, and a charged particle never does. Since pid precedes and in every delay order, their predicted distributions are restricted to the bins that the pid allows. The restriction applies in training and in generation, so it is part of the likelihood, and no generated particle breaks the rule.
Because of the delay, no position holds all features of one particle. At the position where a particle is completed, an MLP therefore embeds its , , and together as numbers and adds the result to the token embedding. In generation, the model samples only a bin and not the value within it. If the network read exact values in training, it would learn to rely on a precision that generation cannot provide. In training and in generation alike, the value is thus drawn at random within the bin of its token (dithered), uniformly or, for the logarithmic bins, log-uniformly.
Since the particles are shuffled, the constituents of a jet that are already in the sequence are scattered over all earlier positions. To know how much of a planned jet is still missing, the network would have to find these constituents, count them, and sum their four-momenta.
Pairwise attention bias
As in Part [3], an additive bias on the attention logits gives the attention direct access to the kinematics of every pair of particles. For two particles completed at positions and , the bias uses their angular distance , the relative transverse momentum , the fraction of the summed that the softer particle carries, and the squared pair mass , all evaluated for massless particles. All four are logarithms. Jet constituents store and relative to the axis of their own jet, which cannot be compared between particles of different jets. The pair features are therefore computed in absolute coordinates, obtained by adding the planned jet axis back to every constituent, so that pairs within a jet, across jets, and with out-of-jet particles are described in one frame. Flags mark whether the two particles share a jet and whether one or both lie outside all jets. An MLP maps the features and flags to one bias per attention head, which is added in all eight layers. Since only completed particles enter, the bias between and an earlier position uses no token after and respects the causal mask.
Joint generation and classification
OmniX is trained to generate and to classify at the same time, with two passes through the full backbone in every training step (Figure 2). The generative pass is causal, so that every token is predicted from all earlier tokens. The classification pass, on the other hand, is bidirectional, so that every position can attend to the full event. The two passes share all weights except their task heads. The total loss is the sum of their losses,
The process token and the classification target depend on the dataset. For JetClass, the process token holds one of the ten jet classes, and the classifier predicts this class. For Collide-2V, the process token holds one of the five processes. The classifier, however, does not predict the process but the flavor2 (, , or light) of every AK4 jet. The jet flavor itself never enters as a token.
The process token is set differently in the generative and the classification pass. In the generative pass, it is set to NULL with probability 0.5. The model thus learns a conditional and an unconditional generator at the same time, with the conditioning dropout of classifier-free guidance [47]. In generation, the process token can therefore be set to a jet class or a process, or left at NULL. In the classification pass, the process token is always set to NULL to prevent label leakage. The plan and all other tokens stay visible, so the classifier sees the full event, including its planned jets.
The generative head is one linear layer per particle feature and per plan quantity. The classification heads turn the particles of a jet into a label.
A JetClass jet has one label. We append one learned class token to the end of the particle sequence. Two class-attention blocks [3, 48] let this token look at all particles of the jet, and an MLP maps it to the jet class. A Collide-2V event has one flavor label per AK4 jet. We therefore use one class token per jet. Each class token is initialized with an embedding of the , the axis, and the number of constituents of its jet, so that it knows which jet it stands for. Three transformer blocks then let the class tokens look at the particles, where a learned bias points each token to the particles of its own jet, and at each other. The jets of an event are thus not tagged in isolation. Each jet is tagged with access to the full event and to what the other class tokens have gathered about their own jets, so that evidence for the flavor of one jet can inform the flavor of another. An MLP finally maps each class token to the flavor of its jet.
Architecture and training
The backbone is a decoder-only transformer of eight pre-layer-norm blocks [49] of width 768, with multi-query attention [50] with eight heads, rotary position embeddings [51], SwiGLU feed-forward layers [52] of hidden size 3072, and no dropout. The backbone has 67.3 million parameters.
We train three models with this backbone, which differ in their pre-training data: JetClass jets alone (Jets-only), Collide-2V events alone (Events-only), and JetClass jets and Collide-2V events together (Events+Jets), listed in Table III. Every batch is drawn from a single dataset, in the ratio given in Table III. In Events+Jets, each batch therefore trains only the classification head of its own dataset.
| Events+Jets | Jets-only | Events-only | |
| Data | JetClass, Collide-2V | JetClass | Collide-2V |
| Batch ratio | 50:5:1:2:2 | – | 0:5:1:2:2 |
| Parameters (M) | 144.3 | 107.4 | 125.1 |
| Constant phase | 1 376 256 | 974 848 | 466 944 |
| Final step | 1 654 784 | 1 171 456 | 565 248 |
| Dataset passes | 13.7, 14.4 | 12.0 | 25.4 |
| H100 GPU-hours | 1040 | 485 | 581 |
Table III. The three pre-trained models. The batch ratio counts batches from JetClass and from the Collide-2V processes QCD inclusive, QCD , and all hadronic, semileptonic, and all leptonic. This ratio follows the number of training events in each dataset, such that the number of full passes over each process becomes approximately equal. Parameters include all embeddings and heads. The constant phase at the peak learning rate and the final step are given in optimizer steps. Dataset passes are counted over the training split, separately for JetClass and Collide-2V in Events+Jets. GPU-hours include start-up and validation.
All models are trained with the Ranger optimizer, which combines RAdam [53] with Lookahead [54], on batches of 1024 events. After a linear warm-up, the learning rate is held constant at for at most 2 457 600 steps. We start the anneal over a further 20% of the steps once the validation loss shows diminishing returns. More information about the model and hyperparameters is available in Appendix D.
Generation
To generate, the conditioning tokens are set: the dataset, the feature mode, the delay order, and optionally the process token (the jet class for JetClass, the process for Collide-2V events). The plan and the following particles are sampled token by token with a key-value cache, at temperature one. Continuous features are decoded to values by dithering (Sec. III C), whereas categorical tokens and the bin for particles without impact parameters are decoded exactly.
Results
We compare the three models of Table III, which share the architecture and the training setup and differ only in their training data: Events+Jets, Events-only, and Jets-only. We first compare the generated events and jets in § 1.3 A. We then evaluate the classification after pre-training, for JetClass jet tagging in § 1.3 B and for flavor tagging in Collide-2V events in § 1.3 C. Finally, we fine-tune the models on the top-tagging dataset in § 1.3 D.
Generation
Full events
Figure 3 compares the generated events with the Collide-2V test events in four observables at the event and jet level. Both the Events+Jets and the Events-only model follow the Collide-2V distributions closely, and their curves lie almost on top of each other in all four panels. Neither training set shows a clear advantage.
Figure 3. Distributions of event observables for Collide-2V events generated by the Events+Jets and the Events-only model with the process token given. Each sample, the test set and the generated events of either model, contains 1 M events with the five processes in the same proportions as in the training data. is the scalar sum of the transverse momenta of the AK4 jets, and is the azimuthal angle between the two leading AK4 jets. In all events, generated and from the test set, the jets are reclustered from all particles in the event (anti-, , GeV, ). The lower panels show the ratio to the Collide-2V test events, with their statistical uncertainty as a gray band. Further observables are shown in Figure 10 and Figure 11 in Appendix C.
The deviations are small and similar in both models. In , both agree with the test events closely from 130 GeV up to the statistically limited tail near 1 TeV, and generate about 5% too many events between 30 and 130 GeV. The leading-jet agrees best with the test events between 30 and 200 GeV, and both models show similar deviations in the high- tail. The largest deviation appears in the number of jets, where both models generate around 20% too few events without a jet, 10% too few with one jet, and up to 10% too many with three jets. As a result, more of the generated events than test events have at least two jets, which appears as an offset of a few percent in . The models also assign a jet index to every generated particle. When the jets are built from this index instead of being reclustered, these deviations are not observed. This comparison is shown in Figure 9 in Appendix C.
Figure 9. Event and jet observables of the generated Collide-2V events of Figure 3 for two jet definitions. In the top row, the AK4 jets are reclustered from all particles with the anti- algorithm (, GeV, ), as in the main text. In the bottom row, a jet consists of all particles that carry the same jet index for the generated events as assigned by the model and for the test events as given in the dataset. The lower panels show the ratio to the Collide-2V test events, with their statistical uncertainty as a gray band.
Appendix C shows further event, jet, and particle-level observables in Figure 10 and Figure 11, separately for the and the QCD processes, together with distance metrics between the generated and the test events. In these metrics as well, both models are similarly close to the test events.
Figure 10. Event, jet, and particle observables of events generated by the Events+Jets and the Events-only model with the process token set to one of the three processes (500 k events per model, a third per process), compared to as many test events in the same ratio. is the scalar sum of the of the AK4 jets, and is the invariant mass of the two leading AK4 jets. The constituents per jet and their distance to the jet axis are shown for all AK4 jets, and and for charged particles. The jet-constituent and particle panels show a tenth of the events. The lower panels show the ratio to the test events, with the statistical uncertainty of the test events as a gray band.
Figure 11. As in Figure 10, for QCD events generated with the process token set to inclusive QCD or QCD (500 k events per model, in the ratio of the training data).
Jets
Figure 4 compares the generated jets with the JetClass test jets in four observables at the jet and constituent level. The Events+Jets and the Jets-only model both follow the JetClass distributions closely, and their curves lie on top of each other in all four panels. Neither training set shows a clear advantage.
Figure 4. Distributions of jet observables for JetClass jets generated with the process token set to the jet class by the Events+Jets and the Jets-only model (1 M each, 100 k per class), compared to the test jets of all ten classes. is the ratio of the -subjettiness values [55], computed with winner-take-all axes and . The lower panels show the ratio to the JetClass test jets, with the statistical uncertainty of the test jets as a gray band. Further observables are shown in Figure 12 in Appendix C.
The jet mass, the number of constituents, and agree with the test jets over nearly the full range, with small deviations only at the edges of the distributions. The one clear deviation appears in , where both models generate too few jets with low and slightly too many between 0.6 and 0.8. In the test set, the jets with low come mainly from top-quark and decays. The deficit is identical for both models and thus independent of the training data. We attribute it to the autoregressive generation, in which the positions of the three prongs emerge only gradually and early particles placed off their prong axis wash out the three-prong Jets-only model, using the exact values of the continuous inputs instead of the binned and dithered ones. Table IV lists the accuracy of the ten-class prediction, the one-vs-one AUC, and the QCD rejection of each of the nine signal classes at a fixed signal efficiency. For the rejection of a signal class , we use the discriminant and quote the inverse of the QCD efficiency.
| Events+Jets | Jets-only | |
| Accuracy | 0.8514 | 0.8505 |
| AUC | 0.9862 | 0.9861 |
| QCD rejection () | ||
| (50%) | ||
| (50%) | ||
| (50%) | ||
| (50%) | ||
| (99%) | ||
| (50%) | ||
| (99.5%) | ||
| (50%) | ||
| (50%) |
Table IV. Classification performance on the JetClass test set for the Events+Jets and the Jets-only model. We list the accuracy, the one-vs-one AUC, and the QCD rejection for each signal class at the signal efficiency given in parentheses. For the accuracy and the AUC the statistical uncertainties are below and not shown.
The two models perform equally well. Their accuracies of 0.8514 (Events+Jets) and 0.8505 (Jets-only) are slightly below those of dedicated JetClass classifiers such as ParT [3], which reaches 0.861. Between the two OmniX models, the accuracy differs by 0.0009 and the AUC by 0.0001, and for each of the nine signal classes the QCD rejections agree within their statistical uncertainties. The Events+Jets model is nominally higher in accuracy, AUC, and seven of the nine rejections, but with one training per model we cannot separate such differences from the variation between trainings. Additional training on Collide-2V events therefore neither improves nor degrades the classification of JetClass jets.
structure.
Appendix C shows further jet and constituent observables in Figure 12, together with distance metrics between the generated and the test jets in Table XI. In these metrics, the two models are close to each other, with small differences in favor of the Events+Jets model.
Figure 12. Jet-level and constituent-level observables of JetClass jets generated by the Events+Jets and the Jets-only model.
TABLE XI. Fidelity of generated JetClass jets. Each model generates 1 M jets, 100 k with the process token set to each of the ten classes. They are compared with an equal number of test jets of all ten classes.
| Global | Wasserstein distance | |||||||
| FPD | KPD | AUC | GeV | GeV | ||||
| Truth | ||||||||
| Events+Jets | ||||||||
| Jets-only |
Table XI.
JetClass classification
Both the Events+Jets and the Jets-only model are trained with a classification objective on the ten JetClass classes, so we can evaluate them directly after pre-training without fine-tuning. We classify the 20 M jets of the JetClass test set with the Events+Jets and the
Jet flavor tagging
Figure 5 shows the OmniX models as and taggers on the AK4 jets of the Collide-2V test events. The left panel gives the number of , , and light jets per event. Since jets appear mostly in pairs, a tagger that sees the whole event can use the other jets as additional information during tagging. To measure this effect, we add a third model, which we call Single jet. It is the Jets-only model fine-tuned on single AK4 jets of Collide-2V, and serves as our jet-level reference in which each jet is tagged individually without the rest of the event.
Figure 5. Jet flavor tagging on the labeled AK4 jets of the Collide-2V test events. Left: number of , , and light jets per event. Middle and right: background rejection as a function of the signal efficiency for tagging and tagging, for the Events+Jets and the Events-only model, as well as for the Single jet model. The line style indicates the background flavor. Jets are ranked by the discriminant , built from the predicted probabilities of the signal flavor and of the background flavor. Bands show the statistical uncertainty, and curves end where fewer than 20 background jets pass the selection.
The middle panel shows tagging. Both models with access to the full event reject jets and light jets better than the Single jet model, and the Events+Jets model rejects jets best. Table V gives the rejections at a -jet efficiency of 70%. There, the Events-only model rejects jets about four times better than the Single jet model, and the Events+Jets model another three times better than the Events-only model. For both event models, so few light jets pass that we can only give a lower limit on the light-jet rejection.
| Background | tagging | tagging | ||
| jets | Light jets | jets | Light jets | |
| Events+Jets | ||||
| Events-only | ||||
| Single jet |
Table V. Background rejection of the jet-flavor heads on all labeled AK4 jets of the Collide-2V test events, for the Events+Jets, the Events-only, and the Single jet model. The tagger is evaluated at a -jet efficiency of 70%, the tagger at a -jet efficiency of 30%, and each column gives the rejection of one background flavor. Where fewer than 20 background jets pass the working point, the rejection is limited by the size of the test set, and we give the lower limit at 95% confidence level. Bold marks the highest rejection where it exceeds the second highest by more than two standard deviations.
The right panel shows tagging. Against jets, the order of the three models is the same and the differences are larger than for the -jet rejection in tagging. At a -jet efficiency of 30%, the Events-only model rejects jets about sixteen times better than the Single jet model, and the Events+Jets model again three times better than the Events-only model. Against light jets, these advantages disappear. The two event models agree within their uncertainties, and the Single jet model is slightly ahead at the working point.
The event models thus gain where jets have to be identified, in line with the pairs seen in the left panel. The additional gain of the Events+Jets model does not come from more flavor-labeled events. Both event models learn the jet flavor from the same Collide-2V labels, and the Events+Jets model passed over the Collide-2V training events 14.4 times, compared with 25.4 for the Events-only model. We therefore attribute it to the JetClass jets in the training set, possibly to the classes and , which require the model to distinguish decays to quarks from decays to quarks. Each model was trained once, so the uncertainties do not include the variation between trainings.
Fine-tuning on top tagging
In the last test we measure how well the pre-trained models adapt to a new dataset. We fine-tune the Events+Jets and the Jets-only model on the top-tagging dataset described in Sec. II C, a benchmark that is commonly used to evaluate pre-trained jet models. Both models have already learned to separate top-quark jets from QCD jets in JetClass. The top-tagging dataset nevertheless differs from JetClass in its detector simulation and its jet selection, and it provides only the four-momenta of the constituents.
As described in Sec. IIIB, the jets are therefore presented with the JetClass dataset token and in the kinematic mode. The top-tagging head is the pre-trained jet-class head, of which we keep only the two outputs for
QCD and jets. We train with a cross-entropy loss on 1 k, 10 k, 100 k, and finally all 1.2 M labeled training jets. For each training set size we run five fine-tunings with different seeds, select the checkpoint with the highest validation AUC, and evaluate it on the full test set. We also evaluate both pre-trained models on the test set without any fine-tuning, which we call zero-shot. As a baseline, the same network is trained from random initialization on the labeled jets alone (referred to as from scratch). Table XIII in Appendix D lists all settings.
| Group | Parameter | Value |
| Input | dataset token | JetClass |
| Input | feature mode | kinematic |
| Input | process token | NULL |
| Input | continuous inputs | exact values, not dithered |
| Initialization | network | pre-trained Events+Jets or Jets-only model, or random (from scratch) |
| Initialization | top-tagging head | jet-class head, outputs for QCD and |
| Training | loss | cross-entropy of the classification pass, generative pass not used |
| Training | optimizer | AdamW, , , , weight decay 0.01 |
| Training | peak learning rate | for the MLP and query of the head, for all other weights |
| Training | peak learning rate, from scratch | / / / for all weights |
| Training | schedule | linear warm-up over 10% of the steps, then cosine to 5% of the peak |
| Training | batch size | 100 / 100 / 512 / 512 |
| Training | steps | 1000 / 2000 / 4000 / 40 000 |
| Training | passes over the labeled jets | 100 / 20 / 20 / 17 |
| Training | gradient clipping, precision, dropout | 1.0 (norm), bf16 mixed, 0 |
| Selection | validation set | about 40 000 jets |
| Selection | validation every | 10 / 100 / 200 / 500 steps |
| Selection | checkpoint | highest validation AUC |
| Selection | runs | 5 per training set size |
Table XIII. Settings of the fine-tuning on top tagging in § 1.3 D. Where four values are given, they apply to 1 k, 10 k, 100 k, and 1.2 M labeled training jets.
Figure 6 shows the background rejection , the inverse of the background efficiency at a signal efficiency of 30%, as a function of the number of labeled training jets.
Figure 6. Background rejection at a signal efficiency of on the top-tagging dataset as a function of the number of labeled training jets. The zero-shot points show the pre-trained models evaluated without any fine-tuning. The from-scratch network is the same network trained from random initialization on the labeled jets alone. Error bars show the standard deviation over five fine-tunings. Published results for OmniLearned [11] and the fine-tuned L-GATr [56] on the full training set are shown with their number of parameters and the uncertainties quoted in their papers. Points at the same training set size are offset horizontally for readability.
jets. Without any fine-tuning, both pre-trained models already reject more background than the from-scratch network trained on all 1.2 M jets. With 1 k labeled jets, the from-scratch network barely separates signal from background, while the fine-tuned models improve on their zero-shot rejection. Their rejection then rises with every increase of the training set. The two pre-trained models lie close together at every training set size, with differences comparable to the spread of the five fine-tunings.
Table VI compares the models fine-tuned on the full training set with recent pre-trained taggers. These are OmniLearned [11] in three sizes, pre-trained on about one billion jets, and the fine-tuned L-GATr [56], a Lorentz-equivariant network with about one million parameters pre-trained on JetClass. Accuracy and AUC are nearly identical for all models, so the comparison rests on the background rejections. In , both OmniX models clearly exceed OmniLearned-S, are compatible with OmniLearned-M, and reject at least as much background as the fine-tuned L-GATr. Only OmniLearned-L, with four times as many parameters, is significantly better. Both OmniX models reach this level with a tenth of the pre-training jets used for OmniLearned. The comparison is not a controlled one, since the models differ in architecture, size, and pre-training data at the same time.
Table VI. Top tagging with the full training set. and are the background rejections at signal efficiencies of 0.5 and 0.3. Uncertainties are the standard deviation over five fine-tunings. Where quoted, they are at most for accuracy and AUC and are not shown. Reference values are taken from their papers. Model parameters are those of the fine-tuned network. Parameters and pre-training set sizes are rounded to millions.
A model that generates jets and events with high fidelity is therefore also a competitive tagger. As in the previous sections, the Events+Jets and the Jets-only model perform equally well. Their values agree within the spread of the fine-tunings, and the Events+Jets model has the slightly higher . Additional training on Collider-2V events does not cost any top-tagging performance.
Conclusions
We have introduced OmniX, a foundation model that operates on individual particles and carries out both generative and classification tasks at the level of single jets and of complete events within a single network. To our knowledge, this is the first time an event-level foundation model operates on three hierarchies at the same time: event level, jet level, and particle level. Two ingredients make this possible. First, every jet or event is written as one sequence: conditioning tokens, followed by a coarse plan that holds the particle multiplicity and summary quantities of up to twenty jets, followed by the individual particles. This means that the model is encoding both high-level and low-level features of an intrinsically hierarchical event, and is able to attend to everything. Second, the split-and-delay mechanism of SPADE [22] is applied to both the plan and the particles, which keeps the vocabulary small while still allowing high-resolution features. An added benefit of binning is that it requires no trained tokenizer model. This makes the model flexible in terms of features and datasets.
OmniX was pre-trained jointly on Collide-2V events with up to twenty small-radius jets and on single large-radius jets from JetClass, using next-token prediction and classification as simultaneous objectives. To isolate the effect of the joint events and jets training, we compared it with versions trained only on jets and only on events.
In generation, the joint model matches the specialized ones. For full events, the Events+Jets and the Events-only model agree with the test data to within a few percent in the bulk of most distributions, and share the same remaining deviations. For single jets, the results of the Events+Jets and the Jets-only model are nearly indistinguishable. Learning jets and events together therefore comes at no cost in fidelity.
Classification gives a different picture. When tagging the flavor of all jets in an event simultaneously, access to the full event improves the separation of and jets by roughly an order of magnitude compared with a tagger that sees one jet at a time, as the model can exploit correlations between the jets of an event. Beyond this, the Events+Jets model outperforms the Events-only model, although it has seen each Collide-2V event fewer times. We attribute this gain to the JetClass jets in the pre-training data, and note that it is based on a single training run per model. On single-jet tasks, the Events+Jets and the Jets-only model perform equally: their JetClass accuracy and rejections agree within uncertainties, and after fine-tuning on the top-tagging dataset both are competitive with pre-trained models of similar size. Without any top-tagging labels (zero-shot), both already exceed the same network trained from scratch on the full top-tagging dataset.
Taken together, a consistent picture emerges. OmniX handles both representations in a single model, benefits from global correlations where they are available, and shows transfer from jets to events in flavor tagging. We observe no transfer in the opposite direction, and none in generation. Whether this changes with substantially more and more diverse pre-training data, and whether the flavor-tagging gain is stable across training runs, are natural next questions.
Event-level models also raise new questions. The non-locality that improves performance introduces correlations between the objects of an event, which may make calibration and uncertainty quantification more challenging than for single-jet taggers. We leave the development of protocols for this problem to future work.
Code Availability
The code is available at https://github.com/uhh-pd-ml/OmniX.
Acknowledgments
The authors thank Thea Aarrestad for support with the Collide-2V dataset. We are also grateful to Louis Moureaux for clarifying discussions during the preparation of this manuscript, and Carsten Burgard for assisting us in data preparation. The authors acknowledge funding via the SciFM consortium (05D25BGU4) funded by the German Federal Ministry of Research, Technology, and Space (BMFTR) in the ErUM-Data action plan, as well as support from the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under the German Excellence Initiative – EXC 2121 Quantum Universe – 390833306. This work has used the HPC-cluster Hummel-2 at the University of Hamburg. Hummel-2 was funded by Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – 498394658.
Data Availability
The JetClass dataset is available at https://zenodo.org/records/6619768. The Top tagging benchmark dataset is available at https://zenodo.org/records/2603256. 2V dataset is available upon request from the Collide-2V authors [23].
Declaration on the use of AI tools
Claude Code was used for coding assistance, under human supervision.
[46] D. Godi, D. Kobylianskii, and E. Gross, Scaling Collider Event Generation with Residual-Quantized Tokens (2026), arXiv:2610.00569 [hep-ex].
[47] J. Ho and T. Salimans, Classifier-Free Diffusion Guidance (2022), arXiv:2207.12598 [cs.LG].
[48] H. Touvron, M. Cord, A. Sablayrolles, G. Synnaeve, and H. Jégou, in IEEE/CVF International Conference on Computer Vision (ICCV) (2021) arXiv:2103.17239.
[49] R. Xiong, Y. Yang, D. He, K. Zheng, S. Zheng, C. Xing, H. Zhang, Y. Lan, L. Wang, and T.-Y. Liu, in International Conference on Machine Learning (ICML) (2020) arXiv:2002.04745.
[50] N. Shazeer, Fast Transformer Decoding: One Write-Head is All You Need (2019), arXiv:1911.02150 [cs.NE].
[51] J. Su, Y. Lu, S. Pan, A. Murtadha, B. Wen, and Y. Liu, RoFormer: Enhanced Transformer with Rotary Position Embedding (2021), arXiv:2104.09864 [cs.CL].
[52] N. Shazeer, GLU Variants Improve Transformer (2020), arXiv:2002.05202 [cs.LG].
[53] L. Liu, H. Jiang, P. He, W. Chen, X. Liu, J. Gao, and J. Han, in International Conference on Learning Representations (2020) arXiv:1908.03265.
[54] M. R. Zhang, J. Lucas, G. Hinton, and J. Ba, in Advances in Neural Information Processing Systems (2019) arXiv:1907.08610.
[55] J. Thaler and K. Van Tilburg, JHEP 03, 015, arXiv:1011.2268 [hep-ph].
[56] J. Brehmer, V. Bresó, P. de Haan, T. Plehn, H. Qu, J. Spinner, and J. Thaler, SciPost Phys. 19, 108 (2025), arXiv:2411.00446 [hep-ph].
[57] P. Virtanen et al., Nature Methods 17, 261 (2020).
[58] S. Chatrchyan et al. (CMS), JINST 8 (04), P04013, arXiv:1211.4462 [hep-ex].
[59] R. Kansal, A. Li, J. Duarte, N. Chernyavskaya, M. Pierini, B. Orzari, and T. Tomei, Phys. Rev. D 107, 076017 (2023), arXiv:2211.10295 [hep-ex].
[60] R. Kansal, C. Pareja, Z. Hao, and J. Duarte, J. Open Source Softw. 8, 5789 (2023).
[61] P. T. Komiske, E. M. Metodiev, and J. Thaler, JHEP 04, 013, arXiv:1712.07124 [hep-ph].
[62] D. Hendrycks and K. Gimpel, Gaussian Error Linear Units (GELUs) (2016), arXiv:1606.08415 [cs.LG].
[63] S. Elfwing, E. Uchibe, and K. Doya, Neural Networks 107, 3 (2018), arXiv:1702.03118.
Collide-2V
Preprocessing and selections
The physical of a particle is the recorded multiplied by the PUPPI weight. Particles with PUPPI weight zero are discarded, as are pileup electrons and muons carrying the IsRecoPU Delphes flag. In the Collide-2V dataset, the and values are stored using float16. With our chosen binning (see Sec. III A and Table II), this would be too coarse. We therefore dequantize these variables by drawing a value within the float16 rounding interval. For charged hadrons, we rebuild the true pseudorapidity from the stored , which agrees better with the generator-level pseudorapidity.3 The stored pseudorapidity for neutral particles, electrons and muons is used as-is. All jet kinematic quantities are recomputed from the jet constituents, instead of using the stored Delphes values. The jet membership and flavor label from Delphes are kept. The tracker acceptance of the Phase-2 card reaches . We remove the few particles that fall outside of this region.
Smearing parameters for Collide-2V
Smearing is added to the fully unsmeared Collide-2V dataset using values extracted from Fig. 12.12 in Ref. [33]. The purpose of this added smearing is to give a phenomenologically reasonable starting point that lets us demonstrate the use of the model for flavor tagging. The plots in Ref. [33] give the resolution in and for for three values: 1, 10 and 100 GeV. To cover the range in the Collide-2V dataset better, we perform a fit over the given points. Since we found a joint fit for and to be suboptimal, we perform the fit in separately in these two regions. The points from the three values at and the three at are pooled into bins of 0.1 in . The fitting formula we use for the fit in is
where is the bin center in ; and are parameters to be fitted in this bin, and is a parameter to be fitted over the corresponding region . For each bin we calculate
where runs over all six points in bin , and is half the error bar on the log scale plots in Ref. [33] (or half a marker height where the bar is hidden). We then obtain by minimizing over with the help of the minimize_scalar function from scipy.optimize [57]:
This gives , and . Equation (A1) is then used to extrapolate below 1 GeV and above 100 GeV. For in , this fit does not work due to the slope for high changing abruptly around . Instead, we approximate this region using a piecewise linear interpolation on the log-log plot. For GeV, we then continue the resolution as . For GeV, the resolution is kept constant.
Discretization
OmniX predicts each continuous feature only as a bin of its codebook (Table II). To check whether this limits the fidelity of the generated samples, we encode test data into tokens and decode them exactly as in generation: continuous values are drawn at random within their bins, and the constituents of each jet are placed around the jet axis decoded from the plan. This round trip produces what a model that had learned the token distribution perfectly would generate. Any difference from the input is due to the binning alone. The three models use the same binning, so the result holds for all of them.
From each dataset we draw two disjoint test samples,
of 500 k JetClass jets or 100 k Collide-2V events each, the latter with the five processes in their dataset proportions. In Table VII, the Truth row compares the two unchanged samples, and the Tokenized row compares the second sample after the round trip with the first. The two rows agree within their uncertainties in every metric, and the distributions in Figure 7 agree within the statistical uncertainty of the data. Any deviation of a generated sample beyond the Truth row therefore comes from the model, not from the discretization.
Figure 7. Distributions of test objects before (test data) and after (tokenized) encoding and decoding, for the mass and of JetClass jets (left), and for the invariant mass of the two leading AK4 jets and the magnitude of the vector sum of the particle transverse momenta in Collide-2V events (right). Both curves show the same jets and events, so any difference between them can be attributed to the round trip. The lower panels show the ratio to the test data, with its statistical uncertainty as the gray band.
| Global | Wasserstein distance | ||||||
| JetClass jets | FPD | KPD | AUC | GeV | GeV | ||
| Truth | |||||||
| Tokenized | |||||||
| Global | Wasserstein distance | ||||||
| Collide-2V events | AUC | GeV | GeV | GeV | |||
| Truth | |||||||
| Tokenized |
Table VII. The metrics of Table IX to Table XI for the round trip of real jets and events through the tokenization, on the samples of Appendix B.
Additional fidelity comparisons
This appendix shows an example event, examines the jets that the models assign themselves, and compares the generated samples with the test data in more observables than § 1.3 A 1 and IV A 2, together with distance metrics.
Example event
Figure 8 shows a semi-leptonic event generated by OmniX next to an event of the same process from the test set. The generated event looks qualitatively similar to the one from the test set, with several AK4 jets, two of them marked , a lepton, and soft particles over the full range . In both events the jets are clustered from the particles with FastJet [39] (anti- [38], , GeV, ). A jet is marked if it contains at least three charged particles with , where is the smearing resolution of Appendix A2. This simple rule follows the high-purity track counting tag of CMS [58], which uses the impact parameter significance of the third-ranked track in a jet.
Figure 8. A semi-leptonic test event (left) and an event generated by OmniX with the process token set to semi-leptonic (right). In both examples, the AK4 jets have been clustered with FastJet from the full set of particles in the event. Jets are numbered by decreasing . Gray particles belong to no jet. Jets marked pass the track counting rule described in the text. Stars mark electrons and muons with GeV and the marker area scales with . The events were selected by a fixed rule: among the events with exactly two jets marked , we take those with the most common jet multiplicity and show the one closest to their median .
Reclustered and model-assigned jets
The largest deviation in Figure 3 appears in the number of jets. Figure 9 shows that it arises when the generated particles are reclustered, and that it is absent in the jets that the models generate themselves. As described in Sec. III A, every particle carries a jet index, so that a generated event already contains its jets and no clustering is needed to obtain them. Figure 9 compares the two jet definitions. In the top row, the AK4 jets are reclustered from all particles with the anti- algorithm (, GeV, ), as in the main text. In the bottom row, a jet consists of all particles that carry the same jet index for the generated events as assigned by the model. With their own jets, both models agree with the test events in all four observables. The models thus generate accurate jets through their plan and the jet index.
The deviations in the top row show that these jets do not always match the AK4 definition exactly. Some of them have a below the threshold of 15 GeV or contain particles further than from the jet axis, so that the anti- algorithm groups the generated particles into slightly different jets.
Further observables and metrics
Figure 10 and Figure 11 and Table IX and Table X split the generated Collide-2V events of Figure 3 by the process token they were generated with into the three and the two QCD processes, and compare each group with as many test events of the same processes. Figure 12 and Table XI show JetClass jets, generated with the process token set to each of the ten classes in equal parts. In the generated and in the test events, AK4 jets are clustered from all particles with the anti- algorithm [38, 39] with and kept if they satisfy GeV and .
| Global AUC | Wasserstein distance GeV | GeV | GeV | |||
| Truth | 0.502 | 0.47 0.26 | 6.6 2.0 | 0.18 0.06 | 0.58 0.14 | 0.17 0.06 |
| Events+Jets | 0.571 | 5.2 0.5 | 44.0 2.3 | 4.93 0.24 | 4.7 0.5 | 0.15 0.04 |
| Events-only | 0.558 | 5.9 0.4 | 58.8 2.2 | 4.59 0.23 | 4.2 0.4 | 0.18 0.06 |
Table IX. Fidelity of the generated events of Figure 10, compared with the same test events. of the leading-jet and of use the events with at least one and two jets, respectively.
| Global | Wasserstein distance | |||||
| AUC | GeV | GeV | GeV | |||
| Truth | 0.501 | |||||
| Events+Jets | 0.572 | |||||
| Events-only | 0.563 |
All tables quote the same metrics. The Wasserstein-1 distance compares the generated and the test distribution of a single observable and is given in the unit of that observable. Its uncertainty is the standard deviation over ten bootstrap resamplings of both samples. The other metrics compare the samples in several observables at once. The AUC is the area under the ROC curve of a gradient-boosted decision tree that is trained to separate generated from test objects and evaluated on a held-out half of the two samples. An AUC of 0.5 means that the classifier cannot tell them apart. For jets, the classifier uses eight observables: the jet , the mass, the number of constituents, the girth , the momentum dispersion , the number of charged constituents, and the fractions carried by the charged constituents and by the leading constituent. For jets we also calculate the Fréchet physics distance (FPD) and the kernel physics distance (KPD) [59], computed with the JetNet library [60] on energy flow polynomials [61]. Both are established for jets only, so we do not quote them for events. A small fraction of generated jets, 0.3% for both models, has at least one of the eight observables outside the range covered by the test jets. These jets are removed before FPD, KPD, and the AUC are computed, because a few extreme jets would otherwise dominate the FPD. The W1 distances use all jets. In every table, the Truth row compares a second, independent sample of test objects with the first and gives the value that each metric takes for two samples from the same distribution. For events, the gradient-boosted decision tree is trained on the 22 features listed in Table VIII.
| Level | Observables |
| Particles (10) | multiplicity of all particles; multiplicity of charged particles, photons, electrons, and muons; multiplicity of tracks with ; scalar sum and ; leading-particle ; fraction of the scalar sum at |
| Jets (9) | number of jets; and mass of the two leading jets; of the leading jet, , ; |
| Out-of-jet (3) | multiplicity, sum, and fraction |
Table VIII. The 22 event observables used by the classifier for Collide-2V events. Jet observables refer to the AK4 jets ordered in , and quantities of absent jets are set to zero.
Hyperparameters
Table XII lists the hyperparameters shared by all three models. The settings that differ between the three models, including the number of training steps, are given in Table III. No extensive hyperparameter optimization was performed. Table XIII lists the settings of the fine-tuning on top tagging in § 1.3 D.
| Group | Parameter | Value |
| Sequence | maximum number of particles | 521 (Collide-2V), 183 (JetClass) |
| Sequence | maximum sequence length | 704 |
| Sequence | particle order | random, redrawn each time an event is seen |
| Sequence | delay orders | 32 of 420 admissible |
| Sequence | feature mode | full or kinematic, probability 0.5 each |
| Sequence | process token given | probability 0.5 in training, never in validation |
| Sequence | conditioning + plan positions | 4 + 25 |
| Conditioning codebooks | dataset | 2 (JetClass, Collide-2V) |
| Conditioning codebooks | feature mode | 2 (full, kinematic) |
| Conditioning codebooks | delay order | 32 |
| Conditioning codebooks | process | 16 (NULL, 10 JetClass classes, 5 Collide-2V processes) |
| Backbone | blocks | 8, pre-layer-norm, final layer norm |
| Backbone | width | 768 |
| Backbone | attention | multi-query, 8 heads of dimension 96 |
| Backbone | position encoding | rotary |
| Backbone | feed-forward | SwiGLU, hidden size 3072 |
| Backbone | dropout | 0 |
| Backbone | parameters | 67.3 M |
| Inputs | token embedding | 7 × 64, layer norm, linear 448 → 768 |
| Inputs | continuous input MLP | 3 → 128 → 512 → 768, GELU [62] |
| Inputs | counter MLP | 7 → 64 → 768, SiLU [63], zero-initialized output |
| Inputs | pairwise-bias MLP | 8 → 64 → 64 → 64 → 8, SiLU, zero-initialized output |
| Heads | generative | one linear layer per particle feature and per plan quantity |
| Heads | jet-class (JetClass) | 2 class-attention blocks (8 heads, SwiGLU 3072) |
| Heads | MLP 768 → 256 → 256 → 10, SiLU (19.2 M) | |
| Heads | jet-flavor (Collide-2V) | 3 blocks (self- and cross-attention, SwiGLU) |
| Heads | MLP 768 → 256 → 256 → 3, SiLU (36.3 M) | |
| Training | optimizer | Ranger (RAdam + Lookahead) |
| Training | , , | 0.95, 0.999, |
| Training | Lookahead , | 0.25, 16 |
| Training | weight decay | , decoupled, on all parameters |
| Training | gradient clipping | 1.0 (norm) |
| Training | batch size | 1024 events (8 × 128 on 8 H100 GPUs) |
| Training | precision | bf16 mixed |
| Training | loss weights | 1 for every term |
| Learning rate | warm-up | linear to over 4096 steps |
| Learning rate | constant phase | , at most steps |
| Learning rate | anneal | cosine to over , rounded up to a multiple of 8192 steps |
| Generation | sampling | temperature 1, key-value cache |
| Generation | delay order, feature mode | uniform over the codebook; full mode |
Table XII. Hyperparameters shared by all three OmniX models. is the length of the constant learning-rate phase.
References
- [1]Bommasani, R., & al., . et . (2022). On the opportunities and risks of foundation models. https://arxiv.org/abs/2108.07258
- [2]Hallin, A. (2025). 2nd European AI for Fundamental Physics Conference. 2nd European AI for Fundamental Physics Conference. https://arxiv.org/abs/2509.21434
- [3]Qu, H., & Gouskos, L. (2020). Particle Transformer for jet tagging. Physical Review D, 101, 056019. https://doi.org/10.1103/PhysRevD.101.056019
- [4]J. Birk, A. Hallin, and G. Kasieczka, Mach. Learn. Sci. Tech. 5, 035031 (2024), arXiv:2403.05618 [hep-ph].DOI
- [5]T. Golling, L. Heinrich, M. Kagan, S. Klein, M. Leigh, M. Osadchy, and J. A. Raine, Mach. Learn. Sci. Tech. 5, 035074 (2024), arXiv:2401.13537 [hep-ph].DOI
- [6]C. Li et al., Accelerating Resonance Searches via Signature-Oriented Pre-training (2024), arXiv:2405.12972 [hep-ph].arXiv
- [7]V. Mikuni and B. Nachman, Phys. Rev. D 111, L051504 (2025), arXiv:2404.16091 [hep-ph].arxiv.org/abs/2404.16091
- [8]ATLAS Collaboration, Carpe Datum: Scaling behavior of transformers for heavy hadron flavor identification, Tech. Rep. (CERN, Geneva, 2026).
- [9]M. Vigl, N. Hartman, M. Kagan, and L. Heinrich, Neural Scaling Laws for Boosted Jet Tagging (2026), arXiv:2602.15781 [hep-ex].arXiv
- [10]O. Amram, D. A. Faroughy, T. Gerdes, A. Hallin, G. Kasieczka, M. Krämer, H. Reyes-Gonzalez, and D. Shih, Neural Scaling Laws for Jet Generation (2026), arXiv:2605.28940 [hep-ph].arXiv
- [11]W. Bhimji, C. Harris, V. Mikuni, and B. Nachman, Phys. Rev. D 113, 032020 (2026), arXiv:2510.24066 [hep-ph].DOI
- [12]T. Kishimoto, M. Morinaga, M. Saito, and J. Tanaka, in 37th Conference on Neural Information Processing Systems (2023) arXiv:2312.06909 [hep-ex].arxiv.org/abs/2312.06909
- [13]A. J. Wildridge, J. P. Rodgers, E. M. Colbert, Y. yao, A. W. Jung, and M. Liu, in Postponed: Machine Learning and the Physical Sciences: Workshop at NeurIPS 2024 (2024) arXiv:2412.07867 [hep-ex].arxiv.org/abs/2412.07867
- [14]J. Ho, B. R. Roberts, S. Han, and H. Wang, JINST 21 (08), P08006, arXiv:2412.10665 [hep-ph].DOI
- [15]T. Kishimoto, M. Morinaga, M. Saito, and J. Tanaka, PoS ISGC2025, 001 (2025).
- [16]T.-H. Hsu et al., Foundation model for particle collision data analysis (2026), arXiv:2601.17126 [hep-ex].DOI
- [17]F. Mokhtar, J. Pata, M. Kagan, and J. Duarte, PRX Intell. 1, 023012 (2026), arXiv:2606.14373 [hep-ex].DOI
- [18]L. Wu, Q. Liu, A. Yue, and J. Gonski, A Lightweight Foundation Model for Collider Physics with Multi-Domain Adaptation (2026), arXiv:2607.27501 [cs.LG].arXiv
- [19]K. Huang, Y. Li, J. Zhao, P. Li, P. Li, X. Lyu, Y. Song, S. Sun, and Y. Zheng, Learning transferable event representations for charmed baryon physics at BESIII (2026), arXiv:2607.29088 [physics.data-an].arXiv
- [20]M. Hart, K. Y. Wong, S. Van Stroud, P. Duckett, T. Scanlon, and G. Facini, Reconstruct everything everywhere all at once: An end-to-end model for future colliders (2026), arXiv:2610.41889 [hep-ex].arXiv
- [21]M. Vigl, N. Hartman, and L. Heinrich, Mach. Learn. Sci. Tech. 5, 025075 (2024), arXiv:2401.13536 [hep-ex].arxiv.org/abs/2401.13536
- [22]J. Birk, F. Gaede, A. Hallin, G. Kasieczka, M. Mozzanica, and H. Rose, SPDE: Split-and-Delay Embeddings for Autoregressive High-Granularity Calorimeter Simulation (2026), arXiv:2606.11304 [physics.ins-det].arXiv
- [23]Moreno, E. A. et . al . (2025). COLLIED-2V: 750 million dual-view LHC event dataset for low-latency machine learning.
- [24]Qu, H., Li, C., & Qian, S. (2022). JetClass: A Large-Scale Dataset for Deep Learning in Jet Physics.
- [25]A. Butter et al., SciPost Phys. 7, 014 (2019), arXiv:1902.09914 [hep-ph].DOI
- [26]G. Kasieczka, T. Plehn, J. Thompson, and M. Russel, Top Quark Tagging Reference Dataset (2019), version v0 (2018_03_27).DOI
- [27]J. Alwall, R. Frederix, S. Frixione, V. Hirschi, F. Maltoni, O. Mattelaer, H. S. Shao, T. Stelzer, P. Torrielli, and M. Zaro, JHEP 07, 079, arXiv:1405.0301 [hep-ph].DOI
- [28]C. Bierlich et al., SciPost Phys. Codebases 8, 10.21468/SciPostPhysCodeb.8 (2022).
- [29]C. Bierlich et al., SciPost Phys. Codebases 8-r8.3, 10.21468/SciPostPhysCodeb.8-r8.3 (2022).
- [30]J. de Favereau, C. Delaere, P. Demin, A. Giammanco, V. Lemaître, A. Mertens, and M. Selvaggi (DELPHES 3), JHEP 02, 057, arXiv:1307.6346 [hep-ex].arXiv
- [31]D. Bertolini, P. Harris, M. Low, and N. Tran, JHEP 10, 059, arXiv:1407.6013 [hep-ph].DOI
- [32]A. M. Sirunyan et al. (CMS), JINST 15 (09), P09018, arXiv:2003.00503 [hep-ex].arXiv
- [33](CMS), C. C. (2017). The Phase-2 Upgrade of the CMS Tracker.
- [34]Katel, S., Li, H., Zhao, Z., Mokhtar, F., & Duarte, J. (2024). Postponed: Machine Learning and the Physical Sciences: Workshop at NeurIPS 2024. 2412.05333
- [35]J. Bardhan, R. Agrawal, A. Tilak, C. Neeraj, and S. Mitra, HEP-JEPA: A foundation model for collider physics using joint embedding predictive architecture (2025), arXiv:2502.03933 [cs.LG].arXiv
- [36]Z. Hao, R. Kansal, A. Gandrakota, C. Sun, J. Ngadiuba, J. Duarte, and M. Spiropulu, RINO: Renormalization Group Invariance with No Labels (2025), arXiv:2509.07486 [hep-ex].arXiv
- [37]T. Sjöstrand, S. Ask, J. R. Christiansen, R. Corke, N. Desai, P. Ilten, S. Mrenna, S. Prestel, C. O. Rasmussen, and P. Z. Skands, Comput. Phys. Commun. 191, 159 (2015), arXiv:1410.3012 [hep-ph].DOI
- [38]M. Cacciari, G. P. Salam, and G. Soyez, JHEP 04, 063, arXiv:0802.1189 [hep-ph].DOI
- [39]M. Cacciari, G. P. Salam, and G. Soyez, Eur. Phys. J. C 72, 1896 (2012), arXiv:1111.6097 [hep-ph].DOI
- [40]J. Birk, A. Hallin, G. Kasieczka, N. Mzhardova, I. Pang, and D. Shih, Mach. Learn. Sci. Tech. 7, 035042 (2026), arXiv:2512.04149 [hep-ph].arXiv
- [41]A. van den Oord, O. Vinyals, and K. Kavukcuoglu, in Advances in Neural Information Processing Systems (2017) arXiv:1711.00937.arxiv.org/abs/1711.00937
- [42]J. Birk, F. Gaede, A. Hallin, G. Kasieczka, M. Mozzanica, and H. Rose, JINST 20 (07), P07007, arXiv:2501.05534 [hep-ph].arxiv.org/abs/2501.05534
- [43]D. Lee, C. Kim, S. Kim, M. Cho, and W.-S. Han, in IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (2022) arXiv:2203.01941.arxiv.org/abs/2203.01941
- [44]J. Krupa, S. Klein, N. Kakati, D. Murnane, B. Hashemi, E. Gross, L. Heinrich, and M. Kagan, Precision Tokenization for Multi-Modal Data in High Energy Physics (2026), arXiv:2610.13876 [hep-ph].arXiv
- [45]N. Kakati, D. Murnane, B. Hashemi, S. Klein, J. Krupa, E. Gross, L. Heinrich, and M. Kagan, Prompting Particle Physics: Tokenized Multi-modal Foundation Models for Combinatorially Many Tasks (2026), arXiv:2609.31862 [hep-ph].arXiv
- [46]Godi, D., Kobylianskii, D., & Gross, E. (2026). Scaling Collider Event Generation with Residual-Quantized Tokens. https://doi.org/arXiv:2610.00569
- [47]J. Ho and T. Salimans, Classifier-Free Diffusion Guidance (2022), arXiv:2207.12598 [cs.LG].arxiv.org/abs/2207.12598
- [48]H. Touvron, M. Cord, A. Sablayrolles, G. Synnaeve, and H. Jégou, in IEEE/CVF International Conference on Computer Vision (ICCV) (2021) arXiv:2103.17239.arxiv.org/abs/2103.17239
- [49]R. Xiong, Y. Yang, D. He, K. Zheng, S. Zheng, C. Xing, H. Zhang, Y. Lan, L. Wang, and T.-Y. Liu, in International Conference on Machine Learning (ICML) (2020) arXiv:2002.04745.arxiv.org/abs/2002.04745
- [50]N. Shazeer, Fast Transformer Decoding: One Write-Head is All You Need (2019), arXiv:1911.02150 [cs.NE].arxiv.org/abs/1911.02150
- [51]J. Su, Y. Lu, S. Pan, A. Murtadha, B. Wen, and Y. Liu, RoFormer: Enhanced Transformer with Rotary Position Embedding (2021), arXiv:2104.09864 [cs.CL].arxiv.org/abs/2104.09864
- [52]N. Shazeer, GLU Variants Improve Transformer (2020), arXiv:2002.05202 [cs.LG].arxiv.org/abs/2002.05202
- [53]L. Liu, H. Jiang, P. He, W. Chen, X. Liu, J. Gao, and J. Han, in International Conference on Learning Representations (2020) arXiv:1908.03265.arxiv.org/abs/1908.03265
- [54]M. R. Zhang, J. Lucas, G. Hinton, and J. Ba, in Advances in Neural Information Processing Systems (2019) arXiv:1907.08610.arxiv.org/abs/1907.08610
- [55]J. Thaler and K. Van Tilburg, JHEP 03, 015, arXiv:1011.2268 [hep-ph].DOI
- [56]J. Brehmer, V. Bresó, P. de Haan, T. Plehn, H. Qu, J. Spinner, and J. Thaler, SciPost Phys. 19, 108 (2025), arXiv:2411.00446 [hep-ph].DOI
- [57]P. Virtanen et al., Nature Methods 17, 261 (2020).
- [58]S. Chatrchyan et al. (CMS), JINST 8 (04), P04013, arXiv:1211.4462 [hep-ex].
- [59]R. Kansal, A. Li, J. Duarte, N. Chernyavskaya, M. Pierini, B. Orzari, and T. Tomei, Phys. Rev. D 107, 076017 (2023), arXiv:2211.10295 [hep-ex].DOI
- [60]R. Kansal, C. Pareja, Z. Hao, and J. Duarte, J. Open Source Softw. 8, 5789 (2023).
- [61]P. T. Komiske, E. M. Metodiev, and J. Thaler, JHEP 04, 013, arXiv:1712.07124 [hep-ph].DOI
- [62]Hendrycks, D., & Gimpel, K. (2016). Gaussian Error Linear Units (GELUs). https://doi.org/arXiv:1606.08415
- [63]S. Elfwing, E. Uchibe, and K. Doya, Neural Networks 107, 3 (2018), arXiv:1702.03118.arXiv











