Manuscript Offprint
arXiv:2611.04423SWAP-INR: Implicit Neural Representation with Switchable Attention Paths for Time-varying Multivariate Scientific Data Compression
Hyunsoo Son Jeonghyun Noh Chaoli Wang Won-Ki Jeong
Korea University University of Notre Dame
{ehsson,wjdgus0967,wkjeong}@korea.ac.kr chaoli.wang@nd.edu

Figure 1. Visual comparison of compression quality on the CUPID [3] at matched compression ratios. (a) Ground truth. (b) CoordNet [6] struggles to capture multivariate characteristics, resulting in a significant loss of structural details. (c) MC-INR [28] isolates variables, missing explicit cross-variable interactions, and produces severe visual artifacts (red box). (d) Our proposed SWAP-INR preserves high-fidelity physical details with superior PSNR by switching between the attention and non-attention paths to capture essential dynamics.
Abstract
Visualizing multivariate scientific simulation data is essential for understanding complex physical phenomena, yet the massive scale of such data imposes a severe storage bottleneck in high-performance computing environments. Implicit neural representations (INRs) have emerged as a promising continuous alternative to traditional lossy compressors, but existing methods struggle to explicitly capture cross-variable interactions and to adapt to the diverse spectral characteristics of physical variables. To address these limitations, we propose SWAP-INR, an architecture for high-fidelity compression of multivariate, time-varying simulation data. SWAP-INR introduces two key components: (1) The switchable attention path (SWAP) module explicitly models cross-variable interactions through a cross-variable attention layer, then routes each variable to an attention or non-attention path by a deterministic, loss-driven criterion, and prunes the inactive layers for structural compression. (2) The adaptability amplification SIREN (-SIREN) replaces rigid frequency scaling with channel-wise learnable modulation, adapting to heterogeneous physical features with negligible overhead. Combined with post-training 16-
bit quantization, SWAP-INR achieves state-of-the-art performance on small modular reactor (SMR) datasets and remains competitive on public physics simulation datasets, while maintaining a constrained memory footprint. Our code is https://github.com/hvcl/SWAP-INR.
1. Introduction
Scientific simulation is central to studying complex real-world phenomena that are too costly, dangerous, or inaccessible to observe directly, and visualizing the resulting data is essential for analysis and decision-making [19, 25, 33, 42]. In safety-critical engineering domains such as small modular reactor (SMR) design, high-fidelity simulations couple multiple physical processes, including fluid dynamics, heat transfer, and thermodynamics. The resulting data are multivariate and time-varying, defined at high spatial and temporal resolution on unstructured grids that conform to complex geometries. Such fields encode rich physical behavior and thus accumulate substantial fine-grained detail, so storing or transmitting them at full resolution exceeds the memory and bandwidth budgets of high-performance computing (HPC) environments. Overcoming this bottleneck requires representations that substantially reduce memory consumption
*denotes equal contribution, and † means the corresponding author.
while preserving the fidelity needed for accurate analysis.
To alleviate this storage bottleneck, hand-crafted lossy compressors (TTHRESH [1], SZ3 [12], and ZFP [14]) have been widely adopted for scientific simulation data. However, their reliance on fixed transforms, predictors, and quantization schemes limits their adaptability to complex, dataset-specific structures. Recently, implicit neural representations (INRs) have emerged as a promising alternative, encoding scientific data as continuous functions and supporting queries at arbitrary spatial locations. Following the SIREN framework [27], coordinate-based methods such as CoordNet [6] and its variants [8, 28, 31] have demonstrated strong compression performance while supporting continuous queries at arbitrary spatial locations. In parallel, grid-based methods, such as fv-SRN [35], APMGSRN [39], and Wu et al. [37], employ multi-scale feature grids to encode spatially located data more effectively.
Despite their effectiveness, existing INR-based methods exhibit several limitations when applied to multivariate scientific simulation data. First, most INRs are designed for single-variable fields and handle multiple variables by simply expanding the output channels of a shared network. Since the representation is fully shared, distinct variables compete for the same parameters and impose conflicting gradients, making it difficult for the model to learn inter-variable relationships. This may cause feature interference that degrades decoding quality, a gradient-conflict effect studied in shared-parameter optimization [29, 43]. The recent MC-INR [28] partially mitigates this limitation with a branched architecture, but it merely decouples variables into separate branches without explicitly modeling cross-variable dependencies. Moreover, because the relevant interactions among variables are unknown a priori and dataset-dependent, a fixed architecture is inherently limited in its ability to capture these dependencies. Second, existing INRs often struggle to adapt efficiently to the diverse physical characteristics present within a single dataset. Baselines such as SIREN [27] are efficient, but their fixed frequency scaling limits the representation of variables with heterogeneous spectral properties. Remedies that increase network capacity [13, 44] or partition the spatial domain [23] improve adaptability at substantial computational overhead.
To address these limitations, we propose SWAP-INR, an INR network tailored for high-fidelity compression of multivariate, time-varying scientific data. Extending coordinate-based INRs, our method introduces two core components. First, the switchable attention path (SWAP) module models multivariate interactions through a cross-variable attention layer, automatically discovers which variables should interact, and then dynamically routes each variable through an attention or non-attention path rather than relying on a hand-specified correlation structure. This routing prevents forced correlations among non-interacting
variables, and the unselected layers are then pruned to yield structural compression. Second, adaptability amplification SIREN (A -SIREN) replaces rigid frequency scaling with neuron-level learnable modulation, resolving heterogeneous physical features at negligible computational cost. Combined with post-training 16-bit quantization, SWAP-INR delivers high-fidelity representations within a constrained memory budget. As a result, SWAP-INR outperforms existing methods on small modular reactor (SMR) datasets and achieves comparable results on public simulation datasets, at matched compression ratios and PSNR settings, preserving the underlying structures (Fig. 1). Our main contributions are summarized as follows:
• We propose the SWAP module, which explicitly models cross-variable interactions via a cross-variable attention layer. By dynamically switching paths and pruning inactive layers, it eliminates feature interference and achieves structural compression.
• We introduce -SIREN, which relaxes the rigid global frequency modulation of traditional INRs. Its neuron-level learnable modulation adaptively captures data-dependent high-fidelity physical details with negligible computational overhead.
• We demonstrate that the proposed SWAP-INR achieves state-of-the-art (SOTA) performance on in-house SMR datasets and competitive results on public datasets.
2.1. Implicit Neural Representations
INRs based on standard ReLU-multi-layer perceptrons (ReLU-MLPs) suffer from severe spectral bias, failing to capture high-frequency details [30]. Two paradigms address this. The first advances activation functions. SIREN [27] introduced periodic sine activations, on which BACON [13] imposed progressively expanding frequency bandwidths, and AFNet [44] assigned localized frequency scaling via an auxiliary network. Other works replace the activation itself with wavelet [24], variable-periodic [15], or polynomial [22] formulations, or re-parameterize training in the Fourier domain [26]. The second paradigm encodes spatial and spatiotemporal coordinates. Positional encoding [18], hierarchical input partitioning [23], and multi-resolution hash grids [20] capture fine detail, while grid-factorization methods such as K-Planes [5] and HexPlane [2] extend this to 4D spatiotemporal volumes. Recent encoding schemes such as content-aware Fourier features [11] have begun to relax the dependence on fixed frequency bases. Yet across these paradigms, frequency adaptation typically requires dedicated encoding modules, rigid grid structures, or heavy architectural changes. In contrast, we introduce a simple yet efficient learnable channel-wise modulation that dynamically adapts to the data with negligible overhead.

