WorksComputer Science
Refined Grid Sampling for Efficient Implicit Neural Representations of Large-Scale Scientific Data
Abstract
Implicit neural representations (INRs) offer a powerful framework for modeling high-dimensional physical fields, but their training remains inefficient because evaluating dense coordinate grids is computationally expensive. Existing coordinate-pruning strategies rely on local error functions that can oversample correlated points and incur substantial overhead from full-grid error evaluation. We introduce Refined Grid Sampling (RGS), which combines stratified grid sampling, error-based refinement, and dynamic grid-resolution adjustment. This design reduces spatial redundancy without evaluating errors over the full grid. On high-resolution Navier–Stokes fields, RGS achieves higher reconstruction accuracy within a fixed wall-clock budget and reaches the accuracy of full-grid training up to faster than the evaluated baselines.
Introduction
Implicit neural representations (INRs) have emerged as a powerful tool for representing complex physical fields in a continuous and differentiable manner Gao et al. [3]; Xie et al. [10]. However, INR training remains a major bottleneck, especially in large-scale scientific workloads. In computational fluid dynamics, for example, simulations can involve millions of mesh points to resolve complex flow phenomena, making naïve INR training prohibitively expensive. This challenge motivates adaptive sampling methods that retain INR fidelity while reducing computational cost, thereby enabling broader use of INRs in scientific discovery Cole et al. [2]; Luo et al. [6]; Molaei et al. [7]; Zhong et al. [14].
Several pruning and sampling methods address this challenge by using only a subset of coordinates in each training iteration, thereby reducing the number of points used in backpropagation. Examples include Implicit Neural Teaching (INT) Zhang et al. [12], Soft Mining Kheradmand et al. [4], and EVOlutionary Selector (EVOS) Zhang et al. [13]. These approaches typically use local scores based on prediction errors, under the assumption that coordinates with larger errors should receive priority during training. Although effective in principle, such methods face two key limitations. First, they ignore spatial redundancy: physical continuity means that adjacent points often carry redundant information. Selecting only the points with the highest errors can oversample dense clusters instead of producing a diverse and representative subset. Second, *they introduce significant computational overhead. Identifying high-error points can require a full forward pass over all coordinates. This cost can match or exceed the savings from backpropagating through only a small subset, negating the computational gains. To address these limitations, we introduce Refined Grid Sampling (RGS), a two-stage strategy that combines grid sampling with error-based selection. RGS first promotes spatially representative coverage by sampling candidate coordinates from grid cells, then refines the candidate set by prioritizing high-error points. This design reduces redundancy and avoids exhaustive error computation over the full domain. To accommodate decreasing spatial correlations during training, we progressively refine the grid resolution. Experiments on Navier–Stokes vorticity fields demonstrate that RGS accelerates INR training while improving reconstruction accuracy over the evaluated baselines.
Method
Problem Definition
We formalize coordinate pruning for implicit neural representation (INR) training. An INR is a neural network parameterized by that maps spatial coordinates to continuous field values, . Here, denotes the input domain and denotes the output space. The objective is to approximate a target signal . Conventional training minimizes the full loss
which requires evaluating all coordinates and is computationally prohibitive when is large. Coordinate pruning instead restricts optimization to a subset of coordinates at each iteration. At training step , a subset of size is selected, and optimization proceeds with the pruned loss
The challenge is to choose so that training remains efficient while the final error stays low under a fixed computational budget. RGS constructs using stratified coverage, error-based refinement, and dynamic grid adjustment.
Stratified Grid and Error-Based Sampling
RGS uses a two-stage sampling strategy that combines stratified grid coverage with error-based refinement. In the first stage, the input domain is partitioned into equal-sized, non-overlapping grid cells, and a small number of candidate coordinates are drawn uniformly from each cell. This promotes coverage of the full field, avoids concentrating candidates in only a few regions, and limits the number of forward evaluations in the second stage.
In the second stage, error-based refinement further reduces the candidates used for backpropagation. For each sampled candidate, we compute the local prediction error and retain the global top- candidates with the largest errors. This step emphasizes informative points while selecting from a spatially stratified candidate pool.
Together, stratification and error refinement yield a subset that balances diversity and informativeness, reducing both redundancy and computational overhead compared to purely error-driven selection.
Spatial Correlation Analysis and Dynamic Grid Size Adjustment
The core idea of stratified grid sampling is to represent each cell’s contribution to parameter updates using only a few coordinates, thereby reducing redundancy while preserving fidelity. This assumption is most appropriate when the gradients of per-coordinate losses within a cell are highly correlated, meaning that neighboring points provide similar training signals for the parameters .
To examine how gradient correlation evolves during training, we analyze an INR trained on a Navier–Stokes field using all coordinates. At epochs 10, 200, and 1,600, we compute the per-coordinate loss gradient, , and measure its cosine correlation between a central coordinate and neighboring coordinates within a region. Figure 1 shows how this correlation decays over space and training time.
Figure 1. Evolution of gradient cosine correlation during INR training. Left: Heatmaps of the correlation between a reference coordinate and its neighbors within a region at training epochs , 200, and 1,600. The high-correlation area contracts during training, indicating reduced spatial redundancy. Right: Center-row correlation profiles, showing sharper decay at later epochs.
From the figure, during the early stages of training, we observe that the per-pixel loss gradients exhibit high spatial correlation over large regions, whereas in later stages this correlation becomes increasingly localized. This behavior can be interpreted through the lens of spectral bias (or frequency principle) of neural networks, which states that, under gradient-based optimization, neural networks tend to learn low-frequency (smooth) components of the target function before fitting high-frequency details [8, 11].
Based on these observations, we adjust the grid resolution during training. Coarser grids are used when gradients are highly correlated in the early stages, and finer grids are introduced as correlations decay and gradients become more localized. In practice, we specify the starting and ending numbers of grid cells per spatial axis and interpolate them linearly over training epochs. As the grid is refined, the first stage yields more candidates for error evaluation, while the second stage keeps the selected top- size fixed for backpropagation. Although finer grids increase the number of evaluated coordinates, that number remains far below the full-grid size. Appendix § 6 shows that RGS runtime per epoch remains nearly constant during training. Figure 2 provides an overview of RGS.
Figure 2. Refined Grid Sampling (RGS) framework. RGS combines stratified grid sampling with error-ranked selection to balance spatial coverage and informative points, reducing redundancy and forward-pass cost. Sampling starts with coarse grids and progressively refines as gradient correlations decay, improving reconstruction accuracy.
Experiments
Dataset. We consider the 2D incompressible Navier–Stokes equation in vorticity form on the unit torus with periodic boundary conditions:
where is the velocity field, is the vorticity field, and is the initial condition. We use Reynolds number and a spatial grid. The external forcing is , where is the vertical coordinate; the drag term prevents energy accumulation at large scales Boffetta and Ecke [1]; Lee and Oh [5]. This setup produces chaotic, multiscale turbulence and provides a challenging reconstruction benchmark.
Baselines and evaluation protocol. We use a SIREN model Sitzmann et al. [9] with approximately 300,000 parameters. We compare: (1) Full Training, which uses every coordinate; (2) Random, which samples coordinates uniformly; (3) INT Zhang et al. [12], which selects coordinates according to prediction error; (4) EVOS Zhang et al. [13], an evolutionary selector guided by prediction error; and (5) RGS. For every sampling method, the subset used for backpropagation contains 0.1% of the full coordinate grid. Full Training uses a learning rate of , while the sampling methods use , as selected by hyperparameter tuning. We independently reconstruct six time frames from the Navier–Stokes trajectory and report the mean and standard deviation across these runs. Reconstruction metrics are evaluated on the complete spatial grid.
Figure 3 and Table 1 summarize the reconstruction results. RGS reaches the accuracy attained by Full Training up to sooner. Under the common 20-second budget, RGS obtains the best reconstruction accuracy across all metrics, reaching 56.24 dB PSNR and 0.998 SSIM. Its error map also contains visibly smaller errors. RGS remains close to the lightest baselines in per-epoch cost: its 0.005-second epoch time is slightly above Random (0.003 seconds) and substantially below INT (0.036 seconds). These results indicate that stratified, correlation-aware sampling improves fidelity while retaining low training cost.
| Sampling strategy | PSNR | SSIM | Rel. RMSE | Time/epoch (s) |
| Full Training | 37.19 ± 2.29 | 0.978 ± 0.024 | 0.092 ± 0.031 | 0.190 |
| Random | 43.72 ± 1.20 | 0.982 ± 0.004 | 0.042 ± 0.006 | 0.003 |
| EVOS | 37.41 ± 1.70 | 0.930 ± 0.017 | 0.087 ± 0.017 | 0.006 |
| INT | 18.38 ± 0.85 | 0.212 ± 0.094 | 0.773 ± 0.109 | 0.036 |
| RGS (ours) | 56.24 ± 2.73 | 0.998 ± 0.001 | 0.010 ± 0.003 | 0.005 |
Table 1. Performance after a 20-second wall-clock budget, reported as mean ± standard deviation over six independently reconstructed time frames. Best values are shown in bold.
Figure 3. (a) PSNR as a function of wall-clock training time. RGS converges faster than Random, EVOS, and INT and surpasses the accuracy reached by Full Training within the evaluated budget. (b) Error maps after a 20-second wall-clock budget. The top-left panel shows the ground truth; the remaining panels show absolute reconstruction error for each method. The [0, 2.0] color scale applies only to the error maps. Figure 3: PSNR and error-map comparison of sampling strategies on Navier–Stokes fields.
Conclusion
We introduced Refined Grid Sampling (RGS) for efficient INR training. RGS combines stratified coverage, error-based refinement, and dynamic grid adjustment to address the spatial redundancy and computational overhead of existing coordinate-pruning methods. Experiments on high-resolution Navier–Stokes fields show that RGS improves reconstruction quality under a fixed wall-clock budget and reaches full-training accuracy up to faster. These results demonstrate the potential of structured coordinate sampling for scalable and efficient modeling of complex physical systems.
Acknowledgments
Funding. This material is based upon work supported by the U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research and Office of Biological and Environmental Research, via the RAPIDS Institute under the Scientific Discovery through Advanced Computing (SciDAC) program and the project of Improving Projections of AMOC and its Collapse Through Advanced Simulations (ImPACTS), under Contract No. DE-SC0012704 and FWP No. CC122 and CC127, and award B&R-KJ0401010 and FWP-CC147.
Additional Efficiency Results
For a more detailed analysis of computational efficiency, Figure 4 and Figure 5 compare convergence and cumulative runtime over epochs. These plots complement the main results by showing convergence over epochs and how runtime accumulates during training. As discussed in § 3, RGS achieves a favorable trade-off between convergence speed and computational cost.
Figure 4. PSNR versus training epochs for different sampling strategies. RGS converges faster and attains higher final accuracy than the error-driven baselines, while random sampling converges more slowly.
Figure 5. Training time versus epochs for different sampling strategies. RGS substantially reduces training time relative to full training and INT, while remaining competitive with random sampling and EVOS.
References
- [1]Guido Boffetta and Robert E Ecke. Two-dimensional turbulence. Annual review of fluid mechanics, 44(1):427–451, 2012.DOI
- [2]Elijah Cole, Grant Van Horn, Christian Lange, Alexander Shepard, Patrick Leary, Pietro Perona, Scott Loarie, and Oisin Mac Aodha. Spatial implicit neural representations for global-scale species mapping. In International conference on machine learning, pages 6320–6342. PMLR, 2023.arxiv.org/abs/2306.02564
- [3]Kyle Gao, Yina Gao, Hongjie He, Dening Lu, Linlin Xu, and Jonathan Li. Nerf: Neural radiance field in 3d vision, a comprehensive review. arXiv preprint arXiv:2210.00379, 2022.DOI
- [4]Shakiba Kheradmand, Daniel Rebain, Gopal Sharma, Hossam Isack, Abhishek Kar, Andrea Tagliasacchi, and Kwang Moo Yi. Accelerating neural field training via soft mining. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 20071–20080, 2024.arxiv.org/abs/2312.00075
- [5]Seungjun Lee and Taeil Oh. Inducing point operator transformer: A flexible and scalable architecture for solving pdes. Proceedings of the AAAI Conference on Artificial Intelligence, 38(1):153–161, 2024.DOI
- [6]Xihaier Luo, Wei Xu, Yihui Ren, Shinjae Yoo, and Balu Nadiga. Continuous field reconstruction from sparse observations with implicit neural networks. arXiv preprint arXiv:2401.11611, 2024.arxiv.org/abs/2401.11611
- [7]Amirali Molaei, Amirhossein Aminimehr, Armin Tavakoli, Amirhossein Kazerouni, Bobby Azad, Reza Azad, and Dorit Merhof. Implicit neural representation in medical imaging: A comparative survey. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 2381–2391, 2023.arxiv.org/abs/2307.16142
- [8]Nasim Rahaman, Aristide Baratin, Devansh Arpit, Felix Draxler, Min Lin, Fred Hamprecht, Yoshua Bengio, and Aaron Courville. On the spectral bias of neural networks. In International conference on machine learning, pages 5301–5310. PMLR, 2019.arxiv.org/abs/1806.08734
- [9]Vincent Sitzmann, Julien Martel, Alexander Bergman, David Lindell, and Gordon Wetzstein. Implicit neural representations with periodic activation functions. Advances in neural information processing systems, 33:7462–7473, 2020.arxiv.org/abs/2006.09661
- [10]Yiheng Xie, Towaki Takikawa, Shunsuke Saito, Or Litany, Shiqin Yan, Numair Khan, Federico Tombari, James Tompkin, Vincent Sitzmann, and Srinath Sridhar. Neural fields in visual computing and beyond. Computer Graphics Forum, 41(2):641–676, 2022.arxiv.org/abs/2111.11426
- [11]Zhi-Qin John Xu, Yaoyu Zhang, Tao Luo, Yanyang Xiao, and Zheng Ma. Frequency principle: Fourier analysis sheds light on deep neural networks. arXiv preprint arXiv:1901.06523, 2019.DOI
- [12]Chen Zhang, Steven Tin Sui Luo, Jason Chun Lok Li, Yik-Chung Wu, and Ngai Wong. Nonparametric teaching of implicit neural representations. arXiv preprint arXiv:2405.10531, 2024.arxiv.org/abs/2405.10531
- [13]Weixiang Zhang, Shuzhao Xie, Chengwei Ren, Siyi Xie, Chen Tang, Shijia Ge, Mingzi Wang, and Zhi Wang. Evos: Efficient implicit neural training via evolutionary selector. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 30472–30482, 2025.arxiv.org/abs/2412.10153
- [14]Ellen D Zhong, Adam Lerer, Joseph H Davis, and Bonnie Berger. Cryodrgn2: Ab initio neural reconstruction of 3d protein structures from real cryo-em images. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4066–4075, 2021.DOI




