Patch Hierarchical Attention Transformer for Efficient Particle Jet Tagging
Abstract
Real-time jet tagging is critical for identifying short-lived particle decays in the high-throughput detectors of the Large Hadron Collider, where trigger systems decide which collision events to store under strict latency and accuracy constraints. Transformers achieve the highest jet tagging accuracy when compute is unconstrained, but the quadratic cost of self-attention is too high for the trigger budget. Existing efficient variants reduce this cost but lose classification performance. We introduce the Patch Hierarchical Attention Transformer (PHAT-JeT), which combines a geometric message-passing (GMP) module that encodes local detector-plane structure with a patch-based attention scheme that computes exact attention within small particle groups and shares global context through patch tokens. At matched FLOPs, PHAT-JeT achieves the highest accuracy and background rejection among the compared resource-constrained models evaluated with floating-point precision on four benchmarks (\textsc{hls4ml}, JetClass, Top Tagging, and Quark--Gluon). FPGA estimates show that GMP improves an existing jet tagger at a small resource cost, and simplified attention components meet a latency target of 100\,ns.