Figure 2. Overview of the proposed SWAP-INR. Given a spatiotemporal coordinate , the network first applies positional encoding. The feature is then processed through MLP layers shared across variables, equipped with A-SIREN, which uses a learnable parameter for adaptive frequency modulation (bottom left). The representations are split into two branches: a non-attention path (red) and an attention path (blue), where the latter models cross-variable interactions via a cross-variable attention layer (purple). The variable-driven path switching block selects the optimal representation per variable to reconstruct high-fidelity multivariate outputs.
2.2. Scientific Data Compression
Single-variable. Traditional compressors operate directly on discrete data through transform-, prediction-, or decomposition-based schemes (ZFP [14], SZ3 [12], TTHRESH [11]), and thus face inherent memory limitations, with grid-based variants further constrained to structured topologies. As a parameter-efficient alternative, NeurComp [16] and CoordNet [6] introduced INRs that map continuous spatiotemporal coordinates directly, removing the dependence on discrete grids. Building on this, later methods improved representational capacity through hierarchical Laplacian pyramids [31], knowledge distillation [8], spatially adaptive feature encoding [39], and mixture-of-experts partitioning [9]. Others focused on practical deployment: ray-tracing integration [35], interactive hash encoding [37], distributed in-situ processing [38], and meta-learned adaptation [41]. Despite this progress, all of these methods are designed for single-variable fields.
Multivariate. Naively applying single-variable INRs to multivariate data forces strict weight sharing across distinct variables, causing severe feature interference [29, 43]. STSR-INR [32] mitigates this by conditioning a shared network on variable-specific latent vectors, but still entangles distinct dynamics. MC-INR [28] instead encodes each variable through a separate network, isolating the variables but discarding the cross-variable correlations essential to physical systems. To resolve this trade-off, we propose the SWAP module, which routes physical fields through switchable attention and non-attention paths, explicitly modeling cross-variable interactions while isolating independent features.
3. Method
We begin with A -SIREN, followed by the SWAP module, and finally the training scheme, loss function, and quantization procedure. An overview of our approach is presented in Fig. 2. As our method builds on coordinate-based INRs, it maps continuous coordinates directly to physical values, making it applicable to both structured and unstructured grids without modification.
3.1. A -SIREN
SIREN [27] effectively represents the physical values using a pre-defined amplification factor ( ) and sine activation (sin), formulated as:
where is the -th linear layer and its input, with the network input; each output is passed to the next layer across layers. However, this fixed, single-scale amplification applies a uniform frequency band to all variables, lacking the flexibility to encode heterogeneous spectral characteristics, where some fields vary smoothly while others contain sharp, high-frequency structures. Recent frequency-adaptive methods [13, 44] address this by predicting frequency shifts through auxiliary networks. While effective, this reliance introduces parameter overhead that conflicts with the goal of compression, particularly under the multivariate setting.
To address this limitation, we introduce A -SIREN, a simple yet efficient mechanism that integrates a channel-wise learnable parameter ( ). Unlike these methods that depend on a separate prediction network, -SIREN achieves frequency adaptation through a purely intrinsic mechanism. Each layer is assigned a fixed base frequency , and the learnable vector rescales it independently per channel. -SIREN is formulated as:
where scales the scalar base frequency channel-wise by , yielding a per-channel frequency, and is the channel dimension. Since only is learned while remains fixed, distinct variables can allocate independent frequency bandwidths within a single coordinate-based network. Consequently, this intrinsic adaptability effectively captures physical features at negligible computational cost.
3.2. SWAP Module
The proposed SWAP module is a lightweight mechanism for efficiently encoding multivariate data, comprising three core components: a cross-variable attention layer, a path switching block, and layer pruning.
3.2.1. Cross-variable attention layer
As discussed, although multivariate scientific data exhibit inherent correlations, traditional shared networks [7, 9, 39] force variables to compete for the same parameters, causing severe feature interference. Conversely, recent branched architectures [28] mitigate this by isolating variables, but their structural separation prevents the network from modeling explicit cross-variable interactions. To overcome this limitation, we introduce a cross-variable attention layer that facilitates explicit interactions among all variables. At a designated intermediate layer, this attention layer concatenates the independent branch features along the variable dimension into , where and denote the variable index and the number of physical variables, respectively. The query (Q), key (K), and value (V) matrices are derived from after layer normalization (LN) for stable optimization, and the cross-variable attention is formulated as:
The attended output ( ) is residually added to X and injected into the next hidden layer ( ). For instance, in SMR simulations, strongly coupled quantities such as temperature and velocity fields can exchange information through this layer, capturing their shared dynamics. Thus, our approach harmonizes explicit multivariate interactions with the decoupled physical features essential for accurate scientific data modeling.

