Physics Informed ML/AI

Source

Takeaway

  • Physics 最重要的是 symmetry, conservation law, invariance 如何體現在 AI/ML!!

    • Astrology vs. Astronomy
    • Alchemy vs. Chemistry
  • Parsimony!

  • 最重要是學習如何 embed prior knowledge to ML/AI

  • 如何滿足 constraint? (例如 token translation 問題?)

    1. 使用 loss function, NOT a good way 因爲不會是 0

    2. explicitly 使用 。。。。 TBD

    image-20240303204634948

  • 如何減少 error?

    • 加上 extra physic loss function in training!! 特別是 physic quantity 都是可微分的!!!!!
    • image-20240303204537396

開場

  • Physics 也是一種 (differentiable) optimization.
  • AI/ML 是 optimization

Physics to enforce ML/AI.

反之 use AI/ML to discover new physics

1

煉丹五部曲

image-20240303202028724

加上 Physics!

image-20240303202208650

預備知識

image-20240303202332434

image-20240303202537628

Data Collection (Huge advantage using physical knowledge 可以大幅減少 data!!)

  1. use symmetry (圖1)

  2. use right coordinate (圖 2)

  3. use Fourier transform … (可以視爲 new coordinate system)

  4. Simulation (slow, rich in spatial) or experiment (fast, good for temporal) (圖 3)

  5. Data generalization 需要 滿足 physics (symmetry, conservation), and parsimony!

    image-20240303230047484

image-20240303230114550

image-20240303230338398

image-20240303230942777

Symmetry, Invariance, Equivariance

image-20240309074721679

常見的對稱性。

image-20240407133600878

三種常見方法使用對稱性

  1. Promoting 對稱性:加上 loss function. M 是 manifold. 第二項是 y_hat 和 manifold 的距離要 minimize.

    image-20240407140317441

  2. Enforce 對稱性:直接放在 optimization procedure (類似 chain of thought?)中: KKT condition, 上述矩陣對稱保持。直接限制 y_hat 要在 manifold 上。這是 constrained optimization!

    image-20240407140420102

  3. Discovery 對稱性:反過來可以用 ML/AI 發現對稱性。

Appendix