Delay-Guided Attention for Quality Prediction in Multistage Manufacturing
Organizations: Department of Engineering Sciences and Applied Mathematics, Northwestern University, Evanston, IL, USA · Department of Industrial Engineering and Management Sciences, Northwestern University, Evanston, IL, USA
Abstract
Quality prediction in multistage manufacturing is challenging when inter-stage lags vary over time, as measurements taken at the same timestamp may reflect different process states. Existing approaches often preserve production order but fuse timestamp-aligned features or model delayed dependencies implicitly, without identifying the upstream history relevant to each downstream observation. We propose Delay-Guided Attention for Multi-stage Forecasting (DAMF), which explicitly estimates inter-stage lag distributions and uses them to guide cross-stage information transfer for final quality prediction. For each adjacent stage pair, a lag predictor compares the current downstream representation with candidate lagged upstream representations. An occurrence-magnitude factorization separately estimates the probability of a positive lag and its conditional magnitude, yielding a sample- and stage-pair-specific distribution over discrete lag states without requiring plant-specified delays at inference. DelayAlignment incorporates this soft distribution as a temporal prior into differentiable cross-stage attention, while gated residual fusion regulates information propagation across production stages. For interpretation, segment-wise Viterbi decoding converts pointwise lag distributions into temporally coherent lag paths, whereas forecasting retains the soft distributions for alignment. On the real-world LiquidSugar dataset, DAMF improves final quality prediction over the compared baselines. Evaluations on two controlled-delay benchmarks show more accurate and stable lag recovery, and ablation studies support the contributions of lag prediction, delay-guided attention, and structured temporal decoding.
Figures & tables
| Setting | Occ F1 | Lag MAE | Acc | Large-lag Recall | Collapse to 0 |
| Full lag-prediction objective | 0.91 0.02 | 0.65 0.13 | 0.90 0.02 | 0.76 0.05 | 0.03 0.03 |
| Occurrence + positive CE only | 0.90 0.02 | 0.82 0.15 | 0.87 0.02 | 0.68 0.05 | 0.20 0.09 |
| w/o relaxed-TopN loss | 0.89 0.04 | 0.94 0.15 | 0.86 0.02 | 0.76 0.13 | 0.10 0.08 |
| w/o positive-lag CE loss | 0.64 0.11 | 2.77 0.08 | 0.60 0.01 | 0.14 0.02 | 0.65 0.04 |
| w/o large-occurrence recall loss | 0.83 0.07 | 1.32 0.23 | 0.82 0.03 | 0.62 0.16 | 0.23 0.17 |
| w/o selector loss | 0.86 0.05 | 0.91 0.39 | 0.85 0.05 | 0.65 0.15 | 0.12 0.09 |
| Setting | Acc | Acc | Lag MAE | Large-lag Recall | Collapse to 0 | Collapse to small |
| Raw argmax | 0.65 0.04 | 0.79 0.04 | 1.03 0.12 | 0.55 0.04 | 0.02 0.02 | 0.44 0.03 |
| Viterbi | 0.76 0.05 | 0.90 0.02 | 0.65 0.13 | 0.76 0.05 | 0.03 0.03 | 0.22 0.03 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Manufacturing
Manufacturing research develops methods and systems to design, plan, automate, monitor, and improve industrial production.
See all 77 papers