Summary (Overview)

  • This paper presents a systematic procedure for deriving robust compute-optimal scaling laws for high-energy physics (HEP) machine learning models, specifically for jet flavor tagging using transformer architectures on the ~11 billion-jet ATLAS JetSet2 dataset.
  • The key methodological contribution is a "hyperparameter recipe" that makes the optimal learning rate and batch size predictable as closed-form functions of model size and token budget, using μP/Complete(d)P parameterization for width/depth transferability.
  • The authors recover a near-equal C\sqrt{C} dependence of model size and dataset size on compute (N⋆∝C0.52N^\star \propto C^{0.52}, D⋆∝C0.48D^\star \propto C^{0.48}), matching the Chinchilla scaling result.
  • Auxiliary multi-task objectives consistently lower the primary jet-classification loss at equal compute budget, while richer input representations (adding tracks, electrons, muons, particle-flow objects) systematically lower loss without changing the scaling exponent.
  • The onset of the power-law scaling regime requires a minimum dataset size (a few hundred million jets); below this threshold, scaling fits carry little information about high-compute behavior.

Introduction and Theoretical Foundation

Jet flavor tagging—identifying jets originating from b-quarks, c-quarks, τ-leptons, and light quarks/gluons—is a central component of the LHC physics program. ATLAS has progressively moved toward more powerful neural-network-based taggers, from recurrent networks to graph and transformer models. The latest GN family uses transformers trained directly on low-level tracks and particle-flow constituents.

Neural scaling laws [24, 25] quantify the dependence of achievable loss on model size NN, dataset size DD, and compute CC through power-law relations. These laws can predict performance at larger training budgets and determine how a budget should be divided between NN and DD. The compute budget for transformers is:

C=6NT≈256ND(1)C = 6 N T \approx 256 N D \tag{1}

where T≈42.6DT \approx 42.6D is the token budget (per-jet constituents), and DD is the number of jets.

The central problem: At fixed model size and shape, the optimal learning rate η\eta and batch size bb change systematically with the training budget. Fixing hyperparameters at a reference budget mixes genuine scaling behavior with the movement of the training optimum. A robust scaling analysis must account for this movement explicitly.

The scaling law framework: The loss decreases as a power law in NN, DD, and CC. The compute-optimal frontier is a two-level optimum:

L⋆(C)=min⁡(N,T):6NT=CLcell⋆(N,T),Lcell⋆(N,T)≡min⁡b,ηL(N,T,b,η)(7)L^{\star}(C) = \min_{(N,T): 6NT=C} L^{\star}_{\text{cell}}(N,T), \qquad L^{\star}_{\text{cell}}(N,T) \equiv \min_{b,\eta} L(N,T,b,\eta) \tag{7}

The canonical "Chinchilla" parameterization of the full loss surface is:

L(N,D)=L∞+ANα+BDβ(5)L(N,D) = L_{\infty} + \frac{A}{N^{\alpha}} + \frac{B}{D^{\beta}} \tag{5}

with the compute-optimal allocation given by N⋆(C)∝Cβ/(α+β)N^{\star}(C) \propto C^{\beta/(\alpha+\beta)}.

Methodology

Architecture: A transformer flavor tagger based on the ATLAS GN-family, ingesting three complementary input modalities: charged-particle tracks (with impact-parameter and quality features), particle-flow objects, and soft electron/muon information. The model uses attention pooling and multiple task-specific heads.

Training objectives: Five loss functions summed directly:

Ltotal=∑i=15Li(2)\mathcal{L}_{\text{total}} = \sum_{i=1}^{5} \mathcal{L}_i \tag{2}

including jet classification (cross-entropy with class weights), vertexing (binary cross-entropy on track pairs), track-origin classification, track-type classification, and jet pTp_T regression (L1 loss).

Hyperparameter recipe (Section 5):

  1. Remove model-size dependence: Use the Complete(d)P parameterization with per-parameter-type learning-rate, AdamW-ε, and weight-decay multipliers (Table 1), making η⋆\eta^\star width-invariant. A residual depth dependence is factored out:
η⋆(b,T;l)=(lrefl)γlη⋆(b,T;lref)(10)\eta^{\star}(b,T;l) = \left(\frac{l_{\text{ref}}}{l}\right)^{\gamma_l} \eta^{\star}(b,T;l_{\text{ref}}) \tag{10}

with fitted γl=1/2\gamma_l = 1/2.

  1. Joint (η⋆,b⋆,T)(\eta^\star, b^\star, T) fit: The optimal learning rate follows a separable power law:
η⋆(b,T)=ηbase(bbref)κ(TrefT)λ(11)\eta^{\star}(b,T) = \eta_{\text{base}} \left(\frac{b}{b_{\text{ref}}}\right)^{\kappa} \left(\frac{T_{\text{ref}}}{T}\right)^{\lambda} \tag{11}
  1. Optimal batch size: For the multi-task objective, b⋆∝Tb^{\star} \propto \sqrt{T}, while for classification-only the loss is flat in bb except in the few-step corner.

  2. Optimal aspect ratio: AR⋆(N)∝N\text{AR}^{\star}(N) \propto \sqrt{N}—width should grow faster than depth.

