betaFeedback

WorksPhysics and Astronomy

Who Moved My ZZ Boson? Revealing Resonance Features Inside a Neural Network

Abstract

Methods used in mechanistic interpretability have revealed human-aligned concepts inside language and image models. In this paper, we search for physics concepts inside a neural a generative collider physics model trained on real LHC data (ShellFlow). We discover features inside ShellFlow that represent resonances, such as the ZZ, J/ψJ/ψ, and ΥΥ. The network was never told which muons come from a resonance, it was only trained to generate the kinematics of the final-state particles. We use these features to alter aspects of the ZZ boson: we change its mass between ∼80\sim80 and 105105 GeV, and removing such a feature from the neural network produces a broader ZZ peak. In both cases the rest of the invariant mass spectrum remains mostly unchanged. The feature was built from the gradients of the neural network, and its selectivity was built using pattern recognition methods. A generative particle physics model trained on unlabeled data can be modified internally to change a physical quantity.

Introduction

Language and image models learn internal directions that align with human concepts, and adding such a direction to the activations, a steering vector, changes what the model produces in a controlled way [53, 59, 82, 69, 88, 79, 72]. The same idea has been carried to image diffusion models [37, 36, 44] and to models of the natural sciences [71, 39, 32] (Dimitrievikj & Wells 2025), including particle physics [31, 84, 18]. Generative models are now also trained directly on real collision data from the Large Hadron Collider (LHC). ShellFlow [40] is a Riemannian flow-matching model trained on ATLAS Open Data [8]. It accurately reproduces the kinematics of LHC collisions, and most remarkably, it also replicates inter-particle correlations, such as the invariant mass spectrum of muon pairs, in particular the J/ψJ/\psi, Υ\Upsilon, and ZZ peaks. This raises a question: can a physical quantity, like the mass of a resonance, be steered along a direction in such a model? Such a direction would let us test whether a generative model trained on collision data has learned the physics of a resonance, and change a single physical parameter of the generated sample without retraining.

In most of the steering literature, the effect of a steering vector is judged by a classifier or a similarity score [82, 69, 36, 44]. These scores are used because of a major limitation inherent in images or text: there is no rigorous ground truth, so it is impossible to measure how much a quantity changes. You cannot measure how much a smile has changed in a picture. A generator of collision events does not have this limitation: its output is a set of four-momenta, on which a physical observable, such as the invariant mass of a muon pair, can be measured.

In this paper, we search for a direction in ShellFlow that is aligned with the concept of the ZZ boson. We aim to find a steering vector that changes the mass of the ZZ boson and leaves the rest of the dimuon spectrum unchanged. We find its shape by doing a Taylor expansion of the invariant mass with respect to the activations of the network, and keeping only the linear term. We then argue that such steering vectors are the ones that give the largest second moment of the gradients, the derivatives of the invariant mass with respect to the activations. We use a Fukunaga–Koontz transform (FKT) [35] to find the vector along which this second moment is the largest for the ZZ, and the smallest for the other parts of the invariant mass spectrum. We scale and add this vector to the muon tokens and study the generated events.

We use this vector to change the mass of the ZZ boson without changing much the J/ψJ/\psi and Υ\Upsilon peaks, or the continuum. This steering of the mass is predictable: we can select the mass of the ZZ pole itself. However, the steering also broadens the ZZ peak. Furthermore, we test if this is a direction that the network uses to construct its internal concept of the ZZ boson, by ablating the direction in the residual stream, where we find that the model generates a broader ZZ bosons without this direction.

Previous work

Activation steering. Early works looking for linear directions that point to concepts inside of a model were [53, 1, 41], later formalised as the linear representation hypothesis [59]. Such linear directions were then used to steer the output of a model in [75, 82] with the use of steering vectors. Steering vectors have been built in the literature in different ways such as: differences of activations [82, 69, 2] (Li et al. 2023), a PCA of differences of activations [88], sums of attention-head outputs [81], sparse-autoencoder features [79], and vectors optimised by gradient descent [75, 30]. Our steering vectors were obtained from a generalized eigenproblem that contrasts classes, on the gradients of the model’s own output. The closest methods to ours are [12, 85], which take eigenvectors of the “Average Gradient Outer Product” of a classifier trained on the activations. Attribution patching [55, 78] also uses gradients with respect to the activations, but to locate the components and circuits responsible for a behaviour, not to build a steering direction.

Steering in diffusion and flow-matching models. Various steering analyses have been done on diffusion and flow matching models. This includes finding steering vectors in audio [74] and video [38] models. However, by far, the most work has been done in text-to-image work, with methods using differences of mean activations between contrasting prompts [36, 44] (Li et al. 2026), sparse-autoencoder features [77, 42], and, in unconditional image models, gradients [37, 85]. We steer a Riemannian flow-matching generator of collision events that is conditioned on the particle content of the reconstructed event, rather than on text like most of the examples highlighted before. This also provides us a more rigorous approach to what the ground truth is with respect to what we are steering, and can even properly check if the steering respects physical laws.

Interpretability in natural science models. A growing body of work has studied interpretability in the natural sciences. In biology, many studies have found and/or steered interpretable features of protein language models [71, 83, 39, 60]. In chemistry, steering vectors have been found in chemical language models [28]. In physics, interpretability methods have been applied to models of partial differential equations [32, 62], weather [52], quantum many-body states (Qi & Earls, 2026), cosmology and astronomy [58, 57, 19] (Wu & Walmsley 2025), and nuclear structure [43]. In particle physics, they have been applied to jet classifiers [31, 84, 67], to parton distributions [45, 17], to the latent space of a jet variational autoencoder [26], to jet-tagging transformers [80], and for a neutrino-telescope foundation model [18]. This paper, to our knowledge, presents the first application of steering vectors to a generative particle-physics model.

Background

Flow matching models

Conditional flow matching (CFM) [51] is a machine learning method that generates data. In it, a network, with parameters θ\theta, outputs a velocity field, utθu_t^\theta, that transforms an initial distribution p0p_0 to the data distribution p1p_1. Data are generated by solving the ODE

x˙t=utθ(xt),x0∼p0,(1)\dot{x}_t = u_t^\theta(x_t), \qquad x_0 \sim p_0, \tag*{(1)}

from t=0t = 0 to t=1t = 1. Taking p0=N(0,I)p_0 = \mathcal{N}(0, \mathbf{I}), we can build a path between x0∼p0x_0 \sim p_0 and x1∼p1x_1 \sim p_1,

xt=(1−t)x0+tx1,ut(xt∣x1)=x1−x0=x1−xt1−t.(2)x_t = (1-t)x_0 + tx_1, \qquad u_t(x_t \mid x_1) = x_1 - x_0 = \frac{x_1-x_t}{1-t}. \tag*{(2)}

The network is trained on this conditional velocity with the loss

LCFM(θ)=Et,x0,x1[∥utθ(xt)−ut(xt∣x1)∥2].(3)\mathcal{L}_{\mathrm{CFM}}(\theta) = \mathbb{E}_{t, x_0, x_1}\left[\left\|u_t^\theta(x_t)-u_t(x_t \mid x_1)\right\|^2\right]. \tag*{(3)}

Data are generated with successive Euler steps, xt+Δt=xt+Δt utθ(xt)x_{t+\Delta t} = x_t + \Delta t\,u_t^\theta(x_t), that end in an x1x_1 that should resemble the data. Δt=1/N\Delta t = 1/N for NN Euler steps.

Riemannian flow matching [22] generalizes CFM to a smooth Riemannian manifold M\mathcal{M} with metric gg. The velocity now lies in the tangent space, utθ(x)∈TxMu_t^\theta(x) \in T_x\mathcal{M}, the norm in the loss is taken in the metric, ∥⋅∥g\lVert\cdot\rVert_g, and the straight line of Eq. (2) becomes the geodesic,

xt=exp⁡x1((1−t)log⁡x1(x0)),x_t = \exp_{x_1}\left((1-t)\log_{x_1}(x_0)\right),
ut(xt∣x1)=log⁡xt(x1)1−t.(4)u_t(x_t \mid x_1) = \frac{\log_{x_t}(x_1)}{1-t}. \tag*{(4)}

Data generation proceeds through the same Euler steps, now with the exponential map, xt+Δt=exp⁡xt(Δt utθ(xt))x_{t+\Delta t} = \exp_{x_t}\left(\Delta t\,u_t^\theta(x_t)\right), so that xtx_t remains on M\mathcal{M} for all steps.

ShellFlow

In a previous work we introduced ShellFlow (Kato et al., [40]), a Riemannian conditional flow-matching transformer that generates the kinematics of reconstructed collider events, given the particle composition of the event.

It was trained on unlabelled real data: a mixed dataset of the two-to-four-lepton (ATLAS Collaboration, [10]) and the 1LMET30 (ATLAS Collaboration, [9]) skims of the ATLAS Open Data 13 TeV release (ATLAS Collaboration, [8]). We trained only on events with, at most, eight particles. In total the dataset has ∼825\sim825 million events; the training-validation split is 95/5.

The model has two different manifolds, one for massless particles (electrons, muons, and photons) and another for massive particles (jets). The massless manifold is R×S2\mathbb{R} \times S^2. In it, S2S^2 parametrizes the direction of the momentum, n^=p/∣p∣\hat{\mathbf{n}} = \mathbf{p}/|\mathbf{p}|, and R\mathbb{R} encodes the energy information through yE=log⁡(E/Eref)y_E = \log(E/E_{\mathrm{ref}}), with a reference energy ErefE_{\mathrm{ref}} for each particle type. At t=0t = 0, the coordinates are sampled from p0p_0: yE∼N(0,1)y_E \sim\mathcal{N}(0, 1) and n^∼Unif⁡(S2)\hat{\mathbf{n}} \sim\operatorname{Unif}(S^2). The massive manifold is R×S2×R\mathbb{R} \times S^2 \times\mathbb{R}: the first R\mathbb{R} is the boost rapidity, and the second the logarithm of the mass (both sampled from a standard normal distribution). In both, the momentum follows from the on-shell condition E2=p2+m2E^2 = p^2 + m^2, so every generated particle is on its mass shell.

Each particle of an event is one token. The network has six sequential transformer blocks with a width of 128, with 4 heads, cross-attention with missing transverse momentum, and a feed-forward layer. The blocks are conditioned on the flow time tt by an adaLN-Zero layer (Peebles & Xie, [63]). Moreover, the model is conditioned with a feature-wise linear modulation (Perez et al., [64]) that embeds the particle type, charge, and detector quantities. In total, the model has ∼3\sim3 million parameters.

The model has two losses: the usual flow-matching loss, similar to the one in Eq. (3), and an auxiliary loss that acts on a different velocity that aims at reconstructing the invariant masses of two, three, and four objects. The latter does not make the model agnostic to the structure of an invariant mass. We use the vanilla velocity field to generate data with 200 Euler steps, given the composition of the event.

Muon pair production at the LHC

Collisions at the LHC that result in a pair of muons are very important for analyses done at the LHC collaborations as a whole, as these are used to calibrate the measurement of energy and momentum of muons (ATLAS Collaboration, [7]). In particular, the processes through a resonant vector particle, like the J/ψJ/\psi, Υ\Upsilon, or ZZ, are used, since their masses are known precisely and fix the momentum scale of the muons. A typical process that produces a pair of muons at the LHC is shown in Figure 1.

Figure 1. Feynman diagram of the production of a μ−μ+\mu^-\mu^+ pair, through an intermediate vector boson V=J/ψ,Υ,Z,γV = J/\psi, \Upsilon, Z,\gamma. XX denotes the proton remnants and any additional radiation.

A resonance occurs when the partons, the constituent particles of the protons, have a centre-of-mass energy equal to the mass of the resonant particle. The outgoing muons, with momenta p±=(E±,p±)\mathbf{p}_{\pm} = (E_{\pm},\mathbf{p}_{\pm}), then have an invariant mass of

mμμ2≃2(E+E−−p+⋅p−),(5)m_{\mu\mu}^2 \simeq2\left(E_+E_- - \mathbf{p}_+ \cdot\mathbf{p}_-\right), \tag*{(5)}

where the mass of the muons is neglected. At resonance, the invariant mass of the muon pair is around the mass of the resonant particle (mJ/ψ=3.10m_{J/\psi} = 3.10 GeV, mΥ=9.46m_{\Upsilon} = 9.46 GeV, mZ=91.19m_Z = 91.19 GeV (Particle Data Group, [61])), and each appears as a narrow peak on top of the continuum (see Figure 3, grey).

Figure 3. The steering of the ZZ boson mass. Top: dimuon invariant mass of one million muon pairs, compared with real data (grey), baseline generation of ShellFlow (black, dashed), and the results from adding a steering vector at block 1 with α=±1,±2\alpha= \pm1,\pm2 (blue to green). Middle: steered over baseline. Bottom: zoom-in over the different peaks: J/ψJ/\psi, Υ\Upsilon, and ZZ bosons.

In terms of the ShellFlow parameters, E=ErefeyEE = E_{\mathrm{ref}}e^{y_E} and p=En^\mathbf{p} = E\hat{\mathbf{n}}, it is more convenient to express Eq. (5) in terms of log⁡mμμ\log m_{\mu\mu},

log⁡mμμ=log⁡Eref+12(yE++yE−)\log m_{\mu\mu} = \log E_{\mathrm{ref}} + \frac{1}{2}\left(y_{E_+} + y_{E_-}\right)
+12log⁡[2(1−n^+⋅n^−)].(6)\qquad\qquad\qquad\quad+ \frac{1}{2}\log\left[2\left(1-\hat{\mathbf{n}}_+ \cdot\hat{\mathbf{n}}_-\right)\right]. \tag*{(6)}

where ErefE_{\mathrm{ref}} is the same for both muons.

Method

Our main objective in this paper is to identify which directions in the residual stream of ShellFlow change a physical quantity in a controlled way. In § 3.1.2, we summarized the importance of known resonances to the study of collider physics. Here we aim to find a vector that only affects the muon pairs with an invariant mass close to a specific resonance, and that can alter one of its physical observables, in particular its mass.

We will do this by adding a steering vector to the residual stream, of the form

hL→hL+αξ,(7)\mathbf{h}_L \to\mathbf{h}_L + \alpha\boldsymbol{\xi}, \tag*{(7)}

where hL\mathbf{h}_L is the residual stream after block LL, ξ\boldsymbol{\xi} is the steering vector, and α\alpha is the steering coefficient.

In the rest of this section, we outline a method to obtain such a steering vector.

Steering vectors and gradients

We shall now write Eq. (7) with its explicit indices and dependences

