# Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers

Unisolver:方程式の構成要素を条件として入れ、多様なPDEを一つで解く

Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · arXiv · 2024年5月27日

- **課題** 従来のニューラルPDEソルバーは、特定の方程式や係数の範囲でしか学習とテストが行われてこなかったため、多様なPDEを解くことが難しいです。
- **手法** Unisolverは、方程式の記号や係数、境界条件などの構成要素を領域全体向けと点ごと向けの二種類に分けて、Transformerの各層に条件として入れます。
- **結果** 2D混合PDEsの評価で、多くのデータセットでDPOTを上回り、平均相対L2は5.50から4.54に下がりました。

![Figure 3: Overview of Unisolver. We universally embed all PDE components, such as domain geometries, equation symbols and boundary types into deep conditions…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-1a973801e8fa2530af3582b52dba025d.png?thumb=512)

**Figure 3** . Overview of Unisolver. We universally embed all PDE components, such as domain geometries, equation symbols and boundary types into deep conditions and employ a conditional Transformer to aggregate deep conditions in the decoupled subspace.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。

## 既存の神経PDEソルバーが汎化できなくなる場所

PDEの解を数値計算で求めるには、解ごとに多くの計算コストがかかります。そこで、深層学習で解くニューラルPDEソルバーが注目されており、代表的な流れは、方程式を目的関数として扱うPINNsと、データから写像を学ぶニューラルオペレータの二つです。

PINNsは方程式を目的関数として定式化するため比較的正確な解が得られますが、新しいシナリオへの汎化が難しく、タスクごとに再学習が必要になります。一方、ニューラルオペレータはデータから直接学ぶため、PINNsより多様な初期状態やPDEに汎化しやすいです。ただし、学習データだけでは方程式の解を導くには情報が足りません。例えばNavier-Stokes方程式では、粘性係数や外力項が違えば、同じ初期状態でも解は異なります。そのため、ニューラルオペレータは限られた種類のPDEでしか学習とテストが行われていません。

PDE情報を組み込む既存手法もありますが、構成要素の完全な集合を扱っていないため、汎化性に限界があります。たとえば、メッセージパッシング型のニューラルPDEソルバーはPDE係数を入力に連結し、PDEformerはPDEを計算グラフとして表してGraph Transformerで情報を集約します。一方、DPOTのように、多様なPDEのデータとパラメータを増やして汎化が現れるのを待つ流れもあります。著者らは、この流れではPDE情報を観測から暗黙に取り出す必要があり、その抽出は逆問題に似て複雑になると見ています。つまり、これらのモデルはPDEの表現が不十分または曖昧なまま学習しやすく、より広いPDEを解く汎化が妨げられると考えられます。

## PDE構成要素を分けて条件にする発想

本節の対象は、PDEの解を決める構成要素をすべて集め、領域全体型と点ごと型に分けて条件として入れる設計です。著者らは、データとパラメータを増やすだけでなく、PDE解法の理論的な解析から出発しています。その検証に使われたのが、両端を固定した振動する弦の方程式です。この方程式の解は、初期位置、初期速度、幾何形状、外力という項の積分で表され、Theorem 1として示されています。解析解を見ると、係数aは領域全体に一様な影響を与える一方、外力fは点ごとに効いています。そのため、著者らはこの違いを根拠に、構成要素を領域全体型と点ごと型の二つに分類しました。

分類の対象となる完全な構成要素は六つあり、方程式記号、係数、境界条件の種類、外力、領域形状、境界値関数です。初期条件は、構成要素とは別に入力として扱われます。方程式の記法は全領域で共通なので、領域全体型に分類されます。領域形状は、各点が含まれるかどうかを決める二値マスクとして記録されるため、点ごと型に分類されます。境界条件は周期境界やRobin境界など形が多様なため、著者らは境界条件の種類を領域全体型、境界値の関数を点ごと型として二つに分けて表しています。

![Table 1: Categorization of complete PDE components](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-bfd4705d2a209c8498af4c064ed0f81c.png?thumb=512)

**Table 1** . Categorization of complete PDE components.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。