Figure 3. Illustration of the variable-driven switchable mechanism and targeted layer pruning. (a) The unpruned model features both non-attention (red) and attention (blue) paths. (b) Path switching block evaluates and to deterministically route the m-th variable. (c) When the non-attention path is selected ( ), post-attention layers are pruned while base layers are retained to serve as K, V. (d) Conversely, when the attention path is selected ( ), the structurally redundant non-attention baseline path is eliminated.
3.2.2. Path switching block
While a cross-variable attention layer facilitates explicit interactions, it implicitly assumes uniform correlation across all variables. In reality, scientific data are heterogeneous: physical quantities may be strongly coupled or strictly independent. Compounding this, attention aggregates features as a weighted average and thus acts as a low-pass filter [21, 34]. Such smoothing benefits coupled variables by reinforcing their shared dynamics, but blurs the sharp, high-frequency structures that characterize independent ones. A cross-variable attention layer cannot serve both regimes simultaneously. This motivates a mechanism that routes each variable based on whether it benefits from coupling or must preserve high-frequency detail.
To this end, we propose a path switching block with an attention path and a non-attention path, as described in Fig. 3. To ensure stable optimization, we employ a sequential training strategy. The non-attention path is first trained to establish a robust baseline of independent representations. The attention path is then introduced and optimized while the non-attention path and shared layers remain frozen. Upon completion, we apply a loss-driven path-selection mechanism. For each variable , we compute its converged per-variable attention-path loss and non-attention-path loss . We then define a binary switching mask as:
(6) where denotes the indicator function, yielding 1 if the condition is true and 0 otherwise. During inference, the final optimal representation for the -th variable is deterministically computed as:
where and are the feature outputs of the respective paths, as detailed in Fig. 3 (b). This post-training selection ensures that the attention path is engaged only when coupling empirically benefits a variable, while variables that must retain high-frequency detail are preserved through the non-attention path. The resulting routing is thus determined entirely by each variable's measured reconstruction loss, engaging cross-variable attention only where it is empirically beneficial and otherwise preserving the independent representation. Our switching results are detailed in Appendix E.
Although physical coupling can be spatially or temporally localized, we deliberately design the routing as a global, variable-level decision. While localized routing could capture finer interactions, storing a dense coordinate-specific map incurs memory overhead. Our block thus decouples variables at the macroscopic level while preserving the lightweight architecture for compression.
3.2.3. Layer pruning
After path switching, each variable activates only one path, leaving the unselected branches without any activation flow during the forward pass. Since these inactive branches no longer contribute to the output, they become computationally redundant and can be safely removed. Guided by the switching mask , we therefore prune the network to retain only the active parameters. Let and denote the parameters of the non-attention and attention paths for the -th variable, where the attention path is further divided into pre-attention parameters (layers ) and post-attention parameters (layers ). The retained parameter set is formulated as:
This conditional pruning retains different parameters depending on the selected path. When , we prune the post-attention layers but preserve . As shown in Fig. 3 (c), this asymmetric retention is essential: it allows the m-th variable to still provide informative K and V for other actively attending variables. When , the variable relies entirely on cross-variable interactions, so the independent non-attention path is discarded without any loss of essential features (Fig. 3 (d)). Overall, this targeted pruning removes redundant operations, yielding a highly lightweight model while strictly preserving accuracy.
3.3. Training Strategy and Loss Function
To ensure stable optimization, we adopt a two-stage strategy. For any output and ground truth (GT) , the mean squared error (MSE) loss is:
Stage 1 (non-attention path). We first establish a robust baseline of independent physical representations by optimizing the feature extractor and the non-attention path:
where denotes the parameters of shared MLP layers.
Stage 2 (attention path). Once the non-attention path converges, we initialize the attention path with its weights and randomly initialize the new linear projections. We then freeze the baseline parameters and and optimize only the attention path:
Freezing the baseline lets the network explore cross-variable interactions without corrupting the learned independent representations.
3.4. Quantization
Layer pruning reduces structural redundancy, but the model size is ultimately governed by parameter precision. To achieve a lightweight model, we apply post-training quantization as the final compression step, inspired by COIN [4]. The network is trained in 32-bit floating-point precision for stable gradient updates. For storage, only the parameters are quantized to 16-bit, while activations are cast at inference time for efficiency. Since neural representations are largely resilient to reduced precision [17], this halves the storage budget, , where denotes the overall model size, while incurring minor loss in reconstruction quality. As a result, SWAP-INR effectively doubles its compression ratio at nearly imperceptible cost.
Table 1. Experimental datasets. P and t are the # of spatial coordinates per timestep and the # of timesteps, respectively.
| Grid type | Dataset | # of points (P t) | # of variables |
|---|---|---|---|
| Unstructured | ROCOM [3] | 12,440,366 5 | 8 |
| CUPID | 1,279,375 30 | 11 | |
| Synthetic | 5,253,750 30 | 4 | |
| Structured | SMR Simulation | 1,048,576 10 | 8 |
| Combustion [10] | 648,000 25 | 4 | |
| Ionization [36] | 576,600 50 | 4 |
Table 2. Quantitative comparison of compression results with previous methods at matched CR. The * denotes that the reported performance is averaged across independent time steps. Baselines are stored at 32-bit precision, while SWAP-INR uses 16-bit.
| Dataset | Method | PSNR↑ | NRMSE↓ | R²↑ | CR↑ | Size(KB)↓ | Dataset | Method | PSNR↑ | NRMSE↓ | R²↑ | CR↑ | Size(KB)↓ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ROCOM | SIREN | 42.34 | 0.0114 | 0.9323 | 3,311 | 587 | CUPID | SIREN | 21.46 | 0.1657 | 0.5585 | 2,634 | 626 |
| NeurComp | 42.66 | 0.0105 | 0.9398 | 3,346 | 581 | NeurComp | 24.63 | 0.0850 | 0.7002 | 2,626 | 628 | ||
| CoordNet | 43.49 | 0.0105 | 0.9392 | 3,351 | 580 | CoordNet | 23.87 | 0.0914 | 0.6540 | 2,609 | 632 | ||
| Instant-NGP | 30.28 | 0.0356 | 0.4391 | 3,346 | 581 | Instant-NGP | 19.61 | 0.1791 | 0.3948 | 2,561 | 644 | ||
| fV-SRN* | 40.24 | 0.0125 | 0.8764 | 3,351 | 580 | fV-SRN* | 13.99 | 0.2362 | -13.4032 | 2,618 | 630 | ||
| WIRE | 25.09 | 0.0966 | -0.0004 | 3,351 | 580 | WIRE | 16.92 | 0.2595 | 0.0000 | 2,630 | 627 | ||
| AFNet | 44.19 | 0.0094 | 0.9480 | 3,351 | 580 | AFNet | 48.38 | 0.0044 | 0.9695 | 2,622 | 629 | ||
| APMGSRN* | 38.21 | 0.0171 | 0.8383 | 3,351 | 580 | APMGSRN* | 19.25 | 0.1789 | -0.1587 | 2,618 | 630 | ||
| SL²A-INR | 43.39 | 0.0113 | 0.9258 | 3,334 | 583 | SL²A-INR | 46.77 | 0.0051 | 0.9679 | 2,626 | 628 | ||
| MC-INR | 33.61 | 0.0255 | 0.5857 | 3,328 | 584 | MC-INR | 46.89 | 0.0086 | 0.9579 | 2,440 | 676 | ||
| Ours | 47.41 | 0.0073 | 0.9782 | 3,351 | 580 | Ours | 50.29 | 0.0035 | 0.9904 | 2,634 | 626 | ||
| Synthetic | SIREN | 70.31 | 0.0003 | 0.9245 | 7,793 | 316 | SMR Simulation | SIREN | 33.71 | 0.0277 | 0.2851 | 665 | 493 |
| NeurComp | 68.72 | 0.0004 | 0.8830 | 7,868 | 313 | NeurComp | 33.15 | 0.0297 | 0.1884 | 665 | 493 | ||
| CoordNet | 72.14 | 0.0003 | 0.9755 | 7,843 | 314 | CoordNet | 34.03 | 0.0267 | 0.3411 | 666 | 492 | ||
| Instant-NGP | 35.22 | 0.0776 | 0.0280 | 7,601 | 324 | Instant-NGP | 30.16 | 0.0850 | 0.0356 | 635 | 516 | ||
| fV-SRN* | 64.10 | 0.0007 | 0.8038 | 7,463 | 330 | fV-SRN* | 29.60 | 0.0472 | -3.1898 | 655 | 500 | ||
| WIRE | 34.90 | 0.0802 | -0.0470 | 7,868 | 313 | WIRE | 29.98 | 0.0911 | -0.0024 | 663 | 494 | ||
| AFNet | 74.60 | 0.0002 | 0.9657 | 7,793 | 316 | AFNet | 35.80 | 0.0190 | 0.3564 | 666 | 492 | ||
| APMGSRN* | 60.93 | 0.0011 | 0.7438 | 7,463 | 330 | APMGSRN* | 30.51 | 0.0534 | -0.6753 | 655 | 500 | ||
| SL²A-INR | 73.00 | 0.0002 | 0.9338 | 7,793 | 316 | SL²A-INR | 35.10 | 0.0210 | 0.3108 | 667 | 491 | ||
| MC-INR | 66.69 | 0.0006 | 0.9616 | 7,696 | 320 | MC-INR | 33.92 | 0.0259 | 0.2826 | 655 | 500 | ||
| Ours | 75.00 | 0.0002 | 0.9736 | 7,868 | 313 | Ours | 38.17 | 0.0153 | 0.4494 | 667 | 491 | ||
| Combustion | SIREN | 30.62 | 0.0296 | 0.8967 | 989 | 256 | Ionization | SIREN | 43.12 | 0.0078 | 0.9664 | 2,011 | 224 |
| NeurComp | 32.22 | 0.0245 | 0.9140 | 997 | 254 | NeurComp | 45.67 | 0.0056 | 0.9777 | 2,002 | 225 | ||
| CoordNet | 31.09 | 0.0280 | 0.9014 | 981 | 258 | CoordNet | 39.28 | 0.0135 | 0.9451 | 1,993 | 226 | ||
| Instant-NGP | 20.86 | 0.1033 | 0.4767 | 977 | 259 | Instant-NGP | 21.93 | 0.1988 | 0.1837 | 1,984 | 227 | ||
| fV-SRN* | 23.53 | 0.0726 | 0.6768 | 920 | 275 | fV-SRN* | 22.76 | 0.1039 | -0.6598 | 1,802 | 250 | ||
| WIRE | 17.75 | 0.1615 | 0.0000 | 985 | 257 | WIRE | 20.94 | 0.2469 | -0.0002 | 2,011 | 224 | ||
| AFNet | 28.33 | 0.0392 | 0.8643 | 997 | 254 | AFNet | 50.62 | 0.0030 | 0.9899 | 2,011 | 224 | ||
| APMGSRN* | 21.52 | 0.0951 | 0.5493 | 920 | 275 | APMGSRN* | 18.02 | 0.1439 | -9.2996 | 1,802 | 250 | ||
| SL²A-INR | 26.02 | 0.0525 | 0.8025 | 981 | 258 | SL²A-INR | 42.64 | 0.0078 | 0.9496 | 2,002 | 225 | ||
| MC-INR | 18.05 | 0.1502 | -0.0065 | 989 | 256 | MC-INR | 20.93 | 0.1686 | -0.3931 | 1,909 | 236 | ||
| Ours | 31.17 | 0.0278 | 0.9116 | 997 | 254 | Ours | 50.25 | 0.0032 | 0.9905 | 2,011 | 224 |
4. Experiments
4.1. Experiment Setup
Datasets. Our experiments were conducted using a comprehensive suite of multivariate scientific datasets. The datasets are categorized by their spatial topology: RO-COM [3], CUPID, and Synthetic datasets are SMR data defined on unstructured tetrahedral meshes. In contrast, the SMR simulation dataset (provided by our collaborator) and the publicly available Combustion [10] and Ionization [36] datasets are defined on structured 3D rectilinear grids. For computational feasibility, the Combustion and Ionization datasets were spatiotemporally downsampled by a factor of 4. The details of each dataset are summarized in Table 1.
Implementation details. SWAP-INR comprises a shared base network (2 layers, 128 channels) and variable-specific branches (6 layers), each splitting into a non-attention and an attention path with the cross-variable attention layer applied after the third branched layer. The per-channel scalar is uniformly initialized to 1.0, and the number of feature channels per branch is set by dataset complexity: 64 for RO-COM and Synthetic, 56 for CUPID, and 48 for SMR Simulation, Combustion, and Ionization. Each physical variable is independently normalized to . We train all models in PyTorch 2.1.0 on a single NVIDIA RTX 3090 GPU using Adam (learning rate , batch size 100,000), with early stopping after 20 epochs without loss improvement. For evaluation, we report peak signal-to-noise ratio (PSNR), normalized root-mean-squared error (NRMSE), the coefficient of determination (), compression ratio (CR), and model size in KB. Note that CR is defined as raw data size over total stored network parameters; mesh topology is excluded as INRs represent fields grid-agnostically without encoding the evaluation grid itself.
4.2. Results and Evaluation
We compare against a broad range of methods: INR-based approaches SIREN [27], NeurComp [16], CoordNet [6], Instant-NGP [20], fV-SRN [35], WIRE [24], AFNet [44], APMGSRN [39], SL²A-INR [22], and MC-INR [28], as well as the conventional lossy compressors SZ3 [12], ZFP [14], and TTHRESH [1]. Further details on these methods and the matched PSNR comparison are provided in Appendix A and Appendix B.
4.2.1. Quantitative results at matched CR
Table 2 presents a quantitative comparison against previous INR-based methods at matched CR. Note that fV-SRN and APMGSRN do not support time-varying data; we evaluated them per time step and averaged the results. SWAP-

