A particle-physics trigger decides in microseconds which collisions to keep and which to discard forever. To meet that deadline, modern triggers split the detector into angular sectors, each handled by its own processor chip (an FPGA, a reprogrammable hardware board). Rare signal particles do not respect sector borders. When a track crosses a boundary, neighbouring processors must swap hits or partial results before either one can decide, and on hardware with a hard latency ceiling that swap consumes the budget. We propose to treat this swap as a coded caching problem. In coded caching, each receiver already holds part of the data, so a single XOR-combined broadcast can serve several receivers at once. Here the "cache" is the overlap region that each sector already reads, and the combined messages are sent between adjacent sectors that each hold one half of the combination. We also propose to measure, for the first time, how far such a trigger sits from the best background rejection its bandwidth allows.
The opportunity is concrete. The sPHENIX real-time system in Intelligent experiments through real-time AI keeps only about 10% of Time Projection Chamber data and runs graph-network triggers within 8.82–9.2 µs of a 10 µs ceiling. It sends edge data uncoded and does not share intermediate results between adjacent tracking regions. Coding theory has shown for batch jobs that replicating some work cuts shuffle traffic roughly as $1/r$. Nobody has asked what that buys a latency-bound classifier, or how close any trigger is to a limit.
Core Claim
The quantity a trigger network should optimize is bits-to-discriminate, not bits-to-reconstruct. The shortfall of a sectorized trigger splits into two parts that can be measured separately.
The first is a representation loss: the background rejection lost because each sector summarizes its boundary information into a small learned message instead of forwarding raw hits. It is measured against an unconstrained full-detector classifier.
The second is a delivery gap: the ratio between the traffic a concrete scheme uses to swap those messages and an information-theoretic lower bound on the traffic any scheme needs, given the sector geometry and the overlap each sector stores. Once the message quantizer is fixed, the swap is an exact-delivery problem. That lets us borrow converse techniques from coded caching and apply them to the delivery gap rigorously, rather than hand-waving a bound on discrimination itself.
We claim three things. Topology-aware placement of overlap, meaning more stored overlap where boundary-crossing signal tracks are dense rather than a uniform replication factor, combined with XOR multicast between neighbours, reduces boundary traffic at fixed rejection. It does so by a margin that grows with overlap. And it fits the FPGA latency budget.
Relation to Prior Work
Four lines of work supply the method.
- Coded computing for graph analytics (Coded Computing for Distributed Graph Analytics) replicates subgraphs $r$ times and multicasts coded map outputs, getting shuffle load $L \approx 1/r$ and a 43.4% PageRank speedup on TheMarker Cafe. It works in seconds-scale batch mode with uniform $r$ and gives no finite converse. We move to a single-pass streaming setting, make $r$ vary with position, and derive finite bounds for the sector geometry.
- Coded computing for hierarchical multi-task learning (Coded Distributed Computing for Hierarchical Multi-task Learning) exploits fixed user–relay connectivity for coded exchange of intermediate learning values. It reports a constant gap to the limit and 17–26% training-time savings over MOCHA. It depends on iterative training loops and noiseless exact values, which we replace with one-shot lossy messages.
- Asymmetric placement in combination networks (A Novel Asymmetric Coded Placement in Combination Networks with End-User Caches, Caching in Combination Networks) indexes cached pieces by who is physically connected to whom and builds messages only for local neighbourhoods. This is the design principle we transfer to detector adjacency.
- Converse bounds (Combination Networks With End-User-Caches: Novel Achievable and Converse Bounds, which uses generalized sub-modularity of entropy, and Improved Approximation of Storage-Rate Tradeoff, which uses Han's inequality) supply the bounding tools. The combination-network paper leaves the small-memory regime open. That regime is exactly where FPGA overlap buffers live, so our bounds on a simpler, geometrically structured topology address a relevant corner of that open problem rather than claiming to solve it in general.
Three detector papers motivate the problem and constrain the design.
- Masking outside jet windows. End-to-End Jet Classification of Quarks and Gluons with the CMS Open Data reaches ROC AUC 0.8076 on track+ECAL+HCAL images and finds that masking outside jet windows costs little. This is a warning: if discriminating information is mostly local, boundary traffic may be too small to matter. We test this directly.
- Boundary-sensitive features. Topological background discrimination in PandaX-III shows that endpoint "blob" charge and end-track twist drive about seven orders of magnitude of gamma-background suppression at above 20% signal efficiency. These are features that break when a track is split across readout modules.
- Lossy-caching gaps. Centralized Coded Caching for Heterogeneous Lossy Requests measures lossy-caching gaps under mean-squared error. Mean-squared error is the wrong fidelity measure for a trigger, which is why we score representations by background rejection instead.
Research Program
Stylized model. We first formalize a stylized model: $S$ sectors arranged on a ring (the azimuthal structure of a barrel detector). Sector $s$ reads its own region plus an overlap band of width $w_s$ into its neighbours, so a boundary hit is stored by $r(w)$ processors. After local processing, each sector produces a quantized boundary message of $B$ bits per candidate. Each neighbour needs the messages it did not itself compute. For this exchange we derive a lower bound on total inter-sector traffic as a function of the overlap profile $\{w_s\}$, using sub-modularity and Han-type arguments. We also give an achievable XOR scheme. We report the delivery gap
$$G(w) = \frac{T_{\text{scheme}}(w)}{T^{*}(w)},$$
where $T_{\text{scheme}}$ is the traffic of our scheme and $T^{*}$ the converse bound, both per event. For uniform overlap we expect $G$ near 1 and traffic falling roughly as $1/r$, by analogy with the graph-analytics result. The open question is non-uniform overlap, where multicast opportunities become unbalanced. The heterogeneity warning in the hierarchical-learning paper suggests coding gains can collapse there, and we want to know how fast.
Learning boundary messages. Second, we learn the boundary messages. A bipartite graph network of the sPHENIX type runs per sector. Its boundary embeddings are passed through a trainable quantizer at $B$ bits and trained end-to-end on classification loss. We sweep $B$ to trace representation loss, which is the drop in background rejection at fixed signal efficiency relative to the unconstrained full-detector classifier.
Topology-aware placement. Third, we choose the overlap profile. We allocate overlap in proportion to the measured density of boundary-crossing signal candidates, the analogue of asymmetric placement. The allocation is posed as a small optimization: minimize delivery traffic plus read-in cost, subject to a total buffer size.
Hardware synthesis. Fourth, we synthesize the encode and decode logic with hls4ml-style flows to check latency and resources against the 10 µs envelope.
Baselines
Naive reference: independent sectors. Each sector decides alone and boundary tracks are simply lost or double-counted. This fixes the floor on rejection and the zero point for traffic. It runs on identical data and sector geometry.
Strongest discrimination baseline: the unconstrained full-detector classifier. - On the CMS Open Data jet images, this is the end-to-end network of the End-to-End Jet Classification paper, with reported ROC AUC 0.8076. - On sPHENIX-style heavy-flavour tagging, it is BGN-ST from the sPHENIX paper, reported at 97.38% accuracy for beauty and 90.22% for charm at 8.82 µs. - On PandaX-III, it is the four-feature topological cut chain, reported at about $10^7$ suppression at above 20% efficiency.
We retrain each on our preprocessing with the same tuning budget as our sectorized models. Beating it is impossible by construction. Success means recovering within 1% of its AUC, or within a factor of 2 of its background suppression, at a fraction of the boundary bandwidth that uncoded exchange needs.
Strongest communication baseline: uncoded exchange of the same learned messages. This keeps the same quantizer and overlap but sends messages point-to-point, which is how the sPHENIX system moves edge data. It also serves as the ablation that isolates coding. Sweeping uniform versus density-adaptive overlap, with and without coding, isolates the placement ingredient. The comparison uses identical bit budgets and latency accounting. Beating it means lower traffic at equal rejection, with the saving matching the bound's prediction.
Exact-exchange coded computing. We also run the coded MapReduce scheme of the graph-analytics paper, applied to raw boundary hits. No reported result on Lacuna exists for coded computing inside a microsecond-scale trigger.
Why not just…?
Why not just compress boundary features and send them uncoded? This is the real threat. If learned compression shrinks messages to a few bits, a coding gain bounded by roughly the overlap factor may be irrelevant next to link capacity. The ablation above settles it. We report coding's saving as a fraction of total trigger traffic, not only boundary traffic. If that fraction is under a few percent at the operating point, we will say coding does not pay, and the contribution reduces to the representation-loss/delivery-gap measurement.
Why not just widen the overlap so that no exchange is needed? Full replication removes exchange but raises every sector's read-in bandwidth and buffer. The combined traffic-plus-buffer objective puts this at one end of the curve. The converse tells us whether intermediate overlaps with coding strictly dominate it.
Why not just apply local energy thresholds? The CMS anomaly-detection study (Isolating Unisolated Upsilons) went from 1.6σ with the raw dimuon mass spectrum to 6.4σ with multi-feature likelihoods. The sPHENIX calorimeter trigger saturates at 15 kHz. Single-feature cuts discard the correlations rare-signal discrimination needs. We nonetheless include thresholds in the independent-sector reference.
Why not just use one larger FPGA? That removes sectorization only while a single device can ingest the full hit rate. We report the hit rate at which our scheme's traffic advantage appears, so readers can judge whether it falls within current hardware.
Proposed Experiments and Decisive Checks
The first check is whether boundaries matter at all. On CMS jet images partitioned into azimuthal sectors, on PandaX-III REST simulations with module boundaries on the 3 mm strip plane, and on a simulated sPHENIX-like barrel, we measure the fraction of signal candidates crossing a boundary and the rejection lost by independent sectors. If this loss is negligible, as the jet-window result hints it may be for jets, the coding story fails for that detector. We expect PandaX-III to be the stronger case, because blob and twist live at track ends.
The second is the rate-discrimination curves. Sweeping $B$ and the overlap profile, we plot rejection at fixed signal efficiency against inter-sector traffic for uncoded, coded-uniform, and coded-adaptive schemes. The converse bound is overlaid on the delivery axis, and $G$ is reported at every point.
The third is hardware feasibility. We report synthesized latency and resource use of the XOR encode/decode stage against the 10 µs budget. The proposal is supported if coded-adaptive exchange reaches the uncoded scheme's rejection at measurably lower total traffic, with $G$ close to 1, within latency. It is refuted if the saving vanishes under realistic compression, or if overlap heterogeneity drives the coded scheme back to uncoded performance.
References
- Intelligent experiments through real-time AI: Fast Data Processing and Autonomous Detector Control for sPHENIX and future EIC detectors
- Coded Computing for Distributed Graph Analytics
- Coded Distributed Computing for Hierarchical Multi-task Learning
- A Novel Asymmetric Coded Placement in Combination Networks with End-User Caches
- Caching in Combination Networks: Novel Multicast Message Generation and Delivery by Leveraging the Network Topology
- Combination Networks With End-User-Caches: Novel Achievable and Converse Bounds Under Uncoded Cache Placement
- Improved Approximation of Storage-Rate Tradeoff for Caching With Multiple Demands
- End-to-End Jet Classification of Quarks and Gluons with the CMS Open Data
- Topological background discrimination in the PandaX-III neutrinoless double beta decay experiment
- Centralized coded caching for heterogeneous lossy requests
- Isolating Unisolated Upsilons with Anomaly Detection in CMS Open Data