この分類により、領域全体型の条件と点ごと型の条件を、それぞれ別の経路で隠れ表現に入れられます。従来の手法は、構成要素を粗く、かつ不完全な形で条件として入れていたとされています。一方でUnisolverは、各構成要素を細かく完全に埋め込むことを狙っています。具体的には、方程式記号はLLMで、係数や境界条件の種類はLinear層で、点ごとの量はpatchify埋め込みで処理されます。次の節では、これらの条件がTransformerの層にどう入るかを追います。

## Transformerへの条件の入れ方

方程式記号は、LaTeX表記の文字列をLLaMA-3 8Bに入力して埋め込みます。数式の文字列を使うのは、LLMが事前学習で得た数学的知識を利用して、非構造な方程式を符号化できると考えられるからです。係数や外力項は、具体的な値ではなく記号のまま入力し、LLMが方程式の物理的な意味に注目するようにしています。つまり、数値の違いはLLMの埋め込みには入らず、数値に対応する条件は別の経路で入力されます。

LLMの最後のブロックの出力を系列方向に平均して、各PDEにつき4096次元の埋め込みを作ります。その後、MLPで埋め込みのチャネル数を揃えて、方程式記号の深い条件とします。係数や境界条件の種類などの領域全体型は、SiLUを挟む二つの線形層で埋め込みます。外力、領域マスク、境界値関数などの点ごと型は、入力と同じパッチ化で系列に変換します。同じ分類の条件は加算してまとめ、条件を分けすぎて表現力が落ちるのを避けています。

Unisolverは隠れ表現のチャネルを半分に分け、片方は領域全体型、もう片方は点ごと型の条件で変調します。多頭アテンションの言葉で言えば、一部のヘッドに領域全体型を、残りに点ごと型を担当させる設計に近くなります。この分離により、二つの種類の条件が互いに干渉することを抑えられると著者らは述べています。領域全体型の条件は、各点の系列長に合わせて繰り返すことで、系列全体に同じ物理条件を与えます。

各層では、MLPで射影した条件からスケール、シフト、選択の値を作り、アテンションとフィードフォワードの前後で入力を変調します。式(2)では、Iselectをゲートとして自己アテンションの出力に掛けてから残差に足し、その後FFにも同じ形の変調を適用します。最終層のXNは、条件に基づくスケールとシフトで変調してから線形投影し、Yの予測になります。つまり、PDE構成要素の条件は各層で繰り返し入力され、出力の範囲にも影響します。

## HeterNSでの比較：構成要素を変えた2D Navier-Stokesで効果はあるか

HeterNSは、2D Navier-Stokes方程式を拡張したベンチマークで、粘性係数と外力項を変えて構成要素の多様性を作ったものです。評価は、未知の初期条件だけを変えたin-distributionテストと、初期条件に加えて粘性係数や外力項も変えたzero-shot汎化の二種類で行われました。比較対象は、FNO、PINO、ViTの三つの基本的な手法と、FactFormer、ICON、MPPの三つの最新手法の計六つで、いずれも物理情報を与えて条件を揃えています。具体的には、入力にさまざまなPDE構成要素を連結する、ICONでは予測の手がかりとなる軌道を与える、PINOでは物理情報を使った損失を課す、という方法で補っています。

学習は全手法とも300エポック、相対L2損失、初期学習率0.0005のADAMで行い、バッチサイズは60です。学習率は、コサイン・アニーリングのスケジューラで減衰させています。

in-distributionテストでは、Unisolverの誤差がPDEformerより大きく下がりました。著者らは、構成要素を計算グラフ経由で与えるPDEformerより、完全な構成要素をTransformerに直接組み込む設計の方が、入力と解の間の複雑な物理関係を表すのに有効だと解釈しています。この比較は、同じ入力条件のもとで条件の入れ方の差を見たものです。

zero-shotの四つのシナリオでは、Unisolverの性能がPDEformerより良く、PDEformerに対する平均改善は27.1%でした。しかも、Unisolverはパラメータ数がPDEformerより少ない状態でこの結果を出しています。つまり、未知の粘性係数や外力項を含む条件でも、構成要素を条件として入れる設計が汎化に寄与したと読めます。