Figure 4. Visualization of error maps at matched compression ratios. The error map represents the mean absolute error averaged across all time steps and variables (blue: low, red: high). GT is visualized for a specific snapshot (time and variable). ROCOM, CUPID, Synthetic, and SMR Simulation are rendered via tetrahedral meshes, whereas Combustion and Ionization are shown as regular volumes.
INR achieves SOTA performance on the SMR datasets and competitive results on the public Combustion and Ionization datasets. This confirms that explicitly modeling cross-variable interactions, rather than naively sharing or fully isolating them, enhances reconstruction fidelity across diverse data. The lower performance here stems from the low-pass nature of the attention path [21, 34], analyzed in Appendix C. SWAP-INR maintains a competitive fidelity-efficiency trade-off among methods of comparable speed (Appendix D), and remains SOTA on the in-house SMR datasets under 16-bit quantization (Appendix F).
4.2.2. Qualitative results at matched CR
Figure 4 compares SWAP-INR with CoordNet, fV-SRN, SL A-INR, and MC-INR via error maps. SWAP-INR consistently achieves the lowest error across the datasets, and
the error maps expose a distinct failure mode behind each baseline. The CoordNet shared layer causes cross-variable interference that spreads error broadly. fV-SRN reconstructs each time step independently, accumulating temporally inconsistent errors on CUPID and Ionization. SL A-INR, lacking explicit cross-variable modeling, retains visibly higher residual error across coupled regions. MC-INR clusters, when constrained to the target CR, leave high-error blocks at their boundaries (ROCOM, Combustion, Ionization). In contrast, SWAP-INR couples variables that benefit from interaction while preserving high-frequency details in the others. This yields consistently low reconstruction error and faithful recovery of fine physical structures critical for scientific visualization. These results demonstrate the quantitative and qualitative advantages of SWAP-INR.
4.3. Ablation Study
We conduct ablations on the ROCOM, SMR Simulation, and Ionization datasets to validate three components: (1) the adaptability amplification factor ; (2) the elements of the SWAP module, and (3) the quantization process.
Table 3. Ablation on adaptability amplification factor, .
| Dataset | Method | PSNR↑ | NRMSE↓ | |
|---|---|---|---|---|
| ROCOM | w/o | 46.29 | 0.0082 | 0.9665 |
| w/ | 47.41 | 0.0073 | 0.9782 | |
| SMR Simulation | w/o | 37.79 | 0.0158 | 0.4195 |
| w/ | 38.17 | 0.0153 | 0.4494 | |
| Ionization | w/o | 50.09 | 0.0033 | 0.9899 |
| w/ | 50.25 | 0.0032 | 0.9905 |
Adaptability amplification factor. Table 3 reports the effect of . Applying it improves PSNR by 1.12 dB on ROCOM, 0.38 dB on SMR Simulation, and 0.16 dB on Ionization, confirming that channel-wise frequency modulation better captures physical details. Notably, this improvement requires only an additional 22 KB, demonstrating that provides a simple yet effective mechanism for balancing accuracy and memory efficiency.
Table 4. Ablation on the SWAP module. We evaluate the individual contributions of its core components: (a) cross-variable attention layer, (b) path switching block, and (c) layer pruning.
| Dataset | (a) | (b) | (c) | PSNR↑ | NRMSE↓ | CR↑ | Size(KB)↓ | |
|---|---|---|---|---|---|---|---|---|
| ROCOM | 46.20 | 0.0080 | 0.9742 | 1,967 | 988 | |||
| ✓ | 47.23 | 0.0073 | 0.9782 | 1,967 | 988 | |||
| ✓ | ✓ | 47.41 | 0.0073 | 0.9782 | 1,967 | 988 | ||
| ✓ | ✓ | ✓ | 47.41 | 0.0073 | 0.9782 | 3,351 | 580 | |
| SMR Simulation | 37.25 | 0.0161 | 0.4448 | 486 | 674 | |||
| ✓ | 38.14 | 0.0154 | 0.4395 | 486 | 674 | |||
| ✓ | ✓ | 38.17 | 0.0153 | 0.4494 | 486 | 674 | ||
| ✓ | ✓ | ✓ | 38.17 | 0.0153 | 0.4494 | 667 | 491 | |
| Ionization | 47.78 | 0.0044 | 0.9854 | 1,195 | 377 | |||
| ✓ | 50.25 | 0.0032 | 0.9905 | 1,195 | 377 | |||
| ✓ | ✓ | 50.25 | 0.0032 | 0.9905 | 1,195 | 377 | ||
| ✓ | ✓ | ✓ | 50.25 | 0.0032 | 0.9905 | 2,011 | 224 |
SWAP module components. Table 4 validates each component within the SWAP module. The cross-variable attention layer increases PSNR by 1.03 dB (ROCOM), 0.89 dB (SMR Simulation), and 2.47 dB (Ionization) by explicitly capturing multivariate interactions. The path switching block yields further gains by routing each variable to its lower-loss path, isolating variables that do not benefit from coupling to prevent feature interference, with full routing results in Appendix E. Layer pruning reduces the model size by 41% (988 to 580 KB) on ROCOM, 27% (674 to 491 KB) on SMR Simulation, and 41% (377 to 224 KB) on Ionization, with no drop in reconstruction quality. These results demonstrate that every component is integral to maximizing both the fidelity and compactness of SWAP-INR.
Table 5. Ablation on model bit-widths.
| Dataset | Bit-widths | PSNR↑ | NRMSE↓ | Size(KB)↓ | |
|---|---|---|---|---|---|
| ROCOM | 32-bit | 47.89 | 0.0072 | 0.9788 | 1,101 |
| 16-bit | 47.41 | 0.0073 | 0.9782 | 580 | |
| 8-bit | 24.41 | 0.0642 | -6.5984 | 319 | |
| CUPID | 32-bit | 50.91 | 0.0033 | 0.9912 | 1,167 |
| 16-bit | 50.29 | 0.0035 | 0.9904 | 626 | |
| 8-bit | 16.19 | 0.1707 | -22.2139 | 351 | |
| Synthetic | 32-bit | 78.10 | 0.0001 | 0.9769 | 596 |
| 16-bit | 75.00 | 0.0002 | 0.9736 | 313 | |
| 8-bit | 40.48 | 0.0117 | -500.3126 | 172 | |
| SMR Simulation | 32-bit | 38.51 | 0.0152 | 0.4502 | 919 |
| 16-bit | 38.17 | 0.0153 | 0.4494 | 491 | |
| 8-bit | 22.20 | 0.0852 | -92.1838 | 285 | |
| Combustion | 32-bit | 31.20 | 0.0277 | 0.9119 | 478 |
| 16-bit | 31.17 | 0.0278 | 0.9116 | 254 | |
| 8-bit | 22.84 | 0.0771 | 0.6117 | 146 | |
| Ionization | 32-bit | 52.52 | 0.0024 | 0.9933 | 421 |
| 16-bit | 50.25 | 0.0032 | 0.9905 | 224 | |
| 8-bit | 20.25 | 0.1044 | -33.0035 | 129 |
Quantization. Table 5 reports the effect of quantization across 32-, 16-, and 8-bit precisions. Reducing the precision from 32-bit to 16-bit approximately halves the model size while preserving reconstruction quality. Crucially, Appendix F demonstrates that this reduction yields nearly imperceptible visual differences. Under this uniform 16-bit setup, SWAP-INR outperforms all baselines except on Combustion, confirming that our overall advantage stems from architectural representation rather than reduced precision. Conversely, 8-bit quantization severely degrades performance across all datasets. Thus, 16-bit precision serves as the optimal operating point, effectively doubling the CR while preserving high reconstruction fidelity.
5. Conclusion
We presented SWAP-INR, an INR for high-fidelity compression of time-varying multivariate scientific data on both structured and unstructured grids. At its core, the SWAP module routes each variable to an attention or non-attention path by a deterministic, loss-driven criterion and prunes the inactive branches. Together with the channel-wise frequency modulation of -SIREN, this models cross-variable interactions within a minimal parameter footprint. Combined with 16-bit quantization, SWAP-INR achieves SOTA performance on the SMR datasets and competitive results on two public datasets at matched compression ratios, while maintaining inference cost on par with lightweight INR baselines. In practice, this lets engineers store, transmit, and visualize massive simulations on complex geometries within tight HPC budgets, addressing a bottleneck in safety-critical workflows like SMR analysis.
For future work, frequency-adaptive attention could mitigate over-smoothing in high-frequency fields, and extending evaluation to downstream tasks such as derived-quantity analysis could further demonstrate scientific utility.
Acknowledgments
This work was supported in part by the National Research Foundation of Korea under Grant RS-2024-00349697 and Grant RS-2021- NR060143; in part by the Institute for Information and Communications Technology Planning and Evaluation under Grant IITP-2027-RS-2020-II201819; in part by the National Research Council of Science & Technology(NST) grant by the Korea government (MSIT) (No. GTL24033-000); and in part by Korea University Grant. C. Wang is supported by the U.S. National Science Foundation through grants IIS-2101696, OAC-2104158, IIS-2401144, and CCF-2550610.
References
[1] Rafael Ballester-Ripoll, Peter Lindstrom, and Renato Pajarola. TTHRESH: Tensor compression for multidimensional visual data. IEEE Trans. on Visualization and Computer Graphics (TVCG), 26(9):2891–2903, 2019. 2, 3, 6, 11
[2] Ang Cao and Justin Johnson. HexPlane: A fast representation for dynamic scenes. In Proc. Comput. Vis. Pattern Recognit. (CVPR), pages 130–141, 2023. 2
[3] Yun Je Cho and Han Young Yoon. Numerical analysis of the room boron dilution benchmark experiment using the cupid code. Nuclear Engineering and Design, 341:167–175, 2019. 1, 5, 6, 11, 14, 15, 16
[4] Emilien Dupont, Adam Goliński, Milad Alizadeh, Yee Whye Teh, and Arnaud Doucet. COIN: Compression with implicit neural representations. arXiv preprint arXiv:2103.03123, 2021. 5
[5] Sara Fridovich-Keil, Giacomo Meanti, Frederik Rahbæk Warburg, Benjamin Recht, and Angjoo Kanazawa. K-Planes: Explicit radiance fields in space, time, and appearance. In Proc. Comput. Vis. Pattern Recognit. (CVPR), pages 12479–12488, 2023. 2
[6] Jun Han and Chaoli Wang. CoordNet: Data generation and visualization generation for time-varying volumes via a coordinate-based neural network. IEEE Trans. on Visualization and Computer Graphics (TVCG), 29(12):4951–4963, 2022. 1, 2, 3, 6, 11
[7] Jun Han and Fan Yang. DCINR: A divide-and-conquer implicit neural representation for compressing time-varying volumetric data in hours. IEEE Trans. on Visualization and Computer Graphics (TVCG), 31(10):8116–8128, 2025. 4, 11
[8] Jun Han, Hao Zheng, and Chongke Bi. KD-INR: Time-varying volumetric data compression via knowledge distillation-based implicit neural representation. IEEE Trans. on Visualization and Computer Graphics (TVCG), 30(10): 6826–6838, 2023. 2, 3, 11
[9] Jun Han, Kaiyuan Tang, and Chaoli Wang. MoE-INR: Implicit neural representation with mixture-of-experts for time-varying volumetric data compression. IEEE Trans. on Visualization and Computer Graphics (TVCG), 32(1):254–264, 2026. 3, 4, 11
[10] Evatt R Hawkes, Ramanan Sankaran, James C Sutherland, and Jacqueline H Chen. Scalar mixing in direct numerical simulations of temporally evolving plane jet flames with skeletal CO/H2 kinetics. Proceedings of the Combustion Institute, 31(1):1633–1640, 2007. 5, 6, 14, 15
[11] Junbo Ke, Yangyang Xu, Chao Wang, and You-Wei Wen. Content-aware frequency encoding for implicit neural representations with fourier-chebyshev features. In Proc. Comput. Vis. Pattern Recognit. (CVPR), pages 3646–3655, 2026. 2
[12] Xin Liang, Kai Zhao, Sheng Di, Sihuan Li, Robert Underwood, Ali M Gok, Jiannan Tian, Junjing Deng, Jon C Calhoun, Dingwen Tao, et al. SZ3: A modular framework for composing prediction-based error-bounded lossy compressors. IEEE Transactions on Big Data, 9(2):485–498, 2022. 2, 3, 6, 11
[13] David B Lindell, Dave Van Veen, Jeong Joon Park, and Gordon Wetzstein. BACON: Band-limited coordinate networks for multiscale scene representation. In Proc. Comput. Vis. Pattern Recognit. (CVPR), pages 16252–16262, 2022. 2, 3
[14] Peter Lindstrom. Fixed-rate compressed floating-point arrays. IEEE Trans. on Visualization and Computer Graphics (TVCG), 20(12):2674–2683, 2014. 2, 3, 6, 11
[15] Zhen Liu, Hao Zhu, Qi Zhang, Jingde Fu, Weibing Deng, Zhan Ma, Yanwen Guo, and Xun Cao. FINER: Flexible spectral-bias tuning in implicit neural representation by variable-periodic activation functions. In Proc. Comput. Vis. Pattern Recognit. (CVPR), pages 2713–2722, 2024. 2
[16] Yuzhe Lu, Kairong Jiang, Joshua A Levine, and Matthew Berger. Compressive neural representations of volumetric scalar fields. Computer Graphics Forum, 40(3):135–146, 2021. 3, 6, 11
[17] Paulius Micikevicius, Sharan Narang, Jonah Alben, Gregory Diamos, Erich Elsen, David Garcia, Boris Ginsburg, Michael Houston, Oleksii Kuchaiev, Ganesh Venkatesh, et al. Mixed precision training. In Proc. of Int'l Conf. on Learning Representations, 2017. 5
[18] Ben Mildenhall, Pratul P Srinivasan, Matthew Tancik, Jonathan T Barron, Ravi Ramamoorthi, and Ren Ng. NeRF: Representing scenes as neural radiance fields for view synthesis. Communications of the ACM, 65(1):99–106, 2021. 2
[19] Philipp Muigg, Markus Hadwiger, Helmut Doleisch, and Helwig Hauser. Scalable hybrid unstructured and structured grid raycasting. IEEE Trans. on Visualization and Computer Graphics (TVCG), 13(6):1592–1599, 2007. 1
[20] Thomas Müller, Alex Evans, Christoph Schied, and Alexander Keller. Instant neural graphics primitives with a multiresolution hash encoding. ACM Transactions on Graphics, 41(4):102:1–102:15, 2022. 2, 6, 11
[21] Namuk Park and Songkuk Kim. How do vision transformers work? In Proc. of Int'l Conf. on Learning Representations, 2022. 4, 7, 12
[22] Reza Rezaeian, Moein Heidari, Reza Azad, Dorit Merhof, Hamid Soltanian-Zadeh, and Ilker Hacihaliloglu. SL A-INR: Single-layer learnable activation for implicit neural representation. In Proc. of Int'l Conf. on Comput. Vis. (ICCV), pages 26065–26074, 2025. 2, 6, 11
[23] Vishwanath Saragadam, Jasper Tan, Guha Balakrishnan, Richard G Baraniuk, and Ashok Veeraraghavan. MINER: Multiscale implicit neural representation. In Proc. of European Conf. on Computer Vision (ECCV), pages 318–333, 2022. 2
[24] Vishwanath Saragadam, Daniel LeJeune, Jasper Tan, Guha Balakrishnan, Ashok Veeraraghavan, and Richard G Baraniuk. WIRE: Wavelet implicit neural representations. In Proc. Comput. Vis. Pattern Recognit. (CVPR), pages 18507–18516, 2023. 2, 6, 11
[25] Han-Wei Shen. Visualization of large scale time-varying scientific data. Journal of Physics: Conference Series, 46(1): 535, 2006. 1
[26] Kexuan Shi, Xingyu Zhou, and Shuhang Gu. Improved implicit neural representation with fourier reparameterized training. In Proc. Comput. Vis. Pattern Recognit. (CVPR), pages 25985–25994, 2024. 2
[27] Vincent Sitzmann, Julien Martel, Alexander Bergman, David Lindell, and Gordon Wetzstein. Implicit neural representations with periodic activation functions. In Adv. Neural Inf. Process. Syst. (NeurIPS), pages 7462–7473, 2020. 2, 3, 6, 11
[28] Hyunsoo Son, Jeonghyun Noh, Suemin Jeon, Chaoli Wang, and Won-Ki Jeong. MC-INR: Efficient encoding of multivariate scientific simulation data using meta-learning and clustered implicit neural representations. In Proc. IEEE Conf. Vis. Visual Anal. (VIS) (Short), pages 206–210, 2025. 1, 2, 3, 4, 6, 11
[29] Trevor Standley, Amir Zamir, Dawn Chen, Leonidas Guibas, Jitendra Malik, and Silvio Savarese. Which tasks should be learned together in multi-task learning? In Proc. of Int'l Conf. on Machine Learning (ICML), 2020. 2, 3
[30] Matthew Tancik, Pratul Srinivasan, Ben Mildenhall, Sara Fridovich-Keil, Nithin Raghavan, Utkarsh Singhal, Ravi Ramamoorthi, Jonathan Barron, and Ren Ng. Fourier features let networks learn high frequency functions in low dimensional domains. In Adv. Neural Inf. Process. Syst. (NeurIPS), pages 7537–7547, 2020. 2
[31] Kaiyuan Tang and Chaoli Wang. ECNR: Efficient compressive neural representation of time-varying volumetric datasets. In Proceedings of IEEE Pacific Visualization Conference, pages 72–81, 2024. 2, 3, 11
[32] Kaiyuan Tang and Chaoli Wang. STSR-INR: Spatiotemporal super-resolution for multivariate time-varying volumetric data via implicit neural representation. Computers & Graphics, 119:103874, 2024. 3
[33] Junpeng Wang, Subhashis Hazarika, Cheng Li, and Han-Wei Shen. Visualization and visual analysis of ensemble data: A survey. IEEE Trans. on Visualization and Computer Graphics (TVCG), 25(9):2853–2872, 2018. 1
[34] Peihao Wang, Wenqing Zheng, Tianlong Chen, and Zhangyang Wang. Anti-oversmoothing in deep vision transformers via the fourier domain analysis: From theory to practice. In Proc. of Int'l Conf. on Learning Representations, 2022. 4, 7, 12
[35] Sebastian Weiss, Philipp Hermüller, and Rüdiger Westermann. Fast neural representations for direct volume render-
ing. Computer Graphics Forum, 41(6):196–211, 2022. 2, 3, 6, 11
[36] Daniel Whalen and Michael L Norman. Ionization front instabilities in primordial H II regions. The Astrophysical Journal, 673(2):664–675, 2008. 5, 6, 14, 15, 16
[37] Qi Wu, David Bauer, Michael J. Doyle, and Kwan-Liu Ma. Interactive volume visualization via multi-resolution hash encoding based neural representation. IEEE Trans. on Visualization and Computer Graphics (TVCG), 30(8):5404–5418, 2024. 2, 3
[38] Qi Wu, Joseph A Insley, Victor A Mateevitsi, Silvio Rizzi, Michael E Papka, and Kwan-Liu Ma. Distributed neural representation for reactive in situ visualization. IEEE Trans. on Visualization and Computer Graphics (TVCG), 31(9):5199–5214, 2024. 3
[39] Skylar W Wurster, Tianyu Xiong, Han-Wei Shen, Hanqi Guo, and Tom Peterka. Adaptively placed multi-grid scene representation networks for large-scale data visualization. IEEE Trans. on Visualization and Computer Graphics (TVCG), 30(1):965–974, 2023. 2, 3, 4, 6, 11
[40] Tianyu Xiong, Skylar W Wurster, Hanqi Guo, Tom Peterka, and Han-Wei Shen. Regularized multi-decoder ensemble for an error-aware scene representation network. IEEE Trans. on Visualization and Computer Graphics (TVCG), 31(1):645–655, 2024. 11
[41] Maizhe Yang, Kaiyuan Tang, and Chaoli Wang. Meta-INR: Efficient encoding of volumetric data via meta-learning implicit neural representation. In Proceedings of IEEE Pacific Visualization Conference, pages 246–251, 2025. 3
[42] Hongfeng Yu, Chaoli Wang, Ray W Grout, Jacqueline H Chen, and Kwan-Liu Ma. In situ visualization for large-scale combustion simulations. IEEE Computer Graphics and Applications, 30(3):45–57, 2010. 1
[43] Tianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine, Karol Hausman, and Chelsea Finn. Gradient surgery for multi-task learning. In Adv. Neural Inf. Process. Syst. (NeurIPS), 2020. 2, 3
[44] Yi Zhang, Xiaoyang Huang, Bingbing Ni, Teng Li, and Wenjun Zhang. Frequency-modulated point cloud rendering with easy editing. In Proc. Comput. Vis. Pattern Recognit. (CVPR), pages 119–129, 2023. 2, 3, 6, 11
Appendix
In this appendix, we present additional implementation details, results at matched PSNR, an extended discussion of the low-pass filter of attention and hot corner cases, path-switching results, training-time comparisons, additional results for 16-bit quantization, and CR-PSNR curves.
A. Additional Implementation Details
Table 6. Structural comparison of mainstream INR-based and traditional compressors. Multi.: native multivariate, Grid-agn.: grid-agnostic, No-Interf: interference-free, Corr.: explicit correlation, Impl.: implementation.
| Methods | Multi. | Grid-agn. | No-Interf. | Corr. | Impl. |
|---|---|---|---|---|---|
| ZFP [14] | Yes | No | Yes | No | Official |
| TTHRESH [1] | Yes | No | Yes | No | Official |
| SZ3 [12] | Yes | Yes | No | No | Official |
| SIREN [27] | No | Yes | No | No | Official |
| NeurComp [16] | No | No | No | No | Official |
| CoordNet [6] | No | Yes | No | No | Official |
| Instant-NGP [20] | No | Yes | No | No | Official |
| fV-SRN [35] | No | Yes | No | No | Official |
| WIRE [24] | No | Yes | No | No | Official |
| AFNet [44] | No | Yes | No | No | Official |
| ECNR [31] | No | No | No | No | None |
| KD-INR [8] | No | Yes | No | No | None |
| APMGSRN [39] | No | Yes | No | No | Official |
| RMDSRN [40] | No | No | No | No | None |
| SL²A-INR [22] | No | Yes | No | No | Official |
| DC-INR [7] | No | No | No | No | None |
| MC-INR [28] | Yes | Yes | Yes | No | Official |
| MoE-INR [9] | No | Yes | No | No | None |
| Ours (SWAP-INR) | Yes | Yes | Yes | Yes | — |
Table 6 summarizes the structural properties of mainstream INR-based and traditional compressors along four axes central to multivariate scientific data: native multivariate support (Multi.), grid-agnostic operation (Grid-agn.), interference-free representation (No-Interf.), and explicit cross-variable correlation (Corr.). Conventional lossy compressors (ZFP, TTHRESH, SZ3) handle multiple variables but are tied to discrete grids and cannot model cross-variable correlations. Most INR-based methods, in contrast, target single-variable fields; even those supporting multiple variables either share parameters across them, incurring feature interference, or isolate them entirely, discarding correlations. As the table shows, no existing method satisfies all four properties at once, whereas SWAP-INR is the only one to do so, directly reflecting our design goals.
For evaluation, we use the official source code for every method that provides it and exclude those without a public implementation, adapting several baselines to our setting. Specifically, the gradient-based regularization of NeurComp is modified to operate on unstructured data, and since the ZFP and TTHRESH require structured grids, we convert the unstructured datasets accordingly.
B. Results at matched PSNR
Table 7. Quantitative comparison of compression results with conventional lossy compressors at matched PSNR levels. The ‡ is grid-dependent methods evaluated by converting the unstructured to structured grids.
| Dataset | Method | PSNR | CR↑ | Size(KB)↓ |
|---|---|---|---|---|
| ROCOM | SZ3 | 47.41 | 14 | 141,163 |
| ZFP‡ | 11 | 171,308 | ||
| TTHRESH‡ | 169 | 11,510 | ||
| Ours | 3,351 | 580 | ||
| CUPID | SZ3 | 50.29 | 26 | 63,001 |
| ZFP‡ | 15 | 108,906 | ||
| TTHRESH‡ | 212 | 7,783 | ||
| Ours | 2,634 | 626 | ||
| Synthetic | SZ3 | 75.00 | 39 | 63,298 |
| ZFP‡ | 20 | 124,080 | ||
| TTHRESH‡ | 18,799 | 131 | ||
| Ours | 7,868 | 313 | ||
| SMR Simulation | SZ3 | 38.17 | 36 | 9,114 |
| ZFP | 13 | 24,584 | ||
| TTHRESH | 18 | 18,701 | ||
| Ours | 667 | 491 | ||
| Combustion | SZ3 | 31.17 | 44 | 5,799 |
| ZFP | 34 | 7,420 | ||
| TTHRESH | 72 | 3,492 | ||
| Ours | 997 | 254 | ||
| Ionization | SZ3 | 50.25 | 102 | 4,410 |
| ZFP | 9 | 51,996 | ||
| TTHRESH | 258 | 1,748 | ||
| Ours | 2,011 | 224 |
Comparison at matched PSNR. Table 7 evaluates our method against conventional lossy compressors at matched PSNR. Since ZFP and TTHRESH operate exclusively on structured grids, we convert the ROCOM [3], CUPID, and Synthetic datasets into structured formats for fair evaluation. SWAP-INR achieves substantially higher CR and smaller model size on most datasets, indicating that our continuous representation with targeted pruning and quantization is more compact than conventional methods. One exception is the Synthetic dataset, where TTHRESH yields a higher CR due to a localized high-intensity region (the hot corner phenomenon), detailed in Appendix C. SWAP-INR maintains its practical superiority across all other datasets.
Visualization at matched PSNR Fig. 5 compares SWAP-INR with conventional lossy compressors. We evaluate only the structured datasets, as converting unstructured data into regular volumes introduces resampling artifacts that confound visual comparison. Although all methods are constrained to the same PSNR, the lossy compressors exhibit pronounced noise and visual artifacts. SWAP-INR instead suppresses noise and favors smooth reconstructions via learning-based continuous INRs and a cross-variable attention layer, yielding the highest visual fidelity, particularly valuable in scientific visualization. Together with the smaller memory budget in Tab. 7, these results demonstrate the quantitative and qualitative superiority of SWAP-INR.

