Papers
Topics
Authors
Recent
Search
2000 character limit reached

BitParT: 1-Bit Transformer for Top Jet Tagging

Updated 8 July 2026
  • The paper presents BitParT, a 1-bit binary-weight Particle Transformer that achieves near-parity with full-precision ParT in top-quark jet tagging.
  • It employs selective quantization by binarizing over 67% of its weights while retaining full-precision in critical self-attention modules to mitigate performance loss.
  • Deployment implications include reduced memory footprint and power consumption, making it suitable for FPGA/ASIC-based trigger systems and large-scale offline pipelines.

BitParT is a 1-bit, binary-weight variant of the Particle Transformer designed for top-quark jet tagging in high-energy physics. It extends ultra-low-bit Transformer ideas associated with recent LLM quantization to a collider-physics setting in which latency, on-chip memory, bandwidth, and power are central constraints, particularly for FPGA- and ASIC-based trigger systems and for large-scale offline reconstruction pipelines. In the reported study, BitParT is constructed to reduce model size and computational cost while preserving most of the tagging performance of a full-precision custom ParT, thereby serving as a concrete example of extreme quantization for physics applications (Rai et al., 10 Aug 2025).

1. Scientific setting and motivation

Top tagging addresses the classification of boosted hadronic top-quark jets against generic quark- and gluon-initiated QCD jets. At the LHC, sufficiently energetic top quarks produce hadronic decay products that become highly collimated and are reconstructed as a single “fat” jet, making constituent-level discrimination essential. This task is important for standard-model measurements and for many beyond-the-standard-model searches (Rai et al., 10 Aug 2025).

Transformer architectures are well suited to this problem because they operate on jets represented as sets or sequences of reconstructed particles and can model all-to-all constituent interactions through self-attention. The Particle Transformer, or ParT, is identified as one of the strongest transformer-based jet taggers and provides the architectural starting point for BitParT. The motivation for quantization is not primarily algorithmic novelty in isolation, but deployment pressure: full-precision transformer models are demanding in memory bandwidth and compute, whereas collider applications often impose microsecond-to-nanosecond timing budgets, limited on-chip memory, and strict power envelopes (Rai et al., 10 Aug 2025).

Within that context, 1-bit quantization is introduced as a hardware-aligned compression strategy. The underlying argument is that replacing many floating-point multiplications by bitwise operations can lower latency and power, reduce memory footprint and bandwidth, and increase throughput. BitParT imports this logic from the BitNet line of ultra-low-bit Transformer work and tests whether such extreme quantization can be transferred to a physics classification task without catastrophic loss in physics performance. A plausible implication is that BitParT is positioned not merely as a compressed model, but as a deployment-oriented design exercise for real-time inference in collider environments.

2. Architectural lineage and selective quantization

BitParT is architecturally matched to a small custom ParT so that observed differences can be attributed to quantization rather than to changes in depth, width, or attention structure. Both models have approximately 1.23M trainable parameters and use the same number of transformer layers, heads, and embedding dimensions. The distinguishing modification is that the full-precision linear layers used in ParT are replaced, in selected locations, by 1-bit BitLinear layers in BitParT (Rai et al., 10 Aug 2025).

The overall backbone retains the two-stage ParT structure. First, a particle attention stage applies a stack of L=3L=3 transformer encoder blocks to per-particle embeddings. Second, a CLS attention stage appends a learnable class token and applies two class-attention transformer layers, after which the final CLS representation is passed to a classifier head. No positional encodings are used, because jet constituents are treated as an unordered set.

BitParT does not quantize the entire network. The quantized components are the feed-forward networks within the transformer blocks and the dense classifier layers after the CLS token. By contrast, all multi-head self-attention computations, including the Q/K/VQ/K/V projections, remain in full precision, as do the PairEmbed module, input MLPs, normalization parameters, bias parameters, and the CLS token itself. About 67% of model parameters are therefore binarized to 1 bit, with quantization concentrated in the most parameter-heavy submodules. This division is central to the design: physics-specific attention biases and the core attention mechanism are preserved in full precision, while the bulk FFN and classifier weights absorb the compression.

A recurrent misconception is to interpret BitParT as a fully binary Transformer. That description would be inaccurate. The implementation is explicitly a binary-weight architecture with selective quantization; the attention path and several auxiliary modules remain full precision.

