Data Science and Machine Learning in Education

Gabriele Benelli, Thomas Y. Chen, Javier M. Duarte, Matthew Feickert, Matthew J. Graham, Lindsey Gray, Dan Hackett, Philip C. Harris, Shih-Chieh Hsu, Gregor Kasieczka, Elham E Khoda, Matthias Komm, Mia Liu, Mark S. Neubauer, Scarlet Norberg, Alexx Perloff, Marcel Rieger, Claire Savard, Kazuhiro Terao, Savannah Thais, Avik Roy, Jean-Roch Vlimant, Grigorios Chachamis

Introduction

High-Energy Physics (HEP) has a storied history at the forefront of computing, from the creation of the World Wide Web to the development of large-scale distributed data analysis. Despite this, formal education within US physics departments has been slow to adopt Data Science (DS) and Machine Learning (ML) as core curricular components. This delay creates a significant gap: while modern HEP research relies heavily on sophisticated ML for particle reconstruction and anomaly detection, students often enter the field without the necessary foundations in coding or statistical modeling. This paper explores a framework for integrating these disciplines, arguing that HEP’s extreme data volumes and physical symmetries provide a unique, "physics-inspired" training ground.

A Pedagogical Framework for Physics-Aware ML

Rather than proposing a single algorithm, the authors advocate for a comprehensive pedagogical framework based on successful pilot programs at institutions such as UCSD, MIT, and Princeton. This framework moves away from traditional "toy" examples in favor of Course-based Undergraduate Research Experiences (CUREs). Key elements include:

  • Modern Tech Stacks: Utilizing the Python ecosystem (NumPy, Pandas, Scikit-learn, PyTorch/TensorFlow) through interactive Jupyter notebooks.
  • Infrastructure as a Service: Employing Docker containers and cloud resources (e.g., Google Colab) to ensure a consistent environment for all students.
  • Community Support: Leveraging organizations like the Data Science Education Community of Practice (DSECOP) to share open-source materials.

Bridging the Conceptual Divide

Integrating these fields requires understanding how they overlap. While statistics focuses on quantification and inference, machine learning prioritizes generalization and prediction. Data science acts as the bridge, extracting patterns from raw data to inform both models and parameters.

The conceptual landscape of data science, machine learning, and statistics.

This mapping is particularly relevant in HEP, where the "black box" nature of some ML models must be reconciled with the need for physical interpretability. By framing ML within the context of data-to-model pipelines, students can better understand the role of Explainable AI (xAI) in scientific discovery.

The Role of Publication-Quality Data

A cornerstone of this educational shift is the use of "publication-quality" datasets. Instead of generic classification tasks (like "cats vs. dogs"), students work with domain-specific data that motivates them to understand why certain architectures are chosen. Key sources include:

  • CERN Open Data Portal: Specifically the CMS $H(bb)$ (Higgs boson decaying to bottom quarks) dataset, used to teach graph neural networks.
  • Astrophysics Data: Galaxy Zoo for image classification tasks.
  • Simulated Data: Using Monte Carlo simulations to teach students about uncertainty quantification and detector response.

Results and Future Outlook

Implementation of these strategies has yielded promising results. At UCSD, capstone students successfully reproduced results from recent ML publications using graph neural networks to identify boosted Higgs bosons. MIT’s "Physics and Data Science" course successfully blended traditional statistics (Poisson distributions, error propagation) with deep learning projects using LHC open data.

However, challenges remain. The rapid evolution of ML tools creates a maintenance burden for educational materials, as APIs can change between semesters. Furthermore, the academic career path for a "Machine Learning Physicist" remains ill-defined. To sustain this momentum, universities must formalize these roles in hiring and provide the necessary technical infrastructure for compute-heavy coursework. By adhering to FAIR (Findable, Accessible, Interoperable, and Reusable) principles, the community can ensure these educational innovations are scalable and enduring.

Summary updated

BibTeX
@misc{benelli2022data,
  author = {Gabriele Benelli and Thomas Y. Chen and Javier M. Duarte and Matthew Feickert and Matthew J. Graham and Lindsey Gray and Dan Hackett and Philip C. Harris and Shih-Chieh Hsu and Gregor Kasieczka and Elham E Khoda and Matthias Komm and Mia Liu and Mark S. Neubauer and Scarlet Norberg and Alexx Perloff and Marcel Rieger and Claire Savard and Kazuhiro Terao and Savannah Thais and Avik Roy and Jean-Roch Vlimant and Grigorios Chachamis},
  title = {{Data Science and Machine Learning in Education}},
  year = {2022},
  eprint = {2207.09060},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.09060},
}
Figure