REVIEW 4 major objections 9 minor 25 references
PyAWD: A Library for Generating Large Synthetic Datasets of Acoustic Wave Propagation
T0 review · 4 major / 9 minor · reviewed 2026-08-12 · deepseek-v4-flash
Pith's one-line read PyAWD is a Python library for generating large, labeled acoustic-wave datasets for machine learning, with an epicenter-retrieval demonstration from two sensors.
desk verdict PyAWD is a useful, genuinely PyTorch-integrated synthetic wave simulator with real code, but the paper overstates its novelty, validates only in a closed loop, and prints a wave equation with incorrect units that needs checking. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing object is the anisotropic nondispersive acoustic wave equation $$\frac{$d^{2}$u}{$dt^{2}$} = c\,\$nabla^{2}$ u - \$\alpha$\,\frac{du}{dt} + f$$, where $u$ is the displacement field, $c=c(x,y,t)$ is a spatio-temporally varying propagation-speed field, $\alpha$ an attenuation factor, and $f$ an external force. PyAWD discretizes this equation with finite differences and wraps the solver so a user can generate many simulations with different media, sources, and sensor placements; each simulation is returned as a sequence of seismograms recorded by 'interrogators,' the library's abstraction for seismometers. The demonstration's physical bet is that wave self-interference in a heterogeneous medium encodes information about source location, so raw multi-channel seismograms can be fed directly to a regression model.
What would settle it
Train a model on PyAWD acoustic data and test it on real single-station seismograms from a region with a known velocity model; if the model's normalized mean squared error is no better than predicting the training-set mean, the central claim that these synthetic data support useful seismic machine learning is falsified.
Extended reading notes
Core claim
The central claim is that PyAWD is the first library that couples customizable finite-difference simulation of acoustic wave propagation with on-demand generation of ML-ready datasets, and that this is enough to support realistic seismic inverse problems. In the demonstration, the library generates 4096 simulations in a 256×256 discretized Marmousi velocity model, each running 10 seconds with two interrogators recording horizontal and vertical motion at 100 hertz; randomized epicenters make the training set cover only 5.57 percent of possible grid positions. Temporal convolutional networks and Extra Trees both retrieve epicenters with normalized mean squared error well below the constant baseline, and the generated data reveal spatial error patterns and data-budgeting curves. The paper's own caveat is that the wave is acoustic rather than elastic, so the usual P/S arrival-time distance cue is absent from these signals.
Load-bearing premise
The load-bearing premise is that acoustic wave propagation through a prescribed velocity model is an adequate proxy for real seismic ground motion, so that performance measured on simulated data transfers to real seismograms.
Editorial extensions
If this is right
- Any researcher can create arbitrarily large, labeled sets of wave-propagation simulations without deploying physical seismometers, making data-scarce seismic ML problems tractable as a first pass.
- Because the output is a standard tensor-based dataset, synthetic simulations can be streamed on the fly, augmented, shuffled, and batched through existing deep-learning data pipelines.
- In the epicenter demo, two interrogators suffice for a temporal convolutional network to beat simple baselines, suggesting that one- or two-station arrays can carry more location information than classical triangulation assumes.
- The same generator yields learning curves that quantify how many samples, how many sensors, and how much noise the task tolerates—inputs to a data-budgeting decision before field deployment.
- Error heatmaps over all possible source coordinates expose where a model is weakest (near field boundaries), which can guide sensor placement and model improvement.
Reading between the lines
- A natural test the paper does not run is to swap the acoustic solver for an elastic one; because elastic waves carry P/S arrival-time differences, the two-interrogator advantage should reappear or strengthen, and its absence in the acoustic demo could be checked directly.
- The data-budgeting curves would become actionable only after a real-data validation step: compare a model trained on PyAWD data and finetuned on a small real set against one trained on real data alone, which the paper leaves as future work.
- The tool's design implies a benchmark suite: fixed velocity models, source distributions, and interrogator layouts could standardize comparisons of epicenter-location architectures, an extension not proposed in the paper.
- Because the simulator controls the medium exactly, it supports controlled experiments on sensor placement and noise robustness that real deployments cannot provide, and the results of those experiments could inform physical deployment choices.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. This paper presents PyAWD, an open-source Python library that generates synthetic acoustic-wave-propagation datasets for machine learning. The library uses Devito to solve scalar and vectorial acoustic wave equations on two- and three-dimensional heterogeneous media, wraps the outputs as PyTorch datasets, and provides presets (e.g., the Marmousi field) and an interrogator abstraction for emulating seismometers. The authors demonstrate the library on a 2D epicenter-retrieval task with two interrogators, comparing seven ML regressors, and additionally study data budgeting (training-set size, number of interrogators, and input noise). The paper argues that PyAWD fills a gap by producing large, PyTorch-compatible synthetic seismic datasets that can support ML research in seismology.
Significance. If the implementation is correct, PyAWD addresses a real practical gap: few integrated tools generate machine-learning-scale, PyTorch-ready synthetic seismic-like datasets with flexible control over sources, media, and interrogation points. The library is open-source, documented with notebooks, and the epicenter-retrieval demo shows a nontrivial regression problem in which raw 1000-step two-channel seismograms yield NMSE well below the constant baseline. The data-budgeting experiments illustrate a useful application. However, the paper's core validation is closed-loop, and the printed wave equation contains a unit/convention error that must be resolved before the physical-fidelity claims can be accepted. The manuscript is therefore promising but needs substantial revision.
major comments (4)
- [§2, Eq. (1)] The stated units for c are incorrect. The text says 'c describes the wave propagation speed field (a scalar field, in s²/m²)'. For Eq. (1), d²u/dt² = c∇²u, with u in meters and t in seconds, the coefficient c must have units m²/s² if it multiplies ∇²u; if c is intended to be a speed in m/s, the equation should be c²∇²u. The closed-loop experiment in Section 3 cannot detect a wrong but self-consistent convention, because a uniformly scaled speed still produces learnable arrival-time patterns. Please verify that the Devito operator matches the printed formula, correct the equation and/or units, and state explicitly whether the library's 'wave speed' parameter is phase speed or its square.
- [§3.1–§3.3] The validation is entirely closed-loop: the same simulator generates both training and test data, and the test epicenters are drawn from the same distribution as the training epicenters. The statement in §3.1 that the experiment 'assess[es] that PyAWD does not oversimplify reality' is therefore not supported. The reported NMSE measures internal consistency under the simulator's forward model, not agreement with real seismograms or with an independent reference. Please add an external sanity check, for example comparing simulated arrival times with analytic travel times in a homogeneous medium, or comparing against an independent finite-difference/finite-element solver for a heterogeneous model, and report the discrepancy.
- [§3.2, Figure 6] The main accuracy comparison reports that the training/testing procedure was run 10 times, but Figure 6 shows no error bars, confidence intervals, or statistical tests. Without variability information, claims such as 'the Temporal Convolutional Neural Network and the Extra Trees largely outperform the other models' (§4) are not substantiated. Please add error bars or per-repetition scatter points, and ideally a paired significance test across the 10 splits.
- [§2, Eq. (2)] The finite-difference discretization is presented without any discussion of numerical stability (CFL condition), grid dispersion, or boundary conditions. For a dataset-generation library whose outputs are used as ground truth, the absence of a convergence/stability check leaves open the possibility that generated samples contain numerical artifacts. Please report the scheme's order of accuracy, the CFL criterion used by the implementation, and a convergence test on a case with an analytic solution.
minor comments (9)
- [§2, Eq. (1)] Equation (1) uses ordinary derivatives d²u/dt² for what is a partial differential equation; use ∂²u/∂t² and ∂²u/∂x² throughout.
- [§2, text after Eq. (1)] The equation is labeled 'anisotropic' but the coefficient c is a scalar field. Please clarify what anisotropy means in this context, or use the conventional terminology.
- [§2, Eq. (2)] The staggered-grid offsets hx and hy in Eq. (2) are not defined, and the finite-difference stencil is not fully specified. Please provide the explicit stencil or a reference.
- [§3.1] The boundary conditions of the simulations are never stated. Since the epicenter-retrieval motivation relies on wave reflections from heterogeneities, specifying whether boundaries are absorbing or reflecting is essential for reproducibility.
- [§3.2, Figure 6] Figure 6 appears to use a logarithmic vertical axis, but the axis label is not explicit. State the scale explicitly once error bars are added.
- [Abstract] The claim that 'no tool allows the generation of large datasets containing simulated measurements of the ground motion' is too strong given the cited Synthoseis and full-waveform-inversion works. Please qualify the novelty, e.g., 'no open-source tool that combines 2D/3D heterogeneous acoustic simulation with PyTorch dataset integration and automatic initial-condition randomization.'
- [§3.1–§3.2] The dataset sizes are inconsistent: §3.1 says 3584 training and 512 test samples, while §3.2 mentions a training set of 3284 samples and a random split into 80%/20% subsets. Please reconcile these numbers and describe the exact split procedure.
- [§3.3, Figure 9a] The statement '62 samples seem to be enough to beat the constant average model' is presented without a statistical test or a methodology for choosing this threshold. Please indicate how this number is derived.
- [Throughout] There are multiple typos and inconsistencies in naming: 'Pytorch' should be 'PyTorch', 'ExtraTrees' vs 'Extra Trees' should be unified, and in the code-availability section 'PyA WD' should be 'PyAWD'.
Circularity Check
No circular derivation: PyAWD is a wrapper around an external finite-difference solver; the ML demo is a closed-loop internal-consistency check, not a prediction derived from fitted inputs.
full rationale
The paper contains no load-bearing circular step. The physical solver is Devito, an external finite-difference package, and the acoustic wave equation is cited to Demanet (2015); neither is a self-citation. Epicenter coordinates, wave speed fields, source amplitudes, and delays are drawn from random distributions and used as labels in a conventional supervised train/test split; no parameter is fitted to the target quantity and then renamed a prediction. The epicenter-retrieval experiment is closed-loop in the sense that PyAWD generates both training and test data, so the measured NMSE demonstrates learnability and internal consistency of the synthetic datasets rather than transfer to real seismograms; the paper explicitly acknowledges this in Section 4 ('One primary limitation is the reliance on synthetic datasets...'), which is a generalizability caveat, not a circular reduction. The dimensional convention in Eq. (1) (c labeled in s^2/m^2 for a wave equation) is a physical-correctness concern, not a circularity concern. No self-citation chain is load-bearing, and no uniqueness theorem or ansatz is smuggled in via the authors' prior work.
Assumptions & free parameters
free parameters (3)
- Number of interrogators =
2
- Training set size =
3584
- Epicenter sampling and force ranges =
uniform over field; amplitude [0.5,1.5); delay [0,5)s
assumptions (3)
- domain assumption The scalar and vectorial acoustic wave equation with attenuation is an adequate model of seismic ground motion for ML training.
- standard math Devito's finite difference solver is stable and accurate for the parameter ranges used.
- domain assumption The Marmousi velocity model is a representative heterogeneous medium for seismic ML studies.
Cite this review
Pith. "Pith review of PyAWD: A Library for Generating Large Synthetic Datasets of Acoustic Wave Propagation." pith.science (2026). https://pith.science/paper/GIELHQJT
@misc{pith2026241112636,
author = {Pith},
title = {Pith review of: PyAWD: A Library for Generating Large Synthetic Datasets of Acoustic Wave Propagation},
year = {2026},
howpublished = {\url{https://pith.science/paper/GIELHQJT}},
note = {Machine review of arXiv:2411.12636}
}
read the original abstract
Seismic data is often sparse and unevenly distributed due to the high costs and logistical challenges associated with deploying physical seismometers, limiting the application of Machine Learning (ML) in earthquake analysis. While simulation methods exist, no tool allows the generation of large datasets containing simulated measurements of the ground motion. To address this gap, we introduce PyAWD, a Python library designed to generate high-resolution synthetic datasets simulating spatio-temporal acoustic wave propagation in both two-dimensional and three-dimensional heterogeneous media. By allowing fine control over parameters such as the wave speed, external forces, spatial and temporal discretization, and media composition, PyAWD enables the creation of ML-scale datasets that capture the complexity of seismic wave behavior. We illustrate the library's potential with an epicenter retrieval task, showcasing its suitability for designing complex, accurate seismic problems that require advanced ML approaches in the absence or lack of dense real-world data. We also show the usefulness of our tool to tackle the problem of data budgeting in the framework of epicenter retrieval.
Figures
Figures from the paper (6 more)
Reference graph
Works this paper leans on
-
[2]
Noda, S., Yamamoto, S., Sato, S., Iwata, N., Korenaga, M., Ashiya, K.,
URL: https://seismica.library.mcgill.ca/ article/view/368, doi:10.26443/seismica.v2i1.368. Noda, S., Yamamoto, S., Sato, S., Iwata, N., Korenaga, M., Ashiya, K.,
-
[3]
doi: 10.7717/peerj-cs.103. Mohr, F., van Rijn, J.N.,
-
[4]
Synthetic ground motions in heterogeneous geologies: the hemew-3d dataset for scientific machine learning doi: 10.5194/essd-2023-470. Louboutin, M., Lange, M., Luporini, F., Kukreja, N., Witte, P.A., Herrmann, F.J., Velesko, P., Gorman, G.J.,
-
[6]
doi: 10.1186/s43074-025-00160-z . 18 Singh, S.P., Silwal, V.,
-
[9]
Learning curves for decision making in supervised machine learning - A survey. CoRR abs/2201.12150. URL: https://arxiv.org/abs/2201.12150, arXiv:2201.12150. Mousavi, S., Weiqiang, Z., Sheng, Y., Beroza, G., 2019a. Cred: A deep residual network of convolutional and recurrent units for earthquake signal detection. Scientific Reports
-
[10]
doi: 10.1038/s41598-019-45748-1 . Mousavi, S.M., Beroza, G.C.,
-
[12]
doi: 10.5194/gmd-12-1165-2019 . Luporini, F., Louboutin, M., Lange, M., Kukreja, N., Witte, P., H¨ uckelheim, J., Yount, C., Kelly, P.H.J., Herrmann, F.J., Gorman, G.J.,
- [15]
Show all 25 references
- [16]
-
[17]
Earth Science Informatics
Machine learning for earthquake prediction: a review (2017–2021). Earth Science Informatics
2017
-
[18]
Ross, Z., Meier, M.A., Hauksson, E.,
doi: 10.1007/s12145-023-00991-z . Ross, Z., Meier, M.A., Hauksson, E.,
-
[20]
IEEE Geoscience and Remote Sensing Letters 1, 1–1
Eqconvmixer: A deep learning approach for earthquake location from single-station waveforms. IEEE Geoscience and Remote Sensing Letters 1, 1–1. doi: 10.1109/LGRS.2023.3312324. Shao, L.Y., Zhang, J., Chen, X., Xu, D., Gu, H., Mu, Q., Yu, F., Liu, S., Shi, X., Sun, J., Huang, Z....
2023
-
[22]
2023.10.002
doi: 10.1016/j.aiig. 2023.10.002. T¨ urkmen, M., Meral, S., Yilmaz, B., Cikis, M., Akag¨ und¨ uz, E., Tileylioglu, S.,
2023 doi
-
[24]
Seismological Research Let- ters 93, 1695–1709
SeisBench—A Toolbox for Machine Learning in Seismology. Seismological Research Let- ters 93, 1695–1709. URL: https://doi.org/10.1785/0220210324, doi: 10.1785/0220210324, arXiv:https://pubs.geoscienceworld.org/ssa/srl/article-pdf/93/3/1695/5596371/srl-2021324.1.pdf. Zhao, X., L...
- [25]
- [46]
-
[57]
doi: 10.1109/TGRS.2019.2926772. 19
2019
-
[123]
Saad, H., M
doi: 10.1029/2017JB015251. Saad, H., M. Saad, O., Soliman, M., Chen, Y., Youness, H.,
-
[218]
Geurts, P., Ernst, D., Wehenkel, L.,
doi: 10.1093/gji/ ggz226. Geurts, P., Ernst, D., Wehenkel, L.,
-
[1994]
The Leading Edge 13, 927–936
The marmousi experience: Velocity model determination on a synthetic complex data set. The Leading Edge 13, 927–936. doi: 10.1190/1.1437051. Woollam, J., M¨ unchmeyer, J., Tilmann, F., Rietbrock, A., Lange, D., Bornstein, T., Diehl, T., Giunchi, C., Haslinger, F., Jozinovi´ c,...
-
[2012]
Earth Planets and Space 64, 305–308
Improvement of back- azimuth estimation in real-time by using a single station record. Earth Planets and Space 64, 305–308. doi:10.5047/eps.2011.10.005. Paszke, A., Gross, S., Chintala, S., Chanan, G., Yang, E., DeVito, Z., Lin, Z., Desmaison, A., Antiga, L., Lerer, A.,
2011 doi
-
[2018]
URL: https://arxiv.org/abs/1801.07232, arXiv:1801.07232
Seismic full-waveform inversion using deep learning tools and techniques. URL: https://arxiv.org/abs/1801.07232, arXiv:1801.07232. Ridzwan, N., Md Yusoff, S.H.,
-
[2022]
Interpretation 10, SE31– SE39
Synthetic seismic data for training deep learning networks. Interpretation 10, SE31– SE39. doi: 10.1190/INT-2021-0193.1 . Meurer, A., Smith, C.P., Paprocki, M., ˇCert ´ ık, O., Kirpichev, S.B., Rocklin, M., Kumar, A., Ivanov, S., Moore, J.K., Singh, S., Rathnayake, T., Vig, S....
2021 doi
-
[2023]
Annual Review of Earth and Planetary Sciences 51, 105–129
Machine learning in earthquake seismology. Annual Review of Earth and Planetary Sciences 51, 105–129. URL: https://www.annualreviews.org/content/journals/10.1146/ annurev-earth-071822-100323 , doi:https://doi.org/10.1146/annurev-earth-071822-100323 . Mousavi, S.M., Sheng, Y., ...
-
[2024]
URL: https://arxiv.org/abs/2403.18116, arXiv:2403.18116
Quakeset: A dataset and low-resource models to monitor earthquakes through sentinel-1. URL: https://arxiv.org/abs/2403.18116, arXiv:2403.18116. Carlini, A., Bordeau, C., Ambard, M.,
Reviewed August 12, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.