coeff array 2D | kcoeff array 2D | kcoeff_x array 2D | kcoeff_y array 2D | sol array 2D |
|---|---|---|---|---|
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.000004993767106498126
],
[
0.000013460182344715577
],
[
0.000020624489479814656
],
[
0.000027042970032198355
],
[
0.00003292218752903864
],
[
0.000038390178815461695
],
[
0.00004352248288341798
],
[
0.00004837195956497453
],
[
0.000052976716688... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.000013460171430779155
],
[
0.000037370933569036424
],
[
0.000058361623814562336
],
[
0.00007737173291388899
],
[
0.00009488173964200541
],
[
0.00011120548151666299
],
[
0.0001265485043404624
],
[
0.0001410578697687015
],
[
0.0001548425789223984... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.00002062443491013255
],
[
0.00005836151467519812
],
[
0.00009233825403498486
],
[
0.00012345013965386897
],
[
0.00015228590928018093
],
[
0.00017926011059898883
],
[
0.0002046679292107001
],
[
0.00022872851695865393
],
[
0.0002516093372832984
... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.000027042817237088457
],
[
0.00007737134728813544
],
[
0.00012344976130407304
],
[
0.0001660667621763423
],
[
0.0002058140089502558
],
[
0.00024314261099789292
],
[
0.0002783958916552365
],
[
0.0003118400927633047
],
[
0.00034368535852991045
... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.000032921860110946
],
[
0.0000948808592511341
],
[
0.00015228477423079312
],
[
0.00020581309217959642
],
[
0.00025602165260352194
],
[
0.000303361244732514
],
[
0.0003481938038021326
],
[
0.0003908115322701633
],
[
0.000431452295742929
],
[... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.000038389578548958525
],
[
0.00011120381532236934
],
[
0.00017925772408489138
],
[
0.00024314010806847364
],
[
0.00030335946939885616
],
[
0.00036034794175066054
],
[
0.00041446753311902285
],
[
0.00046602083602920175
],
[
0.0005152613157406449... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.00004352149335318245
],
[
0.00012654568126890808
],
[
0.00020466369460336864
],
[
0.00027839094400405884
],
[
0.00034818914718925953
],
[
0.000414464419009164
],
[
0.00047756850835867226
],
[
0.0005378039786592126
],
[
0.0005954306689091027
]... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.00004837043888983317
],
[
0.00014105347509030253
],
[
0.0002287217357661575
],
[
0.00031183173996396363
],
[
0.0003908027138095349
],
[
0.00046601309441030025
],
[
0.0005377990310080349
],
[
0.000606456829700619
],
[
0.0006722463294863701
],
... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.00005297450115904212
],
[
0.000154836117872037
],
[
0.000251599180046469
],
[
0.00034367243642918766
],
[
0.0004314378893468529
],
[
0.0005152470548637211
],
[
0.0005954186781309545
],
[
0.0006722389371134341
],
[
0.0007459635962732136
],
[... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.00005736274033552036
],
[
0.00016797767602838576
],
[
0.00027342751855030656
],
[
0.0003740818065125495
],
[
0.0004702902806457132
],
[
0.000562379602342844
],
[
0.0006506505305878818
],
[
0.000735377601813525
],
[
0.0008168097701855004
],
... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.00006155800656415522
],
[
0.00018054481188300997
],
[
0.0002943124563898891
],
[
0.0004031978314742446
],
[
0.0005075228400528431
],
[
0.0006075914134271443
],
[
0.0007036871393211186
],
[
0.0007960721268318594
],
[
0.0008849870064295828
],
... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.0000655787589494139
],
[
0.0001925916876643896
],
[
0.00031434069387614727
],
[
0.00043113509309478104
],
[
0.0005432726466096938
],
[
0.0006510370294563472
],
[
0.0007546955021098256
],
[
0.000854497600812465
],
[
0.0009506752248853445
],
... |
[
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[
3
],
[... | [
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
2.999999761581421
],
[
... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[
0
],
[... | [
[
0.00006944020424271002
],
[
0.00020416316692717373
],
[
0.00033358452492393553
],
[
0.00045799007057212293
],
[
0.0005776566104032099
],
[
0.000692849513143301
],
[
0.0008038210216909647
],
[
0.0009108086233027279
],
[
0.0010140349622815847
],
... |
- Sample Usage
- 1. Dataset Link
- 2. Downloading Data
- 3. Overview
- Dataset Scale and Scope
- Multi-Resolution Architecture
- Physical and Mathematical Diversity
- Parameter Space Coverage
- Evaluation Framework
- Data Organization and Accessibility
- Key Features for Inverse Problem Benchmarking
- 3.1 Data Format
- 3.2 Parameter Extraction from Filenames
- 3.3 Working with High-Resolution Data
- 3.4 Data Loading Parameters
- 3.5 Parameter Normalization
- Dataset Scale and Scope
- 4. Datasets
- 5. Adding a New Dataset
PDEInvBench: A Comprehensive Dataset and Design Space Exploration of Neural Networks for PDE Inverse Problems
This is the official dataset for the paper PDEInvBench: A Comprehensive Dataset and Design Space Exploration of Neural Networks for PDE Inverse Problems.
Code: GitHub - ASK-Berkeley/PDEInvBench
Sample Usage
You can use the provided script from the codebase to batch download the data:
pip install huggingface_hub
python3 huggingface_pdeinv_download.py --dataset darcy-flow-241 --split train --local-dir ./data
Available datasets: darcy-flow-241, darcy-flow-421, korteweg-de-vries-1d, navier-stokes-forced-2d-2048, navier-stokes-forced-2d, navier-stokes-unforced-2d, reaction-diffusion-2d-du-512, reaction-diffusion-2d-du, reaction-diffusion-2d-k-512, reaction-diffusion-2d-k
Available splits: * (all), train, validation, test, out_of_distribution, out_of_distribution_extreme
PDEInvBench Data Guide
Data guide for the dataset accompanying PDEInvBench.

1. Dataset Link
The dataset used in this project can be found here: https://huggingface.co/datasets/DabbyOWL/PDE_Inverse_Problem_Benchmarking/tree/main
2. Downloading Data
We provide a python script: huggingface_pdeinv_download.py to batch download our hugging-face data. We will update the readme of our hugging-face dataset and our github repo to reflect this addition. To run this:
pip install huggingface_hub
python3 huggingface_pdeinv_download.py [--dataset DATASET_NAME] [--split SPLIT] [--local-dir PATH]
3. Overview
The PDEInvBench dataset contains five PDE systems spanning parabolic, hyperbolic, and elliptic classifications, designed for benchmarking inverse parameter estimation.
Dataset Scale and Scope
The dataset encompasses over 1.2 million individual simulations across five PDE systems, with varying spatial and temporal resolutions:
- 2D Reaction Diffusion: 28×28×27 = 21,168 parameter combinations × 5 trajectories = 105,840 simulations
- 2D Navier Stokes: 101 parameter values × 192 trajectories = 19,392 simulations
- 2D Turbulent Flow: 120 parameter values × 108 trajectories = 12,960 simulations
- 1D Korteweg-De Vries: 100 parameter values × 100 trajectories = 10,000 simulations
- 2D Darcy Flow: 2,048 unique coefficient fields
Multi-Resolution Architecture
The dataset provides multiple spatial resolutions for each system, enabling studies on resolution-dependent generalization:
- Low Resolution: 64×64 (2D systems), 256 (1D KdV), 241×241 (Darcy Flow)
- Medium Resolution: 128×128 (2D systems), 256×256 (Turbulent Flow)
- High Resolution: 256×256, 512×512, 2048x2048 (2D systems), 421×421 (Darcy Flow)
Physical and Mathematical Diversity
Parabolic Systems (Time-dependent, diffusive):
- 2D Reaction Diffusion: Chemical pattern formation with Fitzhugh-Nagumo dynamics
- 2D Navier Stokes: Fluid flow without external forcing
- 2D Turbulent Flow: Forced fluid dynamics with Kolmogorov forcing
Hyperbolic Systems (Wave propagation):
- 1D Korteweg-De Vries: Soliton dynamics in shallow water waves
Elliptic Systems (Steady-state):
- 2D Darcy Flow: Groundwater flow through porous media
Parameter Space Coverage
The dataset systematically explores parameter spaces across different physical regimes:
- Reaction Diffusion: k ∈ [0.005,0.1], Du ∈ [0.01,0.5], Dv ∈ [0.01,0.5] (Turing bifurcations)
- Navier Stokes: ν ∈ [10⁻⁴,10⁻²] (Reynolds: 80-8000, laminar to transitional)
- Turbulent Flow: ν ∈ [10⁻⁵,10⁻²] (fully developed turbulence)
- Korteweg-De Vries: δ ∈ [0.8,5] (dispersion strength in shallow water)
- Darcy Flow: Piecewise constant diffusion coefficients (porous media heterogeneity)
Evaluation Framework
The dataset implements a sophisticated three-tier evaluation system for comprehensive generalization testing:
- In-Distribution (ID): Parameters within training ranges for baseline performance
- Out-of-Distribution (Non-Extreme): Middle-range parameters excluded from training
- Out-of-Distribution (Extreme): Extremal parameter values for stress testing
This framework enables systematic evaluation of model robustness across parameter space, critical for real-world deployment where models must generalize beyond training distributions.
Data Organization and Accessibility
The dataset is organized in a standardized HDF5 format with:
- Hierarchical Structure: Train/validation/test splits with consistent naming conventions
- Parameter Encoding: Filenames encode parameter values for easy parsing
- Multi-Channel Support: 2D systems support multiple solution channels (velocity components, chemical species)
- Grid Information: Complete spatial and temporal coordinate information
- Normalization Statistics: Pre-computed parameter normalization for consistent preprocessing
Key Features for Inverse Problem Benchmarking
- Multi-Physics Coverage: Spans chemical, fluid, wave, and porous media physics
- Resolution Scalability: Enables studies on resolution-dependent model behavior
- Parameter Diversity: Systematic exploration of parameter spaces across physical regimes
- Generalization Testing: Built-in evaluation framework for out-of-distribution performance
- Computational Efficiency: Optimized data loading and preprocessing pipelines
- Reproducibility: Complete documentation of generation parameters and solver configurations
This comprehensive dataset provides researchers with a unified platform for developing and evaluating inverse problem solving methods across diverse scientific domains, enabling systematic comparison of approaches and identification of fundamental limitations in current methodologies.
3.1 Data Format
All datasets are stored in HDF5 format with specific structure depending on the PDE system.
Directory Structure
Datasets should be organized in the following directory structure:
/path/to/data/
├── train/
│ ├── param_file_1.h5
│ ├── param_file_2.h5
│ └── ...
├── validation/
│ ├── param_file_3.h5
│ └── ...
└── test/
├── param_file_4.h5
└── ...
3.2 Parameter Extraction from Filenames
Parameters are extracted from filenames using pattern matching. For example:
2D Reaction Diffusion:
Du=0.1_Dv=0.2_k=0.05.h5- Du = 0.1, Dv = 0.2, k = 0.05
2D Navier Stokes:
83.0.h5- Reynolds number = 83.0
1D KdV:
delta=3.5_ic=42.h5- δ = 3.5
3.3 Working with High-Resolution Data
For high-resolution datasets, we provide configurations for downsampling:
| PDE System | Original Resolution | High-Resolution |
|---|---|---|
| 2D Reaction Diffusion | 128×128 | 512×512 |
| 2D Navier Stokes | 64×64 | 256×256 |
| 2D Turbulent Flow | 64x64 | 2048x2048 |
| Darcy Flow | 241×241 | 421×421 |
When working with high-resolution data, set the following parameters:
high_resolution=True
data.downsample_factor=4 # e.g., for 512×512 → 128×128
data.batch_size=2 # Reduce batch size for GPU memory
3.4 Data Loading Parameters
Key parameters for loading data:
data.every_nth_window: Controls sampling frequency of time windowsdata.frac_ics_per_param: Fraction of initial conditions per parameter to usedata.frac_param_combinations: Fraction of parameter combinations to usedata.train_window_end_percent: Percentage of trajectory used for trainingdata.test_window_start_percent: Percentage where test window starts
3.5 Parameter Normalization
Parameters are normalized using the following statistics, where the mean and standard deviation are computed using the span of the parameters in the dataset:
PARAM_NORMALIZATION_STATS = {
PDE.ReactionDiffusion2D: {
"k": (0.06391126306498819, 0.029533048151465856), # (mean, std)
"Du": (0.3094992685910578, 0.13865605073673604), # (mean, std)
"Dv": (0.259514500345804, 0.11541850276902947), # (mean, std)
},
PDE.NavierStokes2D: {"re": (1723.425, 1723.425)}, # (mean, std)
PDE.TurbulentFlow2D: {"nu": (0.001372469573118451, 0.002146258280849241)},
PDE.KortewegDeVries1D: {"delta": (2.899999997019768, 1.2246211546444339)},
# Add more as needed
}
4. Datasets
This section provides detailed information about each PDE system in the dataset. Each subsection includes visualizations, descriptions, and technical specifications.
4a. 2D Reaction Diffusion
Description: The 2D Reaction-Diffusion system models chemical reactions with spatial diffusion using the Fitzhugh-Nagumo equations. This dataset contains two-channel solutions (activator u and inhibitor v) with parameters k (threshold for excitement), Du (activator diffusivity), and Dv (inhibitor diffusivity). The system exhibits complex pattern formation including spots, stripes, and labyrinthine structures, spanning from dissipative to Turing bifurcations.
Mathematical Formulation: The activator u and inhibitor v coupled system follows:
∂tu = Du∂xxu + Du∂yyu + Ru
∂tv = Dv∂xxv + Dv∂yyv + Rv
where Ru and Rv are defined by the Fitzhugh-Nagumo equations:
Ru(u,v) = u - u³ - k - v
Rv(u,v) = u - v
Parameters of Interest:
- Du: Activator diffusion coefficient
- Dv: Inhibitor diffusion coefficient
- k: Threshold for excitement
Data Characteristics:
- Partial Derivatives: 5
- Time-dependent: Yes (parabolic)
- Spatial Resolutions: 128×128, 512x512
- Parameters: k ∈ [0.005,0.1], Du ∈ [0.01,0.5], Dv ∈ [0.01,0.5]
- Temporal Resolution: 0.049/5 seconds
- Parameter Values: k - 28, Du - 28, Dv - 27
- Initial Conditions/Trajectories: 5
Evaluation Splits:
- Test (ID): k ∈ [0.01,0.04] ∪ [0.08,0.09], Du ∈ [0.08,0.2] ∪ [0.4,0.49], Dv ∈ [0.08,0.2] ∪ [0.4,0.49]
- OOD (Non-Extreme): k ∈ [0.04,0.08], Du ∈ [0.2,0.4], Dv ∈ [0.2,0.4]
- OOD (Extreme): k ∈ [0.001,0.01] ∪ [0.09,0.1], Du ∈ [0.02,0.08] ∪ [0.49,0.5], Dv ∈ [0.02,0.08] ∪ [0.49,0.5]
Generation Parameters:
- Solver: Explicit Runge-Kutta method of order 5(4) (RK45)
- Error Tolerance: Relative error tolerance of 10⁻⁶
- Spatial Discretization: Finite Volume Method (FVM) with uniform 128×128 grid
- Domain: [-1,1] × [-1,1] with cell size Δx = Δy = 0.015625
- Burn-in Period: 1 simulation second
- Dataset Simulation Time: [0,5] seconds, 101 time steps
- Nominal Time Step: Δt ≈ 0.05 seconds (adaptive)
- Generation Time: ≈ 1 week on CPU
Folder Descriptions
reaction-diffusion-2d-k: 2D Reaction Diffusion splits for 128x128 resolution spatial fields for parameter kreaction-diffusion-2d-k-512: 2D Reaction Diffusion splits for 512x512 resolution spatial fields for parameter kreaction-diffusion-2d-Du: 2D Reaction Diffusion splits for 128x128 resolution spatial fields for parameter Dureaction-diffusion-2d-Du-512: 2D Reaction Diffusion splits for 512x512 resolution spatial fields for parameter Du
File Structure:
filename: Du=0.1_Dv=0.2_k=0.05.h5
Contents:
0001/data: Solution field [time, spatial_dim_1, spatial_dim_2, channels]0001/grid/x: x-coordinate grid points0001/grid/y: y-coordinate grid points0001/grid/t: Time points
4b. 2D Navier Stokes (Unforced)
Description: The 2D Navier-Stokes equations describe incompressible fluid flow without external forcing. This dataset contains velocity field solutions with varying Reynolds numbers, showcasing different flow regimes from laminar to transitional flows.
Mathematical Formulation: We consider the vorticity form of the unforced Navier-Stokes equations:
∂w(t,x,y)/∂t + u(t,x,y)·∇w(t,x,y) = νΔw(t,x,y)
for t ∈ [0,T] and (x,y) ∈ (0,1)², with auxiliary conditions:
- w = ∇ × u
- ∇ · u = 0
- w(0,x,y) = w₀(x,y) (Boundary Conditions)
Parameters of Interest:
- ν: The physical parameter of interest, representing viscosity
Data Characteristics:
- Partial Derivatives: 3
- Time-dependent: Yes (parabolic)
- Spatial Resolutions: 64×64, 256x256
- Parameters: ν ∈ [10⁻⁴,10⁻²] (Reynolds: 80-8000)
- Temporal Resolution: 0.0468/3 seconds
- Parameter Values: 101
- Initial Conditions/Trajectories: 192
The files contain spatial resolutions at 256x256, which are later downsampled using scipy decimate to 64x64
Evaluation Splits:
- Test (ID): ν ∈ [10⁻³·⁸, 10⁻³·²] ∪ [10⁻²·⁸, 10⁻²·²]
- OOD (Non-Extreme): ν ∈ [10⁻³·², 10⁻²·⁸]
- OOD (Extreme): ν ∈ [10⁻⁴, 10⁻³·⁸] ∪ [10⁻²·², 10⁻²]
Generation Parameters:
- Solver: Pseudo-spectral solver with Crank-Nicolson time-stepping
- Implementation: Written in Jax and GPU-accelerated
- Generation Time: ≈ 3.5 GPU days (batch size=32)
- Burn-in Period: 15 simulation seconds
- Saved Data: Next 3 simulation seconds saved as dataset
- Initial Conditions: Sampled according to Gaussian random field (length scale=0.8)
- Recording: Solution recorded every 1 simulation second
- Simulation dt: 1e-4
- Resolution: 256×256
Folder Descriptions
navier-stokes-unforced-2d-64: 2D Navier Stokes (Unforced) splits for 64x64 resolution spatial fieldsnavier-stokes-unforced-2d-256: 2D Navier Stokes (Unforced) splits for 256x256 resolution spatial fields
File Structure:
filename: 83.0.h5
Contents:
0001/data: Solution field [time, spatial_dim_1, spatial_dim_2, channels]0001/grid/x: x-coordinate grid points0001/grid/y: y-coordinate grid points0001/grid/t: Time points
4c. 2D Turbulent Flow (Forced Navier Stokes)
Description: The 2D Turbulent Flow dataset represents forced Navier-Stokes equations that generate fully developed turbulent flows. This dataset is particularly valuable for studying complex, multi-scale fluid dynamics and turbulent phenomena. All solutions exhibit turbulence across various Reynolds numbers.
Mathematical Formulation: The forced Navier-Stokes equations with the Kolmogorov forcing function are similar to the unforced case with an additional forcing term:
∂ₜw + u·∇w = νΔw + f(k,y) - αw
where the forcing function f(k,y) is defined as:
f(k,y) = -kcos(ky)
Parameters of Interest:
- ν: Kinematic viscosity (similar to unforced NS)
- α: Drag coefficient (fixed at α = 0.1)
- k: Forced wavenumber (fixed at k = 2)
The drag coefficient α primarily serves to keep the total energy of the system constant, acting as drag. The task is to predict ν.
Numerical Convergence We examine convergence across all solutions we generated. However, at the spatial and temporal resolution used to produce this dataset, simulations with kinematic viscosity ν < 5e-4 may not be fully converged due to the fine scale turbulence dynamics. We include all generated trajectories in the training set to maximize coverage of the parameter space and to expose models to a broader range of flow regimes. Nevertheless, we recommend restricting quantitative evaluation and model selection to runs with ν >= 5e-4. For more details, please see our paper.
Data Characteristics:
- Partial Derivatives: 3
- Time-dependent: Yes (parabolic)
- Spatial Resolutions: 64x64, 2048x2048
- Parameters: ν ∈ [10⁻⁵,10⁻²]
- Temporal Resolution: 0.23/14.75 seconds
- Parameter Values: 120
- Initial Conditions/Trajectories: 108
Evaluation Splits:
- Test (ID): ν ∈ [10⁻⁴·⁷, 10⁻³·⁸] ∪ [10⁻³·², 10⁻²·³]
- OOD (Non-Extreme): ν ∈ [10⁻³·⁸, 10⁻³·²]
- OOD (Extreme): ν ∈ [10⁻⁵, 10⁻⁴·⁷] ∪ [10⁻²·³, 10⁻²]
Generation Parameters:
- Solver: Pseudo-spectral solver with Crank-Nicolson time-stepping
- Implementation: Written in Jax (leveraging Jax-CFD), similar to 2D NS
- Generation Time: ≈ 4 GPU days (A100)
- Burn-in Period: 40 simulation seconds
- Saved Data: Next 15 simulation seconds saved as dataset
- Simulator Resolution: 256×256
- Downsampling: Downsamples to 64×64 before saving
- Temporal Resolution (Saved): ∂t = 0.25 simulation seconds
Folder Descriptions
navier-stokes-forced-2d: 2D Navier Stokes (Forced) splits for 64x64 resolution spatial fieldsnavier-stokes-forced-2d-2048: 2D Navier Stokes (Forced) splits for 2048x2048 resolution spatial fields
File Structure:
filename: nu=0.001.h5
Contents:
0001/data: Solution field [time, spatial_dim_1, spatial_dim_2, channels]0001/grid/x: x-coordinate grid points0001/grid/y: y-coordinate grid points0001/grid/t: Time points
4d. 1D Korteweg-De Vries
Description: The Korteweg-De Vries (KdV) equation is a nonlinear partial differential equation that describes shallow water waves and solitons. This 1D dataset contains soliton solutions with varying dispersion parameters, demonstrating wave propagation and interaction phenomena.
Mathematical Formulation: KdV is a 1D PDE representing waves on a shallow-water surface. The governing equation follows the form:
0 = ∂ₜu + u·∂ₓu + δ²∂ₓₓₓu
Parameters of Interest:
- δ: The physical parameter representing the strength of the dispersive effect on the system
- In shallow water wave theory, δ is a unit-less quantity roughly indicating the relative depth of the water
Data Characteristics:
- Partial Derivatives: 3
- Time-dependent: Yes (hyperbolic)
- Spatial Resolution: 256
- Parameters: δ ∈ [0.8,5]
- Temporal Resolution: 0.73/102 seconds
- Parameter Values: 100
- Initial Conditions/Trajectories: 100
Evaluation Splits:
- Test (ID): δ ∈ [1.22, 2.48] ∪ [3.32, 4.58]
- OOD (Non-Extreme): δ ∈ [2.48, 3.32]
- OOD (Extreme): δ ∈ [0.8, 1.22] ∪ [4.58, 5]
Generation Parameters:
- Domain: Periodic domain [0,L]
- Spatial Discretization: Pseudospectral method with Fourier basis (Nₓ = 256 grid points)
- Time Integration: Implicit Runge-Kutta method (Radau IIA, order 5)
- Implementation: SciPy's
solve_ivpon CPU - Generation Time: ≈ 12 hours
- Burn-in Period: 40 simulation seconds
Initial Conditions: Initial conditions are sampled from a distribution over a truncated Fourier Series:
u₀(x) = Σ_{k=1}^K A_k sin(2πl_k x/L + φ_k)
where:
- A_k, φ_k ~ U(0,1)
- l_k ~ U(1,3)
Folder Descriptions
korteweg-de-vries-1d: 1D Korteweg-De Vries splits for 256 resolution fields
File Structure:
filename: delta=3.5_ic=42.h5
Contents:
tensor: Solution field with shape [time, spatial_dim]x-coordinate: Spatial grid pointst-coordinate: Time points
4e. 2D Darcy Flow
Description: The 2D Darcy Flow dataset represents steady-state flow through porous media with piecewise constant diffusion coefficients. This time-independent system is commonly used in groundwater flow modeling and subsurface transport problems. All solutions converge to a non-trivial steady-state solution based on the diffusion coefficient field. Mathematical Formulation: The 2D steady-state Darcy flow equation on a unit box Ω = (0,1)² is a second-order linear elliptic PDE with Dirichlet boundary conditions:
-∇·(a(x)∇u(x)) = f(x), for x ∈ Ω
u(x) = 0, for x ∈ ∂Ω
where:
- a ∈ L∞((0,1)²;R⁺) is a piecewise constant diffusion coefficient
- u(x) is the pressure field
- f(x) = 1 is a fixed forcing function Parameters of Interest:
- a(x): Piecewise constant diffusion coefficient field (spatially varying parameter) Data Characteristics:
- Partial Derivatives: 2
- Time-dependent: No (elliptic)
- Spatial Resolutions: 241×241, 421×421
- Parameters: Piecewise constant diffusion coefficient a ∈ L∞((0,1)²;R⁺)
- Temporal Resolution: N/A (steady-state)
- Parameter Values: 2048
- Initial Conditions/Trajectories: N/A
Evaluation Splits:
Unlike time-dependent systems with scalar parameters, Darcy Flow does not admit parameter splits based on numeric ranges. Instead, splits are defined using a derived statistic of the coefficient field.
Let ( r(a) ) denote the fraction of grid points in the coefficient field ( a(x) ) that take the maximum value (12).
This statistic is approximately normally distributed across coefficient fields. Splits are defined as: - Test (ID): Coefficient fields whose ( r(a) ) lies within the central mass of the distribution
- OOD (Non-Extreme): Not applicable
- OOD (Extreme): Coefficient fields whose ( r(a) ) lies in the tails beyond ( \pm 1.5\sigma ) Generation Parameters:
- Solver: Second-order finite difference method
- Implementation: Originally written in Matlab, runs on CPU
- Resolution: 421×421 (original), with lower resolution dataset generated by downsampling
- Coefficient Field Sampling: a(x) is sampled from μ = Γ(N(0, -Δ + 9I)⁻²)
- Gamma Mapping: Element-wise map where a_i ~ N(0, -Δ + 9I)⁻² → {3,12}
- a_i → 12 when a_i ≥ 0
- a_i → 3 when a_i < 0
- Boundary Conditions: Zero Neumann boundary conditions on the Laplacian over the coefficient field
Folder Descriptions
darcy-flow-241: 2D Darcy Flow splits for 241x241 resolution spatial fieldsdarcy-flow-421: 2D Darcy Flow splits for 421x421 resolution spatial fields
File Structure:
filename: sample_1024.h5
Contents:
coeff: Piecewise constant coefficient fieldsol: Solution field
5. Adding a New Dataset
The PDEInvBench framework is designed to be modular, allowing you to add new PDE systems. This section describes how to add a new dataset to the repository. For information about data format requirements, see Section 4.1.
- Downloads last month
- 708