Abstract
Dissolved alumina concentration in the electrolyte cannot be measured continuously in aluminium reduction cells. Recursive soft sensing estimates the concentration from online process variables; however, process-condition shifts and the write-back of previous estimates can change the inputs to later predictions before the next laboratory concentration measurement is available. This study develops a dual-timescale three-state output supervisor for a published 730-sample sequence from one 400 kA aluminium reduction cell, using working current, cell voltage, electrolyte level, aluminium level, and electrolyte temperature as online inputs. Unlike monitoring methods that report process or model change, the supervisor assigns a use state to each recursive estimate. Process-variable deviation, adjacent prediction change, predictor-corrector discrepancy, and a cumulative sum (CUSUM) of process deviation are combined by state rules to determine Warning and Unavailable transitions. The observed later interval (samples 601–730) was evaluated by continuous recursive replay, while separate gradual-shift tests were synthetically constructed from the observed variable ranges. The supervisor entered Warning and Unavailable after 6.2 and 19.0 samples, on average. At matched prediction availability, it reduced the out-of-tolerance rate among available predictions by 15.81 percentage points and increased the failure blocking rate, defined as the fraction of all out-of-tolerance predictions assigned Unavailable, by 15.59 percentage points relative to random blocking. The method assigns Normal, Warning, and Unavailable use states to recursive estimates to support reference-measurement requests and output management.
1. Introduction
Alumina concentration directly affects material balance, cell stability, and current efficiency in aluminium reduction cells. Continuous direct measurement is difficult because of the high temperature, corrosive electrolyte, and electromagnetic interference. Online variables, including working current, cell voltage, electrolyte level, aluminium level, and electrolyte temperature, have, therefore, been used to construct alumina-concentration soft sensors [1]. Previous alumina-concentration studies have improved point-prediction accuracy through deep belief networks, metaheuristic parameter optimisation, and ensemble regression [2,3,4].
During continuous operation, the distributions of working current, cell voltage, electrolyte level, aluminium level, and electrolyte temperature may depart from the operating range represented during model development. Such departures are termed process-condition shifts in this study; they can alter the input distribution and the input–output relationship, producing time-varying prediction errors [5,6,7]. Recursive deployment adds a further feature: before the next laboratory concentration measurement is available, the current estimate is written into the history buffer and contributes to subsequent predictions. Related studies on industrial process monitoring under feedback control have shown that feedback must be accounted for when interpreting monitoring statistics [8]. Under concurrent process change and prediction feedback, the use status of the current estimate must, therefore, be determined together with its value.
Soft-sensor maintenance under changing conditions has commonly focused on updating the predictor. Incremental learning, dynamic transfer, online fine-tuning, just-in-time learning, and active sample selection use new labels, distributional information, or recent operating data to adjust model parameters [9,10,11,12,13]. Training-distribution enhancement, residual post-correction, and recent-information use improve recursive concentration estimates from the point-prediction side. Process variables and model responses nevertheless continue to evolve while the next laboratory concentration measurement is unavailable. A separate decision is, therefore, required for the use of each current prediction.
Process-monitoring studies have increasingly used process variables, residuals, and model responses to support maintenance and supervisory decisions. Physical constraints have been incorporated into surrogate models under changing conditions [14], multivariate residuals have been used to monitor mismatch between a digital twin and its process [15], and disturbance detection has been linked with model retraining [16]. A self-evaluation module has also been incorporated into flotation-grade soft sensing [17]. These approaches identify process or model changes, whereas recursive output supervision determines the use state of each current estimate while the future concentration reference is unavailable.
This study asks whether process-condition shifts and internal model responses can be used to assign each recursive concentration estimate to continued use, review, or temporary withholding before the next laboratory concentration measurement is available. The analysis addresses output management for recursive alumina-concentration estimation under process-condition shift. Instantaneous risk is formed from process-variable deviation, adjacent prediction change, and predictor-corrector discrepancy, whereas a CUSUM statistic characterises persistent process deviation. For deployed recursive replay, state calculation uses current process variables, historical predictions, and internal correction values; later-interval concentration references are used only after replay for evaluation. Each estimate is assigned to the Normal, Warning, or Unavailable state.
The contributions of this study are as follows:
- (1)
- The temporal relationship between process-variable shifts and recursive prediction error is characterised. A reference-history write-back comparison quantifies the effect of prediction write-back on later-interval deviation.
- (2)
- A dual-timescale, three-state output supervisor is developed. Instantaneous risk components govern Warning transitions, whereas persistent process-condition shift governs Unavailable transitions.
- (3)
- Output-management strategies are compared at matched prediction availability. State responses are further examined under single-variable and joint gradual process-shift scenarios.
The remainder of this paper describes the data, recursive replay, and evaluation protocol in Section 2 and the supervisor and state rules in Section 3. Section 4 reports process shifts, recursive prediction behaviour, state responses, output isolation, baseline comparisons, and gradual-shift tests. Section 5 concludes this study.
2. Data and Recursive Evaluation Setting
2.1. Data Source and Sample Boundaries
The dataset was derived from a published sequence collected from a 400 kA aluminium reduction cell [18]. Periodic electrolyte samples were analysed using X-ray diffraction to provide reference alumina concentrations, while working current, cell voltage, electrolyte level, aluminium level, and electrolyte temperature were recorded by the production monitoring system. The source thesis reports a cleaned sequence of 730 records from 745 acquired records after anomalous data were removed, without specifying record-level screening criteria [18]. The present study used this published 730-record sequence without further record removal. The five process variables were used as online inputs, whereas the laboratory-determined alumina concentration was used as the target. They cover electrical loading, liquid inventory, cell geometry, and thermal conditions associated with alumina dissolution and mass transfer. Shifts in these variables relative to the training distribution were analysed together with recursive prediction errors.
The ordered sequence was partitioned into samples 1–400 for fitting model parameters, samples 401–500 for development-based early stopping, samples 501–600 for risk-score and threshold calibration, and samples 601–730 for continuous recursive evaluation. The point-prediction configuration was fixed before the supervisory analyses. Min–max normalisation was fitted using samples 1–500. After primary-predictor selection, the residual corrector was fitted on recursively constructed features from samples 1 to 500. Five independently initialised fits were trained; whenever a five-seed median is reported, it denotes the sample-wise median of their relative errors. Reference distributions for risk scores and state thresholds were determined from samples 501 to 600 and retained during replay of samples 601–730. All state-entry delays are reported in ordered samples from the first later-interval sample. Samples 501–730 form one continuous recursive trajectory: the history buffer at sample 600 is retained in the later interval. Concentration references for samples 601–730 are used after replay to calculate absolute relative error, Acc@5%, MAPE, and P95 relative error; later predictions depend on both current process variables and previously written-back predictions.
A separate counterfactual reference-history write-back comparison was used to quantify the effect of the write-back mode. In this comparison, the contemporaneous reference concentration was written to the history buffer after each prediction. The reference-history and deployed recursive write-back modes used the same predictor, residual corrector, process variables, and ordered samples. They differed only in the value appended to the history buffer after each prediction: the contemporaneous reference concentration or the deployed estimate. A paired moving-block bootstrap was used to quantify the resulting later-interval differences. It used 20,000 circular resamples of the 130 ordered later-interval observations, with 10 samples per block.
2.2. Recursive Deployment and Supervisory Evaluation Protocol
At each sample, the concentration estimate was generated from the current process variables, the history buffer, and the trained models. The current process variables were working current, cell voltage, electrolyte level, aluminium level, and electrolyte temperature. From sample 501 onwards, each model output was written to the buffer and was subsequently used to construct lagged terms and moving averages.
The supervisor operated concurrently with concentration prediction and assigned an output state using information available at the current sample and in the preceding history. Normal denotes routine provision of the prediction. Warning retains the prediction while requesting a reference measurement or manual review. Unavailable temporarily withholds the prediction.
2.3. Definition of High-Error Risk
The single-sample relative error and the high-error indicator were defined as follows:
Here, and denote the reference and predicted concentrations at sample , respectively; is the relative error, and is the indicator function. equals one when exceeds tolerance and zero otherwise. The 5% relative-error tolerance follows the prediction-evaluation convention used in the source study [18]. The 5% tolerance is the primary evaluation criterion, and the remaining values are used for sensitivity analysis.
The indicator function I (·) returns one when the condition inside the parentheses is true and zero otherwise. In this study, it identifies whether the absolute relative error of a prediction exceeds the 5% tolerance.
3. Dual-Timescale Three-State Output Supervision
3.1. Supervised Soft Sensor and Framework Inputs
The supervised object was a fixed recursive soft sensor. Five process variables, 18 written-back concentration lags, and moving averages with window lengths of 2, 3, and 5 formed a 26-dimensional input vector after min–max normalisation using samples 1–500. The primary predictor mapped this vector to a 256-dimensional representation, followed by a single-layer, two-head Transformer encoder and a 128-dimensional regression layer that estimated concentration [19]. The predictor was trained using the log-cosh loss and stochastic gradient descent with Nesterov momentum, a batch size of 32, a maximum of 300 epochs, and early stopping with a patience of 50 epochs. Borderline-SMOTE was applied only during offline training [20]. The residual corrector was a gated recurrent unit with 16 hidden units. The point-prediction configuration used 18 written-back concentration lags. Candidate corrections whose absolute value reached the 25th percentile of the correction-output distribution estimated from samples 1 to 500 were retained. During continuous replay, the predictor, residual corrector, and gating rule remained fixed. The supervisory layer received process inputs, adjacent prediction changes, and candidate correction values.
Samples 1–500 initialised a first-in-first-out history buffer with reference concentrations. Model predictions were written back from sample 501 onwards, and replay remained continuous across sample 600. Each replay used one independently trained predictor and its three-channel supervisor. Five training seeds were used to characterise training-related variation. The supervisory layer reads process variables, adjacent prediction changes, and candidate correction values before assigning a state. Figure 1 summarises the data flow from recursive write-back to dual-timescale risk quantities and three-state decisions. State assignment altered only the use of the current output: the recursive history continued to receive predictions according to the established rule, and the predictor parameters and gating rule remained fixed.
Figure 1.
Recursive soft sensing and single-model dual-timescale three-state output supervision.
The five reported seeds correspond to five independent model initialisations with identical data partitions and optimisation settings. Their sample-wise median is used only for variable–error association analysis; supervisory metrics are first calculated for each fitted model and then averaged across the five results.
Figure 1 depicts the decision fusion at one monitoring sample. The fixed soft sensor produces a concentration estimate, an adjacent prediction change, and a candidate residual correction; the current five process variables provide the process-deviation component. The three instantaneous components are thresholded separately. A candidate Warning event is generated when the CUSUM Warning condition is accompanied by one instantaneous Warning component or when at least two instantaneous components reach their Warning thresholds. A candidate Unavailable event is generated when the CUSUM Unavailable condition is accompanied by one instantaneous Warning component or when at least two instantaneous components reach their Unavailable thresholds. Two consecutive candidate events confirm entry, and one recovery event confirms a transition to the adjacent lower state.
3.2. Instantaneous Risk Scores and Accumulation of Persistent Shift
The instantaneous layer identifies abrupt changes at individual samples or over a short sequence, whereas the persistent-shift layer accumulates sustained deviations. Their threshold crossings are combined in the state rules to form Warning and Unavailable events. Instantaneous risk comprises process-variable deviation, adjacent prediction change, and predictor-corrector discrepancy. Let and denote the median and median absolute deviation of process variable j in the training interval; is the value of that variable at sample t; and ε is a small positive constant. The three components are defined as follows:
, , and are the empirical distribution functions of the corresponding training reference distributions. Accordingly, , , and are the process-deviation, prediction-jump, and predictor-corrector discrepancy scores, respectively; is the candidate correction generated by the residual corrector. All three scores use current inputs, historical outputs, and internal correction values.
The three empirical distribution functions are calculated from the calibration values in samples 501–600 of the raw process-deviation statistic, the absolute adjacent prediction change, and the absolute candidate correction, respectively. They convert each quantity to its empirical percentile on a 0–1 scale.
The predictor-corrector discrepancy is the percentile of the absolute candidate correction. For example, a discrepancy score of 0.90 means that the current correction magnitude is at the 90th percentile of its calibration distribution.
A one-sided CUSUM statistic was constructed from to accumulate persistent shifts [21,22]. Let be the median of in the calibration interval (samples 501–600), and let be its robust scale, where is the median absolute deviation of in that interval. The statistic was updated as follows:
In these expressions, is a small positive constant that prevents a zero denominator, is the standardised process deviation, denotes the allowable deviation and was set to 0.50, and is the one-sided CUSUM statistic. The statistic accumulates when process deviation persistently exceeds the allowed range and decays towards zero when the deviation recedes.
3.3. Thresholds, Confirmation, State Transitions, and Recovery
Warning and Unavailable thresholds for each instantaneous component were set to the 90th and 97.5th percentiles of its calibration distribution (samples 501–600). Let , let index the three instantaneous components, and let denote the quantile. For , denotes the value of instantaneous component at calibration sample . The component-specific thresholds are:
The CUSUM reference scale and the final Warning and Unavailable thresholds were defined as follows:
is the maximum of the 95th percentile of the calibration CUSUM values, one quarter of the maximum calibration CUSUM, and . denotes the CUSUM statistic at calibration sample . The Warning and Unavailable CUSUM thresholds are given in Equations (12) and (13). The Warning threshold kept the calibration Warning proportion at or below 6% across the five training results. The maximum calibration CUSUM was ; therefore, the next value in the prespecified grid, , was used as the Unavailable threshold. Instantaneous-component thresholds were the 90th and 97.5th calibration percentiles. Consecutive confirmation lengths for Warning, Unavailable, and recovery were fixed at 2, 2, and 1 samples, respectively. The resulting configuration was applied directly to samples 601–730. The sensitivity protocol varied the CUSUM allowance, Warning and Unavailable multipliers, and confirmation lengths one quantity at a time around this configuration.
The dual-timescale state machine was driven by Warning, persistent-unavailability, and recovery events. The number of instantaneous components exceeding the Warning and Unavailable thresholds was first calculated as follows:
Here, denotes the process-deviation, prediction-jump, or correction component, and and are the numbers of instantaneous components reaching the Warning and Unavailable thresholds, respectively. Warning and Unavailable events were then defined from the CUSUM statistic and the number of exceedance channels:
denotes a Warning event and denotes an Unavailable event. The two branches of correspond to CUSUM exceedance of the persistent-shift threshold and simultaneous strong risk in at least two instantaneous components. A Warning event and an Unavailable event are candidate state-entry conditions at the current sample. They become state transitions only after their required consecutive confirmations. The Warning event combines early cumulative shift with one instantaneous warning or two instantaneous warnings. The Unavailable event combines persistent cumulative shift with one instantaneous warning or two instantaneous components above their stronger thresholds. Recovery requires both the CUSUM statistic and all instantaneous components to return below their thresholds:
denotes a recovery event. An Unavailable event is generated by accumulated-shift confirmation or multi-channel strong risk. Warning and Unavailable events require two consecutive samples, whereas recovery requires one.
Here, denotes the output state at sample ; , , and are the confirmation lengths for Warning, Unavailable, and recovery, respectively. The state machine follows adjacent transitions. Normal changes to Warning when or is confirmed, and Warning changes to Unavailable when is confirmed. When is satisfied, Unavailable returns to Warning and Warning returns to Normal. and require two consecutive confirmations, whereas requires one. Table 1 lists the transition conditions and associated output actions.
Table 1.
State-transition rules and output actions of the dual-timescale three-state supervisor.
3.4. Evaluation Metrics and Validation Protocol
Supervisory performance was described by prediction availability, the out-of-tolerance rate among available predictions, and the failure blocking rate. Let indicate that the output at sample is Normal or Warning, indicate that it is Unavailable, and be the number of samples in the evaluation interval. Prediction availability was defined as follows:
The out-of-tolerance rate among available predictions (OTE) and the failure blocking rate (FBR) were defined as follows:
Prediction availability is the proportion of predictions assigned Normal or Warning, corresponding to coverage in selective prediction [23]. OTE is the proportion of available predictions whose relative error exceeds the tolerance, whereas FBR is the proportion of all out-of-tolerance predictions assigned Unavailable. Normal and Warning count as available predictions; Unavailable denotes blocked output. Thus, OTE describes the residual high-error burden among outputs still provided, and FBR describes the share of all high-error predictions withheld by the supervisor.
Process-variable shift was characterised separately for each input using its absolute robust deviation from the training median, scaled by the training median absolute deviation. The 95th percentile of the corresponding training-deviation distribution defined the exceedance threshold, and the first sustained exceedance was the first of two consecutive exceedances. At each later-interval sample, variable deviation was paired with the sample-wise median relative error across the five independently initialised fits. Spearman correlation measured their ordered association, and high-error AUC measured how well each deviation distinguished samples above the 5% error tolerance. Confidence intervals were obtained with 10-sample moving blocks.
Output-isolation strategies were compared at the same number of blocked predictions. Periodic blocking selected equally spaced positions, and random blocking sampled the same number of positions from the evaluation interval. Error-ranking reference blocking selected positions with the largest post-replay relative errors and, therefore, served as a retrospective reference under the same blocking budget. Random blocking was repeated 1000 times. Moving-block bootstrap used block lengths of 5, 10, and 20 samples, with 5000 repetitions for each length, to retain local dependence in the ordered sequence [24].
Output isolation means that predictions assigned Unavailable are withheld from routine use. Comparing strategies at the same number of withheld predictions fixes prediction availability and tests how concentrated the withheld outputs are among post-replay high-error samples.
Two label-free baselines were included to compare process-variable distance and model-output uncertainty with the dual-timescale supervisor. Adaptive Mahalanobis distance followed the self-updating statistical treatment used for metallurgical digital-twin residual monitoring [15]. The mean and covariance of the five training process variables provided the initial reference and were updated sample by sample with . For the MC Dropout variance baseline, dropout remained active during prediction and the sample standard deviation from 30 forward passes represented model uncertainty [25]. For both single-score methods, the 90th and 97.5th percentiles of the score distribution in samples 501–600 defined Warning and Unavailable thresholds. The state rules required two consecutive samples to enter Warning, two to enter Unavailable, and one to recover. States were generated for samples 601–730 without concentration labels; reference concentrations were used only after replay to calculate evaluation metrics.
The roles of instantaneous risk and CUSUM accumulation were examined by disabling one component at a time while retaining the same predictor, thresholds, confirmation lengths, and continuous replay trajectory. Fixed calibration configurations yield different prediction availability. For the availability–risk curves, configurations were restricted to no calibration output in Unavailable and a Warning proportion no greater than 6% in samples 501–600. The complete threshold grids are available in the Supplementary Materials. Holding the predictor fixed isolates the effect of the supervisory rule from differences in point-prediction accuracy.
4. Results and Discussion
4.1. Process-Condition Shift and Recursive Prediction Failure
Figure 2 shows the observed trajectories of the five online process variables in their original units over samples 501–730. The 5th–95th percentile ranges from samples 1 to 500 provide training references, and the boundary at sample 600 separates calibration from the later recursive interval. Working current shows repeated downward departures after sample 601, whereas electrolyte level, aluminium level, and electrolyte temperature exhibit recurrent upward departures. Table 2 quantifies these departures and their associations with recursive relative error using unsmoothed absolute deviations. Electrolyte level had the largest exceedance rate (29.23%) and was the largest deviation source at 56 samples. Working-current deviation was sustained from sample 606, before aluminium-level and electrolyte-temperature deviations at samples 619 and 632. Working-current deviation had a positive association with relative error (Spearman , 95% moving-block interval 0.256–0.712) and a high-error AUC of 0.728 (0.607–0.839). The association intervals of the other four variables included zero.
Figure 2.
Observed process-variable trajectories during calibration and later recursive evaluation.
Table 2.
Process-variable shift characteristics in the later interval and their associations with prediction error.
Relative error is a non-negative magnitude. The sign of Spearman ρ indicates the direction of the monotonic association between each robust-deviation score and the relative-error magnitude.
Figure 3 shows the continuous recursive trajectory before and during the later interval. Reference concentrations and recursive predictions remain closely aligned in samples 501–600. In samples 601–730, predictions move downward and miss several concentration peaks. Across five training seeds, Acc@5% changes from 99.80% in the calibration interval to 35.38%, while MAPE changes from 1.81% to 9.28%. The history buffer remains continuous across sample 600, so the later predictions incorporate earlier recursive outputs.
Figure 3.
Recursive concentration prediction, relative error, and history write-back comparison. Note: (a) Reference concentrations and recursive predictions from the fixed soft-sensor configuration for a representative training seed in the calibration interval (samples 501–600) and later interval (samples 601–730); (b) the corresponding relative-error trajectory, with the dashed line indicating the 5% tolerance; (c) 15-sample moving relative errors of the sample-wise five-seed medians under the two history write-back modes.
The write-back comparison isolates the effect of the value appended to the history buffer. Both modes use the same fitted predictor, residual corrector, process variables, and ordered samples. Deployed recursive write-back appends the current estimate, whereas reference-history write-back appends the contemporaneous laboratory concentration.
Across the five training seeds, deployed recursive write-back produced a later-interval MAPE of 9.28%, an Acc@5% of 35.38%, a P95 relative error of 22.53%, and 84.0 samples with relative errors above 5%. The corresponding values under reference-history write-back were 8.01%, 38.15%, 19.37%, and 80.4. With 10-sample moving blocks, recursive write-back increased MAPE by 1.27 percentage points (95% bootstrap interval, 0.59–2.03) and P95 relative error by 3.17 percentage points (0.84–5.00) while decreasing Acc@5% by 2.77 percentage points (−0.31 to 6.31). The point differences are the observed means of the five seed-specific paired differences, computed before rounding; the intervals are percentile intervals from 20,000 bootstrap resamples. Panels a and b show the pointwise trajectory of one representative fit, whereas panel c shows 15-sample moving errors of the five-seed medians; their visual separation, therefore, reflects different aggregation levels as well as the two write-back modes.
4.2. Three-State Supervisory Response to Recursive Deviation
Figure 4 aligns recursive error, output state, instantaneous risk, and CUSUM accumulation on one ordered-sample axis. All five training results entered Warning before Unavailable. Across the later interval, Warning and Unavailable were entered after 6.2 ± 0.45 and 19.0 ± 0 samples, respectively. The calibration Warning proportion was 5.6%, and no calibration output entered Unavailable. Relative errors above 30% occur when the reference concentration rises while the recursive estimate remains below it; for example, the representative fit predicts 1.65 and 1.99 when the references are 2.38 and 2.88 at samples 696 and 706. The instantaneous signal is the largest current percentile among three components, whereas the CUSUM is a running accumulation of positive process deviation. Because the two curves are each normalised by their own Warning thresholds, Figure 4b compares threshold crossings and timing, not their raw magnitudes.
Figure 4.
Time response of recursive error, output state, instantaneous signal, and CUSUM accumulation. Note: (a) Relative error and three-state response for a representative training result in the continuous recursive interval; pale orange and pale red backgrounds indicate Warning and Unavailable, respectively. (b) The maximum instantaneous component after normalisation by its component-specific Warning threshold and the CUSUM statistic after normalisation by its Warning threshold. The grey dashed line and red dotted line indicate the Warning threshold and the CUSUM Unavailable threshold, respectively.
4.3. Parameter Sensitivity and Output Isolation at Matched Prediction Availability
Table 3 reports the tested ranges, selected settings, and key response ranges from the one-factor sensitivity analysis. The selected CUSUM allowance and confirmation lengths retained the intermediate response between configurations that entered Unavailable rapidly with more calibration warnings and configurations that delayed output withholding.
Table 3.
Parameter ranges and key response ranges from one-factor sensitivity analysis.
Figure 5a shows OTE–availability paths for the four label-free methods under the calibration condition that no output entered Unavailable and no more than 6% entered Warning in samples 501–600. The full supervisor and CUSUM-only supervisor provided calibration-compatible operating points at 55.54–72.46% and 56.15–78.46% prediction availability, respectively. Adaptive Mahalanobis and MC Dropout variance provided such points only at 91.54–100.00% and 98.15–100.00% availability, where OTE remained 64.17–66.14% and 63.95–64.62%, respectively. The fixed full-supervisor setting is marked at 63.69% prediction availability, and the CUSUM-only setting lies at 63.08%. At their fixed configurations, the two methods yield closely matched OTE values. Figure 5b compares output-isolation strategies at the full supervisor’s mean availability of 63.69%. The supervisor gave an OTE of 48.76% and an FBR of 51.94%. Periodic and random blocking gave OTE values of 64.49% and 64.57% and FBR values of 36.44% and 36.35%, respectively. Post hoc error ranking provides a retrospective upper reference with an OTE of 44.40% and an FBR of 56.24%. Relative to random blocking, supervision reduced OTE by 15.81 percentage points and increased FBR by 15.59 percentage points.
Figure 5.
Calibration-compatible availability–risk paths, matched-availability output isolation, and resampling results. Note: (a) OTE against prediction availability for the full supervisor (blue solid line), CUSUM-only supervisor (grey dashed line), adaptive Mahalanobis distance (light-grey dotted line), and MC Dropout variance (blue-grey dash-dot line). All curve points satisfy the calibration condition of no Unavailable output and no more than 6% Warning outputs in samples 501–600. The dotted vertical line marks the full supervisor’s fixed availability (63.69%); large markers indicate the fixed full-supervisor and CUSUM-only configurations. (b) OTE and FBR for the supervisor, periodic blocking, random blocking, and retrospective error-ranking reference at 63.69% prediction availability. Error-ranking reference uses true relative errors calculated after replay. (c) Moving-block bootstrap estimates of the supervisor-minus-random-blocking difference and its 95% interval; longer blocks retain more local dependence and yield wider intervals because fewer distinct contiguous segments contribute to each resample. Within each method, panel (a) varies the CUSUM Unavailable threshold hU while the remaining selected settings are held fixed.
Each Figure 5a path was generated by varying the CUSUM Unavailable threshold while retaining the other selected settings. The extended CUSUM-only path corresponds to higher settings that defer transition to Unavailable; the large markers identify the two fixed configurations.
The fixed configuration assigned 47.2 of the 130 later-interval outputs per seed (36.31%) to Unavailable. The mean high-error rate within Unavailable was 92.39%, compared with 57.89% within Warning and 44.75% within Normal. OTE treats both Normal and Warning as available outputs, so it remains higher than the error rate of an output stream that would be restricted to routine Normal use. In the proposed operating policy, Warning retains the numerical estimate only while a reference measurement or manual review is requested.
Moving-block bootstrap assessed the effect of local dependence in the ordered sequence. With a block length of 10 samples, the supervisor reduced OTE relative to random blocking by 15.73 percentage points, with a 95% interval of 4.30–31.55 percentage points, and increased FBR by 14.78 percentage points, with a 95% interval of 5.30–26.75 percentage points. The interval direction remained positive with block lengths of 5 and 20 samples (Figure 5c). The wider intervals at longer block lengths reflect the smaller effective number of ordered blocks.
4.4. Comparison of Label-Free Supervisory Quantities
CUSUM-only supervision, adaptive Mahalanobis distance, MC Dropout variance, and the full supervisor were compared to examine how accumulated process shift, process-variable distance, and predictive uncertainty behave in the later recursive interval. State thresholds were derived from samples 501–600, and the later-interval states were calculated without concentration labels. Table 4 reports the fixed-configuration characteristics. Figure 5a shows calibration-compatible availability–risk paths for all four methods.
Table 4.
Fixed-configuration operating characteristics of four label-free supervisory methods (mean across five training seeds).
CUSUM-only supervision entered Warning after 7.0 samples and Unavailable after 19.0 samples on average, with 63.08% prediction availability, 48.54% OTE, and 52.64% FBR. The full supervisor entered Warning 0.8 samples earlier and retained the same mean Unavailable delay of 19.0 samples; its OTE and FBR were 48.76% and 51.94%. The two fixed configurations, therefore, occupy a closely matched terminal isolation trade-off. The instantaneous components provide the earlier Warning state for review, whereas CUSUM accumulation governs the transition to persistent output withholding. Adaptive Mahalanobis distance entered Warning after 5.0 samples but did not enter Unavailable in samples 601–730. Its 1.0% calibration Warning proportion follows the 90th-percentile threshold and two-sample confirmation rule; in the later interval, the score crossed the Warning threshold but did not remain above its stronger threshold long enough to confirm Unavailable. MC Dropout variance entered Warning and Unavailable after 11.4 and 94.5 samples, respectively. Under the calibration condition used for Figure 5a, adaptive Mahalanobis and MC Dropout variance provided availability ranges of 91.54–100.00% and 98.15–100.00%, respectively. Configurations closer to the full supervisor’s availability required markedly more calibration alerts: adaptive Mahalanobis retained 76.92% of predictions with 36.0% calibration Warning and 10.0% calibration Unavailable, whereas MC Dropout retained 59.38% with 86.6% calibration Warning and 49.8% calibration Unavailable.
4.5. State Response Under Gradual Process Shifts
The historical replay contains simultaneous variation in several process variables. To examine the response to controlled changes, four single-variable ramps and one joint four-variable ramp were imposed on the calibration-interval process trajectory. Table 5 lists the calibration medians, 1.0× end points, and changes. The working-current ramp decreases by 0.462 kA, electrolyte level increases by 40 mm, aluminium level increases by 70 mm, and electrolyte temperature increases by 12 °C. Each end point was selected from the observed later-interval range in the direction farther from the training median. The numerical changes use different native units and describe separate scenarios; their magnitudes are not a cross-variable ranking. Each ramp started at monitoring sample 20 and reached its end point at sample 60; variables not selected for a single-variable scenario retained their calibration trajectories.
Table 5.
Calibration medians, directions, and 1.0× end points for single-variable gradual-shift tests.
Figure 6a shows categorical state trajectories at 1.0× amplitude for the unperturbed replay, four single-variable ramps, and the joint ramp. Its vertical axis lists the perturbation scenarios, and its horizontal axis is the ordered monitoring sample; the physical changes for each scenario are given in Table 5. The unperturbed trajectory remains mainly in Normal, with only brief Warning periods. Each 1.0× ramp enters Unavailable after the ramp begins. Aluminium-level increase and the joint shift reach Unavailable earlier, whereas the 12 °C electrolyte-temperature increase requires a longer period of accumulation.
Figure 6.
Three-state response under controlled gradual process shifts. Note: (a) Categorical state trajectories for one representative training seed under unperturbed replay, working-current decrease, electrolyte-level increase, aluminium-level increase, electrolyte-temperature increase, and the joint four-variable shift at 1.0× amplitude. The vertical axis lists scenarios and the horizontal axis is the ordered monitoring sample. Grey dashed and dotted lines indicate ramp onset and the end of the ramp, respectively. (b) Percentage of the five training results that reached sustained Warning or Unavailable under the moderate 0.5× shifts. Panel b omits the 1.0× condition because all five scenarios reached both states in every fit. (c) Entry delay from disturbance onset (ordered samples) across five training results at 1.0× amplitude. Circles and squares indicate mean Warning and Unavailable delays, respectively; horizontal lines show the minimum-to-maximum range across the five results.
Figure 6b summarises state response under moderate 0.5× shifts across five training results. Aluminium-level increase and the joint shift enter both sustained Warning and Unavailable in all five fits. Working-current decrease enters sustained Warning in two fits but does not enter Unavailable. Electrolyte-level and electrolyte-temperature increases produce only brief Warning periods at this amplitude. At 1.0× amplitude, all four single-variable ramps and the joint ramp enter both states in every fit. Figure 6c reports entry delays at 1.0× amplitude. Mean Unavailable delays are 35.4, 36.0, 24.0, and 57.8 samples for working-current decrease, electrolyte-level increase, aluminium-level increase, and electrolyte-temperature increase, respectively. The joint four-variable shift enters Unavailable after 23.0 samples on average.
5. Conclusions
This study examined output management for recursive alumina-concentration estimation using a published 730-sample sequence from one aluminium reduction cell. Working-current deviation became sustained first in the later interval and showed a positive association with recursive relative error. The reference-history comparison showed that writing back deployed estimates increased later-interval MAPE and P95 relative error relative to a history updated with contemporaneous references.
The dual-timescale three-state supervisor combines process-variable deviation, prediction jump, predictor-corrector discrepancy, and CUSUM accumulation. In samples 601–730, the full configuration entered Warning and Unavailable after 6.2 and 19.0 samples, respectively, and retained 63.69% of predictions. At the same availability, its OTE was 15.81 percentage points lower and its FBR was 15.59 percentage points higher than random blocking. The CUSUM-only configuration gave similar terminal isolation values, while the instantaneous components advanced Warning entry by 0.8 samples.
Controlled single-variable and joint gradual-shift tests showed that state entry depends on both the shifted variable and the ramp amplitude. At 1.0× amplitude, all tested ramps generated sustained Warning and Unavailable states. The 12 °C electrolyte-temperature increase entered Unavailable after 57.8 samples on average, illustrating the longer accumulation required for this gradual change. Normal, Warning, and Unavailable correspond to routine provision, reference-measurement review, and temporary withholding. In an operating workflow, these states can retain routine estimates, route selected estimates to laboratory verification or operator review, and remove estimates from routine use while a fallback procedure is applied. This study is limited to one historical cell sequence and controlled ramps derived from its observed variable ranges. Evaluation across additional cells and operating campaigns is needed to characterise how thresholds and state responses vary across installations.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/pr14203261/s1, Source_Data.xlsx contains the processed numerical data supporting Figure 2, Figure 3, Figure 4, Figure 5 and Figure 6 and Table 2, Table 3, Table 4 and Table 5, together with parameter-sensitivity, moving-block bootstrap, and availability–risk grids.
Author Contributions
Conceptualization, X.L. and Y.W.; methodology, X.X.; software, X.X.; formal analysis, X.X.; validation, J.L. and W.W.; writing—original draft preparation, X.X.; writing—review and editing, X.L., J.L. and W.W.; visualization, X.X.; supervision, X.L. and Y.W.; project administration, X.L.; funding acquisition, X.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Natural Science Foundation of Jiangxi Province, grant number 20242BAB25091.
Data Availability Statement
The original aluminium electrolysis sequence analysed in this study was published by Cao [18]. The processed data supporting the reported analyses are available in the Supplementary Materials.
Acknowledgments
The authors acknowledge the publicly available thesis by Cao [18], from which the industrial alumina-concentration dataset was obtained. During manuscript preparation, generative AI-assisted tools were used for English-language translation and editing. The authors reviewed and edited the output and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Shardt, Y.A.W.; Brooks, K.; Yang, X.; Kim, S. Advanced soft-sensor systems for process monitoring, control, optimisation, and fault diagnosis. IFAC-PapersOnLine 2023, 56, 11768–11777. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Liu, B.; Qian, W.; Rao, G.; Chen, L.; Cui, J. Design of soft-sensing model for alumina concentration based on improved deep belief network. Processes 2022, 10, 2537. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Chen, Z.; Zhong, X.; Li, X.; Xia, X.; Liu, B. Design of soft-sensing model for alumina concentration based on improved grey wolf optimization algorithm and deep belief network. Processes 2025, 13, 606. [Google Scholar] [CrossRef] [Scilit]
- Xia, X.; Li, X.; Wang, Y.; Li, J. Comparative analysis of ensemble machine learning methods for alumina concentration prediction. Processes 2025, 13, 2365. [Google Scholar] [CrossRef] [Scilit]
- Jourdan, N.; Bayer, T.; Biegel, T.; Metternich, J. Handling concept drift in deep learning applications for process monitoring. Procedia CIRP 2023, 120, 33–38. [Google Scholar] [CrossRef] [Scilit]
- Stanišić, D.; Mejić, L.; Jorgovanović, B.; Ilić, V.; Jorgovanović, N. An algorithm for soft sensor development for a class of processes with distinct operating conditions. Sensors 2024, 24, 1948. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Song, C.; Zhao, J.; Xia, D. Gaussian mixture continuously adaptive regression for multimode processes soft sensing under time-varying virtual drift. J. Process Control 2023, 124, 1–13. [Google Scholar] [CrossRef] [Scilit]
- Capaci, F.; Vanhatalo, E.; Palazoglu, A.; Bergquist, B.; Kulahci, M. On monitoring industrial processes under feedback control. Qual. Reliab. Eng. Int. 2020, 36, 2720–2737. [Google Scholar] [CrossRef] [Scilit]
- Dong, H.; Shi, J.; Chen, L.; Hao, K. An online soft sensor based on adaptive double Gaussian Bayesian network. Chemom. Intell. Lab. Syst. 2023, 240, 104895. [Google Scholar] [CrossRef] [Scilit]
- Zhang, T.; Yan, G.; Ren, M.; Cheng, L.; Li, R.; Xie, G. Dynamic transfer soft sensor for concept drift adaptation. J. Process Control 2023, 123, 50–63. [Google Scholar] [CrossRef] [Scilit]
- Song, M.J.; Ju, S.H.; Lee, J.M. Soft sensor development based on just-in-time learning and dynamic time warping for multi-grade processes. Korean J. Chem. Eng. 2023, 40, 1023–1036. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Yang, D.; Li, M.; Sun, K. Development of an online fine-tuning soft sensor with ordinary differential equation network and elastic weight consolidation. IEEE Sens. J. 2025, 25, 22441–22454. [Google Scholar] [CrossRef] [Scilit]
- Luo, X.; Lei, Q.; Wang, H. Gaussian mixture model sample selection strategy-based active semi-supervised soft sensor for industrial processes. Trans. Inst. Meas. Control 2024, 46, 1288–1301. [Google Scholar] [CrossRef] [Scilit]
- Seppi, M.; Linnosmaa, J.; Zeb, A. Physics-informed machine learning surrogate models: Enhancing data-driven forecasting for digital twins in mineral processing. Miner. Eng. 2025, 230, 109424. [Google Scholar] [CrossRef] [Scilit]
- Nikula, R.-P.; Remes, A.; Kaartinen, J.; Kortelainen, J.; Loponen, T.; Ruuska, J.; Ruusunen, M. Autonomous residual monitoring of metallurgical digital twins. Miner. Eng. 2025, 220, 109107. [Google Scholar] [CrossRef] [Scilit]
- Quintanilla, P.; Fernández, F.; Mancilla, C.; Rojas, M.; Navia, D. Digital twin with automatic disturbance detection for an expert-controlled SAG mill. Miner. Eng. 2025, 220, 109076. [Google Scholar] [CrossRef] [Scilit]
- Zheng, B.; Xu, D.; Tan, G.; Chen, Y.; Cai, Y. A novel semi-supervised soft sensor modeling method based on deep dynamic and semantic information extraction for concentrate grade prediction in froth flotation. Miner. Eng. 2023, 201, 108179. [Google Scholar] [CrossRef] [Scilit]
- Cao, Z. Prediction of Alumina Concentration in Aluminum Electrolytic Cell Based on Improved Quantum Genetic Algorithm Optimization. Master’s Thesis, Central South University, Changsha, China, 2023. (In Chinese) [Google Scholar] [CrossRef]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Proceedings of the 31st Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; pp. 5998–6008. [Google Scholar]
- Han, H.; Wang, W.-Y.; Mao, B.-H. Borderline-SMOTE: A new over-sampling method in imbalanced data sets learning. In Advances in Intelligent Computing; Springer: Berlin/Heidelberg, Germany, 2005; pp. 878–887. [Google Scholar] [CrossRef] [Scilit]
- Page, E.S. Continuous inspection schemes. Biometrika 1954, 41, 100–115. [Google Scholar] [CrossRef] [Scilit]
- Basseville, M.; Nikiforov, I.V. Detection of Abrupt Changes: Theory and Application; Prentice Hall: Englewood Cliffs, NJ, USA, 1993. [Google Scholar]
- Geifman, Y.; El-Yaniv, R. Selective classification for deep neural networks. In Proceedings of the 31st Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; pp. 4878–4887. Available online: https://proceedings.neurips.cc/paper_files/paper/2017/file/4a8423d5e91fda00bb7e46540e2b0cf1-Paper.pdf (accessed on 8 September 2026).
- Künsch, H.R. The jackknife and the bootstrap for general stationary observations. Ann. Stat. 1989, 17, 1217–1241. [Google Scholar] [CrossRef] [Scilit]
- Gal, Y.; Ghahramani, Z. Dropout as a Bayesian approximation: Representing model uncertainty in deep learning. In Proceedings of the 33rd International Conference on Machine Learning, New York, NY, USA, 20–22 June 2016; Volume 48, pp. 1050–1059. Available online: https://proceedings.mlr.press/v48/gal16.html (accessed on 8 September 2026).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.