Figure 5. Visualization of volume at matched PSNR. The volume is reconstructed for a specific snapshot (time and variable). The green and orange boxes, along with their zoomed-in highlight regions, where SWAP-INR excels at compression quality.
C. Discussion
Combustion: low-pass filter of attention. On Combustion, SWAP-INR yields an overall PSNR 1.05 dB below NeurComp. This gap originates from the attention operation, which aggregates features as a weighted average and thus acts as a low-pass filter, smoothing sharp structures while suppressing noise [21, 34]. As shown in Fig. 6 (top), variables on the attention path exhibit slight blurring but fewer structural artifacts than NeurComp. Conversely, variables on the non-attention path (bottom) avoid the low-pass effect of attention and, aided by A²-SIREN, preserve high-frequency detail, surpassing NeurComp by 0.14 dB. Crucially, this lower PSNR is not a failure but a design choice: SWAP-INR routes each variable to balance fidelity against sharpness, trading a marginal PSNR drop for robust reconstructions suited to scientific visualization.
Ionization: the dual benefit of attention. On Ionization, SWAP-INR is 0.37 dB below AFNet in PSNR, yet the two differ in visual quality. As shown in Fig. 7, the attention path offers two complementary benefits depending on each variable's role. The top row shows that AFNet introduces noticeable structural artifacts throughout the volume, whereas the low-pass nature of attention suppresses them, yielding clean, artifact-free reconstructions. The bottom row shows that attention introduces slight blur-
ring as a weighted average, yet recovers the underlying structure more faithfully than AFNet by exploiting cross-variable correlation. Across both regimes, the attention path thus suppresses artifacts while preserving physical structure, precisely the reliability demanded by scientific visualization, where such artifacts can mislead downstream analysis. SWAP-INR therefore turns a marginal PSNR gap into a tangible gain in visual fidelity, underscoring that numerical scores alone do not capture reconstruction quality.
Synthetic: the hot corner phenomenon. On Synthetic, TTHRESH attains a higher compression ratio than SWAP-INR, the only dataset where a conventional compressor surpasses our method (Table 7). As visualized in Fig. 8, this stems from the hot corner phenomenon: under HOSVD, the structural energy of the core tensor concentrates almost entirely in a single corner, leaving the remainder near zero. Such extreme, localized sparsity is the ideal regime for transform-based compressors, as TTHRESH directly discards the resulting zero coefficients. Coordinate-based INRs, by contrast, distribute capacity smoothly over the domain and cannot concentrate it so asymmetrically, a manifestation of their well-known spatial-spectral bias. We regard this as a boundary condition specific to such degenerate distributions rather than a general limitation, where SWAP-INR otherwise consistently outperforms.

