Interpreting Transformers for Jet Tagging

Aaron Wang, Abhijith Gandrakota, Jennifer Ngadiuba, Vivekanand Sahu, Priyansh Bhatnagar +2 more
12/4/2024
hep-phcs.LGhep-ex

No official code found. Best implementation: aaronw5/Interpreting-Particle-Transformers (3 stars, last commit 2025-09-07).

Abstract

Machine learning (ML) algorithms, particularly attention-based transformer models, have become indispensable for analyzing the vast data generated by particle physics experiments like ATLAS and CMS at the CERN LHC. Particle Transformer (ParT), a state-of-the-art model, leverages particle-level attention to improve jet-tagging tasks, which are critical for identifying particles resulting from proton collisions. This study focuses on interpreting ParT by analyzing attention heat maps and particle-pair correlations on the $η$-$φ$ plane, revealing a binary attention pattern where each particle attends to at most one other particle. At the same time, we observe that ParT shows varying focus on important particles and subjets depending on decay, indicating that the model learns traditional jet substructure observables. These insights enhance our understanding of the model's internal workings and learning process, offering potential avenues for improving the efficiency of transformer architectures in future high-energy physics applications.

View on arXivView PDF

Code Implementations(1)

32Shell, PythonDec 1, 20241 years ago

Similar Papers

Cite this paper

@article{wang2024interpreting,
  title  = {Interpreting Transformers for Jet Tagging},
  author = {Aaron Wang and Abhijith Gandrakota and Jennifer Ngadiuba and Vivekanand Sahu and Priyansh Bhatnagar and Elham E Khoda and Javier Duarte},
  year   = {2024},
  eprint = {2412.03673},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.03673v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.03673.svg)](https://codeofpaper.com/paper/2412.03673)

Discussion