Preprint
Article

This version is not peer-reviewed.

Graph Neural Networks: Application to the Domain of Cosmic Web—Tested on N-Body Halo Based Percolation, Readouts and Fair Baselines

Submitted:

01 December 2026

Posted:

02 December 2026

You are already at the latest version

Abstract
Graph neural networks (GNNs) built for particle-detector data are increasingly used on galaxy and halo catalogues, but it is unclear when they learn more than the classical two-point correlation function. We combine a short theory, 363 training runs on log-normal catalogues with known parameters, and a test on 400 new particle-mesh N-body simulations (2.05 million halos) whose outcomes we predicted before training. Below about 0.9 mean spacings the graph falls apart into islands; halo graphs percolate at 0.78 (0.75–0.78) spacings. On halos, a standard GNN learns almost nothing about σ8 (R2=0.01), whereas pair counting reaches about 0.5: its readout cannot form a pair statistic. A pair-pooling readout, which contains pair counting as a special case, fixes this. It matches a Gaussian-process regressor on pair counts to within 0.02 in normalised error for the long-range parameter and improves on it slightly, but consistently, for the amplitude on all six data sets tested (combined p=1×10−5). Against a default boosted-tree baseline, or with too little training, the comparison changes size or even direction. Two of five predictions failed and one held only with longer training; all are reported. Code, catalogues and full-scale scripts are released.
Keywords: 
;  ;  ;  ;  ;  
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.