TL;DR
This paper explores using large Vision-Language Models (VLMs), specifically a fine-tuned LLaMA 3.2, for classifying neutrino interactions in high-energy physics detectors. The VLM not only matches or exceeds the performance of traditional Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs) but also provides human-readable explanations for its predictions, enhancing interpretability and trust in these complex models.
What Problem Does This Paper Address?
High-energy physics experiments generate massive amounts of complex, high-dimensional data. Identifying specific events, like neutrino interactions, requires sophisticated analysis. While deep learning models, particularly CNNs, have been successful, they often act as "black boxes," making it difficult to understand why a particular classification was made. This lack of interpretability hinders validation and trust. Furthermore, traditional methods often rely on handcrafted features, which can limit the model's ability to capture subtle patterns. This paper aims to bridge this gap by investigating whether advanced VLMs can provide both high classification accuracy and interpretable insights for neutrino event classification.
Methods
The core of this work involves fine-tuning a LLaMA 3.2 Vision model for neutrino event classification. This involved:
- Vision-Language Model (VLM): The LLaMA 3.2 Vision 11B model, which combines a powerful vision encoder (ViT-h/14) with a language decoder, was used. This architecture allows for joint processing of visual data (detector images) and textual information (physics context and prompts).
- Parameter-Efficient Fine-Tuning (PEFT): To manage computational resources and prevent catastrophic forgetting, the researchers employed QLoRA (Quantized Low-Rank Adaptation). This technique freezes most of the model's weights and trains only a small subset of additional parameters, making fine-tuning feasible.
- Supervised Instruction Tuning: The model was trained using a supervised approach where it learned to associate input pixel maps with specific neutrino interaction classes (electron neutrino charged current, muon neutrino charged current, and neutral current) based on a physics-informed system prompt.
- Constrained Generation: To ensure consistent and machine-readable output, a phrasal constraint was applied during inference, forcing the model to start its prediction with a specific phrase and then choose from the predefined class labels.
- Confidence Estimation: A temperature-scaled softmax transformation was used to convert the model's log-probabilities into interpretable confidence scores for each class.
- Explainability: The VLM's ability to generate natural language explanations for its predictions was a key focus, leveraging its multimodal capabilities.
The researchers also implemented and trained two baseline models for comparison:
- Vision Transformer (ViT-h/14): A state-of-the-art vision-only transformer model, serving as a strong visual processing baseline.
- Convolutional Neural Network (CNN): A custom SE-ResNet-style architecture, representing a conventional and widely used approach in high-energy physics.
Datasets
The study utilized a custom simulated dataset of neutrino interactions within a modular Liquid Argon Time Projection Chamber (LArTPC). This dataset was generated using GEANT4 and GENIE, simulating electron neutrino (νe) and muon neutrino (νμ) interactions. The detector data was presented as 2D pixel map images (XZ and YZ views) derived from energy depositions. The dataset comprised 190,000 events for training and a held-out test set of 10,000 events for evaluation.
Key Insights and Ideas
- VLMs as powerful physics classifiers: The research demonstrates that VLMs can achieve competitive, and in some aspects superior, classification performance compared to established CNN and ViT architectures in a specialized scientific domain like neutrino physics.
- Interpretability is key: The most significant advantage of VLMs lies in their ability to generate natural language explanations. This goes beyond simple class probabilities, offering physics-grounded rationales that can significantly aid in model validation, debugging, and building trust among domain experts.
- Parameter efficiency is crucial: Fine-tuning massive VLMs is computationally intensive. PEFT techniques like QLoRA make this feasible by requiring significantly fewer trainable parameters and less training time, while still achieving excellent results.
- Transformer robustness: Both the VLM and the ViT showed remarkable robustness to degraded detector conditions (e.g., downsampled images), outperforming the CNN significantly in such scenarios.
- Prompting vs. Fine-tuning: While VLMs can perform some tasks with in-context learning (few-shot prompting), this study highlights that for specialized scientific tasks with sparse visual data, fine-tuning is essential for achieving meaningful performance.
Key Results
- Classification Performance: The fine-tuned LLaMA 3.2 Vision model achieved the highest accuracy, precision, and recall (0.87 for all) with an AUC-ROC of 0.96. This performance was comparable to the ViT-h/14 baseline (0.86 accuracy, 0.96 AUC-ROC) but significantly outperformed the CNN baseline (0.80 accuracy, 0.94 AUC-ROC).
- Efficiency: LLaMA 3.2 Vision required significantly fewer trainable parameters (29.5M via QLoRA) and only one epoch of training, compared to the ViT-h/14 (632M parameters, 10 epochs) and the CNN (21.7M parameters, 300 epochs).
- Generalization: Under downsampled resolution conditions, LLaMA 3.2 Vision and ViT-h/14 maintained high performance (0.85 accuracy), while the CNN's performance degraded substantially (0.43 accuracy).
- Explainability: The VLM successfully generated physics-informed explanations, referencing features like muon tracks and showers, which were largely consistent even when explicit physics definitions were removed from the prompt.
Limitations and Future Work
- Computational Overhead: VLMs, including LLaMA 3.2 Vision, still incur higher inference memory usage and time per sample compared to CNNs, though they offer a middle ground compared to larger models.
- Explanation Fidelity: The generated explanations are post-hoc and not claimed to perfectly reflect the model's internal causal reasoning. Their physical correctness and usefulness require human expert evaluation.
- Few-Shot Limitations: The study found that few-shot in-context learning alone was insufficient for effective classification, underscoring the need for fine-tuning.
- Future Work: The authors suggest exploring model compression techniques (quantization, pruning), distilling VLMs into more compact and interpretable architectures, and developing domain-specific foundation models. They also emphasize the need for human-in-the-loop evaluation of explanations and exploring explicit explanatory objectives during training.
Summary updated