3. Internal representation and BitLinear mechanics

The input representation follows the ParT formulation. Each jet is represented by a per-particle feature matrix

XRN×d,X \in \mathbb{R}^{N \times d},

with up to N=200N=200 particles, together with a pairwise feature tensor

URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.

Per-particle features include kinematic quantities such as Δη\Delta \eta, Δϕ\Delta \phi, logpT\log p_T, logE\log E, and ΔR\Delta R, along with PID information and track displacement parameters. Pairwise features are constructed from particle four-momenta through variables including Q/K/VQ/K/V0, Q/K/VQ/K/V1, Q/K/VQ/K/V2, and Q/K/VQ/K/V3, and the logarithms of these quantities are encoded by a shared 1D convolutional encoder to form the attention bias tensor (Rai et al., 10 Aug 2025).

Self-attention is modified by the physics-motivated pairwise bias:

Q/K/VQ/K/V4

This preserves the ParT mechanism in which pairwise physics information is injected directly into the attention scores.

The key quantized primitive is the BitLinear layer. For input Q/K/VQ/K/V5, BitLinear first performs per-row input centering and computes a scaling factor from the mean absolute value of the centered input. The weights are likewise mean-centered, binarized by a sign function, and associated with a weight scale and an optional learnable scaling factor. The reported output form is

Q/K/VQ/K/V6

This construction preserves average magnitude after binarization and is designed so that the binary matrix product can, in principle, be implemented through XNOR and popcount operations rather than floating-point MACs (Rai et al., 10 Aug 2025).

To stabilize optimization, BitLinear is embedded inside a BitLinLayer block comprising BitLinear, batch normalization, ReLU, dropout, a residual connection with learnable scaling, and a second batch normalization after residual merging. The quantized FFN in each transformer layer follows the pattern

Q/K/VQ/K/V7

with the FFN output scaled by a learnable factor before residual addition and normalization. Two analogous quantized CLS encoder layers are used in the class-attention stage, and the final classifier consists of one BitLinLayer followed by a final BitLinear mapping to the binary output classes.

4. Optimization procedure and benchmark definition

Training of the full-precision custom ParT and of BitParT is performed under identical conditions: AdamW, initial learning rate Q/K/VQ/K/V8, weight decay Q/K/VQ/K/V9, batch size XRN×d,X \in \mathbb{R}^{N \times d},0, and XRN×d,X \in \mathbb{R}^{N \times d},1 epochs of training. The learning-rate schedule is cosine annealing, decaying to XRN×d,X \in \mathbb{R}^{N \times d},2 of the initial learning rate over the last XRN×d,X \in \mathbb{R}^{N \times d},3 of epochs. Training uses quantization-aware training with a straight-through estimator for the non-differentiable sign function, so that during backpropagation the gradient is approximated as XRN×d,X \in \mathbb{R}^{N \times d},4 (Rai et al., 10 Aug 2025).

The stabilizing elements emphasized in the study are per-row centering and scaling of inputs, per-weight scaling and optional learnable scaling, residual blocks with learnable scaling, batch normalization inside BitLinLayer blocks, and cosine learning-rate decay. The paper explicitly notes that it does not introduce additional devices such as stochastic rounding or special initializations beyond this framework.

Evaluation is conducted on the public Top Quark Tagging Reference Dataset. The dataset contains XRN×d,X \in \mathbb{R}^{N \times d},5 simulated proton-proton events at XRN×d,X \in \mathbb{R}^{N \times d},6 TeV, generated with Pythia8 and passed through Delphes simulation using the ATLAS detector card. Jets are reconstructed with the anti-XRN×d,X \in \mathbb{R}^{N \times d},7 algorithm with XRN×d,X \in \mathbb{R}^{N \times d},8, and only the leading jet per event is kept. The kinematic selection requires XRN×d,X \in \mathbb{R}^{N \times d},9 GeV and N=200N=2000. Signal jets are matched to parton-level tops with N=200N=2001, and all top decay products must lie within the jet cone. Each jet is represented as an unordered set of up to N=200N=2002 particle-flow objects, zero-padded when necessary and ordered by N=200N=2003. The data split is N=200N=2004 training, N=200N=2005 validation, and N=200N=2006 test.

