- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper proposes a principled framework for combining adaptive mesh refinements with the tokenization of ViTs. The proposed mesh refinement strategy is based on balanced quadtrees and a wavelet-inspired refinement criterion. The authors compare their model, WAMRViT, on three relevant PDE learning tasks. As baselines, they consider hierarchical shifted-window transformers and standard ViTs operating with different token counts. WAMRViT achieves superior accuracy on all tasks on the finest patchification level while having a lower token count than ViTs.
Strengths and weaknesses
Strengths:
- Polished paper with comprehensive literature review, high technical knowledge and good presentation.
- The authors consider three very suited experiment setups, compare to relevant baselines and show a high level of transparency. I especially appreciate the experiments on the native AMR data.
- Adaptive mesh refinements and tokenizations are a very intuitive direction to improve transformer-based PDE modeling.
Weaknesses:
- There are several similar approaches for ViTs and adaptive tokenizations. While I think this paper proposes one of the best strategies for refinements and has the most comprehensive treatment, experiments and a very solid technical implementation, this impacts the novelty of the idea.
- In principle it is not clear why ViTs using patches on the finest scale are not better or on par with WAMRViT, if we ignore additional lower throughput and higher memory due to the increased token count. Indeed, they are better on the full-field VRMSE and only get beaten by WAMRViT on the aggregated finest level. How plausible is it that this is just because they require more training time and are not fully converged?
- A decisive advantage of WAMRViT compared to ViT is that they can potentially achieve a much higher througput due to the reduced token count. However, it seems like the total total inference time (Table 6) of ViT-finest and WAMRViT is almost the same due to the time needed to do the regrid. WAMRViT requires many more hyperparameters that need to be tuned for the specific dataset and the regrid is difficult to implement. Maybe WAMRViT is more competitive to ViT-finest in terms of throughput for 3D data?
- It is not clear to me why we cannot use ViT-finest for the AMR data. Can we not just upsample the lower resolution blocks? WAMRViT is also significantly slower than the baselines here.
- The SwinV2 baseline seems bad compared to the ViTs. I would expect SwinV2 to be comparable or even better than them. While ViT and WAMRViT share the same backbone, SwinV2 does not. Looking at the inference/training time in the appendix, SwinV2 is also noticeably faster for inference. A fairer comparison would use more parameters for SwinV2 to match the memory requirements or throughput of ViT. SwinV2 is a very relevant baseline, as it has a natural way to process multi-scale data, so it's important that the comparison is fair.
- Section 3.5 (and also 3.3/3.4) are a bit difficult to follow due to the high information density and plots interleaved with the text. A lot of ablations and experiments from the appendix are referenced in section 3.5 without fully integrating and discussing them in the main paper.
Questions
- Is it possible that ViT-finest matches the WAMRViT metrics even on the aggregated finest level given enough training compute?
- Could we use ViT-finest for the AMR dataset too if we just upsample to the finest resolution?
- Do you think WAMRViT achieves a higher throughput than ViT-finest on 3D data?
- Can you check that the SwinV2 baseline is tuned correctly and the comparison is fair?
- Why do you use the parallel-layout transformer blocks?
- What are the memory requirements for batch size 1? Would you expect a speedup using a larger batch size but with padding?
- Table 1: why can you not use the multi-scale WAMRViT for the AMR data? The explanation ("full-field training objective requires scattering per-level predictions onto that grid") is not clear to me. Is this really necessary?
- Figure 3: Why not show aggregated full-field RMSE in (c) similar to (a)?
Limitations
Limitations are discussed by the authors. Additionally, the increased compute from the regrid operation should be highlighted, which significantly lowers the throughput at the moment.
Paper formatting concerns
None
Final justification
My main concern about the slow runtime of WAMRViT is resolved. Issues that remain:
- Better SwinV2 comparison with matched runtime/backbone
- Limited novelity regarding adaptive tokenization and AMR primitives for ViTs
- Clarity and writing in Sections 3.3, 3.4 and 3.5
We thank the reviewer for highlighting presentation clarity, end-to-end efficiency, and experimental maturity. We agree that the submission did not explain the method or its practical cost clearly enough. Since submission, we have expanded Table 1 to three training seeds and implemented an array-based regridding backend.
Scope of novelty.
Adaptive tokenization and AMR primitives are not new individually. WAMRViT instead treats topology as evolving surrogate state rather than one-time patch selection. To our knowledge, it is the first AMR-token transformer to perform autoregressive rollout with online regridding, and prior adaptive-token PDE surrogates have not demonstrated five coexisting refinement levels. We establish feasibility for native AMR inputs (AMReX) and sparse uniform-grid data (PLI). Ablations probe level scaling, grid resampling, and push-forward training; to our knowledge, the latter two have not previously been demonstrated for an AMR-token transformer.
Architecture and regridding clarity.
We agree that Sections 2 and 3 obscure the dataflow. The revision will present three stages: (1) convert the input field or native AMR hierarchy into balanced leaves, (2) embed the variable-length tokens and process them with the shared transformer, and (3) decode per-leaf predictions and periodically refine–protect–coarsen during rollout. We will consolidate the repeated rollout description and explain 2:1 balancing in the main text.
End-to-end benefit including regridding.
We agree that forward time alone is insufficient. In the submitted Table 6, serial Python-object reconstruction consumed 51–76% of adaptive inference time. We implemented parallelized array topology operations. Both backends are deterministic, but distinct protection/balancing implementations can select different leaves; we therefore regenerated the evaluation. PLI and TRL use CPU array. For the AMReX workload, moving the full leaf payload between CPU and GPU would be costly, so the revised pipeline transfers only selected detector planes to CPU, computes authoritative topology and compact lineage there, and replays payload operations on CUDA-resident tensors. The benchmark below includes all four regrids in each 20-step rollout.
We assessed topology sensitivity with paired object/array runs. On AMReX, the mesh-dependent metric evaluates a changing per-cell population; multi-scale PLI complements this check by scattering both predictions onto the same dense field. Accuracy rows use seed-matched object and production array/GPU-replay rollouts; the four AMReX rows are three-seed means. RMSE/VRMSE entries are channel means; leaf count diagnoses topology rather than accuracy.
DatasetPLI multi-scaleCheckMean leaves, steps 5–20Step-20 finest RMSEStep-20 finest VRMSEStep-20 full-field RMSEObject (old)50091.382×10102.484×10100.0715Array (new)55791.310×10102.229×10100.0700Difference+11.4−5.2−10.3−2.1The native PLI comparison is array-primary with 28 visible object fallbacks over 3,044 regrids; the production GPU-replay rollout on AMReX has zero fallback. Since this also changes the evaluated cell population, we do not interpret the lower errors as a backend accuracy gain. The complete three-seed array-primary campaign preserves the central conclusion that WAMRViT has substantially lower finest-level error than the feasible regular-grid controls. In the fixed-population PLI check, step-20 full-field RMSE differs by only about 2%. We will replace all rollout-derived tables and figures with regenerated array-primary artifacts; object artifacts remain references.
Times use the canonical seed-42 checkpoint and are means over ten batch-size-one, 20-step rollouts on one H100; ± denotes population standard deviation across those rollouts. Peak memory is the maximum PyTorch-allocated CUDA memory; non-PyTorch CUDA allocations are excluded.
Dataset,(s),(s),(s),(GiB)PLITRLAMReXVarianttregridttotalRegrid shareWAMRViT (uniform)WAMRViT (multi-scale)ViT-finestViT-midSwinV2WAMRViT (uniform)WAMRViT (multi-scale)ViT-finestViT-midSwinV2WAMRViT (uniform)ViT-midSwinV2NˉPeak VRAM3601363389603500896021101915307215363072530361446144tfwd1.4721.6384.8911.3360.4830.7840.7761.1690.5310.4993.1623.5190.8020.1280.287–––0.1580.048–––0.658––1.600±0.3321.925±0.3404.891±0.0091.336±0.0030.483±0.0010.942±0.0960.825±0.1091.169±0.0020.531±0.0030.499±0.0023.820±0.2333.519±0.0060.802±0.0018.014.9–––16.85.9–––17.2––1.981.521.901.391.251.205.2813.60Including regridding, the uniform/multi-scale WAMRViT variants are 3.06×/2.54× faster than ViT-finest on PLI and 1.24×/1.42× faster on TRL. Uniform WAMRViT also uses less peak VRAM than ViT-finest on PLI/TRL. These are batch-one array-primary operating points, not equal-work speedups over historical object artifacts.
On AMReX, uniform WAMRViT does not yield a raw throughput win. In the seed-42 benchmark, its forward pass is faster than ViT-mid, but four regrids increase total time to 3.82 s versus 3.52 s. For context—not as a matched backend-only ratio—the submitted object-backed result was 11.5 s. Separately, three-seed Table 1 shows that WAMRViT has 61% lower first-step finest-level RMSE than ViT-mid. SwinV2 remains the fastest model; WAMRViT trades throughput for accuracy and uses less peak VRAM than SwinV2 on AMReX. Its peak VRAM is higher than ViT-mid because GPU replay temporarily retains the source payload, lineage workspace, gathered tensors, and output.
Baselines and maturity.
Revised Table 1 reports mean and sample SD over seeds 0,1,42 for each evaluated model family. ViT-finest shares WAMRViT's backbone to isolate tokenization; SwinV2 is parameter-matched (292M versus 287M) and uses the same data protocol. We do not claim an exhaustive comparison with every PDE foundation model or Swin configuration.
Revised first-step VRMSE (channel mean; lower is better) from the array-primary rollouts. Entries are mean ± sample SD over seeds 0,1,42. WAMR-U/M denote uniform/multi-scale WAMRViT; ViT-F/M denote finest/mid. Bold/underlined values are best/second-best by mean; IAP* uses a different published protocol and is excluded from ranking.
Dataset/regionPLI, full-fieldPLI, finest (ℓ=3)TRL, full-fieldTRL, finest (ℓ=2)AMReX, finest (ℓ=4)WAMR-U0.0661±0.00172.6839±0.16560.1502±0.00039.0411±0.66552.006E10±9.731E8WAMR-M0.0494±0.00072.7885±0.08760.2506±0.006241.7011±1.7584–ViT-F0.0539±0.00643.4125±0.30470.1490±0.000716.5135±0.3513–ViT-M0.0553±0.00073.3401±0.12130.1629±0.000522.1965±0.33375.807E12±2.665E11SwinV20.1154±0.00067.8615±0.09770.2425±0.0003106.5660±0.07187.543E12±1.808E10IAP*––0.1577∗––The submission explains why ViT-finest is absent from the AMReX evaluation, but the explanation was too easy to miss. Five tokenized levels imply a 4096×24576 level-4 field and 98k tokens, versus 6k for ViT-mid. We will move this hardware/protocol infeasibility into the main comparison.
In summary, the revised implementation reduces regridding to 5.9–17.2% of adaptive inference and establishes end-to-end feasibility under the evaluated batch-one protocol. On PLI, both WAMRViT variants are faster than ViT-finest and have lower finest-level VRMSE. On TRL, both are faster, while only the uniform variant retains the finest-level advantage; the multi-scale variant remains weaker. On AMReX, uniform WAMRViT is 8.6% slower than ViT-mid end to end but has 60.8% lower first-step finest-level RMSE. Important limitations remain: native multi-scale WAMRViT and ViT-finest were not evaluated on AMReX because both require impractical materialization under the current full-field protocol; object and array backends can select different valid topologies under refinement dilation.