Manuscript Offprint
arXiv:2610.06784How to scale your HEP ML models: A recipe for robust architecture comparisons at scale
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Abstract
Much of the recent progress in machine learning domains such as language models has come from scaling laws that predict performance as a function of training effort. In high-energy physics (HEP) similar behavior has now been observed. To aid further study, we present a systematic procedure to derive robust scaling laws and compare design choices on the relevant budget axes for HEP tasks. We first validate the full scaling trajectory on toy problems and then apply the procedure to multi-task transformers on the 11 billion-jet ATLAS JetSet2 dataset, in both the compute-and data-constrained regimes. For the latter, we predict, to the best of our knowledge for the first time, the jointly optimal model size, training horizon, learning rate and batch size under early stopping. At compute-optimal scaling, we recover a near-equal dependence of model and dataset size, and find that auxiliary objectives lower the primary jet-classification loss at equal compute budget. Expanding the inputs toward lower-level data systematically lowers the loss while leaving the scaling exponent nearly unchanged. The onset of the power-law regime is itself set by scale: below a threshold in dataset size the loss carries little information about high-compute scaling, underscoring the value of large, high-quality full-simulation datasets as a foundation for scaling studies and the development of foundation models in HEP.
1 Introduction and Related work
Jet flavor tagging, the identification of the flavor of jets, including those originating from b- and c-quarks, -leptons, and light quarks or gluons, is a central component of the LHC [1] physics program. ATLAS [2] has progressively moved toward increasingly powerful neural-network-based taggers, from recurrent and deep-sets architectures over tracks [3] to graph and transformer models [4, 5], with the latest GN family [6–8] using transformers trained directly on low-level tracks and particle-flow constituents. A similar progression has taken place at CMS [9] with UParT and GloParT [10–13], mirroring a broader move in jet physics toward constituent-level architectures [14–23].
In machine learning, increasing model size, training data, and compute has driven much of the recent progress in language [24–26] and vision [27]. Neural scaling laws [24, 25] quantify this dependence through power-law relations between achievable loss and model size N, dataset size D, and compute C. They can be used both to predict performance at a larger training budget and to decide how a given budget should be divided between N and D. General-purpose foundation models in industry have continued to grow in both model size and training data, reaching trillions of parameters [28–30]. This paradigm is now entering HEP, where foundation models trained on increasingly large samples are being explored with a variety of pretraining strategies [31–41]. For heavy-flavor tagging, ATLAS recently demonstrated the first Chinchilla-style [25] scaling laws for transformer-based taggers trained on billions of simulated jets [42], showing that large gains are possible from scaling compute alone, and CMS has studied transformer scaling for the same task [43]. Scaling behavior has also been studied across a growing range of other HEP problems, including data scaling of jet classifiers [44], compute-optimal scaling of boosted-jet taggers [45], jet [46] and full-event [47] generation, amplitude surrogates [48], foundation-model pretraining [49–51],
mvigl@slac.stanford.edu and over-parameterization effects in HEP data [52]. Taken together, these studies establish that a wide range of HEP tasks exhibit systematic scaling behavior.
Scaling models, however, requires more than observing performance as a function of model or dataset size, as the scaling behavior depends on whether each run is trained under appropriately tuned dynamics [53]. As scaling is explored more deeply in HEP, we offer this paper as a pedagogical guide to deriving robust scaling laws. We also study how scaling depends on choices within the machine-learning setup, such as auxiliary objectives and input features, and how these design choices can be compared.
The central issue is illustrated in Fig. 1. At fixed model size and shape, the optimal learning rate and batch size b change systematically with the training budget [54–58]. Fixing hyperparameters at a reference budget can therefore mix genuine scaling behavior with the movement of the training optimum. A robust scaling analysis must instead account for this movement explicitly across all scalable axes.

Figure 1: Validation-loss landscape of the flavor tagger trained with all auxiliary tasks included, at fixed model size , for training-token budgets , , and . The dashed line traces the optimal learning rate at each batch size for a given token budget, and the red marker the joint optimum . As the token budget grows, the optimal learning rate decreases at fixed batch size, while at fixed learning rate the optimal batch size grows. The joint optimum migrates toward larger batch sizes and learning rates. Scaling these quantities optimally and transferring them across model sizes and shapes is a prerequisite for constructing robust scaling laws.
In this work, we show that in the practical setting of jet flavor tagging the optimal training hyperparameters are themselves predictable through their own scaling laws. Building on theoretical descriptions of the joint optimum [59] and on parameterizations that make hyperparameters transferable across width and depth [60–65], we fit how the joint optimal learning rate, batch size and model shape move with the token budget. When this recipe is followed, the loss as a function of compute becomes a well-behaved scaling law (Fig. 2). The resulting compute-optimal frontier is a property of the architecture rather than of hyperparameter choices, and provides the basis for reliable comparisons of architectures, objectives, and input representations at scale.
The paper is structured as follows. Section 2 introduces the GN family tagger, the dataset, and the multi-task training setup. Section 3 reviews compute-optimal scaling laws, the logic of hyperparameter tuning under a compute constraint, and how architectures should be

Figure 2: Jet-classification loss against training compute, with every run trained at its predicted optimal and at the compute-optimal allocation at every budget C.
compared at scale. Section 4 follows a scaling law from onset to the irreducible floor, on a teacher–student problem with a known floor and on MLP probes over compressed jets. Section 5 derives the hyperparameter recipe: a width-and depth-transferable parameterization of the joint optimum , and the optimal aspect ratio. Section 6 applies the recipe to the full tagger and extracts the compute-optimal allocation, and Section 7 extends it to repeated data under early stopping, predicting the jointly optimal model size, training horizon, learning rate and batch size. Section 8 compares design choices such as auxiliary losses and input parameters along their own compute-optimal frontiers. Section 9 translates the loss into background rejection and projects the performance at larger budgets, followed by a discussion and conclusions in Section 10.
Dataset The JetSet2 dataset [69] contains 11B jets, constructed by combining and samples with , multi-jet, and samples, reweighted to the mean and spectrum across flavors. To allow comparisons to the TN25-86M model trained in [42], we use the same mixture of jets that make up the 7.7B-jet dataset used for the training of that model. The mean particle multiplicity per jet is , dominated by particle-flow objects and tracks. Throughout this paper we quote dataset size as , the number of unweighted jets, and every figure axis uses those units. Where relevant, we also refer to the same budget in tokens (per-jet constituents passed through the transformer), D. The two differ only by that constant factor. The FLOP estimate [24] for a forward+backward pass at parameter count on a budget of jets for transformers is
Batch sizes b are reported in jets throughout. Fig. 48 in Appendix H shows that the approximation of Eq. (1) holds against measured FLOPs across the family of models spanned in this work.
Training The model is trained to optimize five loss functions. The jet classification loss, , uses cross-entropy, where the per-class weights inside compensate for the unequal flavor abundances in the training sample. They are set to , with the number of jets of flavor , giving , , , , , . The vertexing loss, , applies binary cross-entropy to each pair of tracks to identify which tracks share a vertex. The track-origin loss, , and track-type classification, , each use categorical cross-entropy. The jet regression loss, , is an loss (mean absolute error) on the ratio of true to reconstructed jet . The model is trained with the AdamW optimizer [70] to minimize the direct sum of the five task losses,
Throughout this paper we train and analyze multiple variants of this architecture: a multi-task variant that activates all five heads and minimizes above, a single-task variant that keeps the jet-classification head only and minimizes , and any pair of and . The variants share every other architectural choice.
Auxiliary objectives lower the jet classification loss at a fixed number of training samples, but also increase the computational cost of training. Their usefulness therefore depends on whether the gain in classification loss outweighs this additional cost. The hyperparameter optimization of Section 5 is carried out independently for each variant to study how the optimal hyperparameters themselves scale with when the target changes. Comparing the resulting scaling laws lets us isolate whether the auxiliary tasks help or hurt compute-efficient scaling of the primary jet-classification objective, and whether the auxiliary objectives have a different optimal scaling path from the primary one.
The learning rate follows a linear warmup from over 8% of the steps , followed by cosine annealing from . From here on the peak learning rate is the quantity being scaled, and we refer to it simply as .
https://gitlab.cern.ch/aft/algorithms/salt
https://gitlab.cern.ch/atlas/open-data/jetset2-open-data
For N parameters, the cost of the forward pass of a transformer is due to the combined multiplication and addition operations in matrix multiplications. Computing the gradient via backpropagation requires propagating gradients with respect to both the weights and the intermediate activations of the model, so that .
DeepSeek [58] adopts a multi-step schedule that, after 2000 warmup steps, holds constant at for 80% of training and decays only in the final steps, similar to Warmup-Stable-Decay (WSD) [71]. This makes checkpoints from the constant
3 Scaling laws
A scaling strategy starts with a model class: an architecture family with a small set of tunable hyperparameters. Some of those hyperparameters control model complexity (e.g., the parameter count N, set by the width w and depth l of our transformer model), others control the training dynamics (e.g., the batch size b and the peak learning rate ). A handful of further choices, such as the learning-rate schedule shape, the optimizer, and a fixed attention-head dimension of (one head per 32 units of width, so the head count grows with w), are held constant across the family. We thus treat and as the four axes to tune at every scale and keep rest of the hyperparameters fixed as architecture-family conventions.
Learning curves were empirically observed to follow predictable power laws across translation, vision, speech, and language well before the LLM era [72], including joint functional fits for model and dataset size [73]. The famous Refs. [24, 25] used such laws to dictate, given a target compute budget, how large a model to build and how much data to train it on. Ref. [74] surveys this line of work, including the competing functional forms, and the practicalities of what might cause a fit to fail.
Why scaling? For a fixed model size N trained on infinite, non-repeated data, the validation loss decreases as data D accumulates, until some critical budget past which further data lowers the loss only marginally and eventually plateaus when the model saturates its capacity . Increasing N pushes higher and lowers the loss saturation value, until N is large enough that the saturation value reaches an irreducible floor . This floor is set jointly by the architecture family, the input features, and the optimizer.
A scaling law is a quantitative description of this behavior: the per-N saturation generates the family of loss curves in Fig. 3(a). Re-plotting the same curves against compute shifts each one rightward by an amount proportional to (Fig. 3(b)); the compute-optimal frontier is the lower envelope of the resulting family.
(a) Loss vs data
(b) Loss vs compute

