Saved in:
Bibliographic Details
Main Authors: Lei, Yuan-Zheng, Gong, Yaobang, Chen, Dianwei, Cheng, Yao, Yang, Xianfeng Terry
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.11491
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908536504582144
author Lei, Yuan-Zheng
Gong, Yaobang
Chen, Dianwei
Cheng, Yao
Yang, Xianfeng Terry
author_facet Lei, Yuan-Zheng
Gong, Yaobang
Chen, Dianwei
Cheng, Yao
Yang, Xianfeng Terry
contents This study investigates why physics-informed machine learning (PIML) can fail in macroscopic traffic flow modeling. We define failure as cases where a PIML model underperforms both purely data-driven and purely physics-based baselines by a given threshold. Unlike in other fields, physics residuals themselves do not hinder optimization in this setting. Instead, effective updates require both data and physics gradients to form acute angles with the true gradient, a condition difficult to satisfy with low-resolution loop data. In such cases, neural networks cannot accurately approximate density and speed, and the constructed physics residuals, already degraded by discrete sampling and temporal averaging, lose their ability to capture PDE dynamics, which directly leads to PIML failure. Theoretically, although LWR and ARZ solutions are weak solutions, for piecewise $C^k$ initial data they remain $C^k$ off the shock set under mild conditions, which has Lebesgue measure zero. Thus, almost all detector or collocation points lie in smooth regions where residuals are valid, and the MLP's inability to exactly represent discontinuities is immaterial. Finally, we establish MSE lower bounds of physics residuals: higher-order models such as ARZ have strictly larger consistency error bounds than LWR under mild conditions. This explains why LWR-based PIML can outperform ARZ-based PIML even with high-resolution data, with the gap shrinking as resolution increases, consistent with prior empirical findings.
format Preprint
id arxiv_https___arxiv_org_abs_2505_11491
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Potential failures of physics-informed machine learning in traffic flow modeling: theoretical and experimental analysis
Lei, Yuan-Zheng
Gong, Yaobang
Chen, Dianwei
Cheng, Yao
Yang, Xianfeng Terry
Machine Learning
Computational Physics
This study investigates why physics-informed machine learning (PIML) can fail in macroscopic traffic flow modeling. We define failure as cases where a PIML model underperforms both purely data-driven and purely physics-based baselines by a given threshold. Unlike in other fields, physics residuals themselves do not hinder optimization in this setting. Instead, effective updates require both data and physics gradients to form acute angles with the true gradient, a condition difficult to satisfy with low-resolution loop data. In such cases, neural networks cannot accurately approximate density and speed, and the constructed physics residuals, already degraded by discrete sampling and temporal averaging, lose their ability to capture PDE dynamics, which directly leads to PIML failure. Theoretically, although LWR and ARZ solutions are weak solutions, for piecewise $C^k$ initial data they remain $C^k$ off the shock set under mild conditions, which has Lebesgue measure zero. Thus, almost all detector or collocation points lie in smooth regions where residuals are valid, and the MLP's inability to exactly represent discontinuities is immaterial. Finally, we establish MSE lower bounds of physics residuals: higher-order models such as ARZ have strictly larger consistency error bounds than LWR under mild conditions. This explains why LWR-based PIML can outperform ARZ-based PIML even with high-resolution data, with the gap shrinking as resolution increases, consistent with prior empirical findings.
title Potential failures of physics-informed machine learning in traffic flow modeling: theoretical and experimental analysis
topic Machine Learning
Computational Physics
url https://arxiv.org/abs/2505.11491