hLμ±(xt,t)→hLμ±(xt,t)+αξ±(t),(8)\mathbf{h}_L^{\mu^\pm}(x_t,t) \to\mathbf{h}_L^{\mu^\pm}(x_t,t) + \alpha\boldsymbol{\xi}^{\pm}(t), \tag*{(8)}

where hLμ±∈R128\mathbf{h}_L^{\mu^\pm} \in\mathbb{R}^{128} is the residual stream at block L∈{0,…,5}L \in\{0,\ldots,5\}, at flow time tt and state of the event xtx_t, on the token of the μ+\mu^+ or μ−\mu^- of the event. The steering vector ξ±\boldsymbol{\xi}^{\pm} is added to the token of μ±\mu^\pm, and it also depends on flow time. We only add the vector to the slot of the muon tokens because we are looking for directions that only affect the shape of the invariant mass of muon pairs, but it can be easily applied to any other particle type.

The steering vector is applied at the output of the block, after its feed-forward layer has been added (see Figure 2).

Figure 2. One transformer block of ShellFlow, block LL (dotted frame). The steering vector is added to the residual stream at the output of the block. Inset: the output tokens of one event; only the μ−\mu^- and μ+\mu^+ tokens receive the steering vector, every other token is left unchanged.

The response of the mass to the edit follows from a Taylor expansion of log⁡mμμ\log m_{\mu\mu} in the added vectors (the derivation is in App. § 10):

Δ(log⁡mμμ,p)=α∑k=0N−1Gp(tk)⊤ξ(tk)+O(α2).(9)\Delta(\log m_{\mu\mu,p}) = \alpha\sum_{k=0}^{N-1} \mathbf{G}_p(t_k)^{\top}\boldsymbol{\xi}(t_k) + O(\alpha^2). \tag*{(9)}

The sum runs over the N=200N = 200 Euler steps of the sampler, at flow times tk=k/Nt_k = k/N, and Δlog⁡mμμ,p\Delta\log m_{\mu\mu,p} is the change of the final log⁡mμμ\log m_{\mu\mu} of pair pp with respect to the generation without the edit. Gp(tk)\mathbf{G}_p(t_k) and ξ(tk)\boldsymbol{\xi}(t_k) are concatenations over the two muon tokens:

Gp(tk)=[Dlog⁡mμμDhLμ−(tk),Dlog⁡mμμDhLμ+(tk)]∈R256,(10)\mathbf{G}_p(t_k) = \left[ \frac{\mathrm{D}\log m_{\mu\mu}}{\mathrm{D}\mathbf{h}_L^{\mu^-}(t_k)}, \frac{\mathrm{D}\log m_{\mu\mu}}{\mathrm{D}\mathbf{h}_L^{\mu^+}(t_k)} \right] \in\mathbb{R}^{256}, \tag*{(10)}
ξ(tk)=[ξ−(tk),ξ+(tk)]∈R256,(11)\boldsymbol{\xi}(t_k) = [\boldsymbol{\xi}^{-}(t_k),\boldsymbol{\xi}^{+}(t_k)] \in\mathbb{R}^{256}, \tag*{(11)}

where we call Gp(tk)\mathbf{G}_p(t_k) the gradient of pair pp at step kk, and D\mathrm{D} is the total derivative.

This tells us that, for a steering vector of fixed length, the shift is largest when it is aligned with the gradients. Moreover, if we want the shift to be localized in a specific region of the invariant mass spectrum, such as near a resonance, the steering vector must be aligned with the gradients of the pairs in that region, and as little as possible with the gradients of all other pairs.1

Discriminating directions

Our task now is to find the vectors, ξ(tk)\boldsymbol{\xi}(t_k), that are aligned with the gradients of a specific resonance and as little as possible with other gradients. We define the resonance classes in Table 1, where mμμm_{\mu\mu} is the invariant mass at generation without any intervention.

Classmμμm_{\mu\mu} [GeV]Events used for the gradients
ZZ[81.19, 101.19]181,987
J/ψJ/\psi[2.9, 3.3]224,901
Υ\Upsilon[9.2, 10.6]50,528
restelsewhere above 0.3542,584
total1,000,000

Table 1. The selection criteria of our classes of muon pairs, defined from the invariant mass of the generated pair of one seed. All events have exactly one pair of opposite-sign muons. The Υ\Upsilon class contains all three Υ\Upsilon resonances, as ShellFlow cannot properly generate three different resonances.

We can now pose this as an optimization problem. Let us consider one of the classes in Table 1 as CC, with nCn_C pairs, and group the rest of the classes into C′C'. From Eq. (9), the response of pair pp to a steering vector at step tkt_k is

αGp(tk)Tξ(tk)=α∥Gp(tk)∥G^p(tk)Tξ(tk),(12)\alpha\mathbf{G}_p(t_k)^{\mathsf{T}}\boldsymbol{\xi}(t_k)=\alpha\lVert\mathbf{G}_p(t_k)\rVert\widehat{\mathbf{G}}_p(t_k)^{\mathsf{T}}\boldsymbol{\xi}(t_k), \tag*{(12)}

with the unit gradient G^p=Gp/∥Gp∥\widehat{\mathbf{G}}_p=\mathbf{G}_p/\lVert\mathbf{G}_p\rVert.2 We measure the response of a class by its average of the squared alignment, 1nC∑p∈CξTG^pG^pTξ=ξTΣCξ\frac{1}{n_C}\sum_{p\in C}\boldsymbol{\xi}^{\mathsf{T}}\widehat{\mathbf{G}}_p\widehat{\mathbf{G}}_p^{\mathsf{T}}\boldsymbol{\xi}=\boldsymbol{\xi}^{\mathsf{T}}\Sigma_C\boldsymbol{\xi}, where

