{"id":901587,"date":"2022-11-29T08:12:06","date_gmt":"2022-11-29T16:12:06","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/?post_type=msr-blog-post&#038;p=901587"},"modified":"2023-02-27T08:02:13","modified_gmt":"2023-02-27T16:02:13","slug":"open-sourcing-pdearena-2","status":"publish","type":"msr-blog-post","link":"https:\/\/www.microsoft.com\/en-us\/research\/articles\/open-sourcing-pdearena-2\/","title":{"rendered":"Open sourcing PDEArena"},"content":{"rendered":"\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><a href=\"https:\/\/microsoft.github.io\/pdearena\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/microsoft.github.io\/pdearena\/assets\/images\/logo.svg\" alt=\"PDEArena logo\" width=\"516\" height=\"282\"\/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-fill-github\"><a data-bi-type=\"button\" class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/github.com\/microsoft\/pdearena\">GitHub<\/a><\/div>\n\n\n\n<div class=\"wp-block-button is-style-fill\"><a data-bi-type=\"button\" class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/microsoft.github.io\/pdearena\/\">Website<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>We are open sourcing PDEArena, a modern, scalable, and easy to use PDE surrogate benchmarking framework. PDEArena is designed to train and evaluate neural surrogates for partial differential equations (PDE) at scale. As such, PDEArena contains state of the art implementations of more than 20 recently proposed PDE surrogate architectures (or combinations thereof), with more coming soon. &nbsp;<\/p>\n\n\n\n<p>Scaling up deep learning models has led to unprecedented success when it comes to computer vision or natural language processing. Deep learning holds immense promise in helping to overcome the computationally expensive nature of standard PDE solution techniques. However, scaling such PDE surrogate models requires elaborate engineering both on the distributed training as well as on the data loading front. For example, many currently available neural PDE open-source libraries tend to assume that the surrogates are run on exactly those underlying PDEs they were trained on, often assuming at most a single GPU. Current research in PDE surrogates is therefore often missing out on the benefits of scale.&nbsp;<\/p>\n\n\n\n<p>Thanks to the use of <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" href=\"https:\/\/www.pytorchlightning.ai\/\" target=\"_blank\" rel=\"noopener noreferrer\">PyTorch Lightning<span class=\"sr-only\"> (opens in new tab)<\/span><\/a>, experiments are incredibly simple to run at any scale.&nbsp;In its current release version, PDEArena allows you to train models on four different fluid mechanics and electrodynamics datasets, where both code for data generation and the datasets themselves are available (with more coming soon). . Furthermore, PDEArena aims to establish strong baselines for neural PDE surrogates, and consequently driving the field forward together. Therefore, the repo is designed such that it can easily be extended both for new models and for new <a>datasets.<\/a><\/p>\n\n\n\n<p>We used PDEArena in our recent paper <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" href=\"https:\/\/arxiv.org\/abs\/2209.15616\" target=\"_blank\" rel=\"noopener noreferrer\">\u201cTowards Multi-spatiotemporal-scale Generalized PDE Modeling\u201d<span class=\"sr-only\"> (opens in new tab)<\/span><\/a> to compare modern UNets vs. other state of the art neural PDE surrogate learning approaches. PDEArena\u2019s simplicity and scalability allowed us to quickly iterate on different UNet variants: from the 2015 version to modern UNets and our own variants thereof. Furthermore, we could easily compare various other tradeoffs like runtime and GPU memory requirements against other architectures like ResNets, Dilated ResNets, as well as various Fourier-based approaches.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2022\/11\/image-63811a6a4b4af.png\" alt=\"Table comparing different PDE surrogate models in terms of number of parameters, memory requirements and runtime.\" class=\"wp-image-901485\" width=\"901\" height=\"542\" srcset=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2022\/11\/image-63811a6a4b4af.png 975w, https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2022\/11\/image-63811a6a4b4af-300x180.png 300w, https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2022\/11\/image-63811a6a4b4af-768x462.png 768w, https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2022\/11\/image-63811a6a4b4af-240x144.png 240w\" sizes=\"auto, (max-width: 901px) 100vw, 901px\" \/><figcaption class=\"wp-element-caption\"><strong>Table 1: <\/strong>Comparison of parameter count, runtime, and memory requirements of various PDE surrogate architectures. <br>More can be found in the <a href=\"https:\/\/microsoft.github.io\/pdearena\/modelzoo\/\">documentation<\/a>.<\/figcaption><\/figure>\n\n\n\n<p>Trying out these models on a new PDE should be as simple as writing a data loader for your PDE dataset. Hopefully, we will see many more comparisons of the vast design space of PDE surrogates.&nbsp;<\/p>\n\n\n\n<p>Note that this is not a one-time release. We use PDEArena extensively in our daily research at Microsoft and plan to continue to maintain it, while adding new functionalities over time. We are very eager to <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" target=\"_blank\" href=\"https:\/\/github.com\/microsoft\/pdearena\/pulls\">receive contributions<span class=\"sr-only\"> (opens in new tab)<\/span><\/a> from the wider PDE surrogate learning community.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><em>This work is being undertaken by members of <\/em><a href=\"https:\/\/www.microsoft.com\/en-us\/research\/group\/autonomous-systems-group-robotics\/\"><em>Microsoft Autonomous Systems and Robotics Research<\/em><\/a><em> and<a href=\"https:\/\/www.microsoft.com\/en-us\/research\/lab\/microsoft-research-ai4science\/\"> Microsoft Research AI4Science<\/a>. The researchers behind this project are<\/em> <em><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" target=\"_blank\" href=\"http:\/\/rejuvyesh.com\/\">Jayesh K. Gupt<span class=\"sr-only\"> (opens in new tab)<\/span><\/a><\/em><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" target=\"_blank\" href=\"http:\/\/rogeriobonatti.com\/\"><em>a<\/em><span class=\"sr-only\"> (opens in new tab)<\/span><\/a><em> and <\/em><a href=\"https:\/\/www.microsoft.com\/en-us\/research\/people\/johannesb\/\"><em>Johannes Brandstetter<\/em><\/a><em>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are open sourcing PDEArena, a modern, scalable, and easy to use PDE surrogate benchmarking framework. PDEArena is designed to train and evaluate neural surrogates for partial differential equations (PDE) at scale. As such, PDEArena contains state of the art implementations of more than 20 recently proposed PDE surrogate architectures (or combinations thereof), with more [&hellip;]<\/p>\n","protected":false},"author":39180,"featured_media":902682,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"_classifai_error":"","msr-content-parent":867219,"msr_hide_image_in_river":0,"footnotes":""},"research-area":[],"msr-locale":[268875],"msr-post-option":[],"class_list":["post-901587","msr-blog-post","type-msr-blog-post","status-publish","has-post-thumbnail","hentry","msr-locale-en_us"],"msr_assoc_parent":{"id":867219,"type":"group"},"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-blog-post\/901587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-blog-post"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-blog-post"}],"author":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/users\/39180"}],"version-history":[{"count":12,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-blog-post\/901587\/revisions"}],"predecessor-version":[{"id":922983,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-blog-post\/901587\/revisions\/922983"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media\/902682"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=901587"}],"wp:term":[{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=901587"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=901587"},{"taxonomy":"msr-post-option","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-post-option?post=901587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}