Figure 6. Comparison with NeurComp on the Combustion dataset. (Top) The variable: Reconstructions via the attention path. While our method exhibits slight blurring and a lower PSNR due to the weighted averaging effect, it significantly suppresses structural artifacts. (Bottom) The variable: Reconstructions via the non-attention path. Here, our method outperforms NeurComp by 0.14 dB, better capturing high-frequency details. Red boxes indicate zoomed-in regions highlighting these improvements.
D. Training time
Table 8 compares the per-epoch time (sec), the total training time (hr), and the full-volume inference time across all datasets, where every model is trained until convergence (no loss improvement over 20 consecutive epochs). Despite its cross-variable attention layer and adaptive frequency modulation, SWAP-INR maintains efficient per-epoch computation, comparable to lightweight baselines such as SIREN, NeurComp, and CoordNet. Total training time instead depends on how long each model keeps improving before convergence. Note that fV-SRN and APMGSRN cannot handle time-varying data; they train a separate model per time step, inflating their totals. SWAP-INR, by comparison, converges quickly and stays among the most efficient on all datasets except Combustion. There, the loss drops sharply to about by the 20-hour mark and then declines marginally to near 50 hours, reflecting continued refinement of fine details rather than wasted computation.
SWAP-INR's inference time is on par with lightweight baselines such as SIREN, NeurComp, and CoordNet, and faster than per-timestep methods (fV-SRN, APMGSRN) that decode each step separately. It matches these baselines because pruning removes the inactive path for each variable, so only a single path is evaluated at inference, keeping the per-query cost close to a standard coordinate-

