学习物理中的推理:通过表征对齐打破科学扩散中的捷径学习
Learning to Think in Physics: Breaking Shortcut Learning in Scientific Diffusion via Representation Alignment
AI总结:
该研究提出了一种无需教师的框架REPA-P,通过使用原理残差对中间特征与物理状态进行对齐,以解决物理信息扩散模型中中间表示在边界条件变化时容易产生捷径学习的问题,从而在四个PDE任务中提高了收敛速度、减少了物理残差并增强了分布外鲁棒性。
摘要:
物理信息扩散模型通常只在最终输出上强制实施PDE约束,导致中间表示不受约束且在边界条件变化时容易产生捷径学习。我们引入了REPA-P,一种无需教师、架构无关的框架,通过原理残差对中间特征与物理状态进行对齐。REPA-P在选定的层上附加轻量级1×1投影头,将隐藏激活解码为物理量,并在训练过程中应用PDE残差损失。这些头在推理时被丢弃,引入了零开销。在四个PDE任务中,包括达西流、拓扑优化、静电势和湍流通道流,REPA-P通过2倍的收敛加速、66.4%的残差减少和49.3%的分布外鲁棒性提升,实现了在U-Net和扩散变换器骨干网络上的持续收益。消融实验显示,监督少量中间层捕获了大部分收益,并补充了输出级物理损失。代码可在[https://github.com/Hxxxz0/REPA-P](https://github.com/Hxxxz0/REPA-P)获得。
英文摘要:
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).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。