Modern searches for new particles increasingly use weakly supervised machine learning. One example is CATHODE, which learns what ordinary background looks like from "sidebands" (the mass ranges just outside a hypothesized signal window) and then flags events inside the window that do not fit. Run as a scan across many mass windows on a cluster of accelerators, every window needs raw events from its own neighbouring mass bins. Adjacent windows need overlapping data, and the assignment of windows to workers changes from pass to pass as workers straggle, fail, or are rescheduled. On low-level inputs, such as jet constituents or detector waveforms, the full dataset does not fit in each worker's accelerator memory. Workers then repeatedly pull sideband data over a shared link.
This is a coded caching problem, a well-developed area of network information theory. In coded caching, each user stores pieces of a library before it knows what it will ask for. A server then sends XOR combinations that serve several users at once. The uncoded-placement version of the problem, where caches hold only raw unmixed pieces, fits this setting closely, because training code must read raw events directly every epoch. We propose to design and test a delivery scheme for one demand pattern: each worker asks for a contiguous block of mass bins, and neighbouring workers' blocks overlap. The physics outputs stay bit-identical. Only the bytes moved and the time taken change.
Core Claim
Under uncoded placement, a sliding-window scan is a caching problem with multiple overlapping interval requests per user. The library is the set of $N$ mass bins. Each of $K$ workers requests $w$ consecutive bins. Because neighbouring requests share most of their bins, the number of distinct bins requested in a pass is much smaller than $Kw$. The leader-based analysis of The Exact Rate-Memory Tradeoff for Caching With Uncoded Prefetching shows how to exploit that regime. That paper proves that when several users request the same file, sending only what a minimal set of "leader" users needs is enough. The other users can untangle their pieces from those transmissions using their own caches. It reports a peak load of 12.67 versus 14.12 for the earlier scheme at $N=K=30$.
We claim that a delivery scheme aware of the interval structure can sit close to an index-coding lower bound. It should also beat two simpler schemes on shared-link load: plain multicast with local caches, and treating each worker as $w$ independent virtual users. It must achieve this with worker-side decoding small enough not to slow training.
The physics side is the application regime and the acceptance test, not the thing being improved. Because placement is uncoded and delivery is lossless, the discriminator sees exactly the same events. The CATHODE significance on CMS Open Data, reported as 6.4σ versus 1.6σ from the dimuon spectrum alone in Isolating Unisolated Upsilons with Anomaly Detection in CMS Open Data, must reproduce exactly.
Why this intersection, and what prior work does
Three papers supply the theory. On the Optimality of Uncoded Cache Placement proves that the Maddah-Ali–Niesen scheme is optimal under uncoded placement when $N \ge K$ and each user makes one request. In that scheme, each file is split into pieces indexed by subsets of users, and one XOR is sent per group of $t+1$ users. Yu et al. close the case where requests repeat. An Index Coding Approach to Caching with Uncoded Cache Placement recasts delivery as index coding, the problem of broadcasting to receivers that already hold some messages as side information. That paper gives the converse tools we reuse, and it shows coded placement gains at most a factor of 2. None of these treat users who request several correlated, contiguous files.
The correlated-content line attacks a different kind of overlap. Correlation-Aware Distributed Caching and Coded Delivery compresses correlated files and reports a 3.5x reduction over unicast. Centralized Caching and Delivery of Correlated Contents over Gaussian Broadcast Channels models files as sharing common subfiles. Both put the overlap inside file contents. In our setting the overlap lies in the demand pattern: the bins are independent sets of events, and the requests overlap.
On the systems side, CoCoI: Distributed Coded Inference System for Straggler Mitigation uses error-correcting codes on computation to tolerate slow workers. That work motivates our dynamic-assignment assumption, but it does not touch data placement.
Two physics papers motivate the memory-bound regime. Cluster Scanning: a novel approach to resonance searches works on low-level jet observables. Machine learning-powered data cleaning for LEGEND: a semi-supervised approach using affinity propagation and support vector machines reports memory caps near 10,000 waveform events.
We deliberately do not pursue the more exotic pairing of coded caching with FPGA triggers. The sub-10 μs deadlines in Intelligent experiments through real-time AI: Fast Data Processing and Autonomous Detector Control for sPHENIX and future EIC detectors leave no room for multicast untangling, so the tension flagged there is decisive against it.
Research Program
The theory step formalizes the interval-demand problem. There are $N$ bins arranged on a line. Worker $k$ requests the set $D_k=\{a_k,\dots,a_k+w-1\}$. Each worker's cache holds $M$ bins' worth of raw events. Let $N_e(\mathbf{a})=|\cup_k D_k|$ be the number of distinct bins requested in a pass, where $\mathbf{a}$ is the vector of window start positions.
A simple achievable rate comes from splitting each worker into $w$ virtual users who share one cache and applying Yu et al.'s leader-based delivery. We then construct a scheme that picks leaders per bin and orders transmissions along the line, so that each worker's own requested bins serve as extra side information for its neighbours. We derive a lower bound by applying the acyclic index-coding bound from Wan et al. to the side-information graph induced by interval demands. We then report the gap between our scheme and that bound as a function of $w$, $K$ and $t=KM/N$.
Subpacketization is the number of pieces each file must be cut into. It normally explodes because each file is split into $\binom{K}{t}$ pieces. Here it is benign, because the indivisible unit is an event: with $K=16$ and $t=2$, each bin is split into 120 groups of events. Bins hold $10^4$ to $10^5$ events, so each group still contains roughly a hundred events or more. We make this condition explicit.
The systems step implements placement as event-ID lists. Delivery is XOR over fixed-size serialized event blocks. Decoding runs on the worker's CPU, overlapped with GPU training.
The workload step records real demand traces from a CATHODE scan. These traces capture window reassignment caused by stragglers, injected failures, and reruns for systematic variations. They also tell us how often demands actually change, which drives the static-assignment baseline below.
Baselines
The naive reference point is uncached unicast: each worker fetches its full request over the link every pass. Its load is easy to compute, and every scheme must beat it.
The second baseline is full replication, where each worker stores everything. It is used only where the data fit. On LHCO high-level features they fit trivially, and in that regime we expect replication to win and will say so.
The third baseline is static assignment with local prefetch. Each worker permanently owns a fixed set of windows and caches exactly their bins. This costs no delivery until assignments change, at which point the replacement data must be fetched.
The fourth baseline is plain multicast with least-recently-used caches. Each needed bin is sent once to all requesters who lack it, and no coding is used. This exploits demand overlap without any algebra, which makes it the most dangerous competitor.
The strongest existing coded method is Yu et al.'s leader-based delivery applied to $w$ virtual users per worker. The only reported number on Lacuna is theirs, the 12.67 versus 14.12 peak load at $N=K=30$ for single requests. We found no reported result on Lacuna for shared-link load in distributed sideband scans. We will first reproduce the 12.67 figure as an implementation check.
All schemes run on the same cluster, the same event files, the same demand traces and the same cache budget $M$. The CATHODE hyperparameters are identical across schemes, and no scheme gets extra tuning.
The ablation keeps our placement but removes interval awareness, treating requests as independent. This isolates how much of the gain comes from the structure.
Beating the field means three things. Our scheme must cut mean shared-link load per pass by a margin larger than the run-to-run spread compared with both plain multicast and virtual-user leader delivery. It must reduce end-to-end scan time. And it must reproduce the physics output identically.
Why not just…?
Why not just replicate the whole dataset on every worker? Where it fits, replication is the right answer, and our experiments will show it. The proposal only claims value in the memory-bound regime of low-level inputs, the regime targeted by Cluster Scanning and by waveform-level analyses like LEGEND's. We will report the memory budget below which replication stops being possible, rather than assume it.
Why not just fix which worker handles which window, so caching is purely local? This is a real threat. If assignments never change, delivery cost is zero after prefetch and coding is pointless. The recorded traces settle the question. We will measure how much of the total traffic comes from reassignment under realistic straggler rates, using CoCoI's observation of latency spikes near 80% for uncoded pipelines under delay as motivation for injected delays. We will also report the reassignment rate below which static assignment wins.
Why not just multicast each bin once to everyone who needs it? Plain multicast already captures the overlap between neighbouring windows. The extra gain from coding is bounded: in the Maddah-Ali–Niesen analysis, coding saves a factor of up to $t+1$ relative to uncoded caching, and some of that saving may already be eaten by demand overlap. Our lower bound will show how much room remains above plain multicast. If measured gains fall within decoding overhead, that is a negative result worth reporting.
Why not just compress the sidebands, or replace them with a fitted background function? Correlation-aware compression is orthogonal and can be combined with our scheme. Functional fits are weaker discriminators: Cluster Scanning needed only 0.61 times as many signal events as 3- and 4-parameter fits to reach a 3σ excess. CATHODE also needs the raw sideband events themselves to train its background model.
Proposed Experiments
The data are the LHCO 2020 R&D dataset with constituent-level features, which contains one million background and 100,000 signal events, as described in The LHC Olympics 2020 a community challenge for anomaly detection in high energy physics. We also use the CMS 2016 DoubleMu Open Data with the CATHODE pipeline. We sweep the number of workers $K\in\{8,16,32\}$, the window width $w\in\{3,5,9\}$ bins, and the cache fraction $M/N$ from 0.05 to 0.5. We measure bytes over the link, decode time as a fraction of epoch time, scan wall-clock time, and the gap to the lower bound.
There are three decisive checks. First, the CMS significance must reproduce exactly at 6.4σ, and the same-sign dimuon control must still find no signal. Second, our scheme must beat plain multicast and virtual-user leader delivery on real reassignment traces, not just on worst-case demands. Third, the measured load must sit within a stated factor of the index-coding lower bound. If the second check fails, we will report the regime boundaries in which the simpler schemes suffice.
References
- The exact rate-memory tradeoff for caching with uncoded prefetching
- Isolating Unisolated Upsilons with Anomaly Detection in CMS Open Data
- On the optimality of uncoded cache placement
- An Index Coding Approach to Caching with Uncoded Cache Placement
- Correlation-aware distributed caching and coded delivery
- Centralized Caching and Delivery of Correlated Contents Over Gaussian Broadcast Channels
- CoCoI: Distributed Coded Inference System for Straggler Mitigation
- Cluster Scanning: a novel approach to resonance searches
- Machine learning-powered data cleaning for LEGEND: a semi-supervised approach using affinity propagation and support vector machines
- Intelligent experiments through real-time AI: Fast Data Processing and Autonomous Detector Control for sPHENIX and future EIC detectors
- The LHC Olympics 2020 a community challenge for anomaly detection in high energy physics