Figure 7. Comparison with AFNet on the Ionization dataset. (Top) The variable: AFNet introduces noticeable noise across the volume, whereas the low-pass nature of attention suppresses this noise, yielding clean, artifact-free reconstructions. (Bottom) The variable, which benefits from cross-variable correlation, although attention induces slight blurring, ours reconstructs the underlying structure more faithfully than AFNet. Red boxes indicate zoomed-in regions highlighting these improvements.

Figure 8. Visualization of the HOSVD core tensor for the Synthetic dataset, demonstrating the hot corner phenomenon. Across all variables, the colormap represents the normalized structural weight of the tensor entries. blue: discardable background noise, red: core structural components.
based network. Crucially, SWAP-INR achieves the best compression-fidelity trade-off, attaining the highest PSNR at matched CR among methods of similar speed.
Table 8. Comparison of training and inference times across datasets. (sec) and (hr) denote the time per epoch and total training time, respectively, and Inf. (sec) denotes the full-volume inference time.
| Dataset | Method | (sec) | (hr) | Inf. (sec) | Dataset | Method | (sec) | (hr) | Inf. (sec) | Dataset | Method | (sec) | (hr) | Inf. (sec) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ROCOM | SIREN | 216 | 36.2 | 177 | CUPID | SIREN | 140 | 4.7 | 136 | Synthetic | SIREN | 600 | 20.3 | 483 |
| NeurComp | 223 | 13.8 | 176 | NeurComp | 138 | 7.0 | 109 | NeurComp | 533 | 26.5 | 466 | |||
| CoordNet | 227 | 45.4 | 182 | CoordNet | 134 | 15.3 | 150 | CoordNet | 686 | 31.5 | 494 | |||
| Instant-NGP | 199 | 137.6 | 205 | Instant-NGP | 133 | 85.1 | 124 | Instant-NGP | 524 | 185.5 | 494 | |||
| fv-SRN | 230 | 132.7 | 200 | fv-SRN | 240 | 109.7 | 210 | fv-SRN | 600 | 338.3 | 656 | |||
| WIRE | 246 | 8.2 | 198 | WIRE | 132 | 6.7 | 142 | WIRE | 598 | 19.9 | 542 | |||
| APMGSRN | 210 | 128.7 | 197 | APMGSRN | 180 | 113.3 | 209 | APMGSRN | 630 | 346.1 | 654 | |||
| AFNet | 226 | 125.6 | 178 | AFNet | 126 | 58.0 | 137 | AFNet | 593 | 137.8 | 481 | |||
| SL²A-INR | 225 | 125.0 | 179 | SL²A-INR | 134 | 74.4 | 145 | SL²A-INR | 547 | 158.3 | 464 | |||
| MC-INR | 618 | 53.2 | 202 | MC-INR | 301 | 38.5 | 282 | MC-INR | 726 | 170.6 | 641 | |||
| Ours | 210 | 33.4 | 193 | Ours | 136 | 9.5 | 132 | Ours | 517 | 34.0 | 483 | |||
| SMR Simulation | SIREN | 39 | 2.3 | 37 | Combustion | SIREN | 59 | 11.8 | 51 | Ionization | SIREN | 92 | 5.6 | 82 |
| NeurComp | 96 | 19.8 | 40 | NeurComp | 61 | 11.8 | 49 | NeurComp | 110 | 6.0 | 87 | |||
| CoordNet | 41 | 3.4 | 32 | CoordNet | 63 | 12.9 | 48 | CoordNet | 101 | 5.2 | 81 | |||
| Instant-NGP | 35 | 19.4 | 36 | Instant-NGP | 61 | 33.2 | 53 | Instant-NGP | 95 | 58.3 | 93 | |||
| fv-SRN | 60 | 28.9 | 61 | fv-SRN | 75 | 44.7 | 144 | fv-SRN | 150 | 85.1 | 263 | |||
| WIRE | 39 | 5.0 | 33 | WIRE | 62 | 6.1 | 47 | WIRE | 103 | 5.9 | 90 | |||
| APMGSRN | 50 | 28.0 | 64 | APMGSRN | 75 | 44.6 | 130 | APMGSRN | 150 | 93.1 | 265 | |||
| AFNet | 36 | 28.8 | 32 | AFNet | 57 | 31.6 | 52 | AFNet | 106 | 54.7 | 94 | |||
| SL²A-INR | 39 | 12.2 | 32 | SL²A-INR | 63 | 35.0 | 46 | SL²A-INR | 107 | 48.2 | 83 | |||
| MC-INR | 58 | 4.6 | 59 | MC-INR | 154 | 19.4 | 44 | MC-INR | 142 | 11.2 | 79 | |||
| Ours | 42 | 4.4 | 39 | Ours | 56 | 49.3 | 56 | Ours | 98 | 6.8 | 88 |
E. Path Switching Results
Tables 9 through 14 report the path-switching results for all six datasets: ROCOM [3], CUPID, Synthetic, SMR Simulation, Combustion [10], and Ionization [36]. For each dataset, we list the path selected for every variable along with its reconstruction PSNR. The routing is determined entirely by the deterministic, loss-driven criterion, without any hand-specified correlation structure or manual tuning. The resulting assignments are non-trivial and dataset-dependent: rather than collapsing to a single path, variables split between the attention and non-attention paths in proportions that vary across datasets. Critically, this routing is not merely descriptive but functionally validated. The SWAP module ablation shows that enabling switching consistently improves reconstruction fidelity. This confirms that the selected assignments measurably reduce error rather than emerging incidentally during training.
E.1. ROCOM
Table 9 presents ROCOM results. The cboron, rhol, vl₀,₁,₂, mutl, and yplus are routed to the attention path, while p is routed to the non-attention path.
Table 9. Path switching results for the ROCOM dataset [3].
| Variables | PSNR↑ | ||
|---|---|---|---|
| cboron (Concentration of Boron) | ✓ | 67.12 | |
| mutl (Turbulent viscosity) | ✓ | 32.64 | |
| p (Pressure) | ✓ | 53.35 | |
| rhol (Density of liquid) | ✓ | 53.40 | |
| vl₀ (Liquid velocity vector) | ✓ | 43.14 | |
| vl₁ (Liquid velocity vector) | ✓ | 46.65 | |
| vl₂ (Liquid velocity vector) | ✓ | 45.34 | |
| yplus (Non-dimensional wall distance) | ✓ | 37.67 |
E.2. CUPID
Table 10 presents CUPID results. The qvol_mas, tl, vl₀,₁,₂, and twall_rv1 ~ 5 are routed to the attention path, while p is routed to the non-attention path.
Table 10. Path switching results for the CUPID dataset.
| Variables | PSNR↑ | ||
|---|---|---|---|
| p (Pressure) | ✓ | 50.37 | |
| qvol_mas (Axial core power) | ✓ | 45.39 | |
| tl (Temperature of liquid) | ✓ | 45.28 | |
| twall_rv1 (User-defined) | ✓ | 52.76 | |
| twall_rv2 (User-defined) | ✓ | 45.74 | |
| twall_rv3 (User-defined) | ✓ | 60.48 | |
| twall_rv4 (User-defined) | ✓ | 52.03 | |
| twall_rv5 (User-defined) | ✓ | 50.19 | |
| vl₀ (Liquid velocity vector) | ✓ | 52.95 | |
| vl₁ (Liquid velocity vector) | ✓ | 54.00 | |
| vl₂ (Liquid velocity vector) | ✓ | 43.96 |
E.3. Synthetic
Table 11 presents Synthetic results. All four variables (, , , ) are routed to the attention path, with no variable assigned to the non-attention path.
Table 11. Path switching results for the Synthetic dataset.
| Variables | PSNR↑ | ||
|---|---|---|---|
| (Dissipation rate of turbulence) | ✓ | 79.58 | |
| (Turbulent kinetic energy) | ✓ | 75.10 | |
| (Turbulent viscosity) | ✓ | 68.70 | |
| p (Pressure) | ✓ | 76.60 |