なお、2D混合PDEのベンチマークでは、12のデータセットを使い、DPOTと比べて評価しました。このベンチマークでは、データに構成要素の偏りがあるため、DPOTのバランスよくサンプリングする手法を採用しています。

## 2D混合PDEsと1D時間依存PDEsでの結果

2D混合PDEsは、4つの定番ベンチマークから集めた12データセットを、一つのモデルで同時に学習する設定です。データセット間でPDE成分の偏りが大きいため、著者らはDPOTの均衡サンプリング手法を採用しました。それでも多様なPDEサンプルを扱うことには大きな困難が残ると、論文は述べています。in-distributionテストでは、評価対象は図6に示したVarying Geometry、Varying Force、Varying Boundary Condition、Varying Coefficientsを含むテストセットです。Unisolverは、12データセットのうち11でDPOTを上回りました。

平均相対L2は5.50から4.54に下がり、平均の改善は17.5%でした。例外はDiffusion-Reaction（DR）データセットで、相対L2が5%未満に飽和しているため差が出にくいと論文は説明しています。著者らは、係数の汎化、外力の汎化、形状の汎化を含むPDE成分が支配的なタスクで、Unisolverの優位が一貫して出ると見ています。

このベンチマークでは、PDEBenchへのzero-shot汎化性能を評価します。学習コストは∼3000hと大きく、比較は学習時間の制約を伴うと読むべきです。比較対象は、zero-shot汎化を扱うPDEformerとDPOTの2つで、著者らは百万規模のサンプルで学習するコストが大きいため、ほかのベースラインは含めなかったと説明しています。学習は、1D時間依存PDEsとの2D混合PDEsについて、それぞれ元論文の学習戦略に従いました。評価指標は相対L2です。

1D時間依存PDEsの評価でも、著者らは構成要素の効果を確かめるためにアブレーションを行いました。表6では、LLM埋め込みを使わないw/o LLMと、直交ランダムベクトルで置き換えたRandom Vectorを比較しています。Unisolverの最終モデルのBurgers（ν = 0.01）の誤差は0.0176でした。同じ条件のw/o LLMでは0.0189でした。

## アブレーションで効いた設計：LLM埋め込みとサブスペース分離

アブレーションは、1D時間依存PDEsの50,000サンプルを使い、LLM埋め込みと条件モデル化モジュールの効果を調べました。結果はTable 6にまとめられています。LLM埋め込みを外したw/o LLMは、全ての変種の中で性能が最も悪く、直交ランダムベクトルに置き換えたRandom Vectorよりも悪くなりました。LLaMA-3を使うと、LLM埋め込みを持たないモデルに比べて平均5.76%の改善が得られました。LLMが符号化するのは六つの構成要素のうち方程式記号だけなので、約5%の改善は小さくないと著者らは解釈しています。つまり、方程式記号という一部の情報だけでも、LLM埋め込みが学習に効いていると読めます。

条件モデル化のアブレーションでは、サブスペース分離を外したUnchanged w/o Subspaceを評価しました。分離を外すと、PDE条件の群の間に干渉が生じ、ゼロショット設定の性能が特に落ちました。その平均の落ち込みは5.45%です。さらに、PDE構成要素を単純に連結したUnchanged Concatは、平均21.0%の性能低下を示しました。著者らは、この結果から条件を領域全体向けと点ごと向けに分けて扱う設計の利点が表れていると述べています。一方、LLM埋め込みの比較では、LLaMA-3、LLaMA-2、T5の間で結果は似ており、どのモデルも数学的な事前知識を符号化する能力を持つと示されました。

