跨越 PDE 和机器学习障碍的可微编程

Nacime Bouziani, David A. Ham, Ado Farsi
{"title":"跨越 PDE 和机器学习障碍的可微编程","authors":"Nacime Bouziani, David A. Ham, Ado Farsi","doi":"arxiv-2409.06085","DOIUrl":null,"url":null,"abstract":"The combination of machine learning and physical laws has shown immense\npotential for solving scientific problems driven by partial differential\nequations (PDEs) with the promise of fast inference, zero-shot generalisation,\nand the ability to discover new physics. Examples include the use of\nfundamental physical laws as inductive bias to machine learning algorithms,\nalso referred to as physics-driven machine learning, and the application of\nmachine learning to represent features not represented in the differential\nequations such as closures for unresolved spatiotemporal scales. However, the\nsimulation of complex physical systems by coupling advanced numerics for PDEs\nwith state-of-the-art machine learning demands the composition of specialist\nPDE solving frameworks with industry-standard machine learning tools.\nHand-rolling either the PDE solver or the neural net will not cut it. In this\nwork, we introduce a generic differentiable programming abstraction that\nprovides scientists and engineers with a highly productive way of specifying\nend-to-end differentiable models coupling machine learning and PDE-based\ncomponents, while relying on code generation for high performance. Our\ninterface automates the coupling of arbitrary PDE-based systems and machine\nlearning models and unlocks new applications that could not hitherto be\ntackled, while only requiring trivial changes to existing code. Our framework\nhas been adopted in the Firedrake finite-element library and supports the\nPyTorch and JAX ecosystems, as well as downstream libraries.","PeriodicalId":501162,"journal":{"name":"arXiv - MATH - Numerical Analysis","volume":"10 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Differentiable programming across the PDE and Machine Learning barrier\",\"authors\":\"Nacime Bouziani, David A. Ham, Ado Farsi\",\"doi\":\"arxiv-2409.06085\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The combination of machine learning and physical laws has shown immense\\npotential for solving scientific problems driven by partial differential\\nequations (PDEs) with the promise of fast inference, zero-shot generalisation,\\nand the ability to discover new physics. Examples include the use of\\nfundamental physical laws as inductive bias to machine learning algorithms,\\nalso referred to as physics-driven machine learning, and the application of\\nmachine learning to represent features not represented in the differential\\nequations such as closures for unresolved spatiotemporal scales. However, the\\nsimulation of complex physical systems by coupling advanced numerics for PDEs\\nwith state-of-the-art machine learning demands the composition of specialist\\nPDE solving frameworks with industry-standard machine learning tools.\\nHand-rolling either the PDE solver or the neural net will not cut it. In this\\nwork, we introduce a generic differentiable programming abstraction that\\nprovides scientists and engineers with a highly productive way of specifying\\nend-to-end differentiable models coupling machine learning and PDE-based\\ncomponents, while relying on code generation for high performance. Our\\ninterface automates the coupling of arbitrary PDE-based systems and machine\\nlearning models and unlocks new applications that could not hitherto be\\ntackled, while only requiring trivial changes to existing code. Our framework\\nhas been adopted in the Firedrake finite-element library and supports the\\nPyTorch and JAX ecosystems, as well as downstream libraries.\",\"PeriodicalId\":501162,\"journal\":{\"name\":\"arXiv - MATH - Numerical Analysis\",\"volume\":\"10 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-09-09\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - MATH - Numerical Analysis\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2409.06085\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - MATH - Numerical Analysis","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.06085","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

机器学习与物理定律的结合在解决由偏微分方程(PDEs)驱动的科学问题方面展现出巨大潜力,有望实现快速推理、零误差泛化以及发现新物理的能力。这方面的例子包括使用基本物理定律作为机器学习算法的归纳偏置(也称为物理驱动的机器学习),以及应用机器学习来表示微分方程中未表示的特征,如未解决的时空尺度的闭合。然而,通过将先进的 PDE 数值计算与最先进的机器学习相结合来模拟复杂的物理系统,需要将专业的 PDE 求解框架与行业标准的机器学习工具相结合。在这项工作中,我们介绍了一种通用的可微分编程抽象,它为科学家和工程师提供了一种高效的方法,可以指定端到端的可微分模型,将机器学习和基于 PDE 的组件耦合在一起,同时依靠代码生成实现高性能。我们的接口可自动耦合任意基于 PDE 的系统和机器学习模型,并释放迄今为止无法解决的新应用,同时只需对现有代码进行微小的修改。我们的框架已被 Firedrake 有限元库所采用,并支持 PyTorch 和 JAX 生态系统以及下游库。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Differentiable programming across the PDE and Machine Learning barrier
The combination of machine learning and physical laws has shown immense potential for solving scientific problems driven by partial differential equations (PDEs) with the promise of fast inference, zero-shot generalisation, and the ability to discover new physics. Examples include the use of fundamental physical laws as inductive bias to machine learning algorithms, also referred to as physics-driven machine learning, and the application of machine learning to represent features not represented in the differential equations such as closures for unresolved spatiotemporal scales. However, the simulation of complex physical systems by coupling advanced numerics for PDEs with state-of-the-art machine learning demands the composition of specialist PDE solving frameworks with industry-standard machine learning tools. Hand-rolling either the PDE solver or the neural net will not cut it. In this work, we introduce a generic differentiable programming abstraction that provides scientists and engineers with a highly productive way of specifying end-to-end differentiable models coupling machine learning and PDE-based components, while relying on code generation for high performance. Our interface automates the coupling of arbitrary PDE-based systems and machine learning models and unlocks new applications that could not hitherto be tackled, while only requiring trivial changes to existing code. Our framework has been adopted in the Firedrake finite-element library and supports the PyTorch and JAX ecosystems, as well as downstream libraries.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信