<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Charged Particle Tracking via Edge-Classifying Interaction Networks</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>12/01/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10354362</idno>
					<idno type="doi">10.1007/s41781-021-00073-z</idno>
					<title level='j'>Computing and Software for Big Science</title>
<idno>2510-2036</idno>
<biblScope unit="volume">5</biblScope>
<biblScope unit="issue">1</biblScope>					

					<author>Gage DeZoort</author><author>Savannah Thais</author><author>Javier Duarte</author><author>Vesal Razavimaleki</author><author>Markus Atkinson</author><author>Isobel Ojalvo</author><author>Mark Neubauer</author><author>Peter Elmer</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Abstract            Recent work has demonstrated that geometric deep learning methods such as graph neural networks (GNNs) are well suited to address a variety of reconstruction problems in high-energy particle physics. In particular, particle tracking data are naturally represented as a graph by identifying silicon tracker hits as nodes and particle trajectories as edges, given a set of hypothesized edges, edge-classifying GNNs identify those corresponding to real particle trajectories. In this work, we adapt the physics-motivated interaction network (IN) GNN toward the problem of particle tracking in pileup conditions similar to those expected at the high-luminosity Large Hadron Collider. Assuming idealized hit filtering at various particle momenta thresholds, we demonstrate the IN’s excellent edge-classification accuracy and tracking efficiency through a suite of measurements at each stage of GNN-based tracking: graph construction, edge classification, and track building. The proposed IN architecture is substantially smaller than previously studied GNN tracking architectures; this is particularly promising as a reduction in size is critical for enabling GNN-based tracking in constrained computing environments. Furthermore, the IN may be represented as either a set of explicit matrix operations or a message passing GNN. Efforts are underway to accelerate each representation via heterogeneous computing resources towards both high-level and low-latency triggering applications.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Introduction</head><p>Charged particle tracking is essential to many physics reconstruction tasks including vertex finding <ref type="bibr">[1,</ref><ref type="bibr">2]</ref>, particle reconstruction <ref type="bibr">[3,</ref><ref type="bibr">4]</ref>, and jet flavor tagging <ref type="bibr">[5]</ref><ref type="bibr">[6]</ref><ref type="bibr">[7]</ref>. Current tracking algorithms at the CERN Large Hadron Collider (LHC) experiments <ref type="bibr">[2,</ref><ref type="bibr">8]</ref> are typically based on the combinatorial Kalman filter <ref type="bibr">[9]</ref><ref type="bibr">[10]</ref><ref type="bibr">[11]</ref><ref type="bibr">[12]</ref> and have been shown to scale worse than linearly with increasing beam intensity and detector occupancy <ref type="bibr">[13]</ref>. The high-luminosity phase of the LHC (HL-LHC) will see an order of magnitude increase in luminosity <ref type="bibr">[14]</ref>, highlighting the need to develop new tracking algorithms demonstrating reduced latency and improved performance in high-pileup environments. To this end, ongoing research focuses on both accelerating current tracking algorithms via parallelization or dedicated hardware and developing new tracking algorithms based on machine learning (ML) techniques.</p><p>Geometric deep learning (GDL) <ref type="bibr">[15]</ref><ref type="bibr">[16]</ref><ref type="bibr">[17]</ref><ref type="bibr">[18]</ref> is a growing sub-field of ML focused on learning representations on non-Euclidean domains, such as sets, graphs, and manifolds. Graph neural networks (GNNs) <ref type="bibr">[19]</ref><ref type="bibr">[20]</ref><ref type="bibr">[21]</ref><ref type="bibr">[22]</ref><ref type="bibr">[23]</ref><ref type="bibr">[24]</ref> are the subset of GDL algorithms that operate on graphs, data represented as a set of nodes connected by edges, and have been explored for a variety of tasks in high energy physics <ref type="bibr">[25,</ref><ref type="bibr">26]</ref>. Particle tracking data are naturally represented as a graph; detector hits form a 3D point cloud and the edges between them represent hypotheses about particle trajectories. Recent progress by the Exa.TrkX project and other collaborations has demonstrated that edge-classifying GNNs are well suited to particle tracking applications <ref type="bibr">[27]</ref><ref type="bibr">[28]</ref><ref type="bibr">[29]</ref><ref type="bibr">[30]</ref>. Tracking via edge classification typically involves three stages. In the graph construction stage, silicon tracker hits are mapped to nodes and an edge-assignment algorithm forms edges between certain nodes. In the edge classification stage, an edge-classifying GNN infers the probability that each edge corresponds to a true track segment meaning that both hits (nodes connecting the edge) are associated to the same truth particle, as discussed further in Sect. 4.1. Finally, in the track building step, a track-building algorithm leverages the edge weights to form full track candidates.</p><p>In this work, we present a suite of measurements at each of these stages, exploring a range of strategies and algorithms to facilitate GNN-based tracking. We focus in particular on the interaction network (IN) <ref type="bibr">[22]</ref>, a GNN architecture frequently used as a building block in more complicated architectures <ref type="bibr">[27,</ref><ref type="bibr">29,</ref><ref type="bibr">31,</ref><ref type="bibr">32]</ref>. The IN itself demonstrates powerful edge-classification capability and its mathematical formulations are the subject of ongoing acceleration studies <ref type="bibr">[33]</ref>. In Sect. 2, we first present an overview of particle tracking and graph-based representations of track hits. In Sect. 3, we introduce INs and describe the mathematical foundations of our architecture. In Sect. 4, we present specific graph construction, IN edge classification, and track building measurements on the open-source TrackML dataset. Additionally, we present IN inference time measurements, framing this work in the context of ongoing GNN acceleration studies. In Sect. 5, we summarize the results of our studies and contextualize them in the broader space of ML-based particle tracking. We conclude in the same section with outlook and discussion of future studies, in particular highlighting efforts to accelerate INs via heterogeneous computing resources.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Theory and Background</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Particle Tracking</head><p>In collider experiments, such as the LHC, charged particle trackers are composed of cylindrical detector layers immersed in an axially-aligned magnetic field. The detector geometry is naturally described by cylindrical coordinates (r, , z) , where the z-axis is aligned with the beam- line. Pseudorapidity is a measure of angle with respect to the beamline, defined as &#8758;=log tan 2 where is the polar angle. Charged particles produced in collision events move in helical trajectories through the magnetic field, generating localized hits in the tracker layers via ionization energy deposits. Track reconstruction consists of "connecting the dots," wherein hits are systematically grouped to form charged particle trajectories. We refer to a pair of hits that belong to the same particle as a track segment, such that the line extending between the hits is a linear approximation of the particle's trajectory. Note that in a high-pileup scenario, track hits might correspond to multiple overlapping particle trajectories. Reconstructed tracks are defined by their respective hit patterns and kinematic properties, which are extracted from each track's helix parameters. Specifically, initial position and direction follow directly from helical fits and the transverse momentum p T is extracted from the track's curvature (see Fig. <ref type="figure">1</ref>) [34].</p><p>In this work, we focus specifically on track building in the pixel detector (see Fig. <ref type="figure">2</ref>), the innermost subdetector of the tracker. Many tracking algorithms run "inside out," where track seeds from the pixel detector are used to estimate initial track parameters and propagated through the full detector <ref type="bibr">[2]</ref>. Improving the seeding stage of the urements of transverse momentum via p T = 0.3 [ GeV T&#8901;m ] BR . (Middle) The four cylindrical tracker layers are "unrolled" in the r-z plane to show the full event contents: three particles plus additional noise hits. (Right) The corresponding hitgraph is shown with example node and edge labels</p><p>tracking pipeline is an important step towards enabling efficient tracking at the HL-LHC; this approach is complimentary to other GNN-based tracking efforts that focus on the full tracker barrel (without including endcaps) using graph segmentation <ref type="bibr">[28]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Tracker Hits as Graphs</head><p>Tracking data is naturally represented as a graph by identifying hits as nodes and track segments as (in general) directed edges (see Fig. <ref type="figure">1</ref>). In this scheme, nodes have cylindrical spatial features x k = (r k , k , z k ) and edges are defined by the nodes they connect. We employ two different edge representations: 1) binary incidence matrices R i , R o &#8712; {0, 1} n edges &#215;n nodes in incoming/outgoing (IO) format and 2) hit index pair lists I &#8712; &#8469; 2&#215;n edges in coordinate (COO) format [36]. Specifically, the incidence matrix elements (R i ) e,h are 1 if edge e is incom- ing to hit h and 0 otherwise; R o is defined similarly for out- going edges. COO entries I 0,e and I 1,e are the hit indices from which edge e is outgoing from and incoming to, respectively. Each edge is assigned a set of geometric features</p><p>is the edge length in -space. Node and edge features are s t a ck e d i n t o m a t r i c e s X</p><p>. Accordingly, we define hitgraphs rep- resenting tracking data as G IO &#8758;=(X, R a , R i , R o ) and G COO &#8758;=(X, R a , I) . The corresponding training target is the vector y &#8712; &#8477; n edges , whose components y e are 1 when edge e connects two hits associated to the same particle and 0 otherwise.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Interaction Networks</head><p>The IN is a physics-motivated GNN capable of reasoning about objects and their relations <ref type="bibr">[22]</ref>. Each IN forwardpass involves a relational reasoning step, in which an interaction is computed, and an object reasoning step, in which interaction effects are aggregated and object dynamics are applied. The resulting predictions have been shown to generate next-timestep dynamics consistent with various physical principles. We adapt the IN to the problem of edge classification by conceptualizing each hitgraph as a complex network of hit "objects" and edge "relations." In this context, the relational and object reasoning steps correspond to edge and node re-embeddings, respectively. In an edge classification scheme, the IN must determine whether or not each edge represents a track segment. Accordingly, we extend the IN forward pass to include an additional relational reasoning step, which produces an edge weight for each edge in the hitgraph. We consider two formulations of the IN: (1) the matrix formulation, suitable for edge-classification on G IO defined via PyTorch <ref type="bibr">[37]</ref> and (2) the message passing formulation, suitable for edge-classification on G COO defined via PyTorch GeomeT- ric (PyG) <ref type="bibr">[36]</ref>. These formulations are equivalent in theory, but specific implementations and training procedures can vary their computational and physics performance. In particular, the COO encoding of the edge adjacency can greatly reduce the memory footprint for training. For this reason, the measurements performed in this paper are based on the message passing formulation. In Sect. 3.1, we review the matrix formulation as presented in the original IN paper <ref type="bibr">[22]</ref>, subsequently expanding the notation to describe the message passing IN formulation in Sect. 3.2.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Matrix Formulation</head><p>The original IN was formulated using simple matrix operations interpreted as a set of physical interactions and effects <ref type="bibr">[22]</ref>. The forward pass begins with an input hitgraph G IO = (X, R a , R i , R o ) . The hits receiving an incoming edge are given by X i &#8758;=R i X &#8712; &#8477; n edges &#215;3 ; likewise, the hits send- ing an outgoing edge are given by X o &#8758;=R o X &#8712; &#8477; n edges &#215;3 . Interaction terms are defined by the concatenation m(G IO )&#8758;=[X i , X o , R a ] &#8712; &#8477; n edges &#215;10 , known as the marshal- ling step. A relational network R,1 predicts an effect for each interaction term, E&#8758;= R,1 m(G IO ) &#8712; &#8477; n edges &#215;4 . These effects are aggregated via summation for each receiving node, A&#8758;=a(G IO , E) = R T i E &#8712; &#8477; n nodes &#215;4 , and con- catenated with X to form a set of expanded hit features C&#8758;=[X, A] &#8712; &#8477; n nodes &#215;7 . An object network O re-embeds the hit positions as X&#8758;=&#120601; O (C) &#8712; &#8477; n nodes &#215;3 . At this point, the traditional IN inference is complete, having re-embedded both the edges and nodes. Accordingly, we denote the reembedded graph IN(</p><p>To produce edge weights, an additional relational reasoning step is performed on GIO . Re-marshalling yields new inter- action terms m( GIO ) = [ Xi , Xo , E] &#8712; &#8477; n edges &#215;10 and a second relational network R,2 predicts edge weights for each edge: W(G IO )&#8758;=&#120601; R,2 (m( GIO )) &#8712; (0, 1) n edges . Summarily, we have a full forward pass of the edge classification IN:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Message Passing Formulation</head><p>The message passing NN (MPNN) framework summarizes the behavior of a range of GNN architectures including the IN <ref type="bibr">[21]</ref>. In general, MPNNs update node features by aggregating "messages," localized information derived from the node's neighborhood, and propagating them throughout the graph. This process is iterative; given a message passing time T indexed by t &#8712; &#8469; , a generic message passing node update can be written as follows:</p><p>Here, N(i) is neighborhood of node i. The differentiable function (t)  message calculates messages for each j &#8712; N(i) , which are aggregated across N(i) by a permutation-invariant function &#9723; . A separate differentiable function (t)  node leverages the aggregated messages to update the node's features. Given this generalized MPNN, the IN follows from the iden-</p><p>, and node &#8594; O for a single timestep (T = 1):</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>An additional relational reasoning step gives edge weights</head><p>In this way, we produce edge weights W(G COO ) = [w (1)  ij ] from the re-embedded graph with node features X = [x (1)  i ] and edge features E = [a (1)  ij ] . This formulation is easily general- ized to T &gt; 1 by applying Eqs. 3 and 4 in sequence at each time step before finally calculating edge weights via Eq. 5 at time T. In the following studies, we focus on the simplest case of nearest-neighbor message passing ( T = 1).</p><p>(1)</p><p>a (1)   ij .</p><p>(5) w (1)  ij &#8758;= R,2 x (1)  i , x (1) j , a (1)  ij .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Measurements TrackML Dataset</head><p>The TrackML dataset is a simulated set of proton-proton collision events originally developed for the TrackML Particle Tracking Challenge <ref type="bibr">[35]</ref>. TrackML events are generated with 200 pileup interactions on average, simulating the high-pileup conditions expected at the HL-LHC. Each event contains 3D hit position and truth information about the particles that generated them. In particular, particles are specified by particle IDs ( p ID ) and three-momentum vectors ( ). Each simulated hit has a unique identifier assigned that gives the true hit position and which particle created the hit. For this truth assignment, no merging of reconstructed hits is considered as merging of hits occurs in less than 0.5% of the cases and the added complexity was deemed unnecessary for the original challenge. Other simplifications in this dataset include a simple geometry with modules arranged in cylinders and disks, instead of a more complex geometry with cones, no simulation of electronics, cooling tubes, and cables, and only one type of physics process (top quarkantiquark pairs) instead of a variety of processes. The TrackML detector is designed as a generalized LHC tracker; it contains discrete layers of sensor arrays immersed in a strong magnetic field. We focus specifically on the pixel layers, a highly-granular set of four barrel and fourteen endcap layers in the innermost tracker regions. The pixel layers are shown in Fig. <ref type="figure">2</ref>. We note that constraining our studies to the pixel layers reduces the size of the hitgraphs such that they can be held in memory and processed by the GNN without segmentation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Graph Construction</head><p>In the graph construction stage, each event's tracker hits are converted to a hitgraph through an edge selection algorithm. Typically, a set of truth filters are applied to hits before they are assigned to graph nodes. For example, p T filters reject hits generated by particles with p T &lt; p min T , noise filters reject noise hits, and same-layer filters reject all but one hit per layer for each particle. These truth filters are used to modulate the number of hits present in each hit graph to make it more feasible to apply GNN methods and can be thought of as an idealized hit filtering step (see Table <ref type="table">1</ref>). One goal of future R&amp;D is to lower or remove this truth-based filter or replace it with a realistic hit filtering step that could be applied in a high-pileup experimental setting. After initial hit filtering yields a set of nodes, edge-assignment algorithms extend edges between certain nodes. These edges are inputs to the inference stage and must therefore represent as many true track segments as possible. Naively, one might return a fully-connected hitgraph. However, this strategy yields 1 2 n nodes (n nodes -1) edges, which for n nodes &#8764; O(1000) gives n edges &#8764; O(500, 000) . This represents a fundamental trade- off between different edge-assignment algorithms: they must simultaneously maximize efficiency, the fraction of track segments represented as true edges, and purity, the fraction of true edges to total edges in the hitgraph.</p><p>In this work, we compare multiple graph construction algorithms, each of which determines whether or not to extend an edge with features a ij between hits i and j. In all methods, only pixel detector hits are considered, pseudorapidity is restricted to &#8712; [-4, 4] , and the noise and same- layer hit filters are applied. Each method has the same definition of graph construction efficiency (N reconstructed</p><p>true &#8725;N possible true ) and purity (N reconstructed true &#8725;N reconstructed total ) . The denominator quantity N possible true</p><p>is independent of the graph construction algorithm such that one may directly compare the efficiencies of the various methods. On the other hand, the denominator N reconstructed total depends on the specific graph construction routine; for this reason, it is important to study purity in the context of efficiency. The same-layer filter introduces an ambiguity in defining edges between the barrel and innermost endcap layers. Specifically, barrel hits generated by the same particle could produce multiple true edges incoming to a single endcap hit. The resulting triangular edge pattern conflicts with the main assumption of the same-layer filter, that only one true track segment exists between each subsequent layer. For this reason, a barrel intersection cut was developed, in which edges between a barrel layer and an innermost endcap layer are rejected if they intersect with any intermediate barrel layers (see Fig. <ref type="figure">3</ref>).</p><p>In addition to the barrel intersection cut, edges must also satisfy p min T -dependent constraints on the geometric quantities z 0 = z ir i z j -z i r j -r i and slope = j -i r j -r i . These selections form the basis of each of the following graph construction algorithms:</p><p>1. Geometric Edges must satisfy the barrel intersection cut and z 0 and slope constraints.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Geometric and preclustering</head><p>In addition to all geometric selections, edges must also belong to the same cluster in Table <ref type="table">1</ref> The p T , noise, and same-layer filters are used as a handle on graph size by reducing the number of hits allowed into the graph. Here, we profile 100 events from the TrackML train_1 sample; these events have an average of N(total) = 56751 &#177; 6070 hits in the pixel detector. Denote the hits removed by the p T , noise, and same-layer filters as N(p T &lt; p min T ) , N(noise) and N(same -layer) , respectively. The noise filter is observed to remove N(noise) = 3702 &#177; 56 hits, roughly 6.5% of the detector occupancy. The p T and same-layer filters remove hits as a function of p min T ; these values are reported in the table below. We define N(remaining)&#8758;=N(total) -N(p T &lt; p min T ) -N(same -layer) -N(noise) to be the hits remaining after these filters are applied; N(remaining) corresponds to n nodes constructed in the hitgraph</p><p>same -layer) N(remaining) N(remaining)&#8725;N(total) [%] 2.0 51520 &#177; 5848 439 &#177; 87 1090 &#177; 156 1.9 &#177; 0.3 1.5 49880 &#177; 5617 921 &#177; 159 2248 &#177; 155 4.0 &#177; 0.5 1.0 45501 &#177; 5057 2233 &#177; 333 5315 &#177; 152 9.4 &#177; 1.0 0.9 43839 &#177; 4855 2735 &#177; 395 6475 &#177; 151 11.4 &#177; 1.2 0.8 41677 &#177; 4583 3396 &#177; 480 7976 &#177; 150 14.1 &#177; 1.5 0.7 38778 &#177; 4242 4278 &#177; 582 9993 &#177; 148 17.6 &#177; 1.9 0.6 34951 &#177; 3798 5448 &#177; 714 12650 &#177; 146 22.3 &#177; 2.4 0.5 29830 &#177; 3265 7025 &#177; 875 16194 &#177; 144 28.5 &#177; 3.1</p><p>Fig. <ref type="bibr">3</ref> The transition region between the barrel and endcaps introduces an ambiguity in truth-labeling edges crossing from barrel to endcap layers. Specifically, one may draw multiple possible edges between hits in barrel layers and the innermost endcap layer. Only one such edge can be true; the others (labeled red) should be rejected. The barrel intersection cut rejects any edges between a barrel layer and an innermost endcap layer that intersect an intermediate barrel layer. Accordingly, the red edges would be rejected by the intersecting line cut and the blue edges would not -space determined by the density-based spatial clustering of applications with noise (DBSCAN) algorithm <ref type="bibr">[38]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Geometric and data-driven</head><p>In addition to all geometric selections, edges must connect detector modules that have produced valid track segments in an independent data sample; this data-driven strategy is known as the module map method originally developed in <ref type="bibr">[39]</ref>.</p><p>Truth-labeled example graphs and key performance metrics for each graph construction algorithm are shown in Figs. <ref type="figure">4</ref> and <ref type="figure">5</ref>, respectively. For each method, p min T -dependent values of slope and z 0 are chosen to keep the efficiency at a con- stant O(99%) . We observe a corresponding drop in purity to O(1%) as p min T is decreased and graphs become denser. At high values of p min T , preclustering hits in -space yields a significant increase in purity over the purely geometric construction. This effect disappears as p min T decreases below 1.5 GeV , as tracks begin to overlap non-trivially with higher detector occupancy. On the other hand, the data-driven module map yields a significant boost in purity for the full range of p min T . Accordingly, the module map method is most suited to constrained computing environments in which graph size or processing time is limited. It should be noted, however, that purer graphs do not necessarily lead to higher edge classification accuracies.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Edge Classification</head><p>As detailed in Sect. 3, we have implemented the IN in PyTorch <ref type="bibr">[37]</ref> as a set of explicit matrix operations and in PyG <ref type="bibr">[36]</ref> as a MPNN. Both implementations are available in the GiT repository accompanying this paper <ref type="bibr">[40]</ref>. In the following studies, we limit our focus to the MPNN implementation trained on graphs built using geometric cuts only. Because PyG accommodates the sparse G COO edge representation, the MPNN implementation is significantly faster and more flexible than the matrix implementation (see 4.5). The full forward-pass, composed of edge and node blocks used to predict edge weights, is shown in Fig. <ref type="figure">6</ref>. The functions R,1 , R,2 , and O are approximated as multilayer perceptrons (MLPs) with rectified linear unit (ReLU) activation functions <ref type="bibr">[41,</ref><ref type="bibr">42]</ref>. The ReLU activation function behaves as an identity function for positive inputs and saturates at 0 for negative inputs. Notably, the R,2 outputs have a sigmoid activation (&#8901;) &#8712; (0, 1) , such that they represent probabilities, or edge weights, W(G COO ) &#8712; (0, 1) n edges that each edge is a track segment. We therefore seek to optimize a binary cross-entropy (BCE) loss between the truth targets y k = {0, 1} and edge weights w k &#8712; (0, 1) , which henceforth are re-labeled by the edge index k: T is decreased, graphs are increasingly composed of false edges. Preclustering and data-driven edge selections reduce the fraction of false edges in the graphs when compared to simple geometric selections Fig. <ref type="figure">5</ref> Graph construction efficiency, purity, node counts, and edge counts are reported for a range of p min T calculated using 100 random graphs from the train_1 sample Here, n is the sample index so that the total loss per epoch is the average BCE loss</p><p>Throughout the following studies, the architecture in Fig. <ref type="figure">6</ref> is held at a constant size of 6,448 trainable parameters, corresponding to 40 hidden units (h.u.) per layer in each of the MLPs. Validation studies indicate that even this small network rapidly converged to losses of O(10 -3 ) , similar to its larger counterparts (see Fig. <ref type="figure">6</ref>). Assuming every MLP layer has the same number of h.u., 40 h.u. per layer is sufficient to recover the maximum classification accuracy with models trained on p min T = 1 GeV graphs. In the following studies, models are trained on graphs built with p min T ranging from 0.6-2 GeV . At each value of p min T , 1500 graphs belonging to the TrackML train_1 sample are randomly divided into 1000 training, 400 testing, and 100 validation sets. The Adam optimizer is used to facilitate training <ref type="bibr">[43]</ref>. It is configured with learning rates of 3.5-8&#215;10 -3 , which are decayed by a factor of = 0.95 for p min T &#8804; 1 GeV and = 0.8 for p min T &gt; 1 GeV every 10 epochs. To evaluate the IN edge-classification performance, it is necessary to define a threshold such that each edge weight w k &#8712; W(G COO ) satisfying w k &#8805; or w k &lt; &#120575; indicates that edge k was classified as true or false, respectively. Here, we define * as the threshold at which the true positive rate (TPR) equals the true negative rate (TNR). In principle, * may be calculated individually for each graph. However, this introduces additional overhead to the inference step, which is undesirable in constrained computing environments. We instead determine * during the training process by minimizing the difference |TPR -TNR| for graphs in the validation ( <ref type="formula">6</ref>)</p><p>set. The resulting * , which is stored for use in evaluating the testing sample, represents the average optimal threshold for the validation graphs. Accordingly, we define the model's accuracy at * as (n TP + n TN )&#8725;n edges , where n TP ( n TN ) is the number of true positives (negatives), and note that the BCE loss is independent of * . As shown in Fig. <ref type="figure">7</ref>, the training process results in smooth convergence to excellent edge-classification accuracy for a range of p min T . Classification accuracy degrades slightly as p min T is lowered below 1 GeV ; hyperparameter studies indi- cate that larger networks improve performance on lower p min T graphs (see Fig. <ref type="figure">6</ref>). A transfer learning study was conducted in which models trained on graphs at a specific p min T were tested on graph samples at a range of p min T . The results are summarized in Fig. <ref type="figure">8</ref>, which shows that the models achieve relatively robust performance on a range of graph sizes. These results suggest it may be possible to train IN models in simplified scenarios and apply them to more complex realistic scenarios (e.g. without a p min T cut).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Track Building</head><p>In the track building step, the predicted edge weights w k &#8712; W(G COO ) are used to infer that edges satisfy- ing w k &#8805; * represent true track segments. If the edge weight mask perfectly reproduced the training target (i.e.</p><p>(W(G COO ) &#8805; * ) = y ), the edge-classification step would produce n particles disjoint subgraphs, each corresponding to a single particle. Imperfect edge-classification leads to spurious connections between these subgraphs, prompting the need for more sophisticated track-building algorithms. Here, we use the union-find algorithm <ref type="bibr">[44]</ref> and DBSCAN to cluster hits in the edge-weighted graphs. Hit clusters are then considered to be reconstructed tracks candidates; the track Fig. <ref type="figure">6</ref> (Left) The complete IN forward-pass with the relational and object models approximated as MLPs. (Right) An example hyperparameter scan in which a models with varying numbers of hidden units (h.u.) were trained on p min T = 0.7 GeV graphs candidates are subsequently matched to simulated particles (when possible). In a full tracking pipeline, these track candidates would then be fit to extract track parameters, such as p T and ; in this work, we use truth information for matched particles to get the track parameters. Tracking efficiency metrics measure the relative success of the clustering and matching process using various definitions. We define three tracking efficiency measurements using progressively tighter requirements to allow comparison with current tracking algorithm efficiencies and other on-going HL-LHC tracking studies:</p><p>1. LHC match efficiency The number of reconstructed tracks containing over 75% of hits from the same particle, divided by the total number of particles.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Double-majority efficiency</head><p>The number of reconstructed tracks containing over 50% of hits from the same particle and over 50% of that particle's hits, divided by the total number of particles. 3. Perfect match efficiency The number of reconstructed tracks containing only hits from the same particle and every hit generated by that particle, divided by the number of particles.</p><p>We note that the perfect match efficiency is not commonly used by experiments as 100% is not realistically achievable, but we present it to demonstrate the absolute performance of the GNN tracking pipeline. Figure <ref type="figure">9</ref> shows each of these tracking efficiencies as a function of particle p T and for both the DBSCAN and union-find clustering approaches. Additionally, Table <ref type="table">2</ref> shows the corresponding fake rates, or fractions of unmatched clusters relative to all clusters, across the full p T and range. The efficiencies and fake rates are calcu- lated with p min T = 0.9 GeV graphs. Tracking performance is relatively stable at low p T but degrades for higher p T particles; similar effects have been noted in other edgeweight-based hit clustering schemes <ref type="bibr">[39]</ref>. The tracking efficiencies are lowest in the neighborhood of = 0 , indicating that performance is worst in the pixel barrel region. This is consistent with the observation that most edge classification errors occur in the barrel, where the density of detector modules is significantly higher <ref type="bibr">[35]</ref>. Tracking efficiency loss around | | &#8776; 2.5 corresponds to the transition region between barrel and endcap layers. DBSCAN demonstrates higher tracking efficiency than union-find across all p T and values and efficiency defini- tions. This performance gap is likely due to the additional spatial information used in DBSCAN's clustering routine. and accuracy of 99.9%. 98 out of 95,160 edges were incorrectly classified; these erroneous classifications are magnified in the figure Fig. Models trained on various p min T graphs in the train_1 sample were tested on 400 graphs from the train_3 sample at various p min T thresholds</p><p>Moving forward, additional tracking performance may be recovered by leveraging the specific values of each edge weight to make dynamic hit clustering decisions. The fake rates are relatively low for both track-building methods, and as expected roughly increase for increasingly tight efficiency definitions. Interestingly, DBSCAN demonstrates a lower fake rate for LHC match efficiency while union-find demonstrates a lower fake rate for the perfect match efficiency; DBSCAN also has a larger drop in tracking efficency between the double match and perfect match definitions, indicating that while DBSCAN identifies more track candidates, union-find builds tracks more precisely.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Inference Timing</head><p>An important advantage of GNN-based approaches over traditional methods for HEP reconstruction is the ability to natively run on highly parallel computing architectures. The PyG library supports graphics processing units (GPUs) to parallelize the algorithm execution. Moreover, the model was prepared for inference by converting it to a TorchScript program <ref type="bibr">[45]</ref>. For the IN studied in this work, the average CPU and GPU inference times per graph for a variety of minimum p T cuts are shown in Table <ref type="table">3</ref>. For this test, the graphs are constructed using the geometric selections as described in Section 4.2. Moreover, we use bidirectional graphs, which means both directed edges (outward and inward from the primary vertex) are present in the edge list. As can be seen, inference can be significantly sped up Fig. <ref type="bibr">9</ref> The track-building performance of DBSCAN and union-find is measured as a function of particle p T and for three tracking efficiency definitions atp min T = 0.9 GeV</p><p>Table 2 Overall fake rates of union-find and DBSCAN track-building for three tracking efficiency definitions for p min T = 0.9 GeV Efficiency definition Union-find DBSCAN LHC match 0.0471 &#177; 0.008 0.0275 &#177; 0.005 Double majority 0.0934 &#177; 0.01 0.0891 &#177; 0.01 Perfect match 0.0910 &#177; 0.01 0.1242 &#177; 0.01</p><p>with heterogeneous resources like GPUs. For instance, for a 0.5GeVminimum p T cut, the inference time can be reduced by approximately a factor of 10 using the GPU with respect to the CPU. In general, the speedup is greater at lower p min T because of the higher multiplicity and thus the greater gain from parallelization on the GPU versus the CPU. Other heterogeneous computing resources specialized for inference may be even more beneficial. This speed-up may benefit the experiments' computing workflows by accessing these resources as an on-demand, scalable service <ref type="bibr">[46]</ref><ref type="bibr">[47]</ref><ref type="bibr">[48]</ref>.</p><p>Work has also been done to accelerate the inference of deep neural networks with heterogeneous resources beyond GPUs, like field-programmable gate arrays (FPGAs) <ref type="bibr">[49]</ref><ref type="bibr">[50]</ref><ref type="bibr">[51]</ref><ref type="bibr">[52]</ref><ref type="bibr">[53]</ref><ref type="bibr">[54]</ref><ref type="bibr">[55]</ref><ref type="bibr">[56]</ref><ref type="bibr">[57]</ref>. This work extends to GNN architectures <ref type="bibr">[29,</ref><ref type="bibr">58]</ref>. Specifically, in Ref. <ref type="bibr">[29]</ref>, a compact version of the IN was implemented for p T &gt; 2 GeV segmented geometric graphs with up to 28 nodes and 37 edges, and shown to have a latency less than 1 s, an initiation interval of 5 ns, reproduce the floating-point precision model with a fixedpoint precision of 16 bits or less, and fit on a Xilinx Kintex UltraScale FPGA.</p><p>While this preliminary FPGA acceleration work is promising, there are several limitations of the current FPGA implementation of the IN:</p><p>1. This fully pipelined design cannot easily scale to beyond O(100) nodes and O(1000) edges. However, if the initia- tion interval requirements are loosened, it can scale up to O(10, 000) nodes and edges. 2. The neural network itself is small, and while it is effective for p T &gt; 2 GeV graphs, it may not be sufficient for lower-p T graphs. 3. The FPGA design makes no assumptions about the possible graph connectivity (e.g. layer 1 nodes are only con-nected to layer 2 nodes), and instead allows all nodes to potentially participate in message passing. However by taking this additional structure into account, the hardware resources can be significantly reduced. 4. Quantization-aware training <ref type="bibr">[55,</ref><ref type="bibr">[59]</ref><ref type="bibr">[60]</ref><ref type="bibr">[61]</ref><ref type="bibr">[62]</ref><ref type="bibr">[63]</ref><ref type="bibr">[64]</ref><ref type="bibr">[65]</ref><ref type="bibr">[66]</ref><ref type="bibr">[67]</ref><ref type="bibr">[68]</ref> using QKeras <ref type="bibr">[56,</ref><ref type="bibr">69]</ref> or BreviTas <ref type="bibr">[50,</ref><ref type="bibr">70]</ref>, parameter pruning <ref type="bibr">[71]</ref><ref type="bibr">[72]</ref><ref type="bibr">[73]</ref><ref type="bibr">[74]</ref><ref type="bibr">[75]</ref><ref type="bibr">[76]</ref>, and general hardware-algorithm codesign can significantly reduce the necessary FPGA resources by reducing the required bit precision and removing irrelevant operations. 5. The design can be made more flexible, configurable, and reusable by integrating it fully with a user-friendly interface like hls4ml <ref type="bibr">[77]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Summary and Outlook</head><p>In this work, we have shown that the physics-motivated interaction network (IN), a type of graph neural network (GNN), can successfully be applied to the task of charged particle tracking across a range of hitgraph sizes. Through a suite of graph construction, edge classification, and track building measurements, we have framed the IN's performance in the context of a GNN-based tracking pipeline following a truth-based hit filtering preselection in which hits associated with particles whose transverse momentum ( p T ) is below a certain threshold ( p min T ) are removed. The graph construction measurements demonstrate that geometric cuts, hit clustering, and data-driven strategies are effective in constructing highly-efficient graphs from pixel barrel and endcap layers; in constrained computing environments, the parameters of each strategy allow a trade-off between graph efficiency and purity. In particular, for a fixed graph construction efficiency of O(99%) , we show that geometric Table <ref type="table">3</ref> CPU and GPU inference time estimates for each p T threshold. The model was prepared for inference by converting it to a TorchScript program. The timing tests were performed with an Nvidia Titan Xp GPU with 12 GB RAM and a 12-core Intel Xeon CPU E5-2650 v4 @ 2.20 GHz. Inference is performed with a batch size of one graph. Graphs are constructed using geometric restrictions with bidirectional edges (both edge directions are present). The inference is repeated 100 times (after some warm-up) for 5 iterations and the best time per inference over the 5 iterations is found. The mean and standard deviation of the best inference time derived for 5 random graphs in the testing dataset are then reported. The mean and standard deviation of the number of nodes and edges are also reported for 100 graphs. We find a significant speedup with the GPU versus the CPU, which is greater at lower p min T because of the higher multiplicity and thus the greater gain from parallelization on the GPU</p><p>min T [GeV] CPU [ms] GPU [ms] n nodes n edges 2 3.83 &#177; 0.89 0.95 &#177; 0.01 1090.6 &#177; 192.8 9080.7 &#177; 3027.1 1.5 7.96 &#177; 1.44 0.95 &#177; 0.03 2247.0 &#177; 363.9 30980.6 &#177; 9468.6 1 33.96 &#177; 11.24 3.61 &#177; 0.91 5309.3 &#177; 765.5 200910.1 &#177; 55825.9 0.9 52.44 &#177; 14.15 5.36 &#177; 1.37 6468.5 &#177; 912.2 312809.5 &#177; 85441.3 0.8 91.86 &#177; 24.42 9.60 &#177; 2.61 7970.5 &#177; 1100.0 556417.7 &#177; 151482.8 0.7 168.40 &#177; 41.34 17.70 &#177; 4.39 9982.7 &#177; 1341.5 1011884.4 &#177; 268706.0 0.6 273.20 &#177; 62.09 28.84 &#177; 6.65 12640.0 &#177; 1648.2 1585883.3 &#177; 409146.8 0.5 437.00 &#177; 97.99 44.66 &#177; 7.91 16178.6 &#177; 2019.1 2535979.6 &#177; 628297.1</p><p>cuts alone produce reasonably pure graphs ( &#8764; 4% purity at p min T = 1 GeV ) but that the module-map method produces the most pure graphs for the entire range of p min T ( &#8764; 10% purity at p min T = 1 GeV ). With efficiency held constant, purity is more-or-less a comparison of graph sizes, indicating that the module map method is most suited for graph construction in constrained computing environments. Though high graph construction efficiency is desirable in a global sense, graph purity is non-trivially related to downstream physics performance; in particular, many message passing GNN architectures may benefit from less-pure graphs due to higher edge connectivity.</p><p>The lightweight IN models trained in the edge classification step demonstrate extremely high edge classification efficiency for a range of p min T . Significantly, we find models trained in simpler scenarios (larger p min T ) generalize to more complex scenarios (smaller p min T ). Track building measurements performed on these edge-weighted graphs showed that DBSCAN's spatial clustering outperformed union-find clustering across a variety of efficiency definitions.</p><p>The IN architecture presented here is substantially smaller than previous GNN tracking architectures, which may enable its use in constrained computing environments. Accordingly, we have compared the IN's CPU and GPU inference times and discussed related work on accelerating INs with FPGAs. As described in Section 4.5, there are several limitations to the current FPGA implementation of the IN and addressing these concerns is the subject of ongoing work.</p><p>Another important aspect of GNN-based tracking is reducing the time it takes to construct graphs. Ongoing efforts are dedicated to studying how best to accelerate graph construction using heterogeneous resources. Alternative GNN approaches that do not require an input graph structure, such as dynamic graph convolutional neural networks <ref type="bibr">[24]</ref>, distance-weighted GNNs <ref type="bibr">[78]</ref>, attention-based transformers <ref type="bibr">[79]</ref>, reformers <ref type="bibr">[80]</ref>, and performers <ref type="bibr">[81]</ref>, may be fruitful avenues of investigation as well.</p><p>In summary, geometric deep learning methods can be naturally applied to many physics reconstruction tasks, and our work and related studies establish GNNs as an extremely promising candidate for tracking at the high luminosity LHC.</p></div></body>
		</text>
</TEI>