ΣC(tk)=1nC∑p∈CG^p(tk)G^p(tk)T∈R256×256,\Sigma_C(t_k)=\frac{1}{n_C}\sum_{p\in C}\widehat{\mathbf{G}}_p(t_k)\widehat{\mathbf{G}}_p(t_k)^{\mathsf{T}}\in\mathbb{R}^{256\times256},
ΣC′(tk)=∑D≠C1nD∑p∈DG^p(tk)G^p(tk)T,(13)\Sigma_{C'}(t_k)=\sum_{D\ne C}\frac{1}{n_D}\sum_{p\in D}\widehat{\mathbf{G}}_p(t_k)\widehat{\mathbf{G}}_p(t_k)^{\mathsf{T}}, \tag*{(13)}

so every class enters with the same weight, whatever its number of pairs. We choose the squared response to ensure that every pair of C′C' is small. Choosing the mean would allow the mean response to move up and down and cancel.

Our objective is to maximize the response of CC while minimizing the response of C′C', or, in other words:

ξC=arg⁡max⁡ξ ξTΣCξξT(ΣC+ΣC′)ξ.(14)\boldsymbol{\xi}_C=\underset{\boldsymbol{\xi}}{\arg\max}\ \frac{\boldsymbol{\xi}^{\mathsf{T}}\Sigma_C\boldsymbol{\xi}}{\boldsymbol{\xi}^{\mathsf{T}}(\Sigma_C+\Sigma_{C'})\boldsymbol{\xi}}. \tag*{(14)}

This is the Fukunaga–Koontz criterion (Fukunaga & Koontz, [35]).3 This is equivalent to the optimization of ξTΣCξ/ξTΣC′ξ\boldsymbol{\xi}^{\mathsf{T}}\Sigma_C\boldsymbol{\xi}/\boldsymbol{\xi}^{\mathsf{T}}\Sigma_{C'}\boldsymbol{\xi}. We chose the fraction in Eq. (14) because it lies in [0,1][0,1].

Eq. (14) is a generalized Rayleigh quotient, whose maximum solves the generalized eigenproblem

ΣCξC=λC(ΣC+ΣC′)ξC.(15)\Sigma_C\boldsymbol{\xi}_C=\lambda_C(\Sigma_C+\Sigma_{C'})\boldsymbol{\xi}_C. \tag*{(15)}

We solve it by making a Fukunaga–Koontz transformation (FK transformation), that goes as follows (we omit the dependence on tkt_k for convenience). We first find the spectral decomposition of the sum of both Σ\Sigma matrices,

ΣCC′≡ΣC+ΣC′=UσUT,(16)\Sigma_{CC'}\equiv\Sigma_C+\Sigma_{C'}=\mathbf{U}\boldsymbol{\sigma}\mathbf{U}^{\mathsf{T}}, \tag*{(16)}

where σ\boldsymbol{\sigma} is a diagonal matrix with the eigenvalues of ΣCC′\Sigma_{CC'}, all positive, and U\mathbf{U} is an orthogonal matrix whose columns are the orthonormal eigenvectors of ΣCC′\Sigma_{CC'}. We then transform the gradients, G^p→MFKTG^p\widehat{\mathbf{G}}_p\to\mathbf{M}_{\mathrm{FK}}^{\mathsf{T}}\widehat{\mathbf{G}}_p, by the matrix MFK=Uσ−1/2\mathbf{M}_{\mathrm{FK}}=\mathbf{U}\boldsymbol{\sigma}^{-1/2}, such that

Σ~C=MFKTΣCMFK,Σ~C′=MFKTΣC′MFK;(17)\widetilde{\Sigma}_C=\mathbf{M}_{\mathrm{FK}}^{\mathsf{T}}\Sigma_C\mathbf{M}_{\mathrm{FK}},\qquad\widetilde{\Sigma}_{C'}=\mathbf{M}_{\mathrm{FK}}^{\mathsf{T}}\Sigma_{C'}\mathbf{M}_{\mathrm{FK}}; \tag*{(17)}

then, it immediately follows that Σ~C+Σ~C′=I\widetilde{\Sigma}_C+\widetilde{\Sigma}_{C'}=\mathbf{I}. Now, given an eigenvector ξ~C\widetilde{\boldsymbol{\xi}}_C of Σ~C\widetilde{\Sigma}_C with eigenvalue λC\lambda_C, we get that

Σ~Cξ~C=λCξ~C,Σ~C′ξ~C=(1−λC)ξ~C.(18)\widetilde{\Sigma}_C\widetilde{\boldsymbol{\xi}}_C=\lambda_C\widetilde{\boldsymbol{\xi}}_C,\qquad\widetilde{\Sigma}_{C'}\widetilde{\boldsymbol{\xi}}_C=(1-\lambda_C)\widetilde{\boldsymbol{\xi}}_C. \tag*{(18)}

Eq. (18) tells us that both FK-transformed matrices share the same eigenbasis, but with different eigenvalues. So, if Σ~C\widetilde{\Sigma}_C has an eigenvalue λC\lambda_C, Σ~C′\widetilde{\Sigma}_{C'} has an eigenvalue 1−λC1-\lambda_C, with 0≤λC≤10\le\lambda_C\le1. This means that the most dominant eigenvectors in one class will be the least dominant in the other class. The eigenvalue λC\lambda_C is the value of Eq. (14).

We then take the eigenvector of the largest eigenvalue, λC(tk)\lambda_C(t_k), and bring it back to the coordinates of the residual stream, ξC(tk)=MFKξ~C/∥MFKξ~C∥\boldsymbol{\xi}_C(t_k)=\mathbf{M}_{\mathrm{FK}}\widetilde{\boldsymbol{\xi}}_C/\lVert\mathbf{M}_{\mathrm{FK}}\widetilde{\boldsymbol{\xi}}_C\rVert, as the direction of the steering vector that shifts the invariant mass of the two muons. We set the sign of the steering vector by choosing the sign where G‾C(tk)TξC(tk)>0\overline{\mathbf{G}}_C(t_k)^{\mathsf{T}}\boldsymbol{\xi}_C(t_k)>0, where G‾C(tk)\overline{\mathbf{G}}_C(t_k) is the average of Gp(tk)\mathbf{G}_p(t_k). The gradients were computed using a single backward pass, done at all Euler steps. This is the same way gradients were computed in Nanda [55]; Syed et al. [78].

We end this section with other attempts at obtaining steering vectors. We first built them from the activations of pairs at specific resonances, with a difference of means and a linear probe, and tested whether steering with them, or ablating them, would produce more or fewer resonant events. These vectors changed the generated spectrum, but not in a way that could be physically interpreted. We tested two alternative methods to the criterion in Eq. (14). We compare them in App. § 11.

Experiments

In this Section we will now show the results of the steered generation. We will present how the steering of the ZZ affects the invariant mass spectrum and the rest of the particle kinematics. We will also show how fitted physical parameters from a phenomenologically inspired model change with α\alpha. Then, we shall present results of the steering vectors themselves, such as their alignment with gradients, and their evolution with tt. Results for the J/ψJ/\psi and Υ\Upsilon resonances are presented in App. § 14.§ 4, more details on the FKT eigenvalues in App. § 14.§ 5, and the same steering on two other networks in App. § 12.

To define the selectivity of the steering, we define the following metric, which measures how much the invariant mass spectrum changes mμμ<60m_{\mu\mu} < 60 GeV

R60=1nb∑∣NbNbShellFlow−1∣,(19)\mathcal{R}_{60} = \frac{1}{n_b}\sum\left|\frac{N_b}{N_b^{\mathrm{ShellFlow}}} - 1\right|, \tag*{(19)}

where NbN_b and NbShellFlowN_b^{\mathrm{ShellFlow}} are the numbers of muon pairs in bin bb of the modified and the baseline generation. We only compute this metric for bins with mμμ<60m_{\mu\mu} < 60 GeV to not include differences from the steering of the ZZ boson.

Steering effects on generated events

At every Euler step, we add the steering vector to the muon tokens as in Eq. (8) (see also Figure 2). In this section, we present results only for block L=1L = 1; the reasons for this choice will become evident in the next section. We scan α∈[−3,3]\alpha\in[-3,3] in steps of 0.5. Each generation uses 1,000,000 muon pairs from validation events, a different set of events from the one used to obtain the gradients of the classes in Table 1. We repeat every generation with three noise seeds and average the results. Within a seed, the steered and the baseline generations start from the same noise, so every muon pair is compared with itself.

Figure 3 shows the effects of the ZZ steering vector on the dimuon invariant mass for α=±1,±2\alpha= \pm1,\pm2. The ZZ peak moves between ∼70\sim70 GeV and ∼115\sim115 GeV for the values of α\alpha shown in the plot. The rest of the spectrum changes much less. We find that R60<0.04\mathcal{R}_{60} < 0.04 for ∣α∣≤1|\alpha| \le1. Most of this change sits around the J/ψJ/\psi peak. R60\mathcal{R}_{60} grows with ∣α∣|\alpha|, to 0.112 for α=−2\alpha= -2, and 0.071 for α=+2\alpha= +2. The steering is therefore not symmetric in α\alpha: the ZZ peak moves by a similar amount in both directions, but negative values of α\alpha change the continuum more than positive values of the same size.

In App. § 15 we develop a phenomenologically inspired ZZ lineshape for hadron colliders. It is built from the tree-level amplitude at quark level, which we use to derive the proton-level differential cross section; this cross section is modified to include final-state radiation and convolved with a Gaussian that accounts for the detector resolution. We use it to measure how physical parameters, such as the pole mass MM and the decay width Γ\Gamma, change with α\alpha. We fit further parameters, the detector resolution, a power-law correction to the parton luminosity, and a normalisation, whose details are in App. § 15.§ 1.

The fit from the baseline generation of ShellFlow gives M=90.57M=90.57 GeV and Γ=2.41\Gamma=2.41 GeV (real data: 90.98 GeV and 2.87 GeV). The dependence of MM and Γ\Gamma on α\alpha is shown in Figure 5. For −3≤α≤3-3\le\alpha\le3 the fitted pole moves between 62 GeV and 131 GeV, within 0.9 GeV of the first-order prediction of Eq. (9). Since the steering vector moves log⁡mμμ\log m_{\mu\mu}, a pure shift of the pole would scale the width by the same factor as MM; instead, the peak broadens with ∣α∣|\alpha|, which increases Γ\Gamma (in our fit, Γ\Gamma and the detector resolution are strongly correlated). For the baseline generation the deviance per degree of freedom is about 2; it stays between 1.8 and 4.3 for α≥−1\alpha\ge-1, but degrades for more negative values (see App. § 15.§ 1).

Figure 5. Fitted pole and width for different α\alpha as steered in block L=1L=1, from the lineshape fit of App. E. (a) Pole mass MM. (b) Width Γ\Gamma. The point at α=0\alpha=0 is the baseline fit. Dotted: the baseline value times exp⁡(α∑kG‾Z(tk)⊤ξZ(tk))\exp\left(\alpha\sum_k \overline{G}_Z(t_k)^\top\xi_Z(t_k)\right), with the sum equal to 0.122, as predicted by Eq. (9). Error bars: standard deviation over three seeds of the sampler.

The steering vector is written on the muon tokens, so the muon kinematics must change with the pair mass (Figure 4). On 1,000,000 validation events of every final state, with the steering vector added to every muon, the muon transverse momentum, pTp_T, changes by up to 32 and 49% per bin at α=−1\alpha=-1 and +1+1, around the ZZ peak near M/2M/2, as expected. The pseudorapidity, η\eta, changes by at most 5.4% per bin, and the azimuth angle, ϕ\phi, by at most 2%. The steering vector could also affect the other particles indirectly, but these effects are small (App. § 14.§ 1).

Figure 4. Muon kinematics under ZZ steering. 1,000,000 validation events of every final state, the ZZ steering vector at block 1 added to every muon: transverse momentum, pseudorapidity, and azimuth of the muons. Real data (grey), baseline generation (black, dashed), and steered with α=−2,−1,+1,+2\alpha=-2,-1,+1,+2 (blue to green); ratio panels: steered over baseline, drawn in every bin with baseline muons, each panel on its own scale. Every other particle type is in App. § 14.§ 1.

As a control, we add a random vector at α=±1,±2\alpha=\pm1,\pm2. This random vector has the same length as the steering vector, is drawn independently for each step, is different for the two muon tokens, and is the same for every event. The random vector does not steer the ZZ boson: its pole stays at 89 – 92 GeV, while our steering vector does move it. The random vector also disturbs the rest of the spectrum more than the steering vector does, and broadens the ZZ peak more.

Shape and evolution of the steering vectors

We can determine how much the ZZ resonance will change for a given steering vector from Eq. (9). For a single pair pp, we can see that

mμμ,p(α)≃mμμ,p(0)exp⁡(α∑kGp(tk)TξC(tk))(20)m_{\mu\mu,p}(\alpha)\simeq m_{\mu\mu,p}(0)\exp\left(\alpha\sum_k \mathbf{G}_p(t_k)^{\mathsf{T}}\boldsymbol{\xi}_{\mathcal{C}}(t_k)\right) \tag*{(20)}

where we neglected non-linear contributions of α\alpha, mμμ,p(0)m_{\mu\mu,p}(0) is the invariant mass of the pair at baseline generation, mμμ,p(α)m_{\mu\mu,p}(\alpha) is its invariant mass after the steering is done, and ξC\boldsymbol{\xi}_{\mathcal{C}} is the steering vector of class C\mathcal{C}. In App. § 14.§ 3 we analyze the prediction from Eq. (20). In the rest of this section, we shall focus on the average one.

Averaging over the pairs of class C\mathcal{C}, the pole mass MM of the lineshape fit should move as

M(α)≃M(0)exp⁡(α∑kG‾C(tk)TξC(tk))=M(0)exp⁡(α∑kSC(tk)),(21)\begin{aligned} M(\alpha)&\simeq M(0)\exp\left(\alpha\sum_k \overline{\mathbf{G}}_{\mathcal{C}}(t_k)^{\mathsf{T}}\boldsymbol{\xi}_{\mathcal{C}}(t_k)\right)\\ &=M(0)\exp\left(\alpha\sum_k S_{\mathcal{C}}(t_k)\right), \tag*{(21)} \end{aligned}

where G‾C(t)\overline{\mathbf{G}}_{\mathcal{C}}(t) is the average gradient of class C\mathcal{C} at time tt, SC(t)=G‾C(t)TξC(t)S_{\mathcal{C}}(t)=\overline{\mathbf{G}}_{\mathcal{C}}(t)^{\mathsf{T}}\boldsymbol{\xi}_{\mathcal{C}}(t) is the gradient response. Eq. (21) holds to first order if every pair of the class responds by the same amount, since MM is a fit parameter and not the class mean. App. § 14.§ 3 checks how far the individual pairs depart from this. Figure 5a compares it with the fit. We note that how much the invariant mass moves depends on the size of the gradients, the steering vector, and their cosine. similarity, which is defined as

cos⁡(G‾C(tk),ξC(tk))=G‾C(tk)⊤ξC(tk)∥G‾C(tk)∥∥ξC(tk)∥,(22)\cos\left(\overline{G}_{C}(t_k),\xi_C(t_k)\right)=\frac{\overline{G}_{C}(t_k)^\top\xi_C(t_k)}{\lVert\overline{G}_{C}(t_k)\rVert\lVert\xi_C(t_k)\rVert}, \tag*{(22)}

where, if the cos were to be 0, it means the gradients and the steering vector are perpendicular, 1 means they are parallel, and −1-1 that they are anti-parallel.

We perform a fit of the prediction of Eq. (21), M(α)=M(0)exp⁡(αS)M(\alpha)=M(0)\exp(\alpha S), where SS is a free parameter. M(0)M(0) and M(α)M(\alpha) are the values obtained from the lineshape fits at baseline and steered, respectively, for −3≤α≤3-3\le\alpha\le3. We find Sfit=0.1255S_{\mathrm{fit}}=0.1255, close to the value of ∑kSZ(tk)=0.1220\sum_k S_Z(t_k)=0.1220 computed from the gradients. The fit gives an R2=0.9998R^2=0.9998.

We plot the prediction from Eq. (21), and the result from the fitted pole mass in Figure 5a, where they stay within 5% for all values of α\alpha we scanned. For the width, Γ\Gamma, we make an ansatz. Let us take two pairs at the border of the resonance, mμμ(0)=M(0)±Γ(0)/2m_{\mu\mu}(0)=M(0)\pm\Gamma(0)/2. Steering both points (Eq. (21)), and subtracting them, should give us how the steering affects the width,

Γ(α)≃Γ(0)exp⁡(α∑kSC(tk)).(23)\Gamma(\alpha)\simeq\Gamma(0)\exp\left(\alpha\sum_k S_C(t_k)\right). \tag*{(23)}

We plot this ansatz and the result from the fit in Figure 5b, where we see completely different results. Of course, this prediction is related to the full spread seen in Figure 3, rather

than the physical width of the ZZ boson itself. We already find in App. § 15.§ 1 that the fitted detector resolution and the fitted width are strongly correlated. We attribute the extra broadening to muon pairs responding differently to the steering (see App. § 14.§ 3). If every pair around the peak responded by the same amount, Eq. (23) would hold to first order in α\alpha.

The final quantity to consider when assessing the quality of a steering vector is the largest FKT eigenvalue, λC(tk)\lambda_C(t_k), of Eq. (18). As we stated before in § 4, the larger the eigenvalue, the more indicative it is that the vector will point only at a specific class.

For the ZZ boson, Table 2 presents, for all blocks, the average or total values of these quantities over all flow time. Figure 6 shows the quality features as a function of tt. We note how ∑kSZ(tk)\sum_k S_Z(t_k) is the largest on earlier blocks, meaning that the steering vector will move the ZZ peak more. At L=0L=0 it is the largest, and therefore it should move the ZZ boson the most; however, we found that steering that block also moved the rest of the invariant mass spectrum in ways we did not anticipate, such as distortions of the J/ψJ/\psi and Υ\Upsilon peaks. We tested steering with random vectors on L=0L=0 and found that a random steering vector presented modifications to the whole generation output, meaning that block 0 is particularly sensitive to any steering (details in App. § 14.§ 2).4

Figure 6. The ZZ steering quality features as a function of flow time tt. (a) Gradient response of the ZZ, SZ(tk)S_Z(t_k), (b) the cosine similarity between the class-mean gradient of the ZZ and the steering vector, cos⁡(G‾Z(tk),ξZ(tk))\cos\left(\overline{G}_Z(t_k),\xi_Z(t_k)\right), and (c) the largest eigenvalue of Eq. (18) for the ZZ, λZ(tk)\lambda_Z(t_k).

LL∑kSZ(tk)\sum_k S_Z(t_k)⟨cos⁡(G‾Z,ξZ)⟩k\langle\cos(\overline{\mathbf{G}}_Z,\xi_Z)\rangle_k⟨λZ⟩k\langle\lambda_Z\rangle_k
01.4×10−11.4 \times10^{-1}1.4×10−11.4 \times10^{-1}0.92
11.2×10−11.2 \times10^{-1}1.5×10−11.5 \times10^{-1}0.91
27.7×10−27.7 \times10^{-2}1.4×10−11.4 \times10^{-1}0.91
34.2×10−24.2 \times10^{-2}1.1×10−11.1 \times10^{-1}0.93
41.1×10−21.1 \times10^{-2}5.1×10−25.1 \times10^{-2}0.95
52.6×10−52.6 \times10^{-5}2.4×10−42.4 \times10^{-4}0.93

Table 2. The ZZ steering vector at each block LL. ∑kSZ(tk)\sum_k S_Z(t_k) is the first-order shift of log⁡mμμ\log m_{\mu\mu} of the ZZ per unit α\alpha (Eq. (21)), and ⟨⋅⟩k\langle\cdot\rangle_k is the average over the 200 Euler steps.

L=1L=1 did not present such difficulties, and, furthermore, it is the block with the largest average cosine similarity, and the second highest gradient response. The average eigenvalue, ⟨λZ⟩k\langle\lambda_Z\rangle_k, is the lowest in L=1,2L=1,2 (see Figure 6c for how it changes with tt). However, all blocks have values ⟨λZ⟩k>0.9\langle\lambda_Z\rangle_k > 0.9, meaning that the FKT was quite efficient at distinguishing the ZZ direction from the rest of the classes. For reference, we also present the same analysis for L=3L=3 in App. § 14.§ 2.

Ablation of the steering vector

We now test the role that ξZ(t)\xi_Z(t) has inside of the network. To do this causally, we perform an ablation of the output of block L=1L=1 of the muon tokens. The ablation has the shape

h1μ±(xt,t)→h1μ±(xt,t)−[ξZ(t)Th1μ±(xt,t)−⟨ξZTh1μ⟩(t)]ξZ±(t),(24)h^{\mu^\pm}_1(x_t,t) \to h^{\mu^\pm}_1(x_t,t) - \left[\xi_Z(t)^\mathsf{T}h^{\mu^\pm}_1(x_t,t)-\left\langle\xi_Z^\mathsf{T}h^\mu_1\right\rangle(t)\right]\xi_Z^\pm(t), \tag*{(24)}

where h1μ=[h1μ−,h1μ+]h^\mu_1=\left[h^{\mu^-}_1,h^{\mu^+}_1\right] and ξZ=[ξZ−,ξZ+]\xi_Z=\left[\xi_Z^-,\xi_Z^+\right] stack the two muon tokens, and we define

⟨ξZTh1μ⟩(t)=1N∑p=1NξZ(t)Th1,pμ(xt,t),(25)\left\langle\xi_Z^\mathsf{T}h^\mu_1\right\rangle(t)=\frac{1}{N}\sum_{p=1}^{N}\xi_Z(t)^\mathsf{T}h^\mu_{1,p}(x_t,t), \tag*{(25)}

the mean over all NN muon pairs of the unsteered generation, where we used all the pairs of all classes in Table 1.

The first term inside of the square brackets of Eq. (24) subtracts the component of the residual stream along ξZ\xi_Z, and

the second term adds back the average over all pairs, to ensure that there is as little steering as possible ([13] (Li & Janson 2024)).

We examined the use of this component of the residual stream by analyzing the generated output. Ideally, if ξZ\xi_Z is a component truly used by the network, it should alter the ZZ peak only. We find that the generated output results in a ∼18%\sim18\% broader peak. We show the result of the ablation in Figure 7. R60=0.012\mathcal{R}_{60}=0.012 between the ablated sample and ShellFlow, below the noise sampling error of 0.018 to 0.034. The same ablation along random directions broadens the ZZ peak by only 1–4%.

Figure 7. Result of the generated muon spectrum from the ablation in Eq. (24) (blue), compared with the output from ShellFlow (black, dashed), and real data (grey). The inset shows the ZZ peak in linear scale, and the lower panel the ratio of ShellFlow to the ablation.

Repeating the procedure on a continuum window without a resonance, of the same log-width as the ZZ window (29.56–36.84 GeV), gives a steering about half as strong, and ablating that direction leaves the spectrum unchanged.

Discussion and conclusions

We have only tested this method for one particle type, muons, where we only changed one observable, the pole mass. Moreover, since we are working with real data, there are no truth-level classes. We only defined the classes by doing simple cuts in the invariant mass spectrum, and not a proper background analysis. Such background analysis is also missing from the ZZ lineshape fit.

Despite these limitations, we would like to quantify this gradient-based way of obtaining steering vectors. The method we described can also be used in different generative models, not only flow matching models, but also diffusion models, normalizing flows, or Schrödinger bridges; as well as one-shot generative models like generative adversarial networks (GANs) or variational autoencoders (VAEs).

We would also like to highlight the benefit of using steering vectors in physics-based models, as well as any model whose output is quantitative. The fact that we can write the fit of the lineshape of the ZZ boson allowed us to check how the steering affected not only its mass, but also other physical parameters, such as its width or the detector resolution. This is something that image, speech, or language generative models lack, a baseline that can be used to quantify the effects of steering vectors.

For particle physics, a steering vector is a handle on one physical quantity inside a generative model trained on real data. It tests what the model learned: when we move the ZZ pole, the transverse momentum of the muons follows the pole at M/2M/2, as the decay kinematics require, while the J/ψJ/\psi and Υ\Upsilon peaks stay in place. It could also replace some of the samples that analyses generate to build templates and estimate systematic uncertainties, such as variations of a resonance mass, the momentum scale, or the detector resolution, which today need a new simulation or a retrained model. Our steering vector is not yet such a tool, because the ZZ peak also broadens as the pole moves; directions that move the pole, the width, and the resolution separately would be.

Acknowledgements

We acknowledge the work of the ATLAS Collaboration to record or simulate, reconstruct, and distribute the Open Data used in this paper, and to develop and support the software with which it was analysed. For the beginning and for most of the project, the GPU compute (NVIDIA A100) was provided by the NVIDIA Academic Grant Program. The last steps of the project used NVIDIA B200 GPUs from the UCloud interactive HPC system, which is managed by the eScience Center at the University of Southern Denmark. This work was supported by a research grant (VIL57416) from VILLUM FONDEN.

AI usage

Large language models were used in the preparation of this manuscript to revise prose, correct grammar, and write portions of the text. Most of the code and visualization was generated with the assistance of large language models, primarily through the Claude Code agentic coding environment (Anthropic). All output was reviewed and validated by the authors.

Data and code availability

The code that reproduces the results shall be available at https://github.com/kurqia/shellsteer. ShellFlow, ShellFlow-B, and ShellGAT are available at https://huggingface.co/pomidori73/ShellFlow. The data are ATLAS Open Data released by the ATLAS Collaboration [8], available at https://opendata.cern.ch/record/93910.

Derivation of the linear response

Let’s take again Eq. (6) at the end of generation

log⁡mμμ=log⁡Eref+12(yE++yE−)+12log⁡[2(1−n^+⋅n^−)](26)\log m_{\mu\mu} = \log E_{\mathrm{ref}} + \frac{1}{2}\left(y_{E^+} + y_{E^-}\right) + \frac{1}{2}\log\left[2\left(1-\hat{\mathbf{n}}_+ \cdot\hat{\mathbf{n}}_-\right)\right] \tag*{(26)}

its dependence on the block outputs becomes apparent once we consider how yEy_E and n^\hat{\mathbf{n}} depend on the velocity field, which are both dependent on the outputs of the blocks themselves

yt+Δt=yt+Δt y˙tθ(xt)(27)y_{t+\Delta t} = y_t + \Delta t\,\dot{y}^{\theta}_t(x_t) \tag*{(27)}
n^t+Δt=exp⁡n^t(Δt n^˙tθ(xt))(28)\hat{\mathbf{n}}_{t+\Delta t} = \exp_{\hat{\mathbf{n}}_t}\left(\Delta t\,\dot{\hat{\mathbf{n}}}^{\theta}_t(x_t)\right) \tag*{(28)}

where xtx_t is the state of all particles of the event, and the exponential map for S2S^2 is

exp⁡x(u)=xcos⁡(∥u∥)+u∥u∥sin⁡(∥u∥)(29)\exp_x(\mathbf{u}) = x\cos(\lVert\mathbf{u}\rVert) + \frac{\mathbf{u}}{\lVert\mathbf{u}\rVert}\sin(\lVert\mathbf{u}\rVert) \tag*{(29)}

Then, log⁡mμμ\log m_{\mu\mu} is a function of the velocity field for all Euler steps. At each step, the velocity field is itself the output of all blocks. Adding δ±(tk)\delta^\pm(t_k) to the output of block LL on the muon tokens gives

log⁡mμμ=f(hℓ(hℓ−1(⋯hL+1(hL±(hL−1(⋯h0))+δ±(tk))⋯ )))(30)\log m_{\mu\mu} = f\left(h_\ell\left(h_{\ell-1}\left(\cdots h_{L+1}\left(h_L^\pm\left(h_{L-1}(\cdots h_0)\right) + \delta^\pm(t_k)\right)\cdots\right)\right)\right) \tag*{(30)}

where hℓh_\ell is the last block, and δ±(tk)\delta^\pm(t_k) is zero on all other tokens. We evaluate the network at every Euler step, meaning that log⁡mμμ\log m_{\mu\mu} is a function of all the δ±(tk)\delta^\pm(t_k): f(δ⃗+,δ⃗−)f(\vec{\delta}^{+},\vec{\delta}^{-}), with δ⃗±=(δ±(t0),…,δ±(tN−1))\vec{\delta}^{\pm} = \left(\delta^\pm(t_0),\ldots,\delta^\pm(t_{N-1})\right), and f(0,0)f(0,0) is the generation without the edit. A linear expansion from the usual multivariate Taylor expansion gives

f(δ⃗+,δ⃗−)=f(0,0)+∑k=0N−1[DfDδ⃗−(tk)∣δ⃗±=0Tδ−(tk)+DfDδ⃗+(tk)∣δ⃗±=0Tδ+(tk)]+O(∥δ⃗±∥2)(31)f(\vec{\delta}^{+},\vec{\delta}^{-}) = f(0,0) + \sum_{k=0}^{N-1}\left[\left.\frac{\mathrm{D}f}{\mathrm{D}\vec{\delta}^{-}(t_k)}\right|_{\vec{\delta}^{\pm}=0}^{\mathrm{T}}\delta^{-}(t_k) + \left.\frac{\mathrm{D}f}{\mathrm{D}\vec{\delta}^{+}(t_k)}\right|_{\vec{\delta}^{\pm}=0}^{\mathrm{T}}\delta^{+}(t_k)\right] + \mathcal{O}\left(\lVert\vec{\delta}^{\pm}\rVert^2\right) \tag*{(31)}

This total derivative, of course, is just the derivative with respect to the block outputs, what in the main text is referred to simply as gradients

DfDhLμ±(tk)=DfDδ⃗±(tk)∣δ⃗±=0(32)\frac{\mathrm{D}f}{\mathrm{D}h_L^{\mu^\pm}(t_k)} = \left.\frac{\mathrm{D}f}{\mathrm{D}\vec{\delta}^{\pm}(t_k)}\right|_{\vec{\delta}^{\pm}=0} \tag*{(32)}

Now, setting δ±(tk)=α ξ±(tk)\delta^\pm(t_k)=\alpha\,\xi^\pm(t_k), and writing explicitly the time dependence we arrive at

log⁡mμμ(α)=log⁡mμμ(0)+α∑k=0N−1[Dlog⁡mμμ(0)DhLμ−(tk)∣Tξ−(tk)+Dlog⁡mμμ(0)DhLμ+(tk)∣Tξ+(tk)]+O(α2)(33)\log m_{\mu\mu}(\alpha) = \log m_{\mu\mu}(0) + \alpha\sum_{k=0}^{N-1}\left[\left.\frac{\mathrm{D}\log m_{\mu\mu}(0)}{\mathrm{D}h_L^{\mu^-}(t_k)}\right|^{\mathrm{T}}\xi^-(t_k) + \left.\frac{\mathrm{D}\log m_{\mu\mu}(0)}{\mathrm{D}h_L^{\mu^+}(t_k)}\right|^{\mathrm{T}}\xi^+(t_k)\right] + \mathcal{O}(\alpha^2) \tag*{(33)}

which is exactly what we have in Eq. (9).

Steering vectors from different methods

We consider two different criterion functions to the one defined in Eq. (14). We use them as baselines for the steering vectors of the main text. All three criteria act on the same unit gradients, G^p(tk)\hat{G}_p(t_k), at every step tkt_k (we omit the dependence on tkt_k), with the same classes CC and C′C' as in § 4.2.

The criteria are written in terms of the means, second moments, and covariances of the classes CC and C′C',

mC=1nC∑p∈CG^p,ΣC=1nC∑p∈CG^pG^pT,KC=ΣC−mCmCT(34)\mathbf{m}_C = \frac{1}{n_C}\sum_{p\in C}\hat{G}_p,\qquad\Sigma_C = \frac{1}{n_C}\sum_{p\in C}\hat{G}_p\hat{G}_p^{\mathrm{T}},\qquad K_C = \Sigma_C-\mathbf{m}_C\mathbf{m}_C^{\mathrm{T}} \tag*{(34)}

and similar for C′C', where every class in C′C' enters with the same weight, as in Eq. (13).5

The three criterion functions are6

JD=ξ⊤(mC−mC′)(mC−mC′)⊤ξξ⊤ξ,difference of means,(35)J_D = \frac{\boldsymbol{\xi}^{\top}(\mathbf{m}_C-\mathbf{m}_{C'})(\mathbf{m}_C-\mathbf{m}_{C'})^{\top}\boldsymbol{\xi}}{\boldsymbol{\xi}^{\top}\boldsymbol{\xi}}, \qquad\text{difference of means}, \tag*{(35)}
JF=ξ⊤(mC−mC′)(mC−mC′)⊤ξξ⊤(KC+KC′)ξ,Fisher criterion,(36)J_F = \frac{\boldsymbol{\xi}^{\top}(\mathbf{m}_C-\mathbf{m}_{C'})(\mathbf{m}_C-\mathbf{m}_{C'})^{\top}\boldsymbol{\xi}}{\boldsymbol{\xi}^{\top}(\mathbf{K}_C+\mathbf{K}_{C'})\boldsymbol{\xi}}, \qquad\text{Fisher criterion}, \tag*{(36)}
JFK=ξ⊤ΣCξξ⊤(ΣC+ΣC′)ξ,Fukunaga–Koontz criterion.(37)J_{FK} = \frac{\boldsymbol{\xi}^{\top}\boldsymbol{\Sigma}_C\boldsymbol{\xi}}{\boldsymbol{\xi}^{\top}(\boldsymbol{\Sigma}_C+\boldsymbol{\Sigma}_{C'})\boldsymbol{\xi}}, \qquad\text{Fukunaga--Koontz criterion}. \tag*{(37)}

The difference of means looks for the direction along which the means of the two classes are farthest apart. The Fisher criterion (Fisher, [33, 34]; Rao [68]) looks for the direction that separates the means while keeping the spread of each class small. The Fukunaga--Koontz criterion of Eq. (14) looks for the direction where the second moment of CC is large, while that of C′C' is small.

All three are generalized Rayleigh quotients, J=ξ⊤Aξξ⊤BξJ = \frac{\boldsymbol{\xi}^{\top}\mathbf{A}\boldsymbol{\xi}}{\boldsymbol{\xi}^{\top}\mathbf{B}\boldsymbol{\xi}}, with A\mathbf{A} and B\mathbf{B} symmetric and B\mathbf{B} positive definite. The maximum solves the generalized eigenproblem

Aξ=λBξ,(38)\mathbf{A}\boldsymbol{\xi} = \lambda\mathbf{B}\boldsymbol{\xi}, \tag*{(38)}

which becomes an ordinary eigenproblem after a whitening transformation of B\mathbf{B}, as we did for the Fukunaga--Koontz criterion in § 4.2. For JDJ_D and JFJ_F, A\mathbf{A} has rank one, so Eq. (38) has a single nonzero eigenvalue, and its unit eigenvector has the closed form

ξD=mC−mC′∥mC−mC′∥,ξF=(KC+KC′)−1(mC−mC′)∥(KC+KC′)−1(mC−mC′)∥.(39)\boldsymbol{\xi}_D = \frac{\mathbf{m}_C-\mathbf{m}_{C'}}{\lVert\mathbf{m}_C-\mathbf{m}_{C'}\rVert}, \qquad \boldsymbol{\xi}_F = \frac{(\mathbf{K}_C+\mathbf{K}_{C'})^{-1}(\mathbf{m}_C-\mathbf{m}_{C'})}{\left\lVert(\mathbf{K}_C+\mathbf{K}_{C'})^{-1}(\mathbf{m}_C-\mathbf{m}_{C'})\right\rVert}. \tag*{(39)}

We fix their sign as for the Fukunaga–Koontz direction. The difference of means is the most common way to build a steering vector in language models [69, 2] (Li et al. 2023), and it is a strong baseline among steering methods (Wu et al., 2025).

Neither of the two is optimal for a localized shift, where we are maximizing the response of the pairs in C\mathcal{C} while minimizing that of the pairs in C′\mathcal{C}'. The difference of means only optimizes the mean responses, so the responses of single pairs can be large and cancel in the mean. The Fisher criterion keeps the spread of C′\mathcal{C}' small, but not its mean response, so C′\mathcal{C}' can shift as a whole. Only JFKJ_{FK} minimizes both the spread and the mean response of C′\mathcal{C}'.

Fitted pole mass and width of the Z boson against the steering coefficient

Figure 10. Fitted pole (a) and width (b) of the Z boson against α\alpha for the three steering vectors at block 1, as in Figure 5; dotted: the first-order prediction of each. The Fisher steering vector skews the ZZ peak, so its fits describe the peak less well.

Steering of the ZZ boson

We steer the ZZ boson with the steering vectors of Eq. (39) exactly as in § 5. We chose the values of α\alpha so that the steering moves the ZZ as much as the FK steering vector does at α=±1,±2\alpha= \pm1, \pm2. For difference of means, this is α=±0.25,±0.5\alpha= \pm0.25, \pm0.5, and for Fisher this is α=±3,±4\alpha= \pm3, \pm4.

Neither method is selective. We can see in Figure 8 and Figure 9 that the steering succeeds in shifting the ZZ pole, while at the same time altering the rest of the continuum and the other resonances. This is in contrast with what we have in the main text. R60=0.112\mathcal{R}_{60} = 0.112 for the values of α\alpha considered for FK. In contrast for difference of means it is 0.363 and for Fisher 0.718. All these values are obtained for α=−2,−0.5,−4\alpha= -2, -0.5, -4 respectively for FK, difference of means, and Fisher.

Figure 8. The steering of the ZZ boson with the difference-of-means steering vector, as in Figure 3. Top: dimuon invariant mass of one million muon pairs, compared with real data (grey), baseline generation of ShellFlow (black, dashed), and the results from adding the steering vector at block 1 with α=±0.25,±0.5\alpha= \pm0.25, \pm0.5. Middle: steered over baseline. Bottom: zoom-in over the J/ψJ/\psi, Υ\Upsilon, and ZZ peaks.

Figure 9. The same as Figure 8 for the Fisher steering vector, with α=±3,±4\alpha= \pm3, \pm4 (blue to green).

As for the predictions given in Eq. (21), we perform the same fit as in § 5.2 and find that difference of means has an R2=0.9992R^2 = 0.9992 and for Fisher R2=0.979R^2 = 0.979, both following the exponential prediction. The fitted values of ∑SZ(tk)\sum S_Z(t_k) are close to the ones measured from the gradients. For difference of means the value of the sum (fitted) is 0.4569 (0.4871), and for Fisher 0.0617 (0.0682).

Steering of other networks

We test our method for finding steerable features on two different versions of ShellFlow. Both have around the same number of trainable parameters, but were trained only on the 2to4lep selection with 268M events. For comparison, the model that is the protagonist of the main text was trained on 1LMET30 + 2to4lep, that merges two ATLAS selections, and has 783M events.

We introduce ShellFlow-B, an early iteration of ShellFlow that was trained during the preparation of Kato et al. [40]. We also present ShellGATr, which uses the L-GATr-slim layers, a Lorentz-equivariant transformer, rather than the classical transformer (see Spinner et al., [73]; Petitjean et al., [65]). ShellGATr was trained specifically to test steering, but we found interesting features, such as the fact that it could separate the Υ(1S)\Upsilon(1S) from the Υ(2S)\Upsilon(2S), which the other networks could not do. ShellGATr will be the focus of a future study.

Table 3 summarizes the differences in the network architectures and during training. Since ShellFlow is trained on a different dataset, its manifold coordinates are normalized differently from those of the other two networks. Furthermore, in ShellFlow-B and ShellGATr, each particle type has its own input and output layers. Both ShellFlow and ShellFlow-B directly read the manifold coordinates, whereas ShellGATr has a layer that converts those coordinates into four-vectors

ChannelsArchitectureTraining
embeddingMLPheadsblocksparametersFLOPsdataeventsepochslrGPUs
ShellFlow128512463.02M5.5M1LMET30 + 2to4lep783M306⋅10−46 \cdot10^{-4}8 A100
ShellFlow-B128512463.02M5.5M2to4lep268M1003⋅10−43 \cdot10^{-4}4 A100
ShellGATr32 v + 96 s128 v + 384 s463.09M6.2M2to4lep268M1003⋅10−43 \cdot10^{-4}4 B200

Table 3. The three networks. ShellGATr counts its channels in four-vectors (v) and scalars (s). FLOPs: one forward pass per particle, measured at 8 particles per event.

Massless embedding:pν=ErefeyE(1,n^) ,Massive embedding:pν=m(cosh⁡χ,sinh⁡χ n^) ,(40)\begin{aligned} \text{Massless embedding:}\quad p^\nu&= E_{\mathrm{ref}} e^{y_E} (1,\hat{n})\,,\\ \text{Massive embedding:}\quad p^\nu&= m \left(\cosh\chi,\sinh\chi\,\hat{n}\right)\,, \tag*{(40)} \end{aligned}

where χ\chi is the boost rapidity and mm is the mass of the particle. Each ShellGATr token carries pνp^\nu together with two fixed four-vectors, the time axis t^=(1,0,0,0)\hat{t} = (1,0,0,0) and the beam axis z^=(0,0,0,1)\hat{z} = (0,0,0,1), which a learned linear map mixes into the vector channels. The chart coordinates yEy_E or χ\chi, nzn_z (the beam component), and log⁡m\log m enter as scalars.

The missing transverse momentum enters the cross-attention as plain features in ShellFlow and ShellFlow-B, and as a four-vector together with its magnitude in ShellGATr.

For ShellGATr, we chose the activation functions used in Petitjean et al. [65]. For vectors it is sigmoid (12⟨g1,C,g2,C⟩)vC\left(\frac{1}{2}\langle g_{1,C},g_{2,C}\rangle\right) v_C where gi,C,vCg_{i,C},v_C are linear combinations of the input vectors, and ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle is the product in Minkowski space. For scalars it is GELU(W1s)∘W2s(W_1s)\circ W_2s, where ss are input scalars, and WiW_i are trainable parameters. The activation functions of ShellFlow-B are the same as the ShellFlow ones (SwiGLU).

Finally, we have differences that these two new networks have at the level of loss. The flow-matching loss weights each particle by a quality score built from its detector features (Kato et al., [40], Eq. (16)). In ShellFlow, this weight has a floor of 0.5, whereas in the other two networks the floor is 0. The auxiliary loss is weighted by how far the generated distribution is from real data (Kato et al., [40], Eq. (20)). This weight has a ceiling of 3 in ShellFlow (see Table 8 of Kato et al. [40]) and of 5 in the other two networks.

Steering of both networks

We now perform the same procedure done in the main text. We take two samples of 1,000,000 muon pairs from 2to4lep2\mathrm{to}4\mathrm{lep} validation events. On the first sample, we compute the gradients and the steering vectors, and on the second we steer. As in § 5.1, we use three noise seeds, and within a seed the steered and baseline generations start from the same noise.

We compute the gradients on the μ−\mu^{-} and μ+\mu^{+} tokens for block L=1L = 1, we concatenate them, and compute their second moments. The second moments are then separated by classes corresponding to ZZ, J/ψJ/\psi, Υ\Upsilon, or the continuum, and we do a one-versus-rest FK procedure.

We note that this procedure is not Lorentz-invariant. In ShellGATr, the gradients Gp(tk)\mathbf{G}_{p}(t_{k}) have both scalar and vector components. For the vector component, the normalization of the gradients is done with the Euclidean metric, thus breaking Lorentz invariance. This is not of large concern for us, since the network already breaks the Minkowski group to only have rotations about the beam axis. Our procedure preserves this O(2)O(2) symmetry.7

We show the resulting invariant mass spectra in Figure 11 and Figure 12. We find similar results for ShellFlow-B as in the main text, but we found the ShellGATr network to be more sensitive in generation for the rest of the resonances. For ShellFlow-B, for mμμ<60m_{\mu\mu} < 60 GeV, the steered and baseline histograms differ per bin by less than 8% on average for ∣α∣≤1|\alpha| \le1. ShellGATr needs a larger α\alpha to move the ZZ by the same amount, and it alters the continuum more. At α=−3\alpha= -3, which moves the ZZ as far as α=−1\alpha= -1 does in ShellFlow-B, the histograms differ below 60 GeV three times as much as in ShellFlow-B.

Figure 11. Dimuon invariant mass of ShellFlow-B for the ZZ steering vector at block L=1L = 1, for α=±1,±2\alpha= \pm1, \pm2.

Figure 12. The same as Figure 11 for ShellGATr, for α=±2,±4\alpha= \pm2, \pm4.

We fit the ZZ peak of both networks with the lineshape of App. § 15. Figure 13 shows the fitted pole and width against α\alpha for the three networks. For ShellFlow-B, the pole stays within 3% of the prediction of Eq. (21) for all values of α\alpha we scanned, and the fit of M(α)=M(0)exp⁡(αS)M(\alpha) = M(0) \exp(\alpha S) gives SfitS_{\mathrm{fit}} close to ∑kSZ(tk)\sum_{k} S_{Z}(t_{k}). For ShellGATr, the pole stays within 6% of the prediction for −4≤α≤2-4 \le\alpha\le2. For larger ∣α∣|\alpha| it moves less than predicted, and below α=−4\alpha= -4 it stays near 75 GeV.

Figure 13. Fitted pole (a) and width (b) against α\alpha for the ZZ steering vector at block L=1L = 1 of the three networks, as in Figure 5, mean of three seeds. Dotted: the baseline value of each network times exp⁡(α∑kSZ(tk))\exp\left(\alpha\sum_{k} S_{Z}(t_{k})\right).

As for ShellFlow, the width of both networks grows faster than the ansatz of Eq. (23). ShellFlow-B broadens most for positive α\alpha, and ShellGATr for negative α\alpha. The lineshape fits are also poorer than for ShellFlow: the steered peak of ShellGATr becomes lopsided (Figure 12), and its deviance per degree of freedom reaches 41 for positive α\alpha.

We do not know the cause of these differences. They do not show in the first-order quantities of Table 4. The steering vector of ShellGATr is as aligned with G‾Z\overline{\mathbf{G}}_{Z} and as ZZ-specific as those of the other two networks. Only its ∑kSZ(tk)\sum_{k} S_{Z}(t_{k}) is smaller, so it needs a larger α\alpha. The networks differ in several places that the steering vector passes through, for example the input of the activation functions of the vector components are ShellGATr are quadratic, whereas the argument of the gates of ShellFlow and ShellFlow-B is linear in it.

∑kSZ(tk)\sum_{k} S_{Z}(t_{k})⟨cos⁡(G‾Z,ξZ)⟩k\langle\cos(\overline{\mathbf{G}}_{Z}, \boldsymbol{\xi}_{Z})\rangle_{k}⟨λZ⟩k\langle\lambda_{Z}\rangle_{k}
ShellFlow0.1220.1470.91
ShellFlow-B0.1400.1080.92
ShellGATr0.0470.1110.91

Table 4. The ZZ steering vector at block L=1L = 1 of the three networks, as in Table 2.

Further results of the steering

Kinematics of the steered events

We now show the results of the steering on reconstructed particles that were not specifically steered; that is electrons, photons, hadronic taus, jets, and large-R jets. Figure 14 shows the results for every particle with the same steering vector as in the main text: the ZZ steering vector on block L=1L = 1 for α=±1,±2\alpha= \pm1, \pm2. We do not expect huge edits to occur for these particles, as, of course, the steering vector is only added to the muon tokens. However, the tokens of the rest of the particles should not remain unaffected. At every inference step, subsequent attention blocks also read the steering vector, thus altering the generated kinematics of all particles in the event.

Figure 14. Kinematics of the electrons, photons, jets, large-R jets, and hadronic taus after the steering on muon tokens at block L=1L = 1 that moves the ZZ boson peak. Same events and steering as in Figure 4: 1,000,000 validation events. Columns: transverse momentum, pseudorapidity, azimuth, energy, and, for the massive particles, mass; 60 bins per panel. Real data (grey), baseline generation (black, dashed), and steered with α=−2,−1,+1,+2\alpha= -2, -1, +1, +2 (blue to green). Ratio panels: steered over baseline.

For ∣α∣≤1|\alpha| \le1, no bin with at least 1,000 baseline particles changes by more than 2.4%2.4\%. The largest changes sit at the edges of the pseudorapidity acceptance and at high transverse momentum, where there is low statistics.

The ZZ steering vector at blocks 0 and 3

We repeat the same exercises as in the main text for blocks L=0L=0 and L=3L=3. Figure 15 shows the dimuon invariant mass plots for both, and Figure 16 the fitted pole and width against α\alpha. The quality features of both blocks are in Table 2 and Figure 6.

Figure 15. The ZZ steering vector at block L=0L=0 (left, α=±1,±2\alpha=\pm1,\pm2) and L=3L=3 (right, α=±2,±3\alpha=\pm2,\pm3), as in Figure 3. Top: dimuon invariant mass of one million muon pairs, real data (grey), baseline generation of ShellFlow (black, dashed), and steered (blue to green). Middle: steered over baseline. Bottom: zooms on the J/ψJ/\psi, Υ\Upsilon, and ZZ.

Fitted pole mass and width against $\alpha$ for the Z steering vector at blocks $L=0$, $L=1$, and $L=3$

Figure 16. Fitted pole and width against α\alpha for the ZZ steering vector at blocks L=0L=0, 11, and 33, as in Figure 5. Dotted: the baseline value times exp⁡(α∑kSZ(tk))\exp\left(\alpha\sum_k SZ(t_k)\right) of each block (Table 2).

As we mentioned in the main text, L=0L=0 is a sensitive block. We found that adding the steering vector, as well as a random vector, altered the invariant mass spectrum way more than the steering on block L=1L=1. This is clear from the peaks in J/ψJ/\psi and Υ\Upsilon in Figure 15.

At L=3L=3, ∑kSZ(tk)\sum_k SZ(t_k) is a third of its value at L=1L=1, so the steering vector needs α=±3\alpha=\pm3 to move the ZZ as far as L=1L=1 does with α=±1\alpha=\pm1. We do find, however, that the J/ψJ/\psi and Υ\Upsilon peaks stay in place, and that their windows defined in Table 1 lose at most 6% of their pairs for ∣α∣≤3|\alpha|\le3. We also find that the fit degrades for ∣α∣≥1|\alpha|\ge1 and splits the broadening between the width and the resolution, so the fitted width in Figure 16 grows less than the peak.

Per-pair predictions

In § 5.2 we only compared the prediction of Eq. (21), which uses the average gradient of the class, with the fitted pole of the ZZ boson. Here, we shall take a step forward, and do this for each muon pair in Eq. (20).

Figure 17 compares the steered invariant mass of each pair with the prediction of Eq. (20). The 68% regions agree for all four values of α\alpha. The 95% regions separate on the flanks of the ZZ, more at ∣α∣=2\lvert\alpha\rvert= 2.

Figure 17. Steered generation compared to the baseline ShellFlow generation for different values of α=−2,−1,+1,+2\alpha= -2, -1, +1, +2. The filled regions show the output of the steered model, and the red contour lines show the predicted steering of Eq. (20). The star is the result from Eq. (21).

From these predictions, we repeat the same process we did in the main text. We take the ZZ pair candidates used for the steered generation in § 5, and make an individual fit for each pair of the shape

mμμ,p(α)=mμμ,p(0)exp⁡(αSp)(41)m_{\mu\mu,p}(\alpha) = m_{\mu\mu,p}(0) \exp(\alpha S_p) \tag*{(41)}

where mμμ,p(0)m_{\mu\mu,p}(0) is the baseline generation, mμμ,p(α)m_{\mu\mu,p}(\alpha) is the result after steering, and SpS_p is the free parameter. We do it for the values −3≤α≤3-3 \leq\alpha\leq3. The exponential form describes each pair well (median R2=0.994R^2 = 0.994). The fitted SpS_p and the computed ∑kGp(tk)⊤ξZ(tk)\sum_k G_p(t_k)^\top\xi_Z(t_k) differ by a median of 5%. Without a fit, Eq. (20) predicts the steered mass of each pair with a median error of 3% of the pair’s mass shift at ∣α∣=1\lvert\alpha\rvert= 1, and 7% at ∣α∣=2\lvert\alpha\rvert= 2. The exponential form fits worst near the window edges. Within 4 GeV of them about 30% of the pairs have R2<0.5R^2 < 0.5, against 2% of the pairs between 89 and 95 GeV.

J/ψJ/\psi and Υ\Upsilon steering vectors

We build steering vectors for the J/ψJ/\psi and Υ\Upsilon classes of Table 1 in the same way as for the ZZ. We add them at block L=1L = 1, with the same values of α\alpha, the same 1,000,000 muon pairs, and the same three seeds as in § 5. Figure 18 and Figure 19 show the dimuon invariant mass for α=±1,±2\alpha= \pm1, \pm2.

Figure 18. The steering of the J/ψJ/\psi mass, as in Figure 3: dimuon invariant mass of one million muon pairs, compared with real data (grey), baseline generation of ShellFlow (black, dashed), and the results from adding the J/ψJ/\psi steering vector at block 1 with α=±1,±2\alpha= \pm1, \pm2 (blue to green).

Figure 19. The same as Figure 18 for the Υ\Upsilon steering vector.

We do not fit a lineshape to the quarkonia peaks, because it would require a careful understanding of the production channels. Quarkonium production is still not fully understood. There is no single theoretical model that describes all measurements, in particular at low transverse momentum ([46, 20]). Moreover, the Υ\Upsilon class holds three resonances that the model cannot separate (Table 1).

The J/ψJ/\psi steering vector moves the J/ψJ/\psi peak from 3.08 GeV in the baseline generation to between 2.72 and 3.52 GeV for ∣α∣≤2\lvert\alpha\rvert\leq2. The ψ(2S)\psi(2S), which belongs to the rest class, moves with it. However, for positive α\alpha it becomes distorted. For the same α\alpha, the J/ψJ/\psi moves by about half the fraction of its mass that the ZZ moves under the ZZ steering vector.

The Υ\Upsilon steering vector moves the Υ\Upsilon peak from 9.68 GeV to between 7.95 and 12.81 GeV for ∣α∣≤2\lvert\alpha\rvert\leq2. Υ\Upsilon also moves by about the same fraction of its mass as the ZZ steering vector moves the ZZ. The effect is not symmetric in α\alpha. For negative α\alpha, the peak keeps its width down to α=−1\alpha= -1, and its width doubles at α=−2\alpha= -2.

Both quarkonium steering vectors move their own peak and leave the rest of the invariant mass spectrum alone. Both broaden their own peak faster than the ZZ steering vector broadens the ZZ.

Class C\mathcal{C}∑kSC(tk)\sum_k \mathcal{S}_{\mathcal{C}}(t_k)
ZZ0.122
J/ψJ/\psi0.063
Υ\Upsilon0.123

Table 5. ∑kSC(tk)\sum_k \mathcal{S}_{\mathcal{C}}(t_k) of each class at block L=1L = 1.

The steering vectors over flow time

Here we look at the steering vectors of the ZZ, J/ψJ/\psi, and Υ\Upsilon classes of Table 1 at each of the 200 Euler steps, at block L=1L = 1.

Separation of the classes. The figure on the right shows the largest eigenvalue λC(t)\lambda_C(t) of Eq. (18) for each class against flow time, as Figure 6c does for the ZZ at every block. To know how large the values of λ\lambda are, we build three random classes, drawn from the pairs outside the ZZ window. We find the steering vector of each random class against all other pairs, with the same weighting as a resonance against the other three classes. Their largest eigenvalues form the grey band, at about 0.3 for the whole flow. All three classes lie far above this band at every step, so a random group of pairs does not reach the separation of the classes. The ZZ is the most separable of the three at every step, and it is above 0.9 from t≃0.4t \simeq0.4. The Υ\Upsilon reaches 0.9 only at t≃0.8t \simeq0.8, and the J/ψJ/\psi only in the last steps of the flow. All three classes become more separable as the flow approaches t=1t = 1.

Figure 22 (PDF p. 25).

The two muons. In the main text we obtained two steering vectors, one to be added to the muon tokens, ξ−\xi^{-}, and another to be added to the antimuon token ξ+\xi^{+}. The figure on the right shows the cosine similarity of both vectors. At almost every step, the two parts are the same vector up to a sign. Two random vectors with 128 entries have a cosine similarity of about ±1/128≃±0.09\pm1/\sqrt{128} \simeq\pm0.09. For the ZZ and the J/ψJ/\psi, they point in opposite directions before t≃0.2t \simeq0.2, and in the same direction after it. For the Υ\Upsilon, they point in the same direction at every step. Every change of sign falls where the two largest eigenvalues of Eq. (18) cross. There, the steering vector changes from an eigenvector that moves the two muons in opposite directions to one that moves them in the same direction. The dip of the J/ψJ/\psi near t≃0.7t \simeq0.7 is where its two largest eigenvalues come close without crossing.

Figure 23 (PDF p. 25).

Rotation of the steering vectors. The figure on the right shows, for each class, the absolute cosine similarity between its steering vectors at two flow times tt and t′t'. A steering vector that did not change with flow time would fill the map with ones. Instead, all three rotate. The ZZ map splits into two blocks at t≃0.2t \simeq0.2, where the parts of the two muons change sign: the steering vectors before and after it are orthogonal. After t≃0.2t \simeq0.2, the ZZ steering vector keeps turning slowly. The J/ψJ/\psi splits at the same place, and it turns again near t≃0.7t \simeq0.7, where its two parts dip. The Υ\Upsilon turns smoothly, without a sharp change, and its early and late steering vectors are also orthogonal. No steering vector stays within ∣cos⁡∣=0.9\lvert\cos\rvert= 0.9 of its final direction before the last two steps. A single steering vector for all of the flow would not follow this rotation, which is why we use one for each Euler step.

Figure 24 (PDF p. 25).

Lineshape fit of the ZZ peak

We build a lineshape of the ZZ boson to quantify the movement of the ZZ pole. We do not claim this is a precision measurement of the ZZ boson. Every ZZ pole, width, and resolution in this paper comes from one fit of one function to a histogram of the dimuon mass. The same fit is applied to the real data, to the baseline generation, and to the generation at each α\alpha, so the numbers before and after an edit are directly comparable. Fits of this kind are standard at hadron colliders, for the mass and width of the ZZ ([21, 47]) and for the calibration of the scale and resolution of the muon momentum on the ZZ peak ([15, 23, 7]). This appendix derives the function in four steps, the tree-level cross section of the partons, the cross section of the protons, the detector resolution, and the final-state radiation, states the order of each step, and then describes the fit.

At leading order a muon pair is produced by the annihilation of a quark and an antiquark through a photon or a ZZ boson ([29]),

qqˉ→γ∗/Z→μ−μ+,s^=(pq+pqˉ)2=(p−+p+)2=m2,(42)q\bar{q} \to\gamma^*/Z \to\mu^-\mu^+,\qquad\hat{s}=(p_q+p_{\bar{q}})^2=(p_-+p_+)^2=m^2, \tag*{(42)}

with m=mμμm=m_{\mu\mu} the invariant mass of the pair. A fermion ff of charge QfQ_f and weak isospin Tf3T_f^3 couples to the photon with strength eQfeQ_f (where ee is electric charge) and to the ZZ with the vector and axial couplings

vf=Tf3−2QfsW2,af=Tf3(43)v_f=T_f^3-2Q_fs_W^2,\qquad a_f=T_f^3 \tag*{(43)}

(where cW≡cos⁡θWc_W\equiv\cos\theta_W, sW≡sin⁡θWs_W\equiv\sin\theta_W, and θW\theta_W is the Weinberg angle). With the photon propagator taken out in front, the ZZ enters through the ratio of the two propagators,

χ(s^)=14sW2cW2s^s^−M2+iMΓ,(44)\chi(\hat{s})=\frac{1}{4s_W^2c_W^2}\frac{\hat{s}}{\hat{s}-M^2+iM\Gamma}, \tag*{(44)}

a Breit–Wigner resonance of mass MM and width Γ\Gamma. The squared average amplitude is:

∣T∣2‾=e43{[Qq2Qμ2+2QqQμvqvμRe⁡χ(s^)+(vq2+aq2)(vμ2+aμ2)∣χ(s^)∣2](1+cos⁡2θCS)+[4QqQμaqaμRe⁡χ(s^)+8vqaqvμaμ∣χ(s^)∣2]cos⁡θCS}=e43[A0(s^)(1+cos⁡2θCS)+A1(s^)cos⁡θCS],(45)\begin{aligned} \overline{|\mathcal{T}|^2} &=\frac{e^4}{3}\left\{\left[Q_q^2Q_\mu^2+2Q_qQ_\mu v_qv_\mu\operatorname{Re}\chi(\hat{s})+(v_q^2+a_q^2)(v_\mu^2+a_\mu^2)|\chi(\hat{s})|^2\right](1+\cos^2\theta_{\mathrm{CS}})\right.\\ &\qquad\left.+\left[4Q_qQ_\mu a_qa_\mu\operatorname{Re}\chi(\hat{s})+8v_qa_qv_\mu a_\mu|\chi(\hat{s})|^2\right]\cos\theta_{\mathrm{CS}}\right\}\\ &=\frac{e^4}{3}\left[A_0(\hat{s})(1+\cos^2\theta_{\mathrm{CS}})+A_1(\hat{s})\cos\theta_{\mathrm{CS}}\right], \tag*{(45)} \end{aligned}

where θCS\theta_{\mathrm{CS}} is the angle between μ−\mu^- and the quark in the rest frame of the pair, which at this order is the Collins–Soper angle. This leaves the tree-level cross section, with αem\alpha_{\mathrm{em}} the electromagnetic coupling, as:

σ^qqˉ→μ+μ−(s^)=4παem29s^A0(s^).(46)\hat{\sigma}_{q\bar{q}\to\mu^+\mu^-}(\hat{s})=\frac{4\pi\alpha_{\mathrm{em}}^2}{9\hat{s}}A_0(\hat{s}). \tag*{(46)}

The cross section of two protons at squared energy ss, here s=13\sqrt{s}=13 TeV, is the cross section of the partons folded with the parton distributions fqf_q of the proton. This is the factorisation of Drell & Yan [29], established in QCD by Bodwin [16] and Collins et al. [25]:

σ=∑q∫01dx1∫01dx2[fq(x1)fqˉ(x2)+fqˉ(x1)fq(x2)]σ^qqˉ→μ+μ−(x1x2s).(47)\sigma=\sum_q\int_0^1\mathrm{d}x_1\int_0^1\mathrm{d}x_2\left[f_q(x_1)f_{\bar{q}}(x_2)+f_{\bar{q}}(x_1)f_q(x_2)\right]\hat{\sigma}_{q\bar{q}\to\mu^+\mu^-}(x_1x_2s). \tag*{(47)}

The differential cross section in any variable follows by inserting one under the integral, written as the integral of a delta function of that variable. For the mass of the pair, 1=∫dm2 δ(m2−x1x2s)1=\int\mathrm{d}m^2\,\delta(m^2-x_1x_2s), and the integral over x2x_2 gives

dσdm2=1s∑qσ^qqˉ→μ+μ−(m2)Lq(m2s),Lq(τ)=∫τ1dxx[fq(x)fqˉ(τx)+fqˉ(x)fq(τx)],(48)\frac{\mathrm{d}\sigma}{\mathrm{d}m^2}=\frac{1}{s}\sum_q\hat{\sigma}_{q\bar{q}\to\mu^+\mu^-}(m^2)\mathcal{L}_q\left(\frac{m^2}{s}\right),\qquad\mathcal{L}_q(\tau)=\int_\tau^1\frac{\mathrm{d}x}{x}\left[f_q(x)f_{\bar{q}}\left(\frac{\tau}{x}\right)+f_{\bar{q}}(x)f_q\left(\frac{\tau}{x}\right)\right], \tag*{(48)}

with Lq\mathcal{L}_q the parton luminosity of flavour qq.

We compute the integral in the rapidity YY of the pair, with x=(m/s)eYx=(m/\sqrt{s})e^Y and dx/x=dY\mathrm{d}x/x=\mathrm{d}Y, over ∣Y∣<log⁡(s/m)|Y|<\log(\sqrt{s}/m). In terms of log⁡m\log m,

dσdlog⁡m=2s∑qm2σ^qqˉ→μ+μ−(m2)Lq(m2s).(49)\frac{\mathrm{d}\sigma}{\mathrm{d}\log m}=\frac{2}{s}\sum_q m^2\hat{\sigma}_{q\bar{q}\to\mu^+\mu^-}(m^2)\mathcal{L}_q\left(\frac{m^2}{s}\right). \tag*{(49)}

This spectrum has been measured at the LHC for values of mm from GeV to TeV energies [4, 5, 24].

We take the luminosity of each quark type at the mass of the pair from the NNPDF4.0 distributions at next-to-leading order [56], with the scale equal to mm, for two quark types, up-type and down-type. We multiply it by the acceptance of the muon selection, ∣η∣<2.5|\eta|<2.5 and pT>7p_T>7 GeV, for pairs without transverse momentum. A free power (M/m)ρ(M/m)^\rho absorbs what this leading-order luminosity does not describe: the higher orders, the transverse momentum of the pair, and the remaining backgrounds. We define the number of pairs as the cross section times a normalisation constant Y\mathcal{Y},

dNBorndlog⁡m=Y(Mm)ρ∑qLq(m2/s)∑q′Lq′(M2/s)m2σ^qqˉ→μ+μ−(m2),(50)\frac{\mathrm{d}N_{\mathrm{Born}}}{\mathrm{d}\log m}=\mathcal{Y}\left(\frac{M}{m}\right)^\rho\sum_q\frac{\mathcal{L}_q(m^2/s)}{\sum_{q'}\mathcal{L}_{q'}(M^2/s)}m^2\hat{\sigma}_{q\bar{q}\to\mu^+\mu^-}(m^2), \tag*{(50)}

where Lq\mathcal{L}_q now includes the acceptance. The constant Y\mathcal{Y} includes the integrated luminosity of the collider, the efficiency of the trigger and of the selection, and the constant factors of Eq. (49). It is a free parameter, and its only use is to make the fit match the total number of pairs.

ATLAS [3] measures the momentum of a muon with a resolution between one and a few percent [6, 7]. We describe this resolution by a Gaussian in log⁡m\log m of standard deviation σdet/M\sigma_{\mathrm{det}}/M, the same over the fit window,

G(l)=12π σdet/Mexp⁡[−l22(σdet/M)2],(51)G(l)=\frac{1}{\sqrt{2\pi}\,\sigma_{\mathrm{det}}/M}\exp\left[-\frac{l^2}{2(\sigma_{\mathrm{det}}/M)^2}\right], \tag*{(51)}

cut at five standard deviations.

To account for final-state radiation, we introduce the radiator function FF [54],

F(y)=2be−2y(1−e−2y)b−1,(52)F(y)=2b e^{-2y}\left(1-e^{-2y}\right)^{b-1}, \tag*{(52)}

where a pair with invariant mass m′m' before radiation has invariant mass m′e−ym'e^{-y} after it, so y≥0y \ge0. bb is defined as

b=2αemπ(log⁡M2mμ2−1),(53)b = \frac{2\alpha_{\mathrm{em}}}{\pi}\left(\log\frac{M^2}{m_\mu^2}-1\right), \tag*{(53)}

evaluated at the fitted pole MM, with mμm_\mu the muon mass. We model the ZZ lineshape as

dNdlog⁡m=∫0ycutdy∫dldNBorndlog⁡m(l)F(y)G(log⁡m−l+y),(54)\frac{\mathrm{d}N}{\mathrm{d}\log m} = \int_0^{y_{\mathrm{cut}}}\mathrm{d}y\int\mathrm{d}l\frac{\mathrm{d}N_{\mathrm{Born}}}{\mathrm{d}\log m}(l)F(y)G(\log m-l+y), \tag*{(54)}

where ll is the logarithm of the invariant mass before radiation, and log⁡m\log m is the value after resolution. We set ycut=0.8y_{\mathrm{cut}}=0.8. This cutoff only amounts to a loss of ∼1%\sim1\% of the muon pairs.

Details on the fit

We fit Eq. (54) to the counts of muon pairs in 100 bins of equal width in log⁡m\log m, within ±0.25\pm0.25 of the peak, about 71 to 117 GeV for the baseline generation. We first take as the peak the median of log⁡m\log m over the pairs whose baseline mass lies in the ZZ window of Table 1, fit, then centre the window on the fitted pole and fit again. Every pair of a sample enters the histogram, whatever its mass before the steering.

The expected count νi\nu_i in bin ii is the integral of Eq. (54) over the bin, a function of the five free parameters θ=(M,Γ,σdet⁡,ρ,Y)\theta=(M,\Gamma,\sigma_{\det},\rho,\mathcal{Y}). The observed counts nin_i are Poisson distributed, and we minimise the deviance [11],

D(θ)=2∑i[νi(θ)−ni+nilog⁡niνi(θ)],(55)D(\theta)=2\sum_i\left[\nu_i(\theta)-n_i+n_i\log\frac{n_i}{\nu_i(\theta)}\right], \tag*{(55)}

which is −2-2 times the logarithm of the ratio of the Poisson likelihood of the fit to that of a perfect fit. For large counts, DD follows a χ2\chi^2 distribution with 100−5=95100-5=95 degrees of freedom, and we quote DD per degree of freedom as the quality of the fit. The uncertainty of each parameter is where DD rises by one above its minimum, ΔD=1\Delta D=1, with the other parameters free. The Weinberg angle is fixed at sin⁡2θW=0.23122\sin^2\theta_W=0.23122, and bb follows the fitted pole through Eq. (53).

We evaluate the lineshape on a grid in log⁡m\log m from 25 to 320 GeV with a step of 10−310^{-3}, and compute both integrals of Eq. (54) as discrete convolutions on this grid. We minimise DD with a bounded trust-region method, from four starting points for Γ\Gamma and σdet\sigma_{\mathrm{det}}, and keep the smallest DD. The pole is bounded to the fit window, Γ\Gamma and σdet\sigma_{\mathrm{det}} to between 10−410^{-4} and 0.35 times MM, and ρ\rho to [−12,15][-12, 15]. The fit of the baseline starts at Γ=0.019 M\Gamma= 0.019\,M, σdet=0.017 M\sigma_{\mathrm{det}} = 0.017\,M, and ρ=2.5\rho= 2.5, with MM at the peak; each steered sample starts from the baseline fit of its seed, with MM at its own peak.

Results. Table 6 gives the fits of the real data, the baseline generation, and the generation steered with −2≤α≤2-2 \le\alpha\le2 at block 1, and Figure 20 shows the fitted lineshapes against the counts. The statistical uncertainty of the pole is about 10 MeV, far below the shifts of the steering, and the three generations with different seeds agree within it. Γ\Gamma and σdet\sigma_{\mathrm{det}} have a correlation of −0.8-0.8 in every fit: the fit can trade the width of the Breit–Wigner against the width of the resolution, which is why we do not read the growth of Γ\Gamma with ∣α∣|\alpha| as a change of the physical width alone. The fit describes the real data and the baseline well, and degrades as ∣α∣|\alpha| grows, most for negative α\alpha, where the steered peak is no longer a Breit–Wigner folded with a Gaussian (Figure 21c). Figure 21 also shows the remaining parameters of the fit against α\alpha: the resolution grows faster than a pure shift of log⁡mμμ\log m_{\mu\mu} for α>0\alpha> 0 and falls for α<0\alpha< 0, while ρ\rho absorbs the change of the continuum on both sides.

Figure 20. Lineshape fits of the ZZ peak. Real data (grey), baseline generation of ShellFlow (black, dashed), and the generation steered at block 1 with α=−2,−1,+1,+2\alpha=-2,-1,+1,+2 (blue to green), one seed. Each sample is drawn in the 100 bins of its own fit window, with the fitted lineshape as a thin line. Bottom: pulls, (ni−νi)/νi(n_i-\nu_i)/\sqrt{\nu_i}.

Figure 21. The remaining parameters of the lineshape fit against α\alpha, for the ZZ steering vector at block 1: (a) detector resolution σdet⁡\sigma_{\det}, (b) luminosity exponent ρ\rho, and (c) deviance per degree of freedom. Mean over three seeds, with their standard deviation as bars. Dotted in (a): the baseline value times exp⁡(α∑kGˉZ(tk)⊤ξZ(tk))\exp\left(\alpha\sum_k \bar{G}_Z(t_k)^{\top}\xi_Z(t_k)\right), a pure shift of log⁡mμμ\log m_{\mu\mu}, as in Figure 5. At α=−3\alpha=-3 the fit sets σdet⁡\sigma_{\det} to zero and puts all of the broadening into Γ\Gamma.

SampleMM [GeV]Γ\Gamma [GeV]σdet\sigma_{\mathrm{det}} [GeV]ρ\rhoD/dofD/\mathrm{dof}
PDG91.1879±0.002091.1879 \pm0.00202.4955±0.00232.4955 \pm0.0023———
Real data90.979±0.00990.979 \pm0.0092.87±0.032.87 \pm0.031.60±0.021.60 \pm0.02−0.32±0.06-0.32 \pm0.061.3
Baseline generation90.573±0.00990.573 \pm0.0092.41±0.022.41 \pm0.021.74±0.021.74 \pm0.02−1.01±0.07-1.01 \pm0.072.0
α=−2\alpha=-270.299±0.01170.299 \pm0.0114.37±0.034.37 \pm0.031.25±0.031.25 \pm0.030.76±0.050.76 \pm0.0515.1
α=−1.5\alpha=-1.574.769±0.01074.769 \pm0.0103.38±0.033.38 \pm0.031.47±0.021.47 \pm0.020.06±0.050.06 \pm0.059.4
α=−1\alpha=-179.677±0.00979.677 \pm0.0092.71±0.022.71 \pm0.021.58±0.021.58 \pm0.02−0.76±0.06-0.76 \pm0.063.8
α=−0.5\alpha=-0.584.935±0.00884.935 \pm0.0082.41±0.022.41 \pm0.021.62±0.011.62 \pm0.01−1.18±0.07-1.18 \pm0.071.8
α=+0.5\alpha=+0.596.634±0.01096.634 \pm0.0102.64±0.032.64 \pm0.032.10±0.022.10 \pm0.02−0.37±0.07-0.37 \pm0.072.0
α=+1\alpha=+1102.949±0.013102.949 \pm0.0133.00±0.033.00 \pm0.032.71±0.022.71 \pm0.020.17±0.070.17 \pm0.073.2
α=+1.5\alpha=+1.5109.569±0.017109.569 \pm0.0173.42±0.043.42 \pm0.043.55±0.023.55 \pm0.020.61±0.070.61 \pm0.074.3
α=+2\alpha=+2116.403±0.022116.403 \pm0.0223.89±0.053.89 \pm0.054.60±0.034.60 \pm0.030.85±0.080.85 \pm0.083.8

Table 6. Lineshape fits of the ZZ peak. Values are the mean over three seeds; uncertainties are statistical, from ΔD=1\Delta D = 1. D/dofD/\mathrm{dof} is the deviance per degree of freedom (95). PDG: world average of the Particle Data Group [61].

References

  1. [1]Alain, G. and Bengio, Y. Understanding intermediate layers using linear classifier probes, 2016 [arXiv:1610.01644].arxiv.org/abs/1610.01644
  2. [2]Arditi, A., Obeso, O., Syed, A., Paleka, D., Panickssery, N., Gurnee, W., and Nanda, N. Refusal in language models is mediated by a single direction. In Advances in Neural Information Processing Systems, volume 37, pp. 136037–136083. Curran Associates, Inc., 2024 [arXiv:2406.11717].arxiv.org/abs/2406.11717
  3. [3]ATLAS Collaboration. The ATLAS experiment at the CERN large hadron collider. Journal of Instrumentation, 3:S08003, 2008.
  4. [4]ATLAS Collaboration. Measurement of the low-mass Drell-Yan differential cross section at √s = 7 TeV using the ATLAS detector. Journal of High Energy Physics, 06:112, 2014 [arXiv:1404.1212].DOI
  5. [5]ATLAS Collaboration. Measurement of the double-differential high-mass Drell-Yan cross section in pp collisions at √s = 8 TeV with the ATLAS detector. Journal of High Energy Physics, 08:009, 2016a [arXiv:1606.01736].DOI
  6. [6]ATLAS Collaboration. Muon reconstruction performance of the ATLAS detector in proton-proton collision data at √s = 13 TeV. Eur. Phys. J. C, 76:292, 2016b [arXiv:1603.05598].DOI
  7. [7]ATLAS Collaboration. Studies of the muon momentum calibration and performance of the ATLAS detector with pp collisions at √s = 13 TeV. European Physical Journal C, 83:686, 2023 [arXiv:2212.07338].DOI
  8. [8]ATLAS Collaboration. ROOT ntuple format 2015-2016 proton-proton open data for education and outreach beta release from the ATLAS experiment. CERN Open Data Portal, 2025a. URL https://opendata.cern.ch/record/93910.DOI
  9. [9]ATLAS Collaboration. ATLAS ROOT ntuple format Run 2 2015+2016 proton-proton collision data beta release, 1LMET30 skim. CERN Open Data Portal, 2025b. URL https://opendata.cern.ch/record/93929.DOI
  10. [10]ATLAS Collaboration. ATLAS ROOT ntuple format Run 2 2015+2016 proton-proton collision data beta release, 2to4lep skim. CERN Open Data Portal, 2025c. URL https://opendata.cern.ch/record/93919.DOI
  11. [11]Baker, S. and Cousins, R. D. Clarification of the use of chi-square and likelihood functions in fits to histograms. Nuclear Instruments and Methods in Physics Research, 221(2):437–442, 1984.
  12. [12]Beaglehole, D., Radhakrishnan, A., Boix-Adserà, E., and Belkin, M. Toward universal steering and monitoring of AI models. Science, 391(6787):787–792, 2026 [arXiv:2502.03708].arxiv.org/abs/2502.03708
  13. [13]Belrose, N., Schneider-Joseph, D., Rayvogel, S. Cotterell, R., Raff, E., and Biderman, S. LEACE: Perfect linear concept erasure in closed form. In Advances in Neural Information Processing Systems, volume 36, pp. 66044–66063. Curran Associates, Inc., 2023 [arXiv:2306.03819].arxiv.org/abs/2306.03819
  14. [14]Blankertz, B., Tomioka, R., Lemm, S., Kawanabe, M., and Müller, K.-R. Optimizing spatial filters for robust EEG single-trial analysis. IEEE Signal Processing Magazine, 25(1):41–56, 2008.DOI
  15. [15]Bodek, A., van Dyne, A., Han, J. Y., Sakumoto, W., and Strelnikov, A. Extracting muon momentum scale corrections for hadron collider experiments. European Physical Journal C, 72:2194, 2012 [arXiv:1208.3710].DOI
  16. [16]Bodwin, G. T. Factorization of the Drell-Yan cross section in perturbation theory. Physical Review D, 31(10):2616–2642, 1985.pubmed.ncbi.nlm.nih.gov/9955563
  17. [17]Bonnet-Guerrini, R., Carrazza, S., Forte, S., Groenendijk, E., Piuri, V., and Winterhalder, R. Interpreting parton distributions with Shapley values, 2026a [arXiv:2607.02647].
  18. [18]Bonnet-Guerrini, R., Ioannou-Nikolaides, J., Timiryasov, I., and Piuri, V. Finding and using interpretable latents in a neutrino foundation model with sparse autoencoders, 2026b [arXiv:2608.26090].
  19. [19]Bonnet-Guerrini, R., Sanchez, B., Fouchez, D., Racine, B., Guy, M., Sabalbal, M., Yassine, M., and Piuri, V. Interpretable human-label-free deep learning for real-bogus classification with uncertainty quantification, 2026c [arXiv:2607.05393].
  20. [20]Brambilla, N., Butenschoen, M., and Wang, X.-P. How well does nonrelativistic QCD factorization work at next-to-leading order? Physical Review D, 112(1):L011902, 2025.DOI
  21. [21]CDF Collaboration. Measurement of the mass and width of the Z⁰ boson at the Fermilab Tevatron. Physical Review Letters, 63(7):720–723, 1989.
  22. [22]Chen, R. T. Q. and Lipman, Y. Flow matching on general geometries. In International Conference on Learning Representations, 2024 [arXiv:2302.03660].arxiv.org/abs/2302.03660
  23. [23]CMS Collaboration. Performance of the CMS muon detector and muon reconstruction with proton-proton collisions at √s = 13 TeV. Journal of Instrumentation, 13:P06015, 2018 [arXiv:1804.04528].DOI
  24. [24]CMS Collaboration. Measurement of the differential Drell-Yan cross section in proton-proton collisions at √s = 13 TeV. Journal of High Energy Physics, 12:059, 2019 [arXiv:1812.10529].DOI
  25. [25]Collins, J. C., Soper, D. E., and Sterman, G. Factorization of hard processes in QCD. In Mueller, A. H. (ed.), Perturbative Quantum Chromodynamics, volume 5 of Adv. Ser. Direct. High Energy Phys., pp. 1–91. World Scientific, 1989 [arXiv:hep-ph/0409313].
  26. [26]Collins, J. H. An exploration of learnt representations of W jets. In ICLR 2021 Workshop on Deep Generative Models for Highly Structured Data, 2021 [arXiv:2109.10919].arxiv.org/abs/2109.10919
  27. [27]DelSole, T. and Tippett, M. K. Predictable components and singular vectors. Journal of the Atmospheric Sciences, 65(5):1666–1678, 2008.DOI
  28. [28]Dimitrievkij, A. and Wells, J. Steering vector fields for property-controlled molecular generation with chemical language models. bioRxiv, 2025. URL https://www.biorxiv.org/content/10.1101/2025.09.24.678080.
  29. [29]Drell, S. D. and Yan, T.-M. Massive Lepton-Pair Production in Hadron-Hadron Collisions at High Energies. Phys. Rev. Lett., 25:316–320, 1970.
  30. [30]Dunefsky, J. and Cohan, A. One-shot optimized steering vectors mediate safety-relevant behaviors in LLMs. In Second Conference on Language Modeling, 2025 [arXiv:2502.18862].arxiv.org/abs/2502.18862
  31. [31]Faucett, T., Thaler, J., and Whiteson, D. Mapping machine-learned physics into a human-readable space. Physical Review D, 103(3):036020, 2021 [arXiv:2010.11998].DOI
  32. [32]Fear, R. A., Mukhopadhyay, P., McCabe, M., Bietti, A., and Cranmer, M. Physics steering: Causal control of cross-domain concepts in a physics foundation model, 2025 [arXiv:2511.20798].arxiv.org/abs/2511.20798
  33. [33]Fisher, R. A. The use of multiple measurements in taxonomic problems. Annals of Eugenics, 7(2):179–188, 1936.DOI
  34. [34]Fisher, R. A. The statistical utilization of multiple measurements. Annals of Eugenics, 8(4):376–386, 1938.DOI
  35. [35]Fukunaga, K. and Koontz, W. L. G. Application of the Karhunen-Loève expansion to feature selection and ordering. IEEE Transactions on Computers, C-19(4):311–318, 1970.DOI
  36. [36]Gaintseva, T., Oncescu, A.-M., Ma, C., Liu, Z., Benning, M., Slabaugh, G., Deng, J., and Elezi, I. CASTeer: Cross-attention steering for controllable concept erasure. In International Conference on Learning Representations, 2026 [arXiv:2503.09630].arxiv.org/abs/2503.09630
  37. [37]Haas, R., Huberman-Spiegelglas, I., Mulayoff, R., Graßhof, S., Brandt, S. S., and Michaeli, T. Discovering interpretable directions in the semantic latent space of diffusion models. In 2024 IEEE 18th International Conference on Automatic Face and Gesture Recognition (FG). IEEE, 2024 [arXiv:2303.11073].arxiv.org/abs/2303.11073
  38. [38]Hong, J., Chan, A., Dai, Q., Skifstad, J., and Chou, G. Activation steering of video generation models via reduced-order linear optimal control, 2026 [arXiv:2606.04775].arxiv.org/abs/2606.04775
  39. [39]Huang, L.-K., Zhu, R., He, B., and Yao, J. Steering protein language models. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of PMLR, pp. 26247–26260. PMLR, 2025 [arXiv:2509.07983].arxiv.org/abs/2509.07983
  40. [40]Kato, M., Urquía-Calderón, K. A., Timiryasov, I., and Ruchayskiy, O. Learning Standard Model structure from LHC data with Riemannian flow matching, 2026 [arXiv:2607.16144].arxiv.org/abs/2607.16144
  41. [41]Kim, B., Wattenberg, M., Gilmer, J., Cai, C., Wexler, J., Viégas, F., and Sayres, R. Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (TCAV). In Proceedings of the 35th International Conference on Machine Learning, volume 80 of PMLR, pp. 2668–2677. PMLR, 2018.arxiv.org/abs/1711.11279
  42. [42]Kim, D. and Ghadiyaram, D. Concept steerers: Leveraging K-sparse autoencoders for test-time controllable generations, 2025 [arXiv:2501.19066].arxiv.org/abs/2501.19066
  43. [43]Kitouni, O., Nolte, N., Pérez-Díaz, V. S., Trifinopoulos, S., and Williams, M. From neurons to neutrons: A case study in interpretability. In Proceedings of the 41st International Conference on Machine Learning, volume 235, pp. 24726–24748. PMLR, 2024 [arXiv:2405.17425].arxiv.org/abs/2405.17425
  44. [44]Konovalova, N., Idrisov, I., and Alanov, A. SHIFT: Steering hidden intermediates in flow transformers. In ICML 2026 Workshop on Mechanistic Interpretability, 2026 [arXiv:2604.09213].arxiv.org/abs/2604.09213
  45. [45]Kriesten, B., Gomprecht, J., and Hobbs, T. J. Explainable AI classification for parton density theory. Journal of High Energy Physics, 11:007, 2024 [arXiv:2407.03411].arxiv.org/abs/2407.03411
  46. [46]Lansberg, J.-P. New observables in inclusive production of quarkonia. Physics Reports, 889:1–106, 2020.DOI
  47. [47]LHCb Collaboration. Measurement of the Z-boson mass. Physical Review Letters, 135:161802, 2025 [arXiv:2505.15582].
  48. [51]Lipman, Y., Chen, R. T. Q., Ben-Hamu, H., Nickel, M., and Le, M. Flow matching for generative modeling. In International Conference on Learning Representations, 2023 [arXiv:2210.02747].arxiv.org/abs/2210.02747
  49. [52]MacMillan, T. and Ouellette, N. T. Towards mechanistic understanding in a data-driven weather model: internal activations reveal interpretable physical features, 2025 [arXiv:2512.24440].arxiv.org/abs/2512.24440
  50. [53]Mikolov, T., Yih, W.-t., and Zweig, G. Linguistic regularities in continuous space word representations. In Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 746–751, Atlanta, Georgia, 2013. Association for Computational Linguistics.
  51. [54]Montagna, G., Nicrosini, O., and Piccinini, F. Precision physics at LEP. Rivista del Nuovo Cimento, 21(9):1–162, 1998 [arXiv:hep-ph/9802302].DOI
  52. [55]Nanda, N. Attribution patching: Activation patching at industrial scale. Blog post, 2023. URL https://www.neelnanda.io/mechanistic-interpretability/attribution-patching.
  53. [56]NNPDF Collaboration, Ball, R. D., Carrazza, S., Cruz-Martinez, J., et al. The path to proton structure at 1% accuracy. The European Physical Journal C, 82(5):428, 2022 [arXiv:2109.02653].
  54. [57]Ocampo, I. and Cañas-Herrera, G. Explaining neural networks on the sky: Machine learning interpretability for cosmic microwave background maps, 2026 [arXiv:2604.05290].arxiv.org/abs/2604.05290
  55. [58]Ocampo, I., Alestas, G., Nesseris, S., and Sapone, D. Enhancing cosmological model selection with interpretable machine learning. Physical Review Letters, 134(4):041002, 2025 [arXiv:2406.08351].DOI
  56. [59]Park, K., Choe, Y. J., and Veitch, V. The linear representation hypothesis and the geometry of large language models. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of PMLR, pp. 39643–39666. PMLR, 2024 [arXiv:2311.03658].arxiv.org/abs/2311.03658
  57. [60]Parsan, N., Yang, D. J., and Yang, J. J. Towards interpretable protein structure prediction with sparse autoencoders, 2025 [arXiv:2503.08764].arxiv.org/abs/2503.08764
  58. [61]Particle Data Group. Review of particle physics. Int. J. Mod. Phys. A, 41:2630011, 2026.DOI
  59. [62]Patil, N. N., Eshwar R. A., and Honnavar, G. V. Phys-SAE: Mechanistic interpretability of PINNs with sparse autoencoders, 2026 [arXiv:2609.07061].arxiv.org/abs/2609.07061
  60. [63]Peebles, W. and Xie, S. Scalable diffusion models with transformers. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 4172–4182. IEEE, 2023 [arXiv:2212.09748].arxiv.org/abs/2212.09748
  61. [64]Perez, E., Strub, F., de Vries, H., Dumoulin, V., and Courville, A. FiLM: Visual reasoning with a general conditioning layer. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018 [arXiv:1709.07871].arxiv.org/abs/1709.07871
  62. [65]Petitjean, A., Plehn, T., Spinner, J., and Köthe, U. Economical jet taggers – equivariant, slim, and quantized, 2025 [arXiv:2512.17011].arxiv.org/abs/2512.17011
  63. [67]Rai, S. and Ganguly, S. Dissecting jet-tagger through mechanistic interpretability, 2026 [arXiv:2605.09881].arxiv.org/abs/2605.09881
  64. [68]Rao, C. R. The utilization of multiple measurements in problems of biological classification. Journal of the Royal Statistical Society: Series B (Methodological), 10(2):159–193, 1948.
  65. [69]Rimsky, N., Gabrieli, N., Schulz, J., Tong, M., Hubinger, E., and Turner, A. M. Steering Llama 2 via contrastive activation addition. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 15504–15522, Bangkok, Thailand, 2024. Association for Computational Linguistics [arXiv:2310.10348].
  66. [70]Shleifer, S., Weston, J., and Ott, M. NormFormer: Improved transformer pretraining with extra normalization, 2021 [arXiv:2110.09456].arxiv.org/abs/2110.09456
  67. [71]Simon, E. and Zou, J. InterPLM: discovering interpretable features in protein language models via sparse autoencoders. Nature Methods, 22(10):2107–2117, 2025 [arXiv:2412.12101].arxiv.org/abs/2412.12101
  68. [72]Sofroniew, N., Kauvar, I., Saunders, W., Chen, R., Henighan, T., Hydrie, S., Citro, C., Pearce, A., Tarng, J., Gurnee, W., Batson, J., Zimmerman, S., Rivoire, K., Fish, K., Olah, C., and Lindsey, J. Emotion concepts and their function in a large language model. Transformer Circuits Thread, 2026. URL https://transformer-circuits.pub/2026/emotions/index.html.
  69. [73]Spinner, J., Bresó, V., de Haan, P., Plehn, T., Thaler, J., and Brehmer, J. Lorentz-equivariant geometric algebra transformers for high-energy physics. In Advances in Neural Information Processing Systems, volume 37, pp. 22178–22205. Curran Associates, Inc., 2024 [arXiv:2405.14806].arxiv.org/abs/2405.14806
  70. [74]Staniszewski, Ł., Zaleska, K., Modrzejewski, M., and Deja, K. TADA! Tuning audio diffusion models through activation steering, 2026 [arXiv:2602.11910].arxiv.org/abs/2602.11910
  71. [75]Subramani, N., Suresh, N., and Peters, M. E. Extracting latent steering vectors from pretrained language models. In Findings of the Association for Computational Linguistics: ACL 2022, pp. 566–581. Association for Computational Linguistics, 2022 [arXiv:2205.05124].arxiv.org/abs/2205.05124
  72. [76]Sun, W., Song, X., Li, P., Yin, L., Zheng, Y., and Liu, S. The curse of depth in large language models. In Advances in Neural Information Processing Systems, volume 38, pp. 163104–163136. Curran Associates, Inc., 2025 [arXiv:2502.05795].arxiv.org/abs/2502.05795
  73. [77]Surkov, V., Wendler, C., Mari, A., Terekhov, M., Deschenaux, J., West, R., Gulcehre, C., and Bau, D. One-step is enough: Sparse autoencoders for text-to-image diffusion models. In Advances in Neural Information Processing Systems, volume 38, 2025 [arXiv:2410.22366].arxiv.org/abs/2410.22366
  74. [78]Syed, A., Rager, C., and Conmy, A. Attribution patching out-performs automated circuit discovery. In Proceedings of the 7th BlackboxNLP Workshop: Analyzing and Interpreting Neural Networks for NLP, pp. 407–416. Association for Computational Linguistics, 2024 [arXiv:2310.10348]. LLMs? even simple baselines outperform sparse autoencoders. In Proceedings of the 42nd International Conference on Machine Learning, volume 267, pp. 67035–67080. PMLR, 2025 [arXiv:2501.17148].
  75. [79]Templeton, A., Conerly, T., Marcus, J., Lindsey, J., Bricken, T., Chen, B., Pearce, A., Citro, C., Ameisen, E., Jones, A., Cunningham, H., Turner, N. L., McDougall, C., MacDiarmid, M., Tamkin, A., Durmus, E., Hume, T., Mosconi, F., Freeman, C. D., Sumers, T. R., Rees, E., Batson, J., Jermyn, A., Carter, S., Olah, C., and Henighan, T. Scaling monosemanticity: Extracting interpretable features from Claude 3 Sonnet. Transformer Circuits Thread, 2024 [arXiv:2605.29358]. URL https://transformer-circuits.pub/2024/scaling-monosemanticity/.
  76. [80]Tiourine, D. and Thais, S. Activation steering in a jet-tagging transformer: Physical concept directions and their limits. In Interpretability for Discovery Workshop, NeurIPS 2026, 2026.
  77. [81]Todd, E., Li, M. L., Sen Sharma, A., Mueller, A., Wallace, B. C., and Bau, D. Function vectors in large language models. In International Conference on Learning Representations, 2024 [arXiv:2310.15213].arxiv.org/abs/2310.15213
  78. [82]Turner, A. M., Thiergart, L., Leech, G., Udell, D., Vazquez, J. J., Mini, U., and MacDiarmid, M. Steering language models with activation engineering, 2023 [arXiv:2308.10248].arxiv.org/abs/2308.10248
  79. [83]Villegas Garcia, E. N. and Ansuini, A. Interpreting and steering protein language models through sparse autoencoders, 2025 [arXiv:2502.09135].arxiv.org/abs/2502.09135
  80. [84]Wang, A., Gandrakota, A., Ngadiuba, J., Sahu, V., Bhatnagar, P., Khoda, E. E., and Duarte, J. Interpreting transformers for jet tagging. In Machine Learning and the Physical Sciences Workshop, NeurIPS 2024, 2024 [arXiv:2412.03673].arxiv.org/abs/2412.03673
  81. [85]Wang, Q., Belkin, M., and Wang, Y. General and efficient steering of unconditional diffusion models. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pp. 124969–124998. PMLR, 2026 [arXiv:2602.11395].arxiv.org/abs/2602.11395
  82. [88]Zou, A., Phan, L., Chen, S., Campbell, J., Guo, P., Ren, R., Pan, A., Yin, X., Mazeika, M., Dombrowski, A.-K., Goel, S., Li, N., Byun, M. J., Wang, Z., Mallen, A., Basart, S., Koyejo, S., Dong, D., Fredrikson, M., Kolter, J. Z., and Hendrycks, D. Representation engineering: A top-down approach to AI transparency, 2023 [arXiv:2310.01405].arxiv.org/abs/2310.01405

Paper details

vlnc:W_tc6vd766
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 14

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Claude Code

View statement
Looking for related papers…
Contents