Figure 9. Visual comparison of ground truth data (top row) with model reconstructions using 32-bit (middle row) and quantized 16-bit weights (bottom row). The volume is rendered for a specific snapshot (time and variable).
E.4. SMR Simulation
Table 12 presents SMR Simulation results. The , and are routed to the attention path, while , and are routed to the non-attention path.
Table 12. Path switching results for the SMR Simulation dataset.
| Variables | Path | Path | PSNR |
|---|---|---|---|
| (Vortex identifier) | ✓ | 48.36 | |
| (Pressure) | ✓ | 47.90 | |
| (Velocity components) | ✓ | 32.62 | |
| (Velocity components) | ✓ | 31.11 | |
| (Velocity component) | ✓ | 32.22 | |
| (Vorticity components) | ✓ | 37.01 | |
| (Vorticity components) | ✓ | 37.45 | |
| (Vorticity component) | ✓ | 38.68 |
E.5. Combustion
Table 13 presents Combustion results. The reactive scalars () are routed to the attention path, while is routed to the non-attention path.
Table 13. Path switching results for the Combustion dataset [10].
| Variables | Path | Path | PSNR |
|---|---|---|---|
| (Heat release rate) | ✓ | 30.80 | |
| (Mixture fraction) | ✓ | 30.35 | |
| (Vorticity) | ✓ | 32.80 | |
| (OH mass fraction) | ✓ | 30.74 |
E.6. Ionization
Table 14 presents Ionization results. All four variables (, , , ) are routed to the attention path, with no variable assigned to the non-attention path.
Table 14. Path switching results for the Ionization dataset [36].
| Variables | Path | Path | PSNR |
|---|---|---|---|
| (Molecular hydrogen) | ✓ | 52.97 | |
| (Ionized hydrogen) | ✓ | 48.21 | |
| (Neutral helium) | ✓ | 46.80 | |
| (Photon/Particle density) | ✓ | 53.02 |
F. Quantization
We further analyze the effect of 16-bit quantization. Figure 9 compares the 32-bit and 16-bit reconstructions of SWAP-INR across all six datasets. The two are visually indistinguishable, confirming that half-precision conversion preserves fine physical details while roughly halving the model size, directly enabling the compression gains reported throughout the paper. This resilience reflects a known property of coordinate-based neural representations, which are largely robust to reduced precision.
To verify that SWAP-INR’s advantage stems from its representation rather than from quantization alone, Tab. 15 applies the same 16-bit conversion to all competing methods, placing every baseline on equal footing at matched CR. Note that WIRE is excluded, as its complex-valued Gabor-wavelet activations are incompatible with real-valued 16-bit conversion. Even under this uniform 16-bit setting, SWAP-INR achieves SOTA performance on the SMR datasets (ROCOM [3], CUPID, Synthetic, and SMR Simulation) and remains competitive on the public datasets (Combustion [10] and Ionization [36]) at matched CR. This confirms that the advantage of SWAP-INR is intrinsic to its architectural design rather than to numerical precision, persisting even when every competing baseline benefits equally from the same quantization.
Table 15. Quantitative comparison with all methods under 16-bit quantization.
| Dataset | Method | PSNR | NRMSE | CR | Size(KB) | Dataset | Method | PSNR | NRMSE | CR | Size(KB) | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ROCOM | SIREN | 42.84 | 0.0105 | 0.9417 | 3,345 | 581 | CUPID | SIREN | 23.62 | 0.0098 | 0.6511 | 2,622 | 629 |
| NeurComp | 42.59 | 0.0105 | 0.9399 | 3,328 | 584 | NeurComp | 23.15 | 0.1163 | 0.6457 | 2,630 | 627 | ||
| CoordNet | 42.88 | 0.0108 | 0.9382 | 3,323 | 585 | CoordNet | 22.19 | 0.0164 | 0.6110 | 2,626 | 628 | ||
| Instant-NGP | 32.49 | 0.0266 | 0.5243 | 3,351 | 580 | Instant-NGP | 19.98 | 0.1759 | 0.4335 | 2,561 | 644 | ||
| fV-SRN | 41.45 | 0.0112 | 0.9145 | 3,351 | 580 | fV-SRN | 21.52 | 0.1616 | 0.4151 | 2,618 | 630 | ||
| WIRE | - | - | - | - | - | WIRE | - | - | - | - | - | ||
| AFNet | 44.98 | 0.0087 | 0.9545 | 3,351 | 580 | AFNet | 49.95 | 0.0036 | 0.9779 | 2,622 | 629 | ||
| APMGSRN | 39.27 | 0.0161 | 0.8844 | 3,351 | 580 | APMGSRN | 20.20 | 0.1723 | 0.2197 | 2,618 | 630 | ||
| SL A-INR | 41.33 | 0.0123 | 0.9254 | 3,328 | 584 | SL A-INR | 22.45 | 0.1186 | 0.5282 | 2,622 | 629 | ||
| MC-INR | 39.78 | 0.0168 | 0.8360 | 3,328 | 584 | MC-INR | 46.14 | 0.0078 | 0.9647 | 2,626 | 628 | ||
| Ours | 47.41 | 0.0073 | 0.9782 | 3,351 | 580 | Ours | 50.29 | 0.0035 | 0.9904 | 2,634 | 626 | ||
| Synthetic | SIREN | 65.11 | 0.0007 | 0.8558 | 7,818 | 315 | SMR Simulation | SIREN | 34.21 | 0.0248 | 0.3192 | 667 | 491 |
| NeurComp | 68.06 | 0.0004 | 0.7237 | 7,769 | 317 | NeurComp | 33.36 | 0.0287 | 0.2119 | 666 | 492 | ||
| CoordNet | 63.73 | 0.0011 | 0.9731 | 7,868 | 313 | CoordNet | 34.14 | 0.0259 | 0.3427 | 658 | 498 | ||
| Instant-NGP | 35.22 | 0.0772 | 0.0514 | 7,601 | 324 | Instant-NGP | 30.27 | 0.0811 | 0.0565 | 635 | 516 | ||
| fV-SRN | 66.68 | 0.0005 | 0.8526 | 7,463 | 330 | fV-SRN | 30.61 | 0.0359 | -2.7409 | 655 | 500 | ||
| WIRE | - | - | - | - | - | WIRE | - | - | - | - | - | ||
| AFNet | 71.69 | 0.0003 | 0.9379 | 7,793 | 316 | AFNet | 36.24 | 0.0178 | 0.3907 | 667 | 491 | ||
| APMGSRN | 64.46 | 0.0007 | 0.8124 | 7,463 | 330 | APMGSRN | 30.90 | 0.0512 | -0.3559 | 655 | 500 | ||
| SL A-INR | 41.41 | 0.0086 | -121.0300 | 7,843 | 314 | SL A-INR | 31.58 | 0.0354 | -1.2366 | 665 | 493 | ||
| MC-INR | 65.03 | 0.0007 | 0.9507 | 7,696 | 320 | MC-INR | 34.03 | 0.0250 | 0.2843 | 650 | 504 | ||
| Ours | 75.00 | 0.0002 | 0.9736 | 7,868 | 313 | Ours | 38.17 | 0.0153 | 0.4494 | 667 | 491 | ||
| Combustion | SIREN | 31.06 | 0.0281 | 0.9057 | 989 | 256 | Ionization | SIREN | 38.34 | 0.0162 | 0.9402 | 2,011 | 224 |
| NeurComp | 32.86 | 0.0227 | 0.9197 | 997 | 254 | NeurComp | 39.87 | 0.0129 | 0.9526 | 2,011 | 224 | ||
| CoordNet | 30.74 | 0.0292 | 0.9030 | 985 | 257 | CoordNet | 32.75 | 0.0321 | 0.8128 | 1,993 | 226 | ||
| Instant-NGP | 21.03 | 0.1009 | 0.4953 | 977 | 259 | Instant-NGP | 22.47 | 0.1767 | 0.2545 | 1,984 | 227 | ||
| fV-SRN | 24.91 | 0.0607 | 0.7590 | 920 | 275 | fV-SRN | 26.48 | 0.0657 | 0.2457 | 1,802 | 250 | ||
| WIRE | - | - | - | - | - | WIRE | - | - | - | - | - | ||
| AFNet | 31.03 | 0.0282 | 0.9022 | 993 | 255 | AFNet | 48.64 | 0.0044 | 0.9916 | 1,984 | 227 | ||
| APMGSRN | 22.67 | 0.0808 | 0.6272 | 920 | 275 | APMGSRN | 19.77 | 0.1306 | -3.8897 | 1,802 | 250 | ||
| SL A-INR | 24.21 | 0.0669 | 0.7251 | 997 | 254 | SL A-INR | 33.50 | 0.0277 | 0.8109 | 1,984 | 227 | ||
| MC-INR | 17.46 | 0.1592 | -0.1311 | 989 | 256 | MC-INR | 21.44 | 0.1443 | -0.4746 | 1,942 | 232 | ||
| Ours | 31.17 | 0.0278 | 0.9116 | 997 | 254 | Ours | 50.25 | 0.0032 | 0.9905 | 2,011 | 224 |

Figure 10. PSNR graph across various CRs for SIREN, CoordNet, WIRE, and Ours on ROCOM, SMR Simulation, and Ionization.
G. PSNR Results under Various CR
Figure 10 illustrates how PSNR changes as the CR increases for SIREN, CoordNet, WIRE, and our proposed SWAP-INR across three datasets. Across all evaluations, SWAP-INR consistently and significantly outperforms the baselines at every compression level, while WIRE remains the weakest throughout, reflecting the difficulty its wavelet activations face in these scientific fields. Beyond this overall margin, the trends reveal distinct behaviors per dataset. On ROCOM [3], SWAP-INR is remarkably stable, holding a peak PSNR near 48 dB; although it degrades slightly beyond CR > 3200, it still retains a wide fidelity margin over the baselines. On SMR Simulation, SWAP-INR is notably robust to increasing compression: rather than the steady decline expected at higher CR, its PSNR stays essentially flat, indicating that our targeted pruning removes redundant parameters with little impact on the retained representation. On Ionization [36], PSNR even rises slightly beyond CR ≈ 2000, showing that SWAP-INR sustains, and can modestly improve, fidelity under aggressive compression. This stability is the key practical advantage of SWAP-INR: it sustains high-fidelity reconstruction even under aggressive compression, where baseline methods either degrade or plateau at substantially lower quality. Together, these results establish that SWAP-INR achieves extreme compression while preserving the fidelity of complex physical fields.