dataset size D
compute
Figure 3: Sketch of how empirical scaling laws emerge. (a) loss against dataset size for a sequence of model sizes : every curve follows a data-driven descent and saturates at a model-capacity plateau, lower for larger , with all sufficiently large models approaching the irreducible floor (dashed). (b) the same curves against compute : larger models shift rightward and the lower envelope (red) traces the compute-optimal frontier .
It is not surprising for a larger model to reach a lower loss than a smaller one at a fixed token budget; the question is which model wins at fixed compute. Since a larger model spends more compute per step, a smaller one can be trained on more data for the same compute, and the envelope records whichever choice wins. The picture also shows that scaling sets in only after an initial, mostly data-driven descent, before model size becomes a binding constraint. For the case studied here, that scale happens to be a few hundred million jets (Fig. 15).
The asymptotic floor characterizes the particular optimization problem in addition to the underlying physics. The information-theoretic limit is the Bayes risk , the lowest loss any predictor could reach on the same inputs,
phase reusable across token budgets, since the trajectory up to the decay is independent of the target D, without sacrificing the performance of cosine annealing. It reduces the cost of sweeping D, at the price of one or two decay phases per budget.
Scaling laws under data repetition show that repeated tokens retain the value of fresh ones only for the first few epochs [75], but ultimately decay in value and bottleneck the achievable performance due to overfitting [45, 76]. We assume non-repeated data throughout and refer to training and validation loss interchangeably as “the loss”, and unless stated otherwise we report the final validation loss. We treat compute-optimal scaling under data repetition in Section 7.
which may approach but in general does not equal . A tagger that ingests tracks and particle-flow objects operates on a hand-designed summary of the raw detector readout, so the Bayes risk on such summaries is itself bounded from below by the Bayes risk on the raw readout,
Lowering the floor therefore involves not only scaling but also moving toward less compressed inputs, which we study in Section 8.2.
The achievable loss decreases as a power law in the model size , the dataset size ( in tokens), and the compute budget (Eq. (1)). The three axes are not independent: at fixed , increasing leaves fewer tokens in budget, so and trade off against each other. The substance of a scaling law is then twofold. First, at every there exists a unique allocation that minimizes the loss ; this allocation is the lower envelope just described. Second, both the location of that minimum and its value are themselves smooth, power-law functions of , so that given a target compute budget too large for direct grid search, one can predict both and from a much cheaper grid of small-scale runs.
Parametric forms. Viewed as the envelope of the hand-off mechanism, the most direct object to fit is the frontier itself: the compute-optimal loss together with the allocation that achieves it. Each is parameterized as a power law in [24, 25],
where the constraint follows from and is the irreducible-loss floor along the frontier. This form is the cheapest to fit and the most robust, but it makes a statement only about the optimal trajectory and not the suboptimal points.
A more ambitious target is modeling the full loss landscape : with it in hand, both the compute-optimal frontier and the predicted loss at any come for free. The canonical parameterization is the additive “Chinchilla” form [25], where the two power-law terms decouple cleanly:
With known, the compute-optimal frontier at fixed is closed-form:
which fixes the exponent of Eq. (4).
The first LLM scaling study [24] concluded , while the later Chinchilla analysis [25] found . The difference in the fitted coefficients has been traced to counting non-embedding rather than total parameters, mismatched warmup and schedule lengths at small scale, and uneven tuning across the grid [53, 74, 77].
Fitting approaches. The compute-optimal point can be extracted in three main ways originally proposed in [25]:
-
Fixed model sizes, vary (training-curve method). Train a handful of values to different token budgets and read off , from the envelope of the per-, loss curves.
-
IsoFLOP profiles. For each compute budget , sweep at and locate the that minimizes the loss; connect the per-C minima to recover , directly.
-
Parametric fit. Fit Eq. (5) jointly to all training runs (e.g., with a Huber loss [78]). This recovers the full surface rather than just the frontier, at the cost of being more sensitive to the assumed functional form.
We apply all three in Sections 4 and 6 and compare the resulting allocations.
The fitted coefficients are not only a property of the model class, data, and task, but also depend on how the hyperparameters of each cell are chosen as the grid grows, and a mis-tuned schedule can introduce large biases. What we want from a scaling law prediction is then twofold:
-
Predict the loss. Given a budget C, predict the best performance a model in this architecture family can achieve if trained optimally at .
-
Predict the recipe. Given the same budget, predict the architectural choices (size, shape) and the training hyperparameters that realize .
Even with unlimited data, gradient descent on a structurally biased model family is not guaranteed to recover the Bayes predictor.
Since L decreases with C, any fraction f of the budget spent on tuning leaves only for the final model and costs performance accordingly. The aim is therefore to train the final model once, on nearly the entire budget.
The envelope as a two-level optimum. When compute is the constraint , a model of size N can be trained on at most tokens, and minimizing the loss becomes a matter of convergence speed within a limited number of steps through T. The levers are the architecture's compute efficiency together with , which set the number of optimizer steps T/b and the magnitude of each update.
Each point on the compute-optimal envelope of Fig. 3(b) therefore corresponds to a different training configuration: a model of size trained for tokens, with tuned for that pair. Formally, the envelope is a two-level optimum,
where the inner minimization tunes in each cell and the outer minimization allocates compute between N and T.
Figure 4 shows the inner minimization at fixed . For a sequence of token budgets , the -th loss curve is a separate run of tokens with , and its final loss is . The envelope is the curve through these endpoints. Run touches the envelope only at and lies above it for all . Tracing over is therefore not the same as following one run to increasing , but it requires a separately tuned run for every . Every curve in Fig. 3 should be read as an envelope constructed this way.

data seen during training, D (jets)
Figure 4: Optimal validation loss at fixed N as a function of token budget . Each loss curve is a separate run with tuned for the budget at which it ends, and the envelope passes through their endpoints. This is the inner minimization of Eq. (7). The outer minimization over N yields the envelope targeted by scaling laws.
Comparing architectures at scale This is a nested constrained optimization over architecture families A, i.e., which one reaches the lowest loss under a fixed budget of some resource Q,
Only is held fixed across families: the model size N, the dataset size D, the shape w/l, and the hyperparameters are all free in the inner minimization, so each family is compared at its own optimal allocation rather than at a common parameter count, training tokens or steps budget. Q can be training FLOPs, GPU-hours, energy, or the number of unique training jets, and the ranking of two families might not be the same under each.
Inductive biases that offer gains in data-limited regimes generally introduce additional computational cost. Their value at scale depends on whether the reduction in loss is sufficient to compensate for the extra compute that could have been spent on training more efficient architectures on more data. Brehmer et al. [80] showed that equivariant models can outperform non-equivariant ones at a fixed compute budget, and a recent systematic architecture comparison [22] on jet tagging found that equivariant transformers outperform standard transformers on fixed-size datasets when geometric information is relevant, on boosted jet tagging on JetClass [81] and ATLASTop [82]. In contrast, little to no performance difference was observed for flavor tagging on the ATLAS JetSet [83] dataset.
We use in Section 8 to compare the multi-task tagger and the jet-classification-only variant, and the different input configurations, each trained at its own joint at fixed compute.
Compute is the binding constraint whenever a single pass over the dataset would exceed the training budget, as for internet-scale text in LLM training. In HEP, Monte Carlo simulation can in principle generate arbitrarily large training datasets, but in practice can be limited by CPU and storage resources. Most public datasets are modest in size and standard practice is to repeat passes over the dataset with early stopping. Overparameterized models can gain additional performance through double descent [52, 79], but a fixed dataset ultimately limits how far the loss can be reduced (Section 7).
4 Warm-up: The Scaling Law Lifecycle
Before turning to the full tagger, we study systems where the full surface, from the initial data-driven descent to the irreducible floor, is visible. We first consider a synthetic teacher–student problem with a known floor to assess whether the different fitting approaches can recover it. We then turn to a system that uses compressed jets, where the onset and power-law descent can be observed at low compute budgets and dataset sizes.
Teacher–student toy. A scaling law is most useful when it predicts not only the descent but where the descent ends. We therefore consider a synthetic problem for which the true floor is known exactly. A fixed, randomly initialized MLP (the teacher) defines the target. MLP students of growing width are trained to imitate it on Gaussian inputs with label noise, . Data is drawn fresh at every step, so each run is single-pass and D counts examples seen. The floor is known exactly, the label noise no model can predict , which lets any fitted floor be graded against the truth. A grid over is fitted with all three approaches of Section 3, and a step-by-step tutorial is also provided. All three approaches agree on how a compute budget should be split between model size and dataset size, with the optimal and each growing roughly as , so doubling the compute budget requires an increase by a factor of in both. As can be seen in Fig. 5, the compute-optimal envelope passes through three regimes: an initial, mostly data-driven descent with a steep effective slope; a scaling regime, where a pure power law fits the frontier with no visible curvature; and, only very close to the floor, a tail where the bend appears and a floored fit

Figure 5: Compute-optimal envelope of the teacher–student problem (Appendix L), with three power-law fits: an initial data-driven descent, a scaling regime with a pure power law, and a tail asymptoting to that recovers the known floor ( against the true , dotted). The full-surface fit (Approach 3, green dashed) mis-fits the envelope across the regimes and flattens onto a biased floor. Inside the scaling regime nothing signals where the power law ends.
recovers the known . From inside the scaling regime the envelope carries no information about where it ends and the floor stays invisible until the frontier is nearly on it. This is also the situation we will encounter in Section 6 where the measured jet-tagging frontier sits in the scaling regime, with no visible curvature and too far from the floor for to be estimated reliably. The full-surface form of Eq. (5), fitted once to the whole grid with a single cannot match every regime at once: it sits below the measured envelope through the scaling regime and then flattens onto , about 10% above the truth. We therefore recommend the direct frontier fits of Approaches 1 and 2, which make no assumption about the shape of away from the frontier.
Compressed jets. A small set-transformer autoencoder is trained for one pass over 5M JetClass jets [81] and then frozen. Each jet enters as a set of up to 40 -sorted constituents with 17 features. The encoder compresses the set into a single latent vector of dimension , and a transformer decoder expands it back into the constituents. The objective is a reconstruction loss on the constituent kinematics with auxiliary charge, particle-identification and multiplicity terms, so no flavor label enters the autoencoder. Its only role is to compress the variable-length constituent inputs into a fixed-size latent representation, on which the boosted-jet tagging problem is then solved by MLP probes. The information discarded in the latent sets the floor the probes can reach, so a poorer autoencoder makes the whole life of the scaling law cheaper to observe and reachable at small compute and dataset budgets.
The scaling study is run on one-hidden-layer MLP probes over the 128-dimensional latents, for up to held-out jets, on a 10-way boosted-jet classification target with a cross-entropy loss. Fig. 6 shows the onset condition of the scaling law on this system. Below a task- and dataset-dependent compute threshold, the envelope is dominated by a single small model rather than a sequence of optimal models. Only above this threshold does the characteristic scaling behavior emerge, which is not visible with datasets smaller than jets in this case.
Where the onset and the irreducible floor sit depends on how much of the original information the latent keeps. Fig. 7 repeats the study for to 128, on the same classification target. Richer latents lower the reachable loss and push the descent to higher compute, while the shape of the envelope, onset followed by a power-law descent, is the same at every .
Code and step-by-step instructions: https://github.com/mvigl/scaling-laws-demo

C (FLOPs)
C (FLOPs)
Figure 6: Test cross-entropy of MLP probes on a frozen jet latent space ( ) against training compute, colored by probe width (left) and by dataset size (right). The dashed red line is the compute-optimal envelope. In the shaded data-hungry region the envelope is traced by the training curve of a single small model (the highlighted run): every larger model lies on or above it, and nothing yet distinguishes model sizes. Scaling in the compute-optimal sense only sets in past a task-dependent dataset budget ( jets here), after which the allocation ( , ) starts to matter.

C (FLOPs)
C (FLOPs)
C (FLOPs)
C (FLOPs)
C (FLOPs)
Figure 7: Compressed-representation scaling across latent dimensions : test cross-entropy on the 10-way classification target against compute. Gray: test cross-entropy per probe width. Blue: latent's compute-optimal envelope. Larger latents lower the reachable loss while the envelope shape repeats.
5 A scaling recipe
This section addresses Eq. (7) by predicting the joint optimum as a closed-form function of the grid axes, so that every run can be launched at its own optimum without a dedicated search. The strategy is to remove the dependencies one axis at a time. We first adopt a parameterization under which becomes independent of the model-shape axes , and thus size , reducing the search to the plane at a fixed reference shape. We then sweep a small grid at that reference, fit the residual dependence to a multiplicative form, and inherit the result back across all . We then characterize the full loss surface around the joint locus to read off . Finally, we fix the remaining degree of freedom in by imposing the optimal aspect ratio.
5.1 Removing the model size dependence
The first factor to remove is the model-size and shape dependence from . Naively, the optimal can shift by orders of magnitude as the model grows. The per-parameter update magnitude scales with width and depth, so the same in the optimizer produces a different effective step at different . Sweeping at every for each is the cost we want to avoid. The P framework [60] resolves the width half of this problem. Per-parameter initialization, learning-rate, and Adam- multipliers keep activations as grows and make the optimal width-invariant. CompleteP [61] extends this with a depth-residual rescaling that absorbs the depth-axis growth into the network's forward dynamics. The Complete(d)P refinement [63] adds the treatment of the QK-norm gains under AdamW.
Under this parameterization the search shrinks from a four-dimensional problem in to a two-dimensional one in , calibrated once at a reference . Every downstream cell at a different inherits from the reference. That is, coincides across all studied cells and the optimum is a function of alone:
The per-parameter-type multipliers used for every run in this work are those of Table 1 and the implementation is integrated into the salt [66] framework.
Table 1: Per-parameter-type learning-rate (LR), AdamW- and weight-decay multipliers of the Complete(d)P recipe used for every run in this work, relative to the base values , , ; and are the width and depth ratios to the base model. The learning-rate and weight-decay columns follow Table 1 of [61] at and the QK-norm row in Table 1 of [63]; weight decay is the PyTorch AdamW convention, so keeps width-independent.
| Parameter type | LR | AdamW | weight decay |
|---|---|---|---|
| Embedding (input) | |||
| Hidden weights (attn, FFN) | |||
| Unembedding / readout | |||
| Biases, LN/RMSNorm gains | |||
| QK-norm gains |
Empirical validation We sweep a coordinate grid at fixed and compare across cells. The value of is extracted at every by fitting a parabola to the final validation loss as a function of . Fig. 8 shows how the that minimizes the loss at fixed transfers perfectly across width , while a mild residual dependence on depth remains. The dependence can be factored out by rescaling by a power of the depth ratio,
so that the effective peak learning rate is constant across . The fitted depth exponent is consistent with the value used in the rest of this work.

