项目介绍

jdtoscano94/NABLA-SciML 是一个托管在 GitHub 上的开源项目,主要使用 Jupyter Notebook 编写,目前获得 686 个 Star、204 次 Fork。

仓库全名
jdtoscano94/NABLA-SciML
Star 数
686
Fork 数
204
未关闭 Issue
11

README 摘要

$\nabla$ NABLA-SciML Neural Algorithms & Basis Learning Approximations for Scientific Machine Learning Welcome to $\nabla$ NABLA-SciML! I am Juan Diego Toscano, a PhD Candidate working under the mentorship of Prof. George Karniadakis since 2022. My research delves into the realm of Scientific Machine Learning (SciML), with a specific focus on developing reliable and stable machine learning methods to study and…

完整内容见 GitHub 原始 README 或本页 。

常见问题

NABLA-SciML 用什么语言开发?

主要使用 Jupyter Notebook 编写,目前有 686 个 Star。

如何获取 NABLA-SciML 的源码?

可以直接克隆仓库:git clone https://github.com/jdtoscano94/NABLA-SciML.git,默认分支为 main;安装与运行步骤见仓库 README。

NABLA-SciML 最近还在维护吗?

仓库最近一次更新为 9月12日,当前有 11 个未关闭 Issue;Star 数为 686,可作为社区活跃度的参考。

关于

Physics Informed Machine Learning Tutorials (Pytorch and Jax)

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

Jupyter Notebook
Python
Shell

贡献者

README

$\nabla$ NABLA-SciML

Neural Algorithms & Basis Learning Approximations for Scientific Machine Learning

Welcome to $\nabla$ NABLA-SciML!

I am Juan Diego Toscano, a PhD Candidate working under the mentorship of Prof. George Karniadakis since 2022. My research delves into the realm of Scientific Machine Learning (SciML), with a specific focus on developing reliable and stable machine learning methods to study and understand complex physical systems that cannot be analyzed using traditional techniques (such as cerebrospinal fluid flow or turbulent flows).

Papers, code, talks, and videos for everything below are collected on my website: jdtoscano94.github.io.

NABLA is a collection of my ongoing work and serves as a unified framework for efficient and reproducible implementations of Physics-Informed Neural Networks (PINNs), DeepONets, and newer architectures like KANs.

Repository Structure

The codebase includes separate modules for:

  1. Tutorials: Basic introductions to PINNs and DeepONets using both PyTorch and JAX. Most of these examples include corresponding video tutorials on my YouTube channel.
  2. RBA: Code for Residual-Based Attention mechanisms [1]. Our official repository is available at: rba-pinns.
  3. cKANs: Implementations for the comprehensive comparison between MLP and KAN representations [2].
  4. KKANs: Source code for Kurkova-Kolmogorov-Arnold Networks [3]. Our official repository is available at: KKANs.
  5. vRBA: A Variational Framework for Residual-Based Adaptivity [4]. Note: This module includes our custom, highly accurate implementation of the Self-Scaling Broyden (SSBroyden) optimizer.
  6. AIVT: The code for Turbulent Thermal Convection [5] is hosted in its own dedicated repository: Instant-AIVT.
  7. MR-AIV: Code for Brain-wide Fluid Flow [6] is hosted in its own dedicated repository: MR-AIVT.

🛠️ Installation

Note on Repository Structure:

  • RBA and cKANs: These directories are self-contained. They can be run directly as standalone scripts, provided you have a valid JAX installation.
  • KKANS and vRBA (and SSBroyden): To use our KKANS, our Variational Residual-Based Adaptivity framework and our highly accurate SSBroyden optimizer, you must install the Crunch library using the steps below.

Setup Instructions (Required for vRBA)

  1. Clone the repository:

    git clone [https://github.com/jdtoscano94/NABLA-SciML.git](https://github.com/jdtoscano94/NABLA-SciML.git)
    cd NABLA-SciML
    
  2. Create and activate a virtual environment (Recommended):

    conda create -n nabla_env python=3.10
    conda activate nabla_env
    
  3. Install JAX with GPU support: (This is required for all modules. We recommend installing it explicitly first to ensure CUDA support)

    pip install -U "jax[cuda12]"
    
  4. Install the NABLA package: This installs the library in editable mode, which is necessary to import the vRBA models and the SSBroyden optimizer.

    pip install -e .
    

📚 References

If you use code from this repository in your research, please consider citing the relevant papers below:

[1] Residual-Based Attention (RBA)

@article{anagnostopoulos2024residual,
  title={Residual-based attention in physics-informed neural networks},
  author={Anagnostopoulos, Sokratis J and Toscano, Juan Diego and Stergiopulos, Nikolaos and Karniadakis, George Em},
  journal={Computer Methods in Applied Mechanics and Engineering},
  volume={421},
  pages={116805},
  year={2024},
  publisher={Elsevier}
}

[2] Comprehensive KANs (cKANs)

@article{shukla2024comprehensive,
  title={A comprehensive and FAIR comparison between MLP and KAN representations for differential equations and operator networks},
  author={Shukla, Khemraj and Toscano, Juan Diego and Wang, Zhicheng and Zou, Zongren and Karniadakis, George Em},
  journal={Computer Methods in Applied Mechanics and Engineering},
  volume={431},
  pages={117290},
  year={2024},
  publisher={Elsevier}
}

[3] Kurkova-Kolmogorov-Arnold Networks (KKANs)

@article{toscano2025kkans,
  title={KKANs: Kurkova-Kolmogorov-Arnold networks and their learning dynamics},
  author={Toscano, Juan Diego and Wang, Li-Lian and Karniadakis, George Em},
  journal={Neural Networks},
  volume={191},
  pages={107831},
  year={2025},
  publisher={Elsevier}
}

[4] Variational Residual-Based Adaptivity (vRBA)

@article{toscano2026variational,
  title={A variational framework for residual-based adaptivity in neural PDE solvers and operator learning},
  author={Toscano, Juan Diego and Chen, Daniel T and Ooomen, Vivek and Darbon, J{\'e}r{\^o}me and Karniadakis, George Em},
  journal={NPJ Artificial Intelligence},
  volume={2},
  number={1},
  pages={32},
  year={2026},
  publisher={Nature Publishing Group UK London}
}

[5] AIVT (Turbulence Inference)

@article{toscano2025aivt,
  title={AIVT: Inference of turbulent thermal convection from measured 3D velocity data by physics-informed Kolmogorov-Arnold networks},
  author={Toscano, Juan Diego and K{\"a}ufer, Theo and Wang, Zhibo and Maxey, Martin and Cierpka, Christian and Karniadakis, George Em},
  journal={Science advances},
  volume={11},
  number={19},
  pages={eads5236},
  year={2025},
  publisher={American Association for the Advancement of Science}
}

[6] MR-AIV (Brain Fluid Flow)

@article{toscano2026mr,
  title={MR-AIV reveals in vivo brain-wide fluid flow with physics-informed AI},
  author={Toscano, Juan Diego and Guo, Yisen and Wang, Zhibo and Vaezi, Mohammad and Mori, Yuki and Karniadakis, George Em and Boster, Kimberly AS and Kelley, Douglas H},
  journal={Science Advances},
  volume={12},
  number={22},
  pages={eaeb0404},
  year={2026},
  publisher={American Association for the Advancement of Science}
}

评论

暂无评论