Learning to Think in Physics: Breaking Shortcut Learning in Scientific Diffusion via Representation Alignment

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Jia, Haozhe, Yin, Pengyu, Chen, Wenshuo, Liang, Shaofeng, Wang, Lei, Tian, Bowen, Wang, Xiucheng, Jia, Nanqian, Yue, Yutao
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914582139764736
author Jia, Haozhe
Yin, Pengyu
Chen, Wenshuo
Liang, Shaofeng
Wang, Lei
Tian, Bowen
Wang, Xiucheng
Jia, Nanqian
Yue, Yutao
author_facet Jia, Haozhe
Yin, Pengyu
Chen, Wenshuo
Liang, Shaofeng
Wang, Lei
Tian, Bowen
Wang, Xiucheng
Jia, Nanqian
Yue, Yutao
contents Physics-informed diffusion models typically enforce PDE constraints only on final outputs, leaving intermediate representations unconstrained and prone to shortcut learning under shifted boundary conditions. We introduce **REPA-P**, a teacher-free, architecture-agnostic framework that aligns intermediate features with physical states using first-principles residuals. REPA-P attaches lightweight $1{\times}1$ projection heads to selected layers, decodes hidden activations into physical quantities, and applies PDE residual losses during training. These heads are discarded at inference, introducing **zero overhead**. Across four PDE tasks, including Darcy flow, topology optimization, electrostatic potential, and turbulent channel flow, REPA-P accelerates convergence by up to $2{\times}$, reduces physics residuals by up to $66.4\%$, and improves out-of-distribution robustness by up to $49.3\%$, with consistent gains on both U-Net and Diffusion Transformer backbones. Ablations show that supervising a small set of intermediate layers captures most benefits and complements output-level physics losses. Code is available at [https://github.com/Hxxxz0/REPA-P](https://github.com/Hxxxz0/REPA-P).
format Preprint
id arxiv_https___arxiv_org_abs_2605_20780
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Learning to Think in Physics: Breaking Shortcut Learning in Scientific Diffusion via Representation Alignment
Jia, Haozhe
Yin, Pengyu
Chen, Wenshuo
Liang, Shaofeng
Wang, Lei
Tian, Bowen
Wang, Xiucheng
Jia, Nanqian
Yue, Yutao
Machine Learning
Computer Vision and Pattern Recognition
Physics-informed diffusion models typically enforce PDE constraints only on final outputs, leaving intermediate representations unconstrained and prone to shortcut learning under shifted boundary conditions. We introduce **REPA-P**, a teacher-free, architecture-agnostic framework that aligns intermediate features with physical states using first-principles residuals. REPA-P attaches lightweight $1{\times}1$ projection heads to selected layers, decodes hidden activations into physical quantities, and applies PDE residual losses during training. These heads are discarded at inference, introducing **zero overhead**. Across four PDE tasks, including Darcy flow, topology optimization, electrostatic potential, and turbulent channel flow, REPA-P accelerates convergence by up to $2{\times}$, reduces physics residuals by up to $66.4\%$, and improves out-of-distribution robustness by up to $49.3\%$, with consistent gains on both U-Net and Diffusion Transformer backbones. Ablations show that supervising a small set of intermediate layers captures most benefits and complements output-level physics losses. Code is available at [https://github.com/Hxxxz0/REPA-P](https://github.com/Hxxxz0/REPA-P).
title Learning to Think in Physics: Breaking Shortcut Learning in Scientific Diffusion via Representation Alignment
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2605.20780