Effective peak learning rate
Training step ()
Figure 8: Empirical validation of the Complete(d)P recipe on the coordinate sweep at . (a) Final validation loss against the effective peak learning rate for seven widths at and (top) and five depths at and (bottom). The optimum lies at the same for all widths, with the residual drift in factored out. (b) Training loss against the training step for the slice , , one curve per peak learning rate .
We will see that while is not a function of model size with this prescription, there exists a specific aspect ratio that yields an optimal loss at fixed .
Table 2: Multiplicative calibration of the optimal learning rate (Eq. (11)), with anchors and jets. Shown for the total (multi-task) and jet-classification-only objectives. The per-head multi-task breakdown is given in Table 7.
| optimization target | |||
|---|---|---|---|
| Total (multi-task) | |||
| Jet-classification-only |
Table 3: Fitted power-law exponents for optimal batch size and learning rate as a function of token budget , as reported by studies with differing optimizers and tuning protocols. Adapted from [59].
| Batch Size | Learning Rate | Optimizer | |
|---|---|---|---|
| This work | AdamW [70] | ||
| DeepSeek [58] | AdamW [70] | ||
| StepLaw [56] | AdamW [70] | ||
| von Rütte et al. [84] | LaProp [85] | ||
| Filatov et al. [86] | Scion [87] |
5.2 Finding the joint
Having removed the dependence from , we now measure the residual dependence. In the large-step limit, , it is well described by a separable power law with treated as free parameters.
At a fixed reference size we sweep and, for each cell, extract the empirical as the per-cell argmin over (Fig. 9). The fitted exponents depend on the loss optimization target: the jet-classification-only and the summed multi-task objectives yield different . Fig. 10(a) and Fig. 11(a) show the measured landscape for the jet-classification-only and multi-task variants respectively, each with the multiplicative fit of Eq. (11) overlaid as iso- contours. The total loss variant and jet-classification-only variant fits are compared in Table 2, while the full per-head breakdown (Table 7 in Appendix G) shows every individual multi-task head clustering at and . The jet-classification-only objective is steeper on both axes, with and , and a smaller absolute learning rate , indicating that single-task training requires a more aggressive batch-size scaling and a stronger learning-rate decay with the data budget than the multi-task objective.

Figure 9: Final validation loss against peak learning rate at and , one curve per dataset size . The minimum of each curve is the extracted .
With known, the remaining freedom is the batch size: we seek the that, with already on its optimum, minimizes the loss,
For jet classification alone, is essentially flat in across the whole sweep and steepens only in the few-step corner ( small), so is formally as small as one and any short of the few-step regime is equally good. For the summed multi-task loss the picture changes since at low the loss diverges and the optimum grows as (Fig. 11). One or more of the auxiliary tasks therefore drives a non-trivial optimal batch size. Optimizing for any single task inside the multi-task loss likewise produces its own optimal batch size, so the tasks reshape one another's hyperparameter optima (per-task plots in Appendix G).

(a) Optimal learning rate .
(b) Loss at the optimal : Loss (b, T) = .
Figure 10: The landscape at the reference architecture for the jet-classification-only variant. (a) the measured optimal learning rate , colored by , with iso- contours from the multiplicative fit of Eq. (11). (b) the validation loss at that optimal learning rate, , with iso-loss contours. The loss is essentially flat in and steepens only in the few-step corner (large , small ), so is left largely unconstrained. White circles mark the swept cells.

(a) Optimal learning rate .
(b) Loss at the optimal : Loss (b, T) = .
Figure 11: The landscape at the reference architecture for the multi-task variant. (a) the measured optimal learning rate , colored by , with iso- contours from the multiplicative fit of Eq. (11). (b) the validation loss at that optimal learning rate, , with iso-loss contours. The loss now forms a shallow minimum in whose location grows as . White circles mark the swept cells.
5.3 Optimal aspect ratio and considerations on GPU-hours
At any shape , setting and minimizes the loss for that shape; it does not follow, however, that all pairs with the same parameter count reach the same loss. Instead, the loss may depend on the aspect ratio . We define the optimal aspect ratio as the one minimizing the per-cell-optimal loss at fixed ,
where each candidate is already trained at its own . We find that grows roughly as : as the model grows, width should increase faster than depth. This is consistent with earlier observations that model shape can affect scaling behavior [88]. Fig. 12 shows how the per-cell-optimal loss traces a shallow parabola in log AR at each model size, and its minimum drifts to larger AR as grows .
While a shallower model than AR provides a higher loss, it can require fewer GPU-hours at fixed theoretical compute since deeper networks can be slower per FLOP. Likewise, when is small, hardware considerations may favor a larger batch to increase throughput. Hoffmann et al. [25] (page 4) adopt models shallower than the prescription of Levine et al. [89] because the shallower configurations achieved better wall-clock performance on their hardware. Fig. 13 shows the fitted time per jet as a function of model size at four batch sizes, and converts it into GPU-hours per unit of theoretical compute.

AR = W/L
Figure 12: Final validation loss against aspect ratio AR = w/l for four model sizes, , 30M, 50M and 100M, with each point trained at its own . Large AR is a wide, shallow network and small AR a narrow, deep one. The minimum AR drifts to larger AR as N grows, so width should grow faster than depth.
(a)

(b)
Figure 13: Measured throughput on an H200 against the parameter count N, one color per depth l and one column per batch size b. Points are measurements of a full training step, and lines are linear fits in N at fixed b and l. (a) Time per jet. Throughput improves as b grows and amortizes the per-step overhead, leveling off once the device is compute-bound. (b) The same runs as GPU-hours per FLOPs of theoretical compute. Equal theoretical compute costs more wall-clock time for deeper networks, and small models at small batch size reach only a fraction of the device peak.
Scaling laws are stated in FLOPs, but training time and energy consumption depend on GPU-hours. Lowering the GPU-hours per FLOP is therefore as much a gain as an architecture that lowers the loss at fixed FLOPs, and a large part of the work in improving scaling efficiency is on the hardware and software side, for example, fused attention kernels [90], low-precision arithmetic and compiler-generated kernels (Fig. 14).
It is interesting to note that the optimal growth is realized to good approximation by scaling width alone at fixed depth: since , a fixed-l scan gives and hence . This may explain why previous work observed smooth scaling laws on jet tagging tasks when varying only the model width [42, 45]. Although such models sit away from the optimal aspect ratio, they scale in the correct direction, so that the entire family remains uniformly detuned.

optimizer step
GPU-hours
Figure 14: Training loss against optimizer steps (left) and A100 GPU-hours (right), for a model trained eagerly and with the training graph compiled by torch.compile. Both runs spent the same amount of compute. Model and hyperparameters are identical, so the loss per step coincides while the compiled run performs more optimizer steps per GPU-hour.
6 Compute-optimal scaling laws
With the hyperparameter recipe in hand, we can solve the outer minimization of Eq. (7) that produces the scaling law itself. We train a handful of models on a grid of model sizes and dataset budgets , following the prescription:
-
Pick a model size N and a dataset budget D (equivalently a token budget D).
-
Read off the optimal batch size .
-
Insert into the multiplicative law Eq. (11) to obtain the matching .
-
Repeat over a grid in . To also enable the IsoFLOP method (approach 2), include cells that share a common compute value: span a handful of compute budgets and, within each, sweep allocations with .
6.1 Onset of the scaling regime in JetSet2
Fig. 15 shows the full set of runs that feeds the three approaches: every trained model's jet classification loss against cumulative compute, colored by model size in the left panel and by dataset size in the right. The common lower envelope is the compute-optimal frontier. Scaling only sets in once the data is large enough that model complexity is a binding constraint. Even the smallest architecture we can build inside our set of conventions ( parameters) keeps improving steeply with data up to few hundred million jets, and only beyond that does model size start to bottleneck the loss. The portion of the envelope that a dataset of a few hundred million jets can probe, up to FLOP, is barely inside the scaling regime.

Compute C (FLOPs)
N (params)
Compute C (FLOPs)
Figure 15: Onset of scaling on the multi-task loss variant. Jet classification loss against compute . The portion of the compute-optimal frontier a few-hundred-million-jet dataset can probe (up to FLOP) is still the data-driven transient, and the asymptotic scaling slope sets in only beyond it. The same curves are colored by model size (left) and by dataset size (right). Circles mark the final per-cell validation loss.
Ideally one sweeps several aspect ratios per N to locate AR (N). We found that scaling N through width alone at fixed depth, so that AR , would give clean scaling laws in this study, since the offset from the optimum stays smooth along the frontier, but at the cost of suboptimality in loss at every C. For the results we present here we use the optimal aspect ratio AR from scans at fixed N.
6.2 Fitting the scaling law
We extract and the allocation with each of the three fitting approaches of Section 3, tracking the scaling of the total loss. The four auxiliary heads follow the same scaling form, each descending along its own envelope toward its own irreducible floor, and are collected in Appendix D.
Approach 1: training-curve envelope. The first approach reads the compute-optimal frontier directly off the lower envelope of the per-run loss-versus-compute curves, with no assumed surface form. Fig. 16 shows the multi-task runs against cumulative compute , colored by model size. The envelope is the lower boundary of the architecture family and reading the model size and dataset size that lie on the envelope at each compute level gives the compute-optimal allocation directly. Both follow clean power laws,
matching the Chinchilla finding that model size and dataset size should scale together [25].
(a)

(b)
(c)
Figure 16: Approach 1 for the multi-task variant. (a) Total training loss against cumulative compute , one lightly smoothed curve per run colored by . The black line is the lower envelope, the empirical compute-optimal frontier . (b,c) The model size and dataset size on the envelope at each compute budget, with the fitted power laws of Eq. (14).
Approach 2: IsoFLOP profiles. The second approach reads the loss-minimizing allocation directly off each iso-compute slice. Fig. 17 shows the final validation loss versus N along iso-compute slices, each a shallow parabola whose minimum is the compute-optimal model size at that budget. The exponents are and .
(a)

(b)

Figure 17: Approach 2 (IsoFLOP profiles) for the multi-task variant. a) Total final validation loss against model size N along iso-compute slices. The dashed line is the compute-optimal trajectory. b) the resulting model-size–dataset allocation.
Approach 3: full-surface fit. The third approach fits the full surface of Eq. (5) jointly to all cells. Fig. 18 shows the fitted surface in the plane with the measured cells and the implied compute-optimal locus, which gives and .

Figure 18: Approach 3 for the multi-task variant: iso-loss contours of the fitted total validation loss surface , with the measured cells on the same color scale. Dotted lines are iso-compute slices. The dashed line is the compute-optimal locus implied by the fit, the that minimize the loss at each compute budget.
All three approaches agree and from the three approaches agree on the near-equal dependence. Coefficients are reported in Table 4 and compared to previous scaling studies.
| Method | a | b |
|---|---|---|
| This work (Approach 1) | 0.52 ± 0.01 | 0.48 ± 0.01 |
| This work (Approach 2) | 0.55 ± 0.02 | 0.45 ± 0.02 |
| This work (Approach 3) | 0.49 ± 0.03 | 0.51 ± 0.03 |
| Carpe Datum [42] | 0.10 | 0.90 |
| Kaplan et al. [24] | 0.73 | 0.27 |
| Hoffmann et al. [25] | 0.49 | 0.51 |
Table 4: Compute-optimal allocation exponents, where and . All three approaches agree on , matching the Hoffmann et al. result, where the tension with the earlier Kaplan et al. coefficients was attributed to non-embedding parameter count and hyperparameter tuning at small scale [53, 74, 77]. We observe a similar pattern relative to the Carpe Datum results: with tuned hyperparameter scaling and higher dataset sizes, the compute-optimal allocation recovers the equal dependence of model and dataset size.
7 Compute-optimal scaling under data repetition
In practice, simulated data is finite, and the cost of generating more data can outweigh the return in performance, or it might simply not be possible to acquire more data in non-simulated settings. The available compute can then exceed what a single optimal pass over the data requires, and it can be spent on more parameters, on several passes over the unique dataset , or on both. Muennighoff et al. [75] extend Eq. (5) with a decaying value of repeated passes and excess parameters, assuming that regularization keeps the validation loss from increasing, and Lovelace et al. [76] model the final validation loss including overfitting, which they find to be set by the ratio of unique data to parameters, and also study the effect of weight decay on scaling. We model instead the best validation loss of early-stopped runs that target passes, trained with the hyperparameter recipe of Section 5 for the training horizon . The recipe minimizes the training loss at any horizon with unrepeated data. Under repetition, the validation loss starts to increase once the training loss crosses this lower bound for unrepeated data (Fig. 19b), consistent with the fact that a training loss below the optimum can only be reached by memorizing the training data. For any , the best early-stopped loss is reached by the run whose training loss meets this bound at about the end of its schedule, so that early stopping is barely needed at the optimal training horizon. The intuition is that at this horizon, training and validation loss stay close through the annealed schedule, and with this negligible overfitting the recipe applies as for fresh jets. Runs that target more passes cross the bound before their learning rate has annealed: early stopping cuts them short, and their loss pays for hyperparameters set for a horizon they do not complete. In such cases the compute cost of the run is considered only up to the early stopped passes .
The hyperparameters at the optimal training horizon match the lowest loss at the lowest number of passes, set by a scan of b and (Appendix B). The scaling recipe is thus optimal within the set of scalable hyperparameters we consider, although parameters we hold fixed, such as weight decay, may nevertheless affect the scaling behavior under data repetition [76].
(a)
Targeted passes n
1 2 4 10 40 100

