Is the learner or the summary the limit? Auditing machine-learning energy reconstruction for air-shower arrays on KASCADE and GRAPES-3

Mugdha Raje Ashiya, Samarjeet MalikarXiv 2026

Imagine you’re trying to reconstruct a high-speed car crash from nothing but a few grainy photos of the wreckage and the skid marks. You could hire the world’s best forensic team (a sophisticated machine learning model), but eventually, they’ll hit a wall. No matter how smart they are, those photos only contain so much information. At some point, the "summary" of the crash—the photos—becomes the bottleneck, not the "learner."

This is exactly the problem physicists face when measuring cosmic rays. When a high-energy particle from space hits our atmosphere, it creates a "shower" of billions of secondary particles. We catch a tiny fraction of these in ground-based detector arrays. Usually, we compress the thousands of individual detector signals into a "summary" of just a few numbers, like the total number of electrons and muons.

This paper asks a fundamental question: When our machine learning models stop getting better at predicting energy from these summaries, have we run out of "brainpower" in our models, or has the summary simply run out of information?

TL;DR

By using a clever "audit" process, researchers found that standard machine learning models are already squeezing almost all the information possible out of compressed cosmic ray data. To get significantly better energy estimates, we don't need "deeper" neural networks; we need to stop throwing away so much raw data during the initial compression phase.

What Problem Does This Paper Address?

In the world of air-shower arrays like KASCADE and GRAPES-3, the standard practice is to take raw station signals and fit them to a mathematical model (like the NKG function). This produces a "summary"—a handful of parameters like shower size and age.

Machine learning (ML) is then used on this summary to estimate the primary particle's energy. But when the resolution of these ML models plateaus, it’s hard to tell why. Is the model too simple? Is the training data insufficient? Or is the summary itself "lossy," having discarded the very information needed to improve?

The authors tackle this by developing a diagnostic "audit" to find the theoretical "floor" of error for any given set of inputs.

Methods

The researchers introduced a five-step audit process to distinguish between "learner-limited" and "representation-limited" performance:

  1. The Floor (Gamma Test): They use the "Gamma test," a non-parametric way to estimate the Bayes risk—the minimum possible error any model could achieve—without actually training a model. This sets the "floor."
  2. The Ladder: They add features one by one to see which ones actually lower the Bayes risk.
  3. The Rendering Check: A crucial sanity check based on Proposition 1: If you take a summary and "render" it into a more complex form (like an image), you haven't added information. A model shouldn't perform better on the "rendered" version than on the original summary.
  4. Degeneracy Probe: They check if a model is actually utilizing all its inputs or just relying on a subset.
  5. Selection: They re-evaluate how data cuts (selection criteria) affect the difficulty of the task.
The five-step audit process designed to tell if a model is limited by its own capacity or by the information in its inputs.

Datasets

  • KASCADE Simulations: Publicly released simulations using three different hadronic-interaction models (QGSJET-II-04, EPOS-LHC, and SIBYLL-2.3d).
  • KASCADE Measured Data: Over 13 million real-world events from the KASCADE experiment.
  • GRAPES-3 Simulations: Simulated events from the GRAPES-3 array in Ooty, India.

Key Insights and Ideas

  • We are at the limit: For KASCADE data below $10^{16}$ eV, standard Gradient Boosting models are already within 2.2% of the theoretical floor. Adding more "capacity" (bigger models) is unlikely to yield more than a 2% improvement.
  • The "Oracle" Gap: The researchers compared the summary to an "oracle" that knows the true number of particles (something impossible in real experiments). The summary's reconstruction process accounts for 70-72% of the error variance at lower energies.
  • Raw signals help, but not enough: Using the full, uncompressed station signals (the "images" of the shower) only recovers about 10% of the information lost during summary creation. This suggests that the sparse sampling of the detector array itself is a major part of the information loss.
  • Pretty pictures aren't enough: On GRAPES-3, they showed that feeding a neural network an image "rendered" from the fit parameters performed no better than just using the parameters themselves. You can't "hallucinate" information back into existence.
A visual comparison of a proton shower vs. an iron shower as seen by the KASCADE detectors. The "summary" discards the spatial pattern seen here.

Key Results

  • Resolution Plateau: Gradient boosting on nine reconstructed features hits the floor across all three hadronic models.
  • Energy Dependence: The cost of reconstruction (information loss) decreases as energy increases. At $10^{14}$ eV, the summary is very lossy; by $10^{17}$ eV, it's much better.
  • Model Consistency: Interestingly, while different hadronic models (like EPOS vs. SIBYLL) predict different absolute muon counts, the structure of the information loss is remarkably consistent across all of them.
The "Information Ladder" shows that the zenith angle and muon size are the heavy lifters in energy reconstruction.

Limitations and Future Work

The "floor" estimate is just that—an estimate. The authors note it can be biased in high-dimensional spaces or where data is sparse (like at the highest energy ranges).

The biggest takeaway for future work is a shift in focus: instead of trying to build "smarter" learners for existing data summaries, the community should look at how to preserve more information from the raw detector signals before they are compressed. The audit provides a cheap, laptop-ready way for researchers to check if their new model is actually learning something new or just spinning its wheels at the "floor."

Summary updated

Abstract

Machine-learning energy estimators for cosmic-ray arrays are usually trained on a few fitted shower parameters, not station signals. When their resolution stops improving, standard diagnostics cannot say whether a better model would help or the summary has run out of information. We use a five-step audit that compares trained models with a learner-independent estimate of the lowest error the summary allows (its squared-loss Bayes risk, or floor), tests which inputs add information and flags inputs merely computed from the fit. We apply it to public KASCADE simulations with three hadronic-interaction models (QGSJET-II-04, EPOS-LHC and SIBYLL-2.3d), to 13,848,509 measured KASCADE events and to simulated GRAPES-3 events. Within known energy decades below 10^16 eV, gradient boosting on nine reconstructed features is within 2.2% of the estimated floor under every estimator setting, so more capacity is not expected to gain more than about 2%. The floor is an estimate, accurate to about 1% in a semi-synthetic benchmark with intervals that under-cover, and not a bound on the true Bayes risk. Replacing reconstructed by true particle numbers removes 70 to 72% of the error variance below 10^15 eV and 24 to 26% between 10^16 and 10^17 eV on all three models, yet simulated station signals close about a tenth of that gap. On GRAPES-3, networks given images rendered from the fit do no better than the fit. In measured data, the mean muon size at fixed electron size lies within every model's proton-to-iron bracket and a label-free probe finds the muon channel used as in simulation; neither fixes the energy scale. Energy-labelled results are simulated.
BibTeX
@misc{ashiya2026is,
  author = {Mugdha Raje Ashiya and Samarjeet Malik},
  title = {{Is the learner or the summary the limit? Auditing machine-learning energy reconstruction for air-shower arrays on KASCADE and GRAPES-3}},
  year = {2026},
  eprint = {2611.29363},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29363},
}
Figure