Hardware-Aware Tensor Networks for Real-Time Quantum-Inspired Anomaly Detection at Particle Colliders
Organizations: SLAC National Accelerator Laboratory, 2575 Sand Hill Rd, Menlo Park, 94025, CA, USA.
Abstract
Quantum machine learning offers the ability to capture complex correlations in high-dimensional feature spaces, crucial for the challenge of detecting beyond the Standard Model physics in collider events, along with the potential for unprecedented computational efficiency in future quantum processors. Near-term utilization of these benefits can be achieved by developing quantum-inspired algorithms for deployment in classical hardware to enable applications at the "edge" of current scientific experiments. This work demonstrates the use of tensor networks for real-time anomaly detection in collider detectors. A spaced matrix product operator (SMPO) is developed that provides sensitivity to a variety beyond the Standard Model benchmarks, and can be implemented in field programmable gate array hardware with resources and latency consistent with trigger deployment. The cascaded SMPO architecture is introduced as an SMPO variation that affords greater flexibility and efficiency in ways that are key to edge applications in resource-constrained environments. These results reveal the benefit and near-term feasibility of deploying quantum-inspired ML in high energy colliders.
Figures & tables
| Model | Signal | Metric | |
| AUC [%] | TPR [%] | ||
| SMPO | 0.90 | 6.35 | |
| 0.88 | 0.10 | ||
| 0.80 | 0.11 | ||
| LQ | 0.86 | 0.10 | |
| CSMPO 19→7→1 | 0.89 | 2.94 | |
| Model | SMPO | CSMPO 19→7→1 | CSMPO 19→2→1 |
| # Parameters | 936 | 456 | 264 |
| # MACs | 1255 | 1039 | 455 |
| LUTs | 76669 | 143754 | 100146 |
| FFs | 9817 | 8272 | 4870 |
| DSPs | 0 | 0 | 0 |
| Latency [ s] | 0.37 | 0.33 | 0.24 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Site(s) | Elements | MACs |
| 0 | 12 | |
| 1–8 | 384 | |
| 9 | 144 | |
| 10–17 | 384 | |
| 18 | 12 | |
| Subtotal | 936 |
| Component | Formula | MACs |
| Left sweep | 128 | |
| Right sweep | 128 | |
| Merge pass 1: | 48 | |
| Merge pass 2: | 12 | |
| Subtotal | 316 |
| Inference step | MACs |
| Vertical | 936 |
| Horizontal | 316 |
| Norm | 3 |
| Total | 1255 |
| Site(s) | Role | Elements | MACs |
| 0 | Left boundary, output | 18 | |
| 1–17 | Interior, non-output | 204 | |
| 18 | Right boundary, output | 18 | |
| Subtotal | 240 |
| Site(s) | Role | Elements | MACs |
| 0 | Left boundary, output | 6 | 18 |
| 1–2 | Interior, non-output | 8 | 24 |
| 3 | Interior, output | 12 | 36 |
| 4–5 | Interior, non-output | 8 | 24 |
| 6 | Interior, output | 12 | 36 |
| 7–8 | Interior, non-output | 8 | 24 |
| Group | Sites | Chain MACs | Absorb MACs | Total | |
| 1–17 | 17 | 128 | 24 | 152 | |
| Subtotal | 152 |
| Group | Sites | Chain MACs | Absorb MACs | Total | |
| 1, 2 | 2 | 8 | 24 | 32 | |
| 4, 5 | 2 | 8 | 24 | 32 | |
| 7, 8 | 2 | 8 | 24 | 32 | |
| 10, 11 | 2 | 8 | 24 | 32 | |
| 13, 14 | 2 | 8 | 24 | 32 | |
| 16, 17 | 2 | 8 | 24 | 32 |
| Site | Elements | MACs | |||
| 0 (output, left boundary) | 3 | 4 | 1 | 12 | 36 |
| 1 (non-output, right boundary) | 1 | 1 | 4 | 4 | 12 |
| Subtotal | 48 | ||||
| Site | Elements | MACs | |||
| 0 (non-output, left boundary) | 1 | 1 | 4 | 4 | 12 |
| 1 (non-output, interior) | 1 | 4 | 4 | 16 | 48 |
| 2 (non-output, interior) | 1 | 4 | 4 | 16 | 48 |
| 3 (output, interior) | 3 | 4 | 4 | 48 | 144 |
| 4 (non-output, interior) | 1 | 4 | 4 | 16 | 48 |
| 5 (non-output, interior) | 1 | 4 | 4 | 16 | 48 |
| Component | Formula | MACs |
| Left sweep | 0 steps | 0 |
| Right sweep | 0 steps | 0 |
| Merge: | 12 | |
| Subtotal | 12 |
| Component | Formula | MACs |
| Left sweep | 32 | |
| Right sweep | 32 | |
| Merge pass 1 | 48 | |
| Merge pass 2 | 12 | |
| Subtotal | 124 |
| Component | Single | ||
| L1 Vertical | 240 | 360 | 936 |
| L1 Horizontal | 152 | 192 | — |
| L2 Vertical | 48 | 360 | — |
| L2 Horizontal | 12 | 124 | 316 |
| Norm | 3 | 3 | 3 |
| Total | 455 | 1039 | 1255 |