(b)
(c)
Training horizon D (jets)
Figure 19: (a) Best early-stopped validation loss of runs targeting n passes for a 31.5M model on unique jets, with Eq. (15) and the single-pass law counting repeated jets as fresh. (b) Validation (top) and training loss (bottom) of six of these runs against the number of passes n, and the single-pass law on fresh jets (dashed). (c) The same model on , and unique jets against the training horizon.
We account for these effects by adding an empirical penalty term to the single-pass surface of Eq. (5), evaluated at fresh-equivalent passes:
where is the number of unique tokens. follows and saturates at , which we find to be for models much larger than parameters per million unique jets and grows as for smaller ones, so that models that are small compared to the data profit from many passes and large ones overfit in a few: the best training horizon of a 31.5M model grows from 5 passes on unique jets to 17 on (Fig. 19c). The cost of repeating grows only logarithmically, and for the law reduces to the single-pass surface. The excess over fresh data grows with , more for larger models and smaller unique sets (Fig. 20, bottom).

Targeted passes n
Targeted passes n
Targeted passes n
Targeted passes n
Figure 20: Top: early-stopped validation loss against the targeted number of passes for four model sizes, with Eq. (15) (solid) and the single-pass law with repeated jets counted as fresh (dotted). The open circles at n = 1 show the single-pass scaling law. Bottom: excess of the early-stopped loss over the single pass of the same model on as many fresh jets, for three unique sets.
Model-wise double descent surviving early stopping has been observed before [52, 79], including in jet tagging [42], and we observe the same phenomenon here. At fixed , the best early-stopped loss rises and falls again with model size, with the peak moving to larger models as grows and flattening past jets (Fig. 21).

Parameters N
Parameters N
Parameters N
Figure 21: Best early-stopped validation loss over all targeted numbers of passes against model size on , and unique jets, with an independent fit per unique set: a power-law descent plus a bump in that is only as large as the data require.
When each run is charged its early-stopped schedule , repetition initially favors compute spent on model sizes and training horizons close to the single-pass compute-optimal allocation. Once the passes reach , additional compute goes into parameters and the allocation reverts to larger models, which target fewer passes (Fig. 22), in agreement with the overfitting form in [76], with the difference that early stopping causes at most a plateau at large compute. The exponent in Eq. (15) controls whether the law develops a local minimum at small surplus compute. When it does, the compute-optimal allocation stays at that minimum over a range of budgets until the budget is large enough to jump to the large-model valley, an optimal-compute-wise double descent. At our fitted the effect is too weak to cause this, but it is not negligible: over a range of spanning roughly a decade, the frontier loss is essentially flat, before it resumes descending toward its final plateau. We describe the phenomenon in Appendix B.
(a)

(b)
Training horizon D (jets)

Training horizon D (jets)
Figure 22: Loss of Eq. (15) in the plane of training horizon and model size (contours) at (a) and (b) unique jets, with the compute-optimal allocations of Eq. (15) (solid blue) and counting repeated jets as fresh (dashed), with their optima at and FLOP (gray dashed lines). Dotted lines mark the number of passes. Plot style inspired by [76].
8 What to train at scale: tasks and inputs
We ask here whether adding auxiliary training tasks or extending the input set lowers the jet-classification loss at a given compute budget. We derive the hyperparameter scaling separately for each configuration.
8.1 Auxiliary tasks
The multi-task variant carries four auxiliary heads, which are useful for reconstructing the b-hadron decay, but can also help the primary objective learn with fewer labeled examples. Fig. 23 (left) shows, for a fixed model size, the jet-classification loss against jets seen for the classification-only baseline, for classification plus each single auxiliary task, and for all five tasks together, with every run trained at its hyperparameter optimum (Section 5.2). At a fixed number of jets seen, each auxiliary task lowers the jet-classification loss, and all five together reach the lowest. Wall-clock however increases from 73 s/jet for classification alone to 101 s/jet for all five. Re-expressed against GPU-hours (Fig. 23, right) the per-jet gain is partly offset by this cost, and whether the multi-task setup wins depends on whether the loss it buys outweighs the throughput it spends. Both panels are taken at a fixed model size, while the relevant question is whether the auxiliary tasks still help once each variant is scaled compute-optimally, or whether they eventually become a bottleneck. On the other hand, auxiliary tasks can be useful inference targets in their own right, and a single model can amortize the computational cost across multiple tasks, rather than requiring a separate model for each.
At fixed compute, the multi-task variant consistently achieves a lower jet-classification loss than the classification-only variant (Fig. 24), so the auxiliary tasks continue to improve the primary objective at scale. Notably, the multi-task objective favors a larger model and a smaller dataset than the classification-only objective at fixed compute. The variants must therefore be compared along their respective compute-optimal frontiers rather than at fixed N or D.

Figure 23: Jet-classification loss (jcls) for the classification-only baseline, for classification plus each single auxiliary task, and for all five tasks, against jets seen (left) and A100 GPU-hours (right), at fixed model size . Per jet seen, every auxiliary task lowers the jet-classification loss. Per GPU-hour the gain is partly offset by the higher per-jet cost of the extra heads.
(a)

(b)
Figure 24: Multi-task (blue) versus single-task (brown) compute-optimal scaling, both with the full input set. (a) Final jet-classification validation loss on the compute-optimal frontier with bands. The multi-task frontier lies below the single-task one across the studied range. (b) The corresponding compute-optimal allocation with bands. Dotted diagonals are lines of constant compute at decades from to FLOP. At a given compute budget the multi-task objective prefers a larger model and a smaller dataset, so the auxiliary heads shift the compute-optimal split toward model size.
8.2 Input variants
The same scaling study is repeated for the following input progression, adding one modality at a time after a kinematics-only baseline: using all track features (the GN2 set); adding soft electrons; adding muons; and finally adding particle-flow objects, which recovers the full GN3 input set. The exact variables entering each variant are listed in Table 6. Fig. 25 fits a compute-optimal frontier to each input level.
Every added modality lowers the compute-optimal loss, with the largest single step from adding the full set of track features to bare four-momenta and persisting returns from electrons, muons, and particle-flow. Aside from the four-momenta-only variant, which is close to its floor, the fitted frontiers are close to parallel, so richer inputs shift the loss at fixed compute while leaving the scaling exponent nearly unchanged, favoring inputs as close to the raw detector signals as practical. This implies that performance should be improved in both directions: by scaling the model and dataset, and by moving to richer, lower-level inputs.

Figure 25: Compute-optimal jet-classification loss for each input level: the runs on the compute-optimal frontier and the fitted frontier with its band, dashed beyond the measured range. Each added modality lowers the loss at fixed compute, and the four-momenta-only model (upper axis range) lies far above the rest. Apart from the 4-momenta-only variant, the frontiers are close to parallel, so the input level mainly shifts the loss rather than changing the scaling exponent.
8.3 Comparison with TN25-86M
Previous scaling-law studies on jet tagging [42, 45] probe the high-compute region by repeating data on oversized networks, effectively reducing to a pure law. The TN25-86M model of [42] therefore lies off the compute-optimal frontier by design, since it spends extra FLOPs sub-optimally to maximize performance on a fixed set of B jets, repeated over multiple epochs, until overfitting eventually limits further gains. Fig. 26 shows how TN25-86M (stars indicate epochs) lands above the single-pass compute-optimal frontier , so an optimally sized model trained on a larger set of fresh data, if available, would achieve the same loss at a lower compute cost.

Figure 26: Jet-classification loss against compute, colored by model size (left) and dataset size (right). The dashed line is the compute optimal loss . The data-repeated TN25-86M run lies above the single-pass frontier.
9 Physics performance
The jet classification head has multiple classes, and a background rejection value is obtained by projecting the per-flavor scores into a scalar flavor discriminant
with the background fractions set by hand. A working point is a cut on the discriminant: the threshold sets the -jet efficiency , the fraction of true -jets kept, and for each background flavor a mis-tag efficiency whose inverse is the background rejection. The fractions are fixed by hand because a deployed tagger is a frozen predictor that must be calibrated against data at a few working points. By the Neyman–Pearson lemma Eq. (16) separates -jets from the background optimally when the equal the prior probabilities of each background flavor in the sample being discriminated against, i.e., the background composition of the downstream analysis. Since that composition varies with kinematics, the optimal fractions are in general functions of and differ from one analysis to the next, so no single fixed choice is universally optimal.
Fig. 27 translates loss into background rejection on a sample at a fixed global b-jet efficiency of 70%, using the GN3 discriminant fractions from [6] ( ). It reports light-jet (blue) and c-jet (orange) rejection of GN3 [6], the TN25-86M model of [42], and the projections for compute-optimal models trained on the full set of inputs and tasks, obtained with the three fitting approaches. The projected rejections follow from
(Appendix C). The three models share the same architecture and therefore belong to the same model class, and differ mainly in model size, amount of unique training data, and compute. Fig. 27 is thus not a comparison of tagger designs. The compute-optimal models are trained in a single pass over the data at the optimal model size, and the scaling law projections assume the same, with the corresponding model sizes annotated. GN3 has about 12M parameters and is trained for several passes over 350M unique jets, while TN25-86M has 86M parameters and is trained for several passes over about 7.7B unique jets. Both are trained until the validation loss stops improving.