The reported metrics are classification accuracy, area under the ROC curve, and background rejection at fixed signal efficiency. For a chosen signal efficiency N=200N=2007, background rejection is defined as

N=200N=2008

The working points reported are N=200N=2009 and URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.0 signal efficiency.

5. Reported performance

The central empirical result is that BitParT preserves nearly all global discriminative power of the custom full-precision ParT while incurring a moderate loss in background rejection at fixed efficiency. The reported test-set comparison is as follows (Rai et al., 10 Aug 2025).

Metric Custom ParT BitParT
Accuracy 0.940 0.9399
AUC 0.9862 0.9856
Rejection at 50% signal efficiency URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.1 URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.2
Rejection at 30% signal efficiency URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.3 URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.4

The AUC loss is reported as less than URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.5 and less than URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.6 relative. The ROC curves are described as having very similar shapes, with BitParT slightly below ParT, mainly in the most background-rejecting regimes. At URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.7 signal efficiency, the reduction in background rejection is about URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.8. The same pattern persists at URN×N×d.U \in \mathbb{R}^{N \times N \times d'}.9 signal efficiency, although the absolute rejection remains competitive.

The study also places BitParT against models reported elsewhere in the literature for the same benchmark. ParT-f.t. is listed with accuracy Δη\Delta \eta0, AUC Δη\Delta \eta1, Δη\Delta \eta2, and Δη\Delta \eta3, while ParT is listed with accuracy Δη\Delta \eta4, AUC Δη\Delta \eta5, Δη\Delta \eta6, and Δη\Delta \eta7. ParticleNet, PCT, LorentzNet, and related models are described as occupying similar AUC ranges around Δη\Delta \eta8–Δη\Delta \eta9, with rejection factors between approximately Δϕ\Delta \phi0–Δϕ\Delta \phi1 at Δϕ\Delta \phi2 efficiency and approximately Δϕ\Delta \phi3–Δϕ\Delta \phi4 at Δϕ\Delta \phi5 efficiency. Within that landscape, BitParT’s AUC of Δϕ\Delta \phi6 is described as competitive with many state-of-the-art models, even though its rejection performance remains below the best fine-tuned ParT variant.

6. Deployment implications, limitations, and outlook

The paper’s deployment argument rests on parameter precision and arithmetic structure rather than on direct hardware measurements. Both models contain 1.23M parameters, but in BitParT more than Δϕ\Delta \phi7 of the weights are binarized. For those layers, this implies roughly an order-of-magnitude or more reduction in model memory footprint, together with a corresponding reduction in memory-bandwidth requirements. Because BitLinear replaces real-valued matrix multiplications with binary operations, the design is aligned with hardware implementations based on XNOR and popcount, which are particularly attractive for FPGA and ASIC targets (Rai et al., 10 Aug 2025).

The scope of the evidence is nevertheless limited. No explicit latency, throughput, or energy benchmarks are reported for FPGA or ASIC deployment. Evaluation is confined to a single dataset and a single task, namely top tagging on the Top Quark Tagging Reference Dataset. The implementation focuses on binary weights rather than full weight-and-activation binarization, so it does not establish the feasibility of a fully binary network for the same physics task. The observed reduction in fixed-efficiency background rejection may also remain relevant for analyses operating in especially demanding rejection regimes.

These limitations define the stated future directions. The paper proposes hardware-aware implementation and co-design on FPGAs or ASICs; application of BitParT-style 1-bit Transformers to broader datasets such as JetClass; exploration of hybrid precision and structured pruning; and investigation of multi-bit quantization, activation quantization, and improved gradient estimators or regularization. Taken together, these directions suggest a broader research program in which selective quantization of parameter-heavy Transformer submodules is used to preserve physics-specific inductive biases while aggressively compressing the dominant memory and compute paths.

BitParT’s broader significance lies in demonstrating that a binary-weight Transformer can achieve near-parity in AUC and accuracy with a full-precision ParT on a demanding HEP benchmark while quantizing the majority of parameters. In that sense, it functions as a proof of concept for transferring ultra-low-bit Transformer techniques from LLM-oriented efficient inference research into collider data analysis, with explicit attention to real-time and resource-constrained deployment environments.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to BitParT.