実運用では、PDEの構成要素が完全に揃わない場合もあるため、著者らは不完全な構成要素の状況を検証しました。HeterNSでは、各構成要素を30%の確率で学習可能なトークンに置き換え、部分的に観測されたデータを模擬しました。この操作の結果、完全な構成要素を持つサンプルは49%になりました。推論時には、PDE構成要素を入力として与えるかどうかを選べます。構成要素を全く与えないincompleteの設定でも、Unisolverは多くの場合でFNOを上回り、粘性係数が低い複雑な場合にとくに差が出ました。完全な構成要素を与えるcompleteの設定では、平均21.6%さらに性能が向上しました。この結果は、完全な構成要素の情報がPDEの解法に欠かせないという著者らの主張を裏付けています。

PCAによる可視化では、LLM埋め込みと学習されたPDE条件の関係も確認されました。Figure 8(b)では、複雑さが近いPDEが似た埋め込みに符号化されることが示されました。Figure 8(c)では、深い条件の軌跡が曲率の異なる放物線状になり、PDE構成要素の変化を学習した条件が捉えていると著者らは述べています。

## データ量とモデル規模の伸び

Unisolverのスケーリングは、学習データとモデル規模を同時に増やしたときに精度がどう変わるかで確かめられています。学習データは50k、100k、200k、3Mと増やし、モデルパラメータは3M、10M、19M、63Mと増やしました。図10は、学習データを60倍、モデルパラメータを21倍に増やした範囲を示しています。評価には、Burgers ν=0.01のin-distribution相対L2を用い、結果を対数軸でプロットしています。

図10では、データ量を増やしても、パラメータ数を増やしても、相対L2が下がりました。この結果から、著者らはUnisolverがスケーリング則に従うと述べ、データとパラメータの増加に応じて性能が良くなることを示しています。ただし、この観測は1D PDEsの一つの係数設定に限られており、ここで読み取れるのは二つの軸に沿った改善の傾向にとどまります。

著者らは、スケーラビリティを汎用的なニューラルPDEソルバーを作るうえで重要な要素と位置づけています。そのうえで、粘性が小さく力の係数ωが大きい複雑な条件では、特にゼロショット設定でUnisolverがFNOを大きく上回ることが示されました。

## 限界：検証済みの範囲と残された課題

Unisolverの限界として、まず計算コストが挙げられます。Table 2では、#GPU hoursがHeterNSでは∼60h、1D time-dependent PDEsでは∼3000h、2D mixed PDEsでは∼800hと示されています。これらの値は、いずれもA100 1枚で全モデルの学習時間を平均したものです。また、著者らは百万規模のサンプルを扱うため、2つのベンチマークではベースラインを追加しなかったと述べています。

評価の範囲にも制約があります。2D mixed PDEsでは、DPOTが集めた12のデータセットを使い、Unisolverは11の結果でDPOTを上回りました。一方で、Diffusion-Reaction（DR）データセットは相対L2が5%未満で飽和しているため、改善を測りにくいと著者らは述べています。

構成要素が一部欠ける場合についても、検証は限定的です。著者らは、HeterNSで各PDE構成要素を30%の確率で学習可能トークンに置き換え、完全な構成要素を持つサンプルを49%にしました。この設定は完全な構成要素での結果とは別に評価されており、incompleteの場合でもFNOを多くのケースで上回ったと報告されています。ただし、この結果は学習可能トークンによる補完という特定の方法に基づくものです。

HeterNS自体の規模も比較的小さく、15組合せの構成要素と15,000サンプルで学習しています。zero-shotの評価は、初期条件の変化と、粘性係数または外力項の変化を組み合わせた場合に限られています。そのため、学習に使った構成要素の組合せの外で、どこまで汎化するかは、今回の結果だけでは決められません。つまり、残された課題は、より多様な構成要素の組合せでの検証と、計算コストを抑えた学習方法の検討にあります。

## 論文情報