Figure 27: Light-jet (blue) and c-jet (orange) rejection of GN3 [6], TN25-86M [42], and the compute-optimal models (model sizes are annotated for a few decades in compute). For the scaling laws projections, all three fitting approaches are shown. Evaluated at 70% global b-jet efficiency, GeV, on a sample.
10 Conclusions
We have presented a systematic procedure for deriving robust compute-optimal scaling laws, and demonstrated it for multi-task jet-tagging transformers on the billion-jet JetSet2 dataset. The methodological result is that reliable scaling laws require the training dynamics to be scaled together with the model and dataset. Predictive hyperparameter transfer removes a source of bias that would otherwise be absorbed into the fitted scaling exponents and floor, allowing meaningful comparisons at scale, where each configuration must be given its own compute-optimal allocation.
Applied to the GN family, the scaling laws show a near-equal dependence of model and dataset size. Auxiliary objectives consistently improve the primary jet-classification loss and shift the compute-optimal split toward larger models and smaller datasets, while richer input representations lower the loss but leave the scaling exponent approximately unchanged. The onset of the power-law regime occurs only after a substantial amount of data has been seen, and fits based on smaller datasets can return biased scaling exponents even when the resulting curves appear well described by a power law. Large full-simulation datasets such as JetSet2 are therefore a prerequisite for establishing how HEP models behave at scale, and the ability of LHC experiments to produce and retain such samples is a major asset for machine-learning research in HEP.
This suggests a natural progression from small-scale studies to large-scale, full-simulation benchmarks. A method should demonstrate that its advantage persists as model size, dataset size, and compute increase, that it remains competitive when given the full input information available to the experiment, and ultimately that it holds up on real collision data. The framework presented here can serve as a practical blueprint for future scaling studies.
The full study required approximately 97k A100 GPU-hours, substantial by HEP standards but modest compared with industrial-scale models. The observed scaling behavior suggests that considerably larger budgets could be productively invested, particularly if the field moves toward generic foundation models. Rather than training separate models for individual applications, one could pretrain a single model at scale, and then adapt the resulting representation to different experiments, detector configurations, and physics tasks through fine-tuning.
Table 5: The number of runs, jets seen, training FLOPs, and A100 GPU-hours per study, with the total.
| Study | Runs | Jets seen | Training FLOPs | GPU-hours (A100) |
|---|---|---|---|---|
| μP transfer | 324 | 0.34k | ||
| 1395 | 4.5k | |||
| Compute-optimal grid (all variants) | 1219 | 92k | ||
| Total | 2938 | 97k |
Acknowledgments
We thank Samuel Klein for his feedback on the manuscript. L.H. is supported by BMFTR Project SciFM 05D25WO2. M.K. is supported by the US Department of Energy (DOE) under Grant No. DE-AC02-76SF00515. N.H. is supported by the NSF AI Institute for Artificial Intelligence and Fundamental Interactions under Cooperative Agreement PHY-2525568. A.F. is supported by the Alexander von Humboldt Foundation through a Feodor Lynen Research Fellowship.
References
[1] Lyndon Evans and Philip Bryant. Lhc machine. Journal of Instrumentation, 3(08):S08001, aug 2008. doi:10.1088/1748-0221/3/08/S08001. URL https://doi.org/10.1088/1748-0221/3/08/S08001.
[2] ATLAS Collaboration. The atlas experiment at the cern large hadron collider. Journal of Instrumentation, 3(08):S08003, aug 2008. doi: 10.1088/1748-0221/3/08/S08003. URL https://doi.org/10.1088/1748-0221/3/08/S08003.
[3] ATLAS Collaboration. Deep Sets based Neural Networks for Impact Parameter Flavour Tagging in ATLAS. Technical report, CERN, Geneva, 2020. URL https://cds.cern.ch/record/2718948. All figures including auxiliary figures are available at https://atlas.web.cern.ch/Atlas/GROUPS/PHYSICS/PUBNOTES/ATL-PHYS-PUB-2020-014.
[4] ATLAS Collaboration. Graph Neural Network Jet Flavour Tagging with the ATLAS Detector. Technical report, CERN, Geneva, 2022. URL https://cds.cern.ch/record/2811135. All figures including auxiliary figures are available at https://atlas.web.cern.ch/Atlas/GROUPS/PHYSICS/PUBNOTES/ATL-PHYS-PUB-2022-027.
[5] ATLAS Collaboration. Transforming jet flavour tagging at ATLAS. Nature Commun., 17(1):541, 2026. doi:10.1038/s41467-025-65059-6. URL https://cds.cern.ch/record/2933089. 39 pages in total, author list starting page 22, 6 figures, 1 table, submitted to Nature Communications. All figures including auxiliary figures are available at https://atlas.web.cern.ch/Atlas/GROUPS/PHYSICS/PAPERS/FTAG-2023-05/.
[6] ATLAS Collaboration. GN3: Multi-task, Multi-modal Transformers for Jet Flavour Tagging in ATLAS. Technical report, CERN, Geneva, 2026. URL https://cds.cern.ch/record/2953652. All figures including auxiliary figures are available at https://atlas.web.cern.ch/Atlas/GROUPS/PHYSICS/PUBNOTES/ATL-PHYS-PUB-2026-001.
[7] ATLAS Collaboration. Identification of the charge of heavy-flavour jets using transformers with the ATLAS experiment. Technical report, CERN, Geneva, 2026. URL https://cds.cern.ch/record/2961896. All figures including auxiliary figures are available at https://atlas.web.cern.ch/Atlas/GROUPS/PHYSICS/PUBNOTES/ATL-PHYS-PUB-2026-005.
[8] ATLAS Collaboration. GN3X: Improved Transformer-based Tagger for Boosted Higgs Bosons in ATLAS. Technical report, CERN, Geneva, 2026. URL https://cds.cern.ch/record/2965597. All figures including auxiliary figures are available at https://atlas.web.cern.ch/Atlas/GROUPS/PHYSICS/PUBNOTES/ATL-PHYS-PUB-2026-013.
[9] The CMS Collaboration. The cms experiment at the cern lhc. Journal of Instrumentation, 3(08):S08004, aug 2008. doi: 10.1088/1748-0221/3/08/S08004. URL https://doi.org/10.1088/1748-0221/3/08/S08004.
[10] CMS Collaboration. Transformer models for heavy flavor jet identification. 2022. URL https://cds.cern.ch/record/2839920.
[11] CMS Collaboration. A unified approach for jet tagging in Run 3 at TeV in CMS. 2024. URL https://cds.cern.ch/record/2904702.
[12] CMS Collaboration. Flavour tagging performance of the updated Unified Particle Transformer algorithm with the CMS experiment at TeV. 2025. URL https://cds.cern.ch/record/2948917.
[13] CMS Collaboration. The Global Particle Transformer for boosted-jet tagging and mass regression: Development and performance from v1 to v3. 2026. URL https://cds.cern.ch/record/2966239.
[14] Josh Cogan, Michael Kagan, Emanuel Strauss, and Ariel Schwarztman. Jet-Images: Computer Vision Inspired Techniques for Jet Tagging. JHEP, 02:118, 2015. doi: 10.1007/JHEP02(2015)118.
[15] Luke de Oliveira, Michael Kagan, Lester Mackey, Benjamin Nachman, and Ariel Schwartzman. Jet-images — deep learning edition. JHEP, 07:069, 2016. doi: 10.1007/JHEP07(2016)069.
[16] Huilin Qu and Loukas Gouskos. Jet tagging via particle clouds. Physical Review D, 101(5), March 2020. ISSN 2470-0029. doi: 10.1103/physrevd.101.056019. URL http://dx.doi.org/10.1103/PhysRevD.101.056019.
[17] Huilin Qu, Congqiao Li, and Sitian Qian. Particle transformer for jet tagging, 2024. URL https://arxiv.org/abs/2202.03772.
[18] Shiqi Gong, Qi Meng, Jue Zhang, Huilin Qu, Congqiao Li, Sitian Qian, Weitao Du, Zhi-Ming Ma, and Tie-Yan Liu. An efficient Lorentz equivariant graph neural network for jet tagging. JHEP, 07:030, 2022. doi:10.1007/JHEP07(2022)030.
[19] Alexander Bogatskiy, Timothy Hoffman, David W. Miller, Jan T. Offermann, and Xiaoyang Liu. Explainable equivariant neural networks for particle physics: Pelican. Journal of High Energy Physics, 2024(3), March 2024. ISSN 1029-8479. doi: 10.1007/jhep03(2024)113. URL http://dx.doi.org/10.1007/JHEP03(2024)113.
[20] Johann Brehmer, Víctor Bresó, Pim de Haan, Tilman Plehn, Huilin Qu, Jonas Spinner, and Jesse Thaler. A Lorentz-equivariant transformer for all of the LHC. SciPost Phys., 19(4):108, 2025. doi: 10.21468/SciPostPhys.19.4.108.
[21] Luigi Favaro, Gerrit Gerhartz, Fred A. Hamprecht, Peter Lippmann, Sebastian Pitz, Tilman Plehn, Huilin Qu, and Jonas Spinner. Lorentz-Equivariance without Limitations. 8 2025.
[22] Luigi Favaro, Tilman Plehn, Huilin Qu, and Jonas Spinner. Virtues and Vices of Equivariant Transformers. 8 2026.
[23] Spandan Mondal and Luca Mastrolorenzo. Machine learning in high energy physics: a review of heavy-flavor jet tagging at the LHC. Eur. Phys. J. ST, 233(15-16):2657–2686, 2024. doi: 10.1140/epjs/s11734-024-01234-y.
[24] Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models, 2020. URL https://arxiv.org/abs/2001.08361.
[25] Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katie Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Jack W. Rae, Oriol Vinyals, and Laurent Sifre. Training compute-optimal large language models, 2022. URL https://arxiv.org/abs/2203.15556.
[26] OpenAI. Gpt-4 technical report, 2024. URL https://arxiv.org/abs/2303.08774.
[27] Xiaohua Zhai, Alexander Kolesnikov, Neil Houlsby, and Lucas Beyer. Scaling vision transformers, 2022. URL https://arxiv.org/abs/2106.04560.
[28] Kimi Team. Kimi k3: Open frontier intelligence, 2026. URL https://arxiv.org/abs/2607.24653.
[29] OpenAI. GPT-6 Astra: A new generation of intelligence. https://openai.com/index/gpt-6-astra/, 2026.
[30] Anthropic. Claude Fable 5 and Claude Mythos 5. https://www.anthropic.com/news/claude-fable-5-mythos-5, June 2026.
[31] Oz Amram, Luca Anzalone, Joschka Birk, Darius A Faroughy, Anna Hallin, Gregor Kasieczka, Michael Krämer, Ian Pang, Humberto Reyes-Gonzalez, and David Shih. Aspen open jets: unlocking lhc data for foundation models in particle physics. Machine Learning: Science and Technology, 6(3):030601, 2025. ISSN 2632-2153. doi: 10.1088/2632-2153/ade58f. URL http://dx.doi.org/10.1088/2632-2153/ade58f.
[32] Matthew Leigh, Samuel Klein, François Charton, Tobias Golling, Lukas Heinrich, Michael Kagan, Inês Ochoa, and Margarita Osadchy. Is tokenization needed for masked particle modelling?, 2024. URL https://arxiv.org/abs/2409.12589.
[33] Tobias Golling, Lukas Heinrich, Michael Kagan, Samuel Klein, Matthew Leigh, Margarita Osadchy, and John Andrew Raine. Masked particle modeling on sets: towards self-supervised high energy physics foundation models. Machine Learning: Science and Technology, 5(3):035074, 2024. ISSN 2632-2153. doi: 10.1088/2632-2153/ad64a8. URL http://dx.doi.org/10.1088/2632-2153/ad64a8.
[34] Matthias Vigil, Nicole Hartman, and Lukas Heinrich. Finetuning foundation models for joint analysis optimization in high energy physics. Machine Learning: Science and Technology, 5(2):025075, jun 2024. doi:10.1088/2632-2153/ad55a3. URL https://doi.org/10.1088/2632-2153/ad55a3.
[35] Joschka Birk, Anna Hallin, and Gregor Kasieczka. Omnijet- : the first cross-task foundation model for particle physics. Machine Learning: Science and Technology, 5(3):035031, August 2024. ISSN 2632-2153. doi:10.1088/2632-2153/ad66ad. URL http://dx.doi.org/10.1088/2632-2153/ad66ad.
[36] Joschka Birk, Frank Gaede, Anna Hallin, Gregor Kasieczka, Martina Mozzanica, and Henning Rose. OmniJet- : learning point cloud calorimeter simulations using generative transformers. JINST, 20(07):P07007, 2025. doi: 10.1088/1748-0221/20/07/P07007.
[37] Joschka Birk, Anna Hallin, Gregor Kasieczka, Nikol Madzharova, Ian Pang, and David Shih. Enhancing next token prediction based pre-training for jet foundation models. Machine Learning: Science and Technology, 7(3):035042, 2026. ISSN 2632-2153. doi: 10.1088/2632-2153/ae70bc. URL http://dx.doi.org/10.1088/2632-2153/ae70bc.
[38] Vinicius Mikuni and Benjamin Nachman. Method to simultaneously facilitate all jet physics tasks. Physical Review D, 111(5), March 2025. ISSN 2470-0029. doi: 10.1103/physrevd.111.054015. URL http://dx.doi.org/10.1103/PhysRevD.111.054015.
[39] Wahid Bhimji, Chris Harris, Vinicius Mikuni, and Benjamin Nachman. Foundation model framework for all tasks involving jet physics. Physical Review D, 113(3), February 2026. ISSN 2470-0029. doi: 10.1103/knmd-f5jm. URL http://dx.doi.org/10.1103/knmd-f5jm.
[40] Ting-Hsiang Hsu, Bai-Hong Zhou, Qibin Liu, Yue Xu, Shu Li, George Wei-Shu Hou, Benjamin Nachman, Shih-Chieh Hsu, Vinicius Mikuni, Yuan-Tang Chou, and Yulei Zhang. Evenet: A foundation model for particle collision data analysis, 2026. URL https://arxiv.org/abs/2601.17126.
[41] Nilotpal Kakati, Daniel Murnane, Baran Hashemi, Samuel Klein, Jeffrey Krupa, Eilam Gross, Lukas Heinrich, and Michael Kagan. Prompting particle physics: Tokenized multi-modal foundation models for combinatorially many tasks, 2026. URL https://arxiv.org/abs/2609.31862.
[42] ATLAS Collaboration. Carpe Datum: Scaling behavior of transformers for heavy hadron flavor identification. Technical report, CERN, Geneva, 2026. URL https://cds.cern.ch/record/2953659. All figures including auxiliary figures are available at https://atlas.web.cern.ch/Atlas/GROUPS/PHYSICS/PUBNOTES/ATL-SOFT-PUB-2026-002.
[43] CMS Collaboration. Scaling behaviour of transformer-based jet flavour tagging with the CMS experiment at TeV. 2026. URL https://cds.cern.ch/record/2970437.
[44] Joshua Batson and Yonatan Kahn. Scaling laws in jet classification, 2023. URL https://arxiv.org/abs/2312.02264.
[45] Matthias Vigil, Nicole Hartman, Michael Kagan, and Lukas Heinrich. Neural scaling laws for boosted jet tagging, 2026. URL https://arxiv.org/abs/2602.15781.
[46] Oz Amram, Darius A. Faroughy, Tjarko Gerdes, Anna Hallin, Gregor Kasieczka, Michael Krämer, Humberto Reyes-Gonzalez, and David Shih. Neural scaling laws for jet generation, 2026. URL https://arxiv.org/abs/2605.28940.
[47] Dan Godi, Dmitrii Kobylianskii, and Eilam Gross. Scaling collider event generation with residual-quantized tokens, 2026. URL https://arxiv.org/abs/2610.00569.
[48] Henning Bahl, Victor Bresó-Pla, Anja Butter, and Joaquín Iturriza Ramirez. Scaling laws for amplitude surrogates, 2026. URL https://arxiv.org/abs/2601.13308.
[49] David Park, Shuhang Li, Yi Huang, Xihaier Luo, Haiwang Yu, Yeonju Go, Christopher Pinkenburg, Yuewei Lin, Shinjae Yoo, Joseph Osborn, Jin Huang, and Yihui Ren. Fm4npp: A scaling foundation model for nuclear and particle physics, 2025. URL https://arxiv.org/abs/2508.14087.
[50] Ibrahim Elsharkawy, Joschka Birk, Vinicius Mikuni, Wahid Bhimji, Gregor Kasieczka, and Benjamin Nachman. Pre-Training for Simulation-Based Science: A Study on Jet Foundation Model Training Objectives. 6 2026.
[51] Jan-Lucas Uslu, Kevin Greif, Daniel Whiteson, and Benjamin Nachman. Towards engineering scaling laws with pretraining data composition, 2026. URL https://arxiv.org/abs/2606.19781.
[52] Matthias Vigil and Lukas Heinrich. Double descent and overparameterization in particle physics data, 2025. URL https://arxiv.org/abs/2509.01397.
[53] Tomer Porian, Mitchell Wortsman, Jenia Jitsev, Ludwig Schmidt, and Yair Carmon. Resolving discrepancies in compute-optimal scaling of language models, 2025. URL https://arxiv.org/abs/2406.19146.
[54] Sam McCandlish, Jared Kaplan, Dario Amodei, and OpenAI Dota Team. An empirical model of large-batch training, 2018. URL https://arxiv.org/abs/1812.06162.
[55] Oleg Filatov, Jan Ebert, Jiangtao Wang, and Stefan Kesselheim. Time transfer: On optimal learning rate and batch size in the infinite data limit, 2025. URL https://arxiv.org/abs/2410.05838.
[56] Houyi Li, Wenzhen Zheng, Qiufeng Wang, Hanshan Zhang, Zili Wang, Shijie Xuyang, Yuantao Fan, Zhenyu Ding, Haoying Wang, Ning Ding, Shuigeng Zhou, Xiangyu Zhang, and Daxin Jiang. Predictable scale: Part i, step law – optimal hyperparameter scaling law in large language model pretraining, 2025. URL https://arxiv.org/abs/2503.04715.
[57] Hanlin Zhang, Depen Morwani, Nikhil Vyas, Jingfeng Wu, Difan Zou, Udaya Ghai, Dean Foster, and Sham Kakade. How does critical batch size scale in pre-training?, 2025. URL https://arxiv.org/abs/2410.21676.
[58] DeepSeek-AI. Deepseek llm: Scaling open-source language models with longtermism, 2024. URL https://arxiv.org/abs/2401.02954.
[59] Egor Shulgin, Dimitri von Rütte, Tianyue H. Zhang, Niccolò Ajroldi, Bernhard Schölkopf, and Antonio Orvieto. Deriving hyperparameter scaling laws via modern optimization theory, 2026. URL https://arxiv.org/abs/2603.15958.
[60] Greg Yang, Edward J. Hu, Igor Babuschkin, Szymon Sidor, Xiaodong Liu, David Farhi, Nick Ryder, Jakub Pachocki, Weizhu Chen, and Jianfeng Gao. Tensor programs v: Tuning large neural networks via zero-shot hyperparameter transfer, 2022. URL https://arxiv.org/abs/2203.03466.
[61] Nolan Dey, Bin Claire Zhang, Lorenzo Noci, Mufan Li, Blake Bordelon, Shane Bergsma, Cengiz Pehlevan, Boris Hanin, and Joel Hestness. Don’t be lazy: Completep enables compute-efficient deep transformers, 2026. URL https://arxiv.org/abs/2505.01618.
[62] Katie Everett, Lechao Xiao, Mitchell Wortsman, Alexander A. Alemi, Roman Novak, Peter J. Liu, Izzeddin Gur, Jascha Sohl-Dickstein, Leslie Pack Kaelbling, Jaehoon Lee, and Jeffrey Pennington. Scaling exponents across parameterizations and optimizers, 2024. URL https://arxiv.org/abs/2407.05872.
[63] Bruno Mlodozeniec, Pierre Ablin, Louis Béthune, Dan Busbridge, Michal Klein, Jason Ramapuram, and Marco Cuturi. Completed hyperparameter transfer across modules, width, depth, batch and duration, 2025. URL https://arxiv.org/abs/2512.22382.
[64] Gage DeZoort and Boris Hanin. Hyperparameter transfer in graph neural networks, 2026. URL https://arxiv.org/abs/2607.05017.
[65] Shikai Qiu, Zixi Chen, Hoang Phan, Qi Lei, and Andrew Gordon Wilson. Hyperparameter transfer enables consistent gains of matrix-preconditioned optimizers across scales, 2026. URL https://arxiv.org/abs/2512.05620.
[66] Jackson Barr et al. Salt: Multimodal Multitask Machine Learning for High Energy Physics. J. Open Source Softw., 10(112):7217, 2025. doi: 10.21105/joss.07217.
[67] Morad Aaboud et al. Jet reconstruction and performance using particle flow with the ATLAS Detector. Eur. Phys. J. C, 77(7):466, 2017. doi: 10.1140/epjc/s10052-017-5031-2.
[68] Georges Aad et al. Electron and photon performance measurements with the ATLAS detector using the 2015–2017 LHC proton-proton collision data. JINST, 14(12):P12006, 2019. doi: 10.1088/1748-0221/14/12/P12006.
[69] ATLAS Collaboration. ATLAS multi-process simulation for ML-based jet flavour tagging (JetSet2). CERN Open Data Portal, 2026. URL https://opendata.cern/record/atlas-160006.
[70] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization, 2019. URL https://arxiv.org/abs/1711.05101.
[71] Kaiyue Wen, Zhiyuan Li, Jason Wang, David Hall, Percy Liang, and Tengyu Ma. Understanding warmup-stable-decay learning rates: A river valley loss landscape perspective, 2024. URL https://arxiv.org/abs/2410.05192.
[72] Joel Hestness, Sharan Narang, Newsha Ardalani, Gregory Diamos, Heewoo Jun, Hassan Kianinejad, Md. Mostofa Ali Patwary, Yang Yang, and Yanqi Zhou. Deep learning scaling is predictable, empirically, 2017. URL https://arxiv.org/abs/1712.00409.
[73] Jonathan S. Rosenfeld, Amir Rosenfeld, Yonatan Belinkov, and Nir Shavit. A constructive prediction of the generalization error across scales, 2019. URL https://arxiv.org/abs/1909.12673.
[74] Lilian Weng. Scaling laws, carefully. lilianweng.github.io, June 2026. URL https://lilianweng.github.io/posts/2026-06-24-scaling-laws/.
[75] Niklas Muennighoff, Alexander M. Rush, Boaz Barak, Teven Le Scao, Aleksandra Piktus, Nouamane Tazi, Sampo Pyysalo, Thomas Wolf, and Colin Raffel. Scaling data-constrained language models, 2025. URL https://arxiv.org/abs/2305.16264.
[76] Justin Lovelace, Christian Belardi, Srivatsa Kundurthy, Shriya Sudhakar, and Kilian Q. Weinberger. Prescriptive scaling laws for data constrained training, 2026. URL https://arxiv.org/abs/2605.01640.
[77] Tim Pearce and Jinyeop Song. Reconciling kaplan and chinchilla scaling laws, 2024. URL https://arxiv.org/abs/2406.12907.
[78] Peter J. Huber. Robust Estimation of a Location Parameter. The Annals of Mathematical Statistics, 35(1):73–101, 1964. doi: 10.1214/aoms/1177703732. URL https://doi.org/10.1214/aoms/1177703732.
[79] Preetum Nakkiran, Gal Kaplun, Yamini Bansal, Tristan Yang, Boaz Barak, and Ilya Sutskever. Deep double descent: Where bigger models and more data hurt, 2019. URL https://arxiv.org/abs/1912.02292.
[80] Johann Brehmer, Sönke Behrends, Pim de Haan, and Taco Cohen. Does equivariance matter at scale?, 2025. URL https://arxiv.org/abs/2410.23179.
[81] Huilin Qu, Congqiao Li, and Sitian Qian. Jetclass: A large-scale dataset for deep learning in jet physics, June 2022. URL https://doi.org/10.5281/zenodo.6619768.
[82] ATLAS collaboration. Accuracy versus precision in boosted top tagging with the atlas detector. Journal of Instrumentation, 19(08):P08018, aug 2024. doi: 10.1088/1748-0221/19/08/P08018. URL https://doi.org/10.1088/1748-0221/19/08/P08018.
[83] ATLAS Collaboration. Atlas simulation for ml-based jet flavour tagging (jetset), 2025. URL https://opendata.cern.ch/record/93940.
[84] Dimitri von Rütte, Janis Fluri, Omead Pooladzandi, Bernhard Schölkopf, Thomas Hofmann, and Antonio Orvieto. Scaling behavior of discrete diffusion language models, 2026. URL https://arxiv.org/abs/2512.10858.
[85] Liu Ziyin, Zhikang T. Wang, and Masahito Ueda. Laprop: Separating momentum and adaptivity in adam, 2021. URL https://arxiv.org/abs/2002.04839.
[86] Oleg Filatov, Jiangtao Wang, Jan Ebert, and Stefan Kesselheim. Optimal scaling needs optimal norm, 2026. URL https://arxiv.org/abs/2510.03871.
[87] Thomas Pethick, Wanyun Xie, Kimon Antonakopoulos, Zhenyu Zhu, Antonio Silveti-Falls, and Volkan Cevher. Training deep learning models with norm-constrained lmos, 2025. URL https://arxiv.org/abs/2502.07529.
[88] Ibrahim Alabdulmohsin, Xiaohua Zhai, Alexander Kolesnikov, and Lucas Beyer. Getting vit in shape: Scaling laws for compute-optimal model design, 2024. URL https://arxiv.org/abs/2305.13035.
[89] Yoav Levine, Noam Wies, Or Sharir, Hofit Bata, and Amnon Shashua. The depth-to-width interplay in self-attention, 2021. URL https://arxiv.org/abs/2006.12467.
[90] Tri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. Flashattention: Fast and memory-efficient exact attention with io-awareness, 2022. URL https://arxiv.org/abs/2205.14135.
[91] Malte Algren, Tobias Golling, Francesco Armando Di Bello, and Christopher Pollard. Mind the Gap: Navigating Inference with Optimal Transport Maps. 7 2025.
A Input variables
Table 6: Input variables considered in this study. Muon variables are treated as additional track features, while particle-flow and electron inputs are separate input modalities. The five right-most columns indicate, with a colored cell, which variables enter each training variant: ■ full set (GN3), ■ Tracks+electrons+muons (GN3 minus the pflow modality), ■ Tracks+electrons (GN3 minus the pflow and muon modality / GN2 plus the electron modality), ■ tracks (GN2), ■ 4-momenta only (all modalities).
| Input Modality | Variable | Description | |||||
|---|---|---|---|---|---|---|---|
| Full set (GN3) | Tracks+electrons+muons | Tracks+electrons | Tracks (GN2) | 4-momenta | |||
| Jet | Transverse momentum | ||||||
| Pseudo-rapidity | |||||||
| Track | Track's charge over momentum (curvature) | ||||||
| Pseudorapidity relative to the jet | |||||||
| Azimuthal angle relative to the jet | |||||||
| Closest distance from the track to PV in the transverse plane | |||||||
| Distance to PV in the longitudinal plane, measured at point of closest approach in transverse plane | |||||||
| Uncertainty on | |||||||
| Uncertainty on track polar angle | |||||||
| Uncertainty on track azimuthal angle | |||||||
| Lifetime signed transverse IP significance | |||||||
| Lifetime signed longitudinal IP significance | |||||||
| nPixHits | Number of pixel hits | ||||||
| nSCTHits | Number of SCT hits | ||||||
| nIBLHits | Number of IBL hits | ||||||
| nBLHits | Number of B-layer hits | ||||||
| nIBLShared | Number of shared IBL hits | ||||||
| nIBLSplit | Number of split IBL hits | ||||||
| nPixShared | Number of shared pixel hits | ||||||
| nPixSplit | Number of split pixel hits | ||||||
| nSCTShared | Number of shared SCT hits | ||||||
| Soft leptons | leptonID | Electron and muon reconstruction label | |||||
| muonQuality | Muon reconstruction quality (Loose, Medium, Tight) | ||||||
| Ratio of measured independently in the MS and the ID | |||||||
| Imbalance of the muon tri-momentum between the MS and the ID | |||||||
| Azimuthal Angular deviation between scattering centers belonging to a muon track | |||||||
| Electron | Electron transverse momentum | ||||||
| Electron divided by the jet | |||||||
| Electron momenta transverse to the jet axis | |||||||
| Opening angle between the electron and the jet axis | |||||||
| Absolute pseudorapidity of the electron | |||||||
| Electron pseudorapidity | |||||||
| Electron azimuthal angle | |||||||
| Transverse energy of the electron EM cluster | |||||||
| Electron track's charge over momentum | |||||||
| Transverse impact parameter relative to the beam spot | |||||||
| Significance of relative to the beam spot, | |||||||
| ptVarCone30/ | Track-based isolation with a variable cone (), divided by | ||||||
| nPixHits | Number of pixel hits on the electron track | ||||||
| nSCTHitsInclDead | Number of SCT hits on the electron track, including crossings of dead sensors | ||||||
| Momentum lost by the track between the perigee and the last measurement point, divided by the momentum at perigee | |||||||
| eProbabilityHT | Likelihood probability based on transition radiation in the transition radiation tracker | ||||||
| between the cluster position in the first EM layer and the extrapolated track | |||||||
| between the cluster position in the second EM layer and the momentum-rescaled track, times the track charge | |||||||
| Ratio of the EM cluster energy to the track momentum | |||||||
| Ratio of in the hadronic calorimeter to of the EM cluster (used for ) | |||||||
| Ratio of in the first hadronic-calorimeter layer to of the EM cluster (used for or ) | |||||||
| Ratio of the energy difference between the largest and second-largest energy deposits in the first EM layer to their sum | |||||||
| Lateral shower width in the second EM layer, computed over cells | |||||||
| Ratio of the energy in cells to the energy in cells centered on the electron cluster, in the second EM layer | |||||||
| Ratio of the energy in cells to the energy in cells centered on the electron cluster, in the second EM layer | |||||||
| Total shower width in the first EM layer, computed over a window of | |||||||
| Fraction of cluster energy deposited in the first EM layer | |||||||
| Fraction of cluster energy deposited in the third EM layer | |||||||
| PFlow | PFlow transverse momentum | ||||||
| energy | PFlow energy | ||||||
| Pseudorapidity relative to the jet | |||||||
| Azimuthal angle relative to the jet | |||||||
| isCharged | Boolean indicating if charged PFlow | ||||||
B Data repetition: hyperparameter scaling and optimal-compute-wise double descent
At the optimal training horizon, the hyperparameters of the scaling recipe of Section 5 yield a loss comparable with the lowest from independent scans of b and , and at the same number of epochs (thus compute), as shown in Fig. 28.