Three fitting approaches for scaling laws:

  1. Training-curve envelope: Read the lower envelope of loss-vs-compute curves directly.
  2. IsoFLOP profiles: Sweep NN at fixed C=6NTC = 6NT and locate the minimum.
  3. Full-surface fit: Fit L(N,D)L(N,D) of Eq. (5) jointly to all cells.

Data repetition model (Section 7): Early-stopped runs targeting nn passes over UDU_D unique jets are modeled with a fresh-equivalent pass count:

L(N,UD,n)=L(N,UDneff)⏟single pass+δ(ln⁡nneff)p⏟cost of repeating(15)L(N, U_D, n) = \underbrace{L(N, U_D n_{\text{eff}})}_{\text{single pass}} + \underbrace{\delta\left(\ln\frac{n}{n_{\text{eff}}}\right)^p}_{\text{cost of repeating}} \tag{15}

with neffn_{\text{eff}} saturating at ncrit=n0[1+(1t0TUN)γ]n_{\text{crit}} = n_0\left[1 + \left(\frac{1}{t_0}\frac{T_U}{N}\right)^{\gamma}\right].

Empirical Validation / Results

Warm-up studies: On a teacher-student problem with known floor (L∞=σ2=0.01L_\infty = \sigma^2 = 0.01), all three fitting approaches agree on the C\sqrt{C} allocation. The compute-optimal envelope passes through three regimes: initial data-driven descent, a clean power-law scaling regime, and a tail approaching the floor. The full-surface fit (Approach 3) mis-fits across regimes and flattens onto a biased floor.

Compute-optimal allocation (Section 6): All three approaches agree on near-equal C\sqrt{C} dependence:

Methodaa (N⋆∝CaN^\star \propto C^a)bb (D⋆∝CbD^\star \propto C^b)
This work (Approach 1)0.52 ± 0.010.48 ± 0.01
This work (Approach 2)0.55 ± 0.020.45 ± 0.02
This work (Approach 3)0.49 ± 0.030.51 ± 0.03
Carpe Datum [42]0.100.90
Kaplan et al. [24]0.730.27
Hoffmann et al. [25]0.490.51

Onset of scaling: The scaling regime only sets in past ~a few hundred million jets. Below this threshold, the envelope is dominated by a single small model and fits return biased exponents.

Auxiliary tasks: At fixed compute, the multi-task variant achieves lower jet-classification loss than classification-only (Fig. 24), and shifts the compute-optimal allocation toward larger models and smaller datasets.

Input variants: Each added modality (track features, soft electrons, muons, particle-flow objects) lowers the compute-optimal loss while leaving the scaling exponent nearly unchanged.

Data repetition: The best training horizon grows with unique dataset size (5 passes on 10710^7 jets to 17 on 10910^9 for a 31.5M model). Model-wise double descent survives early stopping. At large compute, the allocation reverts to larger models targeting fewer passes.

Physics performance: Projections using R(L)=AeBL+R0R(L) = Ae^{BL} + R_0 translate loss into background rejection. At 70% b-jet efficiency, compute-optimal models projected to higher compute budgets show substantial gains over existing GN3 and TN25-86M models.

Theoretical and Practical Implications

  • Methodological: Reliable scaling laws require training dynamics (learning rate, batch size) to be scaled together with model and dataset. Predictive hyperparameter transfer removes bias that would otherwise be absorbed into fitted scaling exponents and floors.
  • Architecture comparison: The compute-optimal frontier provides a fair basis for comparing architectures, objectives, and input representations—each must be evaluated at its own optimal allocation rather than at fixed NN or DD.
  • Practical guidance: The multi-task objective wins at scale despite higher per-jet cost; richer inputs are always beneficial; the scaling exponent is approximately invariant to input changes, so gains from better inputs and from scaling are multiplicative.
  • Data requirements: The onset of scaling requires large, high-quality full-simulation datasets. Fits based on smaller datasets can return biased exponents even when curves appear well-described by power laws.
  • Resource scale: The full study required ~97k A100 GPU-hours—substantial by HEP standards but modest compared to industrial-scale models. The observed scaling suggests larger budgets could be productively invested, particularly toward foundation models.

Conclusion

The paper presents a complete recipe for deriving robust compute-optimal scaling laws in HEP, demonstrated on multi-task jet-tagging transformers. Key findings:

  1. Near-equal C\sqrt{C} scaling of model and dataset size (Chinchilla-like behavior)
  2. Auxiliary objectives improve primary task at scale and shift optimal allocation toward larger models
  3. Richer inputs lower loss without changing scaling exponents
  4. The power-law regime requires a minimum dataset scale to emerge

The framework serves as a practical blueprint for future scaling studies in HEP, suggesting a natural progression from small-scale studies to large-scale, full-simulation benchmarks, and ultimately toward generic foundation models pretrained at scale and fine-tuned for specific experiments, detector configurations, and physics tasks.

Related papers