- **著者**: Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2024年5月27日
- **登録日**: 2026年10月29日
- **更新日**: 2025年9月4日
- **バージョン**: v5
- **arXiv**: 2405.17527
- **カテゴリ**: cs.LG · cs.AI · math.NA
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2405.17527v5) · [PDF ↗](https://arxiv.org/pdf/2405.17527v5)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

Deep models have recently emerged as promising tools to solve partial differential equations (PDEs), known as neural PDE solvers. While neural solvers trained from either simulation data or physics-informed loss can solve PDEs reasonably well, they are mainly restricted to a few instances of PDEs, e.g. a certain equation with a limited set of coefficients. This limits their generalization to diverse PDEs, preventing them from being practical surrogate models of numerical solvers. In this paper, we present Unisolver, a novel Transformer model trained on diverse data and conditioned on diverse PDEs, aiming towards a universal neural PDE solver capable of solving a wide scope of PDEs. Instead of purely scaling up data and parameters, Unisolver stems from the theoretical analysis of the PDE-solving process. Inspired by the mathematical structure of PDEs that a PDE solution is fundamentally governed by a series of PDE components such as equation symbols and boundary conditions, we define a complete set of PDE components and flexibly embed them as domain-wise and point-wise deep conditions for Transformer PDE solvers. Integrating physical insights with recent Transformer advances, Unisolver achieves consistent state-of-the-art on three challenging large-scale benchmarks, showing impressive performance and generalizability. Code is available at https://github.com/thuml/Unisolver.

## 論文の図

![Figure 1: Neural PDE solvers typically consist of two paradigms: physics informed and data driven. Unisolver combines data-driven methods with physical insight…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-067fd4fb28d092e6b91f05f8355a01d4.png?thumb=512)

**Figure 1** . Neural PDE solvers typically consist of two paradigms: physics informed and data driven. Unisolver combines data-driven methods with physical insights from PDE components in a conditional modeling framework, boosting generalizability and scalability.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの2ページ目から図の部分を抽出しています。

![Figure 2: Overview of universal neural PDE solving, taking the 2D mixed PDEs in Sec 4.3 as an example. Our model is jointly trained on diverse PDEs with varie…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-325f04a1812c3374915acb3026edc53d.png?thumb=512)

**Figure 2** . Overview of universal neural PDE solving, taking the 2D mixed PDEs in Sec 4.3 as an example. Our model is jointly trained on diverse PDEs with varied initial conditions and governing PDE components, aiming for direct generalization to unseen PDEs in downstream tasks. The “Robin boundary” in gray is a valid boundary type despite not included in the example dataset.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの3ページ目から図の部分を抽出しています。

![Table 2: Summary of benchmarks. #GPU hours are calculated by averaging the training time of all models on one A100 GPU. Detailed compute resources can be found…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-cd3604c40e37b764bbfbdf4b5a118a43.png?thumb=512)

**Table 2** . Summary of benchmarks. #GPU hours are calculated by averaging the training time of all models on one A100 GPU. Detailed compute resources can be found in Appendix I.7. Besides, ✓ indicates the PDE component will change among different samples, while × refers to unchanged ones.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。

![Figure 4: Visualization of evaluation scenarios on the HeterNS](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-d8e7f2558a3ce06d94b040fce2cc081c.png?thumb=512)

**Figure 4** . Visualization of evaluation scenarios on the HeterNS.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。

![Table 3: Performance comparison on HeterNS. Note that the re- ported In-dist and Zero-shot results are averaged over multiple sub-configurations with different…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-d8b1ae8d7275a86d1d7f3583a5471989.png?thumb=512)

**Table 3** . Performance comparison on HeterNS. Note that the re- ported In-dist and Zero-shot results are averaged over multiple sub-configurations with different viscosity coefficients and force terms. Full results can be found in Appendix D.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。

![Table 4: Comparison (relative L2) of in-distribution test and zero-shot generalization on 1D time-dependent PDEs. Viscosity ν and advection velocity β are domi…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-4f0e6b5547662db30c072c079ce4870b.png?thumb=512)

**Table 4** . Comparison (relative L2) of in-distribution test and zero-shot generalization on 1D time-dependent PDEs. Viscosity ν and advection velocity β are dominated components of target PDEs.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

![Table 5: Performance comparison (relative L2 (×10−2)) across 12 in-distribution test sets. We use a “source-PDE” format to denote different tasks (e.g. FNO-NS)…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-3100a9fbe94eeb1627f4956b6e9e72d3.png?thumb=512)

**Table 5** . Performance comparison (relative L2 (×10−2)) across 12 in-distribution test sets. We use a “source-PDE” format to denote different tasks (e.g. FNO-NS). The second row lists the primary PDE components for each dataset. See Appendix G.3 for details.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

![Table 6: Ablation results on the LLM embeddings and the Condition Modeling. Variants of the former include without LLM embeddings (w/o LLM) and replacing by or…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-12dfaa650b2b5d7db919aee192799452.png?thumb=512)

**Table 6** . Ablation results on the LLM embeddings and the Condition Modeling. Variants of the former include without LLM embeddings (w/o LLM) and replacing by orthogonal random vectors (Random Vector), and variants of the latter include without subspace decoupling (w/o Subspace) and directly concatenating components (Concat). “Unchanged” means no changes to the default design.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

![Figure 7: Capability of Unisolver to handle partial-observed data simulated on the HeterNS](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-fe77563b3812f018f60ca3b5fe010c72.png?thumb=512)

**Figure 7** . Capability of Unisolver to handle partial-observed data simulated on the HeterNS.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

![Figure 8: (a) Comparison of utilizing different language models to encode equation symbols. (b) PCA visualization of LLM embeddings. The considered PDE family…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-e5c88ebb87b5f0df58268b193920d45a.png?thumb=512)

**Figure 8** . (a) Comparison of utilizing different language models to encode equation symbols. (b) PCA visualization of LLM embeddings. The considered PDE family contains six coefficients, such asc01, c02, c03, as well as source and viscosity terms. Different colors represent the number of non-zero coefficients, intuitively indicating the complexity of PDEs. A zero coefficient results in the removal of a term from the equation, impacting the representations embedded by the LLM. (c) PCA visualization of learned deep PDE conditions, Iselect in Eq. (2). We vary only one coefficient at a time and keep the others fixed at zero, forming the shown parabolic-like trajectories.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

![Figure 9: Error map comparison on HeterNS, where all cases share the same initial condition but differ in viscosity (ν) and force (ω) (shown in the first row b…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-37efa06d5386d43d94addccc686c61c4.png?thumb=512)

**Figure 9** . Error map comparison on HeterNS, where all cases share the same initial condition but differ in viscosity (ν) and force (ω) (shown in the first row by pairs (ν, ω)). The left panel shows in-distribution tests, while the right shows zero-shot generalization.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

![Table 7: More ablations about LLM embeddings. We include three more ablations to further demonstrate the rationale for using LLM embeddings. Relative L2 loss i…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-2b9761411349d5f5e74e2e88a631dba2.png?thumb=512)

**Table 7** . More ablations about LLM embeddings. We include three more ablations to further demonstrate the rationale for using LLM embeddings. Relative L2 loss is reported.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの12ページ目から図の部分を抽出しています。

![Table 10: Relative L2 performance on HeterNS with different viscosity and fixed force frequency coefficient ω = 2. For clarity, the best result is in bold and…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-88c47b4bf54bd198c3cbc598f76ed4a8.png?thumb=512)

**Table 10** . Relative L2 performance on HeterNS with different viscosity and fixed force frequency coefficient ω = 2. For clarity, the best result is in bold and the second best is underlined. Promtotion refers to the relative improvement over the second-best method.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの14ページ目から図の部分を抽出しています。

![Figure 13: Error maps (absolute difference between model predictions and ground truth) for in-distribution tests with top three baselines on HeterNS. See Table…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-a6e42aa146108d69f22609972aa98d2e.png?thumb=512)

**Figure 13** . Error maps (absolute difference between model predictions and ground truth) for in-distribution tests with top three baselines on HeterNS. See Table 10 and 11 for numerical comparison (relative L2). All data has the same initial condition and differs inviscosity (ν) and force (ω) (shown in the first row by the pairs (ν, ω)). Unisolver achieved the best visual performance among the compared baselines.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの14ページ目から図の部分を抽出しています。

![Figure 14: Error maps for zero-shot generalization settings with top three baselines on the HeterNS dataset with the same initial conditions and differs in vis…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-fac3b18911b310473aa0403e5fa5125b.png?thumb=512)

**Figure 14** . Error maps for zero-shot generalization settings with top three baselines on the HeterNS dataset with the same initial conditions and differs in viscosity (ν) and force (ω) (shown in the first row by the pairs (ν, ω)). See Table 10 and 11 for numerical comparison.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの15ページ目から図の部分を抽出しています。

![Figure 15: Error maps on the in-distribution test and zero-shot generalization (Burgers and Advection equation from PDEBench (Takamoto et al., 2022)) settings…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-59fa8e519a345ee8db9a80b50682d332.png?thumb=512)

**Figure 15** . Error maps on the in-distribution test and zero-shot generalization (Burgers and Advection equation from PDEBench (Takamoto et al., 2022)) settings in 1D time-dependent PDEs. See Table 4 for numerical comparison. We visualize two cases: periodic boundary conditions and Robin boundary conditions in in-distribution tests. The number in the Burgers columns is the diffusion coefficient ν while the number in the Advection column is the advection speed β.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの15ページ目から図の部分を抽出しています。

![Figure 16: Unisolver predictions and error maps on 2D mixed PDEs. See Table 5 for numerical results. Both predictions and error maps are provided. As shown in…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-8135911c7e123aae5f9306e047305dbb.png?thumb=512)

**Figure 16** . Unisolver predictions and error maps on 2D mixed PDEs. See Table 5 for numerical results. Both predictions and error maps are provided. As shown in the CFDBench-NS columns, Unisolver presents an impressive ability to handle different geometry conditions.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの15ページ目から図の部分を抽出しています。

![Table 17: Performance comparison (relative L2) on zero-shot generalization settings with unseen viscosity (ν) and unseen force (ω). The pairs in the first row…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-34d78e26d89ef6d51c385af7ea73068f.png?thumb=512)

**Table 17** . Performance comparison (relative L2) on zero-shot generalization settings with unseen viscosity (ν) and unseen force (ω). The pairs in the first row are in the form of (ν, ω). For clarity, the best result is in bold and the second-best is underlined.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの24ページ目から図の部分を抽出しています。

![Table 18: Ablations with different viscosity coefficient ν and fixed force ω = 2on the HeterNS on removing some PDE components (W/o), and replacing domain-wise…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-c748f06694e98194ab1d1ef0d2107cb1.png?thumb=512)

**Table 18** . Ablations with different viscosity coefficient ν and fixed force ω = 2on the HeterNS on removing some PDE components (W/o), and replacing domain-wise or point-wise conditions from our design to directly concat (Concat).

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの24ページ目から図の部分を抽出しています。

![Table 19: Ablations with different force ω and fixed viscosity ν = 10−5 on the HeterNS on removing some PDE components (W/o), and replacing domain-wise or poin…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-d92e188cccae2a634153b500bcc96c29.png?thumb=512)

**Table 19** . Ablations with different force ω and fixed viscosity ν = 10−5 on the HeterNS on removing some PDE components (W/o), and replacing domain-wise or point-wise conditions from our design to directly concat (Concat).

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの25ページ目から図の部分を抽出しています。

![Table 20: Zero-shot performance comparison (relative L2) with top three baselines](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-41dffa6d74f5b28542f2b337224ba7d3.png?thumb=512)

**Table 20** . Zero-shot performance comparison (relative L2) with top three baselines

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの25ページ目から図の部分を抽出しています。

![Table 23: Standard Deviations on the HeterNS benchmark with different viscosity coefficients and fixed force frequency coefficientω = 2](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-b1a7e98f9c551cb841fc71e9d4ac6038.png?thumb=512)

**Table 23** . Standard Deviations on the HeterNS benchmark with different viscosity coefficients and fixed force frequency coefficientω = 2.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの26ページ目から図の部分を抽出しています。

![Table 24: Standard Deviations on the HeterNS benchmark with different force (ω) and fixed viscosity coefficient ν = 2](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-bfb1062f5a955248b7d7edc7a2b44dca.png?thumb=512)

**Table 24** . Standard Deviations on the HeterNS benchmark with different force (ω) and fixed viscosity coefficient ν = 2.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの26ページ目から図の部分を抽出しています。

![Figure 17: Visualization of the full trajectories in the 2D mixed PDEs, with the names of the subsets displayed on the right. Ground truth and Unisolver predic…](https://refivu.com/papers/a7154426-94d9-4030-b848-c26f52fa8098/figures/figure-8ed0ab92e7a30dd1754701d375049e8a.png?thumb=512)

**Figure 17** . Visualization of the full trajectories in the 2D mixed PDEs, with the names of the subsets displayed on the right. Ground truth and Unisolver predictions are presented, visually highlighting the complexity and diversity of the 2D mixed PDEs.

[出典](https://arxiv.org/abs/2405.17527v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long · Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers · 論文の図を引用 · 元のPDFの27ページ目から図の部分を抽出しています。

## この論文を引用

Hang Zhou, Yuezhou Ma, Haixu Wu, Haowen Wang, Mingsheng Long (2024). Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers. arXiv:2405.17527v5. https://arxiv.org/abs/2405.17527v5

**BibTeX**

```
@misc{zhou2024unisolver,
  title = {{Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solvers}},
  author = {Hang Zhou and Yuezhou Ma and Haixu Wu and Haowen Wang and Mingsheng Long},
  year = {2024},
  eprint = {2405.17527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.17527v5}
}
```

## ほかの論文解説

- [GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints](https://refivu.com/ja/papers/11792bcd-8c73-4a2d-8b43-c855c3d7ad48-gqa-training-generalized-multi-query-transformer-models-from.md)
- [Fast Transformer Decoding: One Write-Head is All You Need](https://refivu.com/ja/papers/65f892e7-2a21-4ce7-9e89-c75f7ec6b23c-fast-transformer-decoding-one-write-head-is-all.md)
- [Dynamic Routing Between Capsules](https://refivu.com/ja/papers/a4e87f62-36cc-47df-991e-87dd01b1a4ef-dynamic-routing-between-capsules.md)
- [Distilling the Knowledge in a Neural Network](https://refivu.com/ja/papers/d39fc594-ec58-4492-b1f4-d2d3600a6455-distilling-the-knowledge-in-a-neural-network.md)
- [Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation](https://refivu.com/ja/papers/16116a1b-83a4-4d2d-b5ff-31f5b005ba3f-train-short-test-long-attention-with-linear-biases.md)
- [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://refivu.com/ja/papers/b149783d-1b22-47f2-94df-544d57bb2621-mamba-linear-time-sequence-modeling-with-selective-state.md)
- [SageAttention2: Efficient Attention with Thorough Outlier Smoothing and Per-thread INT4 Quantization](https://refivu.com/ja/papers/5328df78-371a-4c98-b607-4082e43abef7-sageattention2-efficient-attention-with-thorough-outlier.md)
- [Scaling Tractable Probabilistic Circuits: A Systems Perspective](https://refivu.com/ja/papers/e32b51bf-5311-4420-bc25-ec49bc5d82ec-scaling-tractable-probabilistic-circuits-a-systems.md)
- [SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inference](https://refivu.com/ja/papers/6a719301-c428-424d-9dc3-3159ff623aea-spargeattention-accurate-and-training-free-sparse-attention.md)
- [Dolphin: A Programmable Framework for Scalable Neurosymbolic Learning](https://refivu.com/ja/papers/45dd94f7-4a58-4799-bc56-64bca4cda2ed-dolphin-a-programmable-framework-for-scalable-neurosymbolic.md)
- [Adversarial Flow Models](https://refivu.com/ja/papers/5de76f30-93e7-4a6f-b44f-f36b2096f9e2-adversarial-flow-models.md)
- [EmbodiedLab: Benchmarking Embodied Agents That Act to Know](https://refivu.com/ja/papers/db9dafac-e675-4429-8d4f-1cea4451726d-embodiedlab-benchmarking-embodied-agents-that-act-to-know.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/a7154426-94d9-4030-b848-c26f52fa8098-unisolver-pde-conditional-transformers-towards-universal)