Figure 28: Best early-stopped loss of each point of a grid of (markers) and (colors), over the targeted pass counts run for it, relative to the best loss of the recipe (star), against the pass at which it is reached. The gray line connects the recipe's own runs, one per targeted pass count. A setting better than the recipe on both counts would sit in the shaded corner. Triangles: points above the range shown. Of the two batch sizes of each marker, the first is used on and the second on unique jets.
Each run is charged its early stopped schedule, , and the optimal allocation minimizes Eq. (15) at each compute budget. Early stopping shortens only schedules longer than the best one, which the allocation never selects (Fig. 29b). Within a few passes, repeated jets count nearly as fresh jets, which favors small models close to the single-pass compute-optimal allocation, trained for several passes. Once the passes reach , Eq. (15) puts additional compute into parameters, and the allocation reverts to larger models that target fewer passes (Fig. 29a), in agreement with Ref. [76], while the loss on the frontier eventually flattens.
(a)

(b)
(c)
Figure 29: Allocation under repetition. (a) Contours of the loss of Eq. (15) at in the plane of training horizon and parameters, the measured early-stopped losses on the same color scale, the compute-optimal allocations of Eq. (15) and of the single-pass law with repeated jets counted as fresh, and their optima at FLOP; dotted lines mark the number of passes. (b) Constant compute when runs stop early (solid, labeled) and when the full schedule is charged (dashed), with the runs colored by their loss. (c) Loss on the compute-optimal frontier for to , the frontier with unlimited fresh jets (dashed), the measured runs on their lower envelope (circles) and compute-optimal single passes (triangles).
Optimal-compute-wise double descent? The exponent of Eq. (15) controls how fast the number of useful passes grows as a model gets smaller relative to its unique set, below . It is fitted to (rms 0.35%), but holding fixed at 0.8 or 1.2 still gives a reasonable fit (rms 0.36% and 0.40%), and different values of give rise to different behaviors of the compute-optimal allocation and loss. We thus repeat the fit to Eq. (15) with held at 0.5, 1, 1.5 and 2, to qualitatively explore its effects. Its value sets how far the law rises in model size at fixed (Fig. 30), providing a possible quantitative explanation for the mild model-wise double descent we observed with early stopping: our fitted implies only a mild residual peak that flattens at high . On the compute axis, a larger value of appears as an intermediate peak followed by a second descent in loss, meaning that for a brief range more compute, however spent, can hurt performance. Consequently there is a range of budgets over which the best allocation stays at the smaller model and leaves the rest of the budget unused, until the budget is high enough to “jump” past the peak toward larger models. Given the empirical nature of Eq. (15), we leave the interpretation of this term as driving early stopped model-wise double descent, and the apparent “optimal-compute-wise” double descent, to future work, and qualitatively draw four scenarios in Fig. 31.

