Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash 100 tok/s
Gemini 2.5 Pro 58 tok/s Pro
GPT-5 Medium 29 tok/s
GPT-5 High 29 tok/s Pro
GPT-4o 103 tok/s
GPT OSS 120B 480 tok/s Pro
Kimi K2 215 tok/s Pro
2000 character limit reached

j-Wave: An open-source differentiable wave simulator (2207.01499v1)

Published 30 Jun 2022 in physics.comp-ph, cs.LG, cs.MS, cs.SD, eess.AS, and physics.med-ph

Abstract: We present an open-source differentiable acoustic simulator, j-Wave, which can solve time-varying and time-harmonic acoustic problems. It supports automatic differentiation, which is a program transformation technique that has many applications, especially in machine learning and scientific computing. j-Wave is composed of modular components that can be easily customized and reused. At the same time, it is compatible with some of the most popular machine learning libraries, such as JAX and TensorFlow. The accuracy of the simulation results for known configurations is evaluated against the widely used k-Wave toolbox and a cohort of acoustic simulation software. j-Wave is available from https://github.com/ucl-bug/jwave.

Citations (17)
List To Do Tasks Checklist Streamline Icon: https://streamlinehq.com

Collections

Sign up for free to add this paper to one or more collections.

Summary

  • The paper introduces j-Wave, an open-source Python-based wave simulator enabling automatic differentiation for acoustic problems, seamlessly integrating with JAX and TensorFlow.
  • j-Wave utilizes finite difference, spectral methods, and Helmholtz solvers, validated against k-Wave to show high accuracy, including machine-level precision for homogeneous media.
  • This simulator bridges traditional numerical methods and machine learning paradigms, opening new avenues for simulation-based inference, optimization, and physics-informed AI in computational acoustics.

Overview of j-Wave: An Open-source Differentiable Wave Simulator

The paper j-Wave: An open-source differentiable wave simulator introduces j-Wave, a novel Python-based software for simulating acoustic wave phenomena with a focus on seamless integration of differentiable programming techniques. Developed with support for both time-varying and time-harmonic problems, j-Wave is tailored to leverage modern machine learning frameworks, specifically JAX and TensorFlow. This positions j-Wave as a versatile tool for both traditional scientific simulations and innovative machine learning applications.

Core Features and Technical Contributions

j-Wave's salient feature is its capacity for automatic differentiation, a technique pivotal in machine learning for computing gradients efficiently. This capability is extended to scientific simulations, thereby enabling optimization and inference tasks across a variety of domains, including medical imaging and seismology. The simulator maintains modularity through a suite of customizable components, which are compatible with widespread libraries like JAX.

The authors present a comprehensive comparison of j-Wave against the established k-Wave toolbox and other acoustic simulators, highlighting its accuracy and computational efficacy. In time-domain simulations, j-Wave employs finite difference and Fourier spectral methods, ensuring robust and accurate wave propagation models. For frequency-domain problems, the simulator implements a Helmholtz solver, with support for standard matrix-free iterative methods such as GMRES and Bi-CGSTAB, facilitating efficient large-scale simulations.

Numerical Results and Claims

Numerical validation shows exceptional correspondence between j-Wave's spectral solver and k-Wave's predictions, achieving machine-level precision in homogeneous media tests. This result asserts the reliability of j-Wave's algorithms. Additionally, for heterogeneous media, particularly with variable density, the simulations produce results with minor deviations, attributed to differing discretization treatments, yet remaining within acceptable error bounds. These results are complemented by performance evaluations demonstrating the software’s scalability and adaptability across different computing environments.

Implications and Future Prospects

j-Wave bridges the gap between traditional numerical simulation and the automated gradient-based paradigms prevalent in machine learning. This offers a rich avenue for future exploration in simulation-based inference and physics-informed machine learning models. By providing a platform that is amenable to high-dimensional optimization, j-Wave promotes further research into model parameter uncertainty quantification and improved physical modeling via neural network augmentation.

The paper suggests numerous research directions stemming from the use of differential simulators. These include novel discretization strategies, the use of simulators in reinforcement learning contexts, and optimization of control parameters in complex acoustic environments. j-Wave's potential for customization and integration with the machine learning workflow heralds new methodologies in computational acoustics.

Conclusion

The introduction of j-Wave represents a significant advancement in the field of computational acoustics, marrying state-of-the-art numerical techniques with contemporary machine learning frameworks. With its open-source nature, j-Wave encourages collaborative advancements and offers a robust platform for diverse acoustic simulation needs. As a tool, it empowers researchers to explore model-based learning and inference, revolutionizing the way acoustic phenomena are explored and understood.

Ai Generate Text Spark Streamline Icon: https://streamlinehq.com

Paper Prompts

Sign up for free to create and run prompts on this paper using GPT-5.

Don't miss out on important new AI/ML research

See which papers are being discussed right now on X, Reddit, and more:

“Emergent Mind helps me see which AI papers have caught fire online.”

Philip

Philip

Creator, AI Explained on YouTube