A Physics-Aware Latent Diffusion Framework for Mitigating Adversarial Perturbations in Manufacturing Quality Control
Abstract
Data-driven quality control (QC) systems for the hot forming of steel parts increasingly rely on deep learning models deployed at the network edge, making multivariate sensor time series a critical asset for both local decisions and management information system (MIS) reporting. However, these models are vulnerable to adversarial perturbations and realistic signal disturbances, which can induce misclassification and distort key performance indicators (KPIs) such as first-pass yield (FPY), scrap-related losses, and latency service-level objectives (SLOs). To address this risk, this study introduces a Digital-Twin-Conditioned Diffusion Purification (DTCDP) framework that constrains latent diffusion-based denoising using process states from a lightweight digital twin of the hot-forming line. At each reverse-denoising step, the twin provides physics residuals that are converted into a scalar penalty, and the diffusion latent is updated with a guidance term. This directly bends the sampling trajectory toward reconstructions that adhere to process constraints while removing adversarial perturbations. DTCDP operates as an edge-side preprocessing module that purifies sensor sequences before they are consumed by existing long short-term memory (LSTM)-based QC models, while exposing purification metadata and physics-guidance diagnostics to the plant MIS. In a four-week production dataset comprising more than 40,000 bars, with white-box ℓ∞ attacks crafted on multivariate sensor time series using Fast Gradient Sign Method and Projected Gradient Descent at perturbation budgets of 1–3% of the physical range, combined with additional realistic disturbances, DTCDP improves the robust classification performance of an LSTM-based QC model from 61.0% to 81.5% robust accuracy, while keeping clean accuracy (≈93%) and FPY on clean data (≈97%) essentially unchanged. These results indicate that physics-aware, digital-twin-guided diffusion purification can enhance the adversarial robustness of edge QC in hot forming without compromising operational KPIs.
Fields of Study & Subjects
Digital Transformation in Industry
Adversarial Robustness in Machine Learning
Machine Learning in Materials Science
Publication details
- Journal / source
- Future Internet
- Publisher
- MDPI AG
- Volume
- 18
- Issue
- 1
- Pages
- 23–23
- Publication date
- 1 January 2026
- Language
- EN