(c)
(d)
Figure 30: Eq. (15) at unique jets with the onset exponent held at 0.5, 1 and 1.5 and the other parameters refitted. (a) ; (b) the terms of the law at its best target (the parameter term does not depend on ); (c) the law at its best target against model size; (d) the loss on the compute-optimal frontier, spending at most (dashed) and exactly (solid) the budget.

Figure 31: Allocation implied by Eq. (15) at unique jets with the onset exponent held at 0.5, 1, 1.5 and 2: contours of the loss in the plane of training horizon and parameters, and the compute-optimal allocation of Eq. (15) (solid) and of the single-pass law with repeated jets counted as fresh (dashed). Where the law has a minimum at small models, the allocation stops there (lower diamond), and then restarts once the budget exceeds the band. Dotted lines mark the number of target passes.
C Background Rejection fits
Figure 32 maps loss onto rejection with an exponential fit . The compute axis is taken from approach 1.




Figure 32: Downstream performance against training loss for the multi-task models. The first three panels show the -, light- and -jet rejection at the 70% -jet efficiency working point against the jet-classification loss. The fourth shows the median relative resolution against the -regression loss. Curves are fits of , with the shaded 68% interval from bootstrapping. The top axis converts loss into training compute through the compute-optimal envelope .
Fig. 33 shows the background rejections for the deployed ATLAS models up to GN3, TN25-86M, and the scaling-law projections for a compute-optimal model trained on the full set of inputs and tasks.

Figure 33: Light-jet rejection (blue) and c-jet rejection (orange) of the deployed ATLAS flavor taggers (DL1 to GN3), the TN25-86M model, and the compute optimal models. Error bars are the rejection-fit and uncertainties. Evaluated at 70% global b-jet efficiency, GeV, on a sample.
D Auxiliary-tasks scaling
The per-task scaling laws of the four auxiliary heads, together with the total loss, are collected here. Each descends along its own envelope toward its own irreducible floor, with the direct envelope fit annotated on the panels.

Compute C (FLOPs)
Compute C (FLOPs)
Figure 34: All trained multi-task runs: training loss against cumulative compute C. The same curves are colored by model size N (left) and by dataset size D (right); circles mark the final per-cell validation loss. The shared lower envelope is the empirical compute-optimal frontier that Approaches 1–3 estimate.

Compute C (FLOPs)
Compute C (FLOPs)
Figure 35: Jet- regression loss against compute. The same curves are colored by model size N (left) and by dataset size D (right); circles mark the final per-cell validation loss.

Compute C (FLOPs)
Compute C (FLOPs)
Figure 36: Track-origin loss against compute. The same curves are colored by model size N (left) and by dataset size D (right); circles mark the final per-cell validation loss.

Compute C (FLOPs)
Compute C (FLOPs)
Figure 37: Track-type loss against compute. The same curves are colored by model size N (left) and by dataset size D (right); circles mark the final per-cell validation loss.

Compute C (FLOPs)
Compute C (FLOPs)
Figure 38: Track-vertexing loss against compute. The same curves are colored by model size N (left) and by dataset size D (right); circles mark the final per-cell validation loss.
E Single-auxiliary-task scaling
To identify which auxiliary heads drive the multi-task gain, we repeat the comparison with jet classification plus exactly one auxiliary task at a time, alongside the classification-only and full multi-task baselines. Fig. 39 shows the resulting jet-classification loss both against compute and against A100 GPU-hours. Each auxiliary head improves on the classification-only baseline, although none individually recovers the full multi-task gain, indicating that the benefits are partly complementary. The three track-level heads provide the largest individual gains, while jet- regression is the weakest contributor. Accounting for wall-clock cost narrows these differences, but the full multi-task model remains competitive with or better than every single-auxiliary variant across the studied range.

Compute C (FLOPs)
training time (A100 GPU-hours)
Figure 39: Single-auxiliary-task ablation: compute-optimal jet-classification loss for the classification-only baseline, for classification plus each single auxiliary head, and for all five together, against compute (left) and A100 GPU-hours (right). Bands are the seed-to-seed spread. The three track-level heads (origin, type, vertexing) each recover most of the full multi-task gain on their own, whereas jet- regression contributes least; per GPU-hour the ordering tightens as the throughput cost of the extra head is folded in.
F Full P sweep
Fig. 40 shows the training loss against step for every learning rate at each cell, and Fig. 41 the corresponding best-loss heatmaps over learning rate and model shape.

Figure 40: Training loss against optimizer step for every cell of the P sweep (rows: depth ; columns: width ), with one curve per peak learning rate (color). Anchors .

Figure 41: Smoothed best training loss across the P sweep. Top: over peak and width at each depth ; bottom: over peak and depth at each width . Anchors .

Figure 42: Fit of the depth exponent in ; after applying this multiplier the effective reduces to a single value across the studied range.
Table 7: Full per-head multiplicative calibration, extending Table 2 with the five individual multi-task heads. Same functional form and anchors (, jets) as Table 2.
| optimization target | |||
|---|---|---|---|
| Total (multi-task) | |||
| jet classification | |||
| jet regression | |||
| track origin | |||
| track type | |||
| track vertexing | |||
| Jet-classification-only |
G Per-task hyperparameter optima
The multiplicative recipe of Section 5.2 is calibrated independently for each objective. Table 7 gives the full per-head calibration, extending the main-text Table 2 with the five individual multi-task heads. Figs. 43 to 47 show the per-task landscapes. The fitted exponent differs across tasks, so each head has its own growth, which is why optimizing for a single component differs from optimizing the summed loss.

Figure 43: Per-task landscape for the jet-classification head: (left) the optimal learning rate with iso- contours from the multiplicative fit, and (right) the loss at that optimum, , with iso-loss contours; white circles mark the swept cells.

Figure 44: Per-task landscape for the regression head: (left) the optimal learning rate with iso- contours from the multiplicative fit, and (right) the loss at that optimum, , with iso-loss contours; white circles mark the swept cells.

b (batch size)
b (batch size)
Figure 45: Per-task landscape for the track-origin head: (left) the optimal learning rate with iso- contours from the multiplicative fit, and (right) the loss at that optimum, , with iso-loss contours; white circles mark the swept cells.

b (batch size)
b (batch size)
Figure 46: Per-task landscape for the track-type head: (left) the optimal learning rate with iso- contours from the multiplicative fit, and (right) the loss at that optimum, , with iso-loss contours; white circles mark the swept cells.

b (batch size)
b (batch size)
Figure 47: Per-task landscape for the track-vertexing head: (left) the optimal learning rate with iso- contours from the multiplicative fit, and (right) the loss at that optimum, , with iso-loss contours; white circles mark the swept cells.
H FLOP estimate validation
The estimate of Eq. (1) assumes that the per-token cost is dominated by the parameter-count term and is otherwise independent of model shape. Per jet, it predicts FLOPs, where is the mean number of constituents per jet. Fig. 48 compares this prediction with the forward-plus-backward FLOPs per jet measured with PyTorch's FlopCounterMode across the grid. The measurement tracks the estimate over more than three orders of magnitude in model size.

Figure 48: Forward-plus-backward FLOPs per jet measured with FlopCounterMode (solid) against width w at fixed depth (left) and against depth l at fixed width (right), compared with the per-jet estimate of Eq. (1) (dashed). The measurement follows the estimate across the model family, confirming that is an adequate compute proxy for the architectures studied here.
I Evaluation metrics and reweighting
This appendix gives the full argument behind treating the loss, rather than any single rejection number, as the performance metric of the trained tagger and shows how strongly a quoted rejection depends on the discriminant fractions (Eq. (16)) and working point.
The flavor discriminant as a projection. The scalar flavor discriminant of Eq. (16) is built from the per-flavor scores with the background fractions set by hand. The per-flavor scores are themselves a projection of the encoder's latent representation, and Eq. (16) projects them further down onto a single axis. A deployed tagger is a frozen predictor used by many downstream analyses, so its output must be well calibrated against data, which is in practice done for a fixed low-dimensional discriminant evaluated at a few working points. A working point is a cut on the discriminant: the threshold sets the -jet efficiency , the fraction of true -jets kept, and for each background flavor a mis-tag efficiency , whose inverse is the background rejection. The price is that this scalar bottleneck fixes an arbitrary projection, biased toward whichever background the chosen favor.
Dependence of the rejection on the fractions. Because are free, the rejection quoted at a given b-jet efficiency varies by large factors across reasonable choices. Fig. 49 scans at fixed global efficiency: c-, light-, and -jet rejection move in opposite directions and by an order of magnitude or more across the plane. GN3 adopts . No single choice is optimal for all three flavors at once, and the genuinely optimal fractions for a given analysis follow from its background composition through the Neyman–Pearson lemma. The same point trivially explains part of the gains seen when a downstream analysis is given the full latent space rather than a fixed discriminant threshold [34]: in that sense the tagger acts as a foundation model whose representation can be projected, or fine-tuned, optimally for the downstream task at hand, provided that representation is itself calibrated against data [91].
-dependence. Calibration requirements also fix the working points, a discrete set of global b-jet efficiencies: for a fixed discriminant the threshold that yields a given efficiency drifts with and , so a global 70% maps to local, in-bin efficiencies that vary across and .
What a working point fixes. Putting the two choices together, a working point is one location in the plane of Fig. 49, which fixes the discriminant, together with one threshold on it, the dashed line in Fig. 50, which fixes the efficiency. The rejection a deployed tagger reports is just the value read off at that one dot-and-line pair, i.e., the global efficiency and the rejection integrated along the dashed line in Fig. 50. By the Neyman–Pearson lemma, the

Figure 49: Background rejection at fixed b-jet efficiency as a function of the discriminant fractions of Eq. (16), for c-jets (left), light-jets (middle), and -jets (right), at global (top) and 90% (bottom), in GeV. The rejection varies by an order of magnitude or more across the plane and the three flavors trade off against one another. GN3 uses (red circle); the fractions maximizing a given rejection differ per flavor, and the optimal choice for an analysis is set by its background composition through the Neyman–Pearson lemma. The reported rejection is thus a property of the chosen projection.
ttbar rejection vs and (W=768, L=4, b=1000, jcls-only)

Figure 50: Background rejection against jet and in-bin -jet efficiency , for -jets (top) and light-jets (bottom), for a , classification-only model trained at four settings: and jets with (+sw) and without (-sw) sample weights. The discriminant uses the default GN3 fractions ( , ) = (0.20, 0.10). At fixed in-bin efficiency the rejection landscape is nearly identical with and without sample weights; the dashed line, a global over GeV, cuts across very different in-bin efficiencies and rejections.
discriminant of Eq. (16) separates b-jets from the background optimally when the are the prior probabilities of each background flavor in the sample being discriminated against. The right fractions are therefore the background composition of the analysis sample and, since that composition varies with kinematics, they are in general functions of . Fig. 51 measures this composition on a dedicated test sample of 4.9M jets. Every analysis, with its own background composition and kinematic selection, would prefer its own projection, which no fixed set of working points can provide.
In foundation-model terms, the right way to exploit such a network is to calibrate the latent space and give analyses full access to it, or to fine-tune the backbone, especially given the scale at which taggers are now being trained, the variety of inputs they ingest, and the multi-task objective they minimize.

Figure 51: Background composition among non-b jets of the test sample on the grid: (left), (middle), and (right), with per-bin values annotated and the sample-global values in the titles. The composition is far from the fixed convention and varies strongly with kinematics, so the Neyman–Pearson-optimal fractions are per-jet, per-analysis quantities.
J Input-variants scaling

Figure 52: Compute-optimal allocation ( , ) for five settings: two training objectives (all-aux, jcls-only) and three reduced input sets, with bands from the fitted allocation exponents. Dotted diagonals are lines of constant compute at decades from to FLOP. The jet-classification-only setting is the clear outlier, preferring more data and a smaller model at every budget; the input level does not appear to shift the allocation.
The per-variant jet-classification loss-versus-compute runs behind the envelope overlay of Fig. 25 are collected here, one panel per reduced input set: the GN2 set (Fig. 53), the no-flows variant (Fig. 54), and the four-momenta-only model (Fig. 55).

Compute C (FLOPs)
N (params)
Compute C (FLOPs)
Figure 53: Jet-classification loss against compute for the GN2 input set.

Compute C (FLOPs)
Compute C (FLOPs)
Figure 54: Jet-classification loss against compute for the no-flows input set.

Compute C (FLOPs)
Compute C (FLOPs)
Figure 55: Jet-classification loss against compute for the four-momenta-only input set.
K Validating the joint-optimum transfer
Fig. 56a validates the transfer on held-out combinations, where the predicted lands at the bottom of each loss-versus- curve. The joint optimum transfers up to a possible shift . For jet classification the shift is trivially absent, the loss being flat in at . For the multi-task objective grows as , leaving that shift as the only possible residual freedom as varies from the reference . Fig. 56b shows that using the predicted instead of the lowest-loss in a sweep costs at most a few in loss, a per-mille-level penalty comparable to run-to-run noise. The joint optimum transfers in practice without needing a further dependence, possibly helped by the flatness of in around .

(a) Predicted on held-out configurations.

W
(b) Loss penalty from the predicted .
L
Figure 56: Validation of joint-optimum transfer. (a) final validation loss against for combinations not used in the multiplicative fit. The star marks the predicted , which sits at or near every minimum, so transfers across batch size, token budget, and model shape. (b) loss penalty from using the predicted batch size rather than the lowest-loss in the sweep ( ), as a function of width (left sub-panel) and depth (right sub-panel) at three token budgets . The gray band marks the run-to-run spread, showing that the possible residual shift from the prediction can be neglected once is tuned.
L A toy scaling-law tutorial
The companion tutorial reproduces the three extraction methods of Section 3 on a synthetic, laptop-scale problem. A fixed, randomly initialized MLP (the teacher) defines the target; students of growing width are trained to imitate it on Gaussian inputs with label noise, . Data is drawn fresh at every step, so the run is single-pass and counts examples seen, with MLP compute ( the input dimension, the first hidden width). The loss follows the additive form , and because the task is synthetic the floor is known exactly, , the label noise no model can predict, which lets the fitted floor of Approach 3 be graded against the truth.
A grid over , each cell trained at its own tuned learning rate, recovers the compute-optimal frontier and allocation by all three approaches (Fig. 57): all three give near- scaling and broadly agree on the allocation.

Figure 57: Tutorial scaling laws on the teacher–student toy problem: validation loss against data (left) and compute (right), one curve per student size . Smaller students win at low compute and larger ones take over, with the envelope approaching the known floor (dotted).
The tutorial also repeats the grid with the learning rate tuned once and held fixed. The resulting excess-loss comparison is shown in Fig. 58.

Figure 58: Cost of not re-tuning the learning rate on the teacher–student toy (Section L), whose floor E is known exactly. Excess loss L - E for the per-cell tuned (green) against a single learning rate tuned once at the small end and then held fixed (red), growing the data D at fixed width (left) and the model size N at fixed data (right). The mis-tuned arm does not sit at a constant offset: it departs from the tuned power law and turns upward at scale, so a grid trained this way biases the fitted exponents and can hide the scaling entirely.
A second notebook switches to the repeated-data regime on the same teacher–student setup and reproduces the three double descent cases [79]: sample-wise (a test-loss peak near ), model-wise (a peak at ), and epoch-wise. The same phenomenology was observed on particle-physics data [52]. Fig. 59 shows the model-versus-data phase diagram, with the test-loss ridge tracking the interpolation threshold .
Code and step-by-step instructions: https://github.com/mvigl/scaling-laws-demo.

model size (width)
model size (width)
Figure 59: Double descent on the teacher–student toy problem: test loss (left) and train MSE (right) over model width and number of training samples D. The test-loss ridge follows the interpolation threshold (dashed), where the train MSE drops to zero; beyond it the test loss second-descends.
M Compressed-representation scaling details
The compressed-representation study of Section 4 freezes a small set-transformer autoencoder ( , parameters) trained for one pass over 5M JetClass jets [81], and runs the scaling study on one-hidden-layer MLP probes over its latents for jets the encoder never saw, on a 10-way boosted-jet classification target.
Each jet enters as a set of up to 40 -sorted constituents with 17 features, which the encoder compresses into one latent vector of dimension and a transformer decoder expands back into the constituents; no labels enter the objective. The objective is
with a masked Huber loss ( ) on the 11 standardized kinematic features, and masked cross-entropies on the charge and on five particle-identification classes, and a cross-entropy over constituent-multiplicity bins predicted from the latent directly. The continuous term carries the largest weight, so the latent is shaped mostly by kinematic reconstruction, with the categorical heads acting as auxiliary supervision. Training uses AdamW (weight decay 0.01) with a one-cycle schedule (peak learning rate , 5% warmup, single cosine anneal) at batch size 256, with only the latent dimension varied across the series.
Fig. 60 isolates the cost of not re-tuning the learning rate of the MLP probes when scaling. Against the per-cell tuned baseline, a learning rate tuned once at a single cell and then held fixed leaves a loss gap that grows toward both the large-D and large-w ends of the grid. Refitting the surface on the fixed-LR grid returns a different law altogether, with a floor estimate above the best measured cell, so the mis-tuned grid misreports both the exponents and where scaling ends.
Cost of not re-tuning the LR as you scale -- 10-way classification (fixed = tuned at one cell, then held)
(a) grow D at fixed w=64

D (jets)
(b) grow width at fixed D=10000k
width w
Figure 60: Cost of not re-tuning the learning rate on the compressed-representation system (10-way classification). (a) growing D at fixed width w = 64: per-cell tuned (blue) against a learning rate tuned at D = 1M and then held fixed (red). (b) growing width at fixed D. A grid trained this way refits to visibly different scaling-law parameters.