Investigating abnormal
alumina decomposition
Process monitoring and factor diagnosis
with XGBoost, SHAP and directional rules
The Bayer process
Bauxite is refined into alumina through four main stages.
| 01 Digestion | 02 Clarification | 03 Precipitation | 04 Calcination |
|---|---|---|---|
| Hot caustic soda dissolves aluminium-bearing minerals. | Undissolved impurities are separated from the liquor. | Cooling and Al(OH)3 seeds promote hydrate crystal growth. | Heat removes bound water to produce alumina. |
| Aluminate liquor | Clarified liquor | Al(OH)3 hydrate | Al2O3 |
Project focus: abnormal performance in the precipitation section.
Project objective
Identify candidate process drivers of abnormal decomposition efficiency and prioritize engineering investigation.
Process metric
Computed from measured inlet and outlet values.
η = 0.4666 means 46.66% efficiency.
Diagnostic challenges
- Several process inputs change together.
- Outlet measurements arrive after the input conditions.
- Some solids and oxalate measurements are sparse.
Dataset overview
| Column group | What the columns describe |
|---|---|
| Time and work shift | Timestamp, work shift and the matched input-to-outlet interval |
| Tank temperatures | Seven sensors at tanks 1, 2, 6, 8, 12, 13 and 14 |
| Inlet chemistry | AO (dissolved alumina), NT (total alkali), NK (caustic alkali), SiO2 (silica), αK and inlet solids |
| Seed and tank solids | Seed solids and 14 individual tank columns measure solid content |
| Oxalate | Oxalate concentration in the inlet liquor |
| Outlet chemistry | Matched outlet NT, NK, AO and αK after precipitation |
| Efficiency | Decomposition efficiency calculated from inlet and outlet NK/AO |
Measurement availability
| Field | Available | Missing |
|---|---|---|
| Oxalate | 181 | 958 |
| Any tank solids | 371 | 768 |
| Inlet SiO2 | 1,129 | 10 |
| Inlet solids | 1,127 | 12 |
| Seed solids | 1,137 | 2 |
Counts use all 1,139 samples. “Any tank solids” requires at least one of the 14 tank measurements.
Why focus the diagnostic model on outlet AO?
Relationship to efficiency
With inlet chemistry and outlet NK fixed, higher outlet AO means lower efficiency.
AO provides a directly measured outcome for the diagnostic model. The full efficiency calculation still uses all four chemistry values.
Outlet AO 82.8 to 83.8
Efficiency 46.66% to 46.02%
Other chemistry values held fixed.
Separate monitoring from explanation
| Module | Method | Output |
|---|---|---|
| Abnormality monitoring | Measured outlet AO Four SPC reference rules | Normal / warning / abnormal Alert events and trigger reasons |
| Factor explanation | Process features and measured AO class XGBoost + SHAP + directional rules | Ranked supporting factors Values, reference ranges and weights |
Independent maintenance
Alert limits or trigger rules can change without automatically retraining the explanation model.
Aligned records
Measurement identity and time alignment connect the monitoring event to the relevant process inputs.
Four rules for abnormal outlet AO
| Rule | Trigger | Level |
|---|---|---|
| R1 · Large deviation | AO outside μ ± 3s | Abnormal |
| R2 · Sustained deviation | At least 2 of the latest 3 points beyond 2s on the same side | Warning |
| R3 · Rising trend | 6 consecutive points strictly increasing | Abnormal |
| R4 · Adjacent jump | |AOt − AOt−1| > 3.267 × baseline mean moving range | Warning |
μ and s are the mean and sample standard deviation of a fixed historical reference period.
When several rules trigger, use the highest alert level and retain all trigger reasons.
Twelve engineered process factors
| Group | Model factors | Construction |
|---|---|---|
| Work schedule | Work shift | Three 8-hour work shifts: morning, afternoon and night |
| Tank temperatures | First / middle / last tank temperatures | Available-value means of tanks 1–2 / 6 & 8 / 12–14 |
| Inlet liquor | NC, AO, NK, SiO2, solids | NC = NT − NK; NK remains a separate input |
| Solids and impurity | Seed solids, mean slurry solids, oxalate | Slurry solids average available tanks 1–14 |
Current-row features only. Training references stay fixed during inference.
Correlation among the process factors
XGBoost classifies outlet AO
The target is the outlet AO measurement matched to each input record.
Above the training mean
At or below the training mean
| Random model | μtrain = 79.059473 | Chronological validation model | μtrain = 78.990926 |
|---|
XGBoost returns p(high AO). The predicted class is high when p ≥ 0.5. Thresholds, category mappings and quartiles come from training data only.
Two explanation branches
Compare the predicted class with the class of the corresponding measured outlet AO.
Predicted and measured AO classes match
Example: predicted high AO, measured high AO.
- Select factors whose local SHAP supports the measured class.
- Double their weights for values outside Q25–Q75.
- Convert weights to percentages and rank the factors.
Local SHAP explanation
Predicted and measured AO classes differ
Example: predicted low AO, measured high AO.
- Use the measured AO class: high or low.
- Select factors outside Q25–Q75 whose historical rules support that class.
- Rank them using historical SHAP support and calculate weights totaling 100%.
No matching rule: reason unknown.
Local SHAP with quartile-aware ranking
| Supporting factor | Positive SHAP | Multiplier | Final weight |
|---|---|---|---|
| Middle temperature 62.12565 > Q75 | 0.406441 | × 2 | 65.84% |
| Inlet NK 138.5 within Q25–Q75 | 0.266847 | × 1 | 21.61% |
| Seed solids 624.3 < Q25 | 0.053380 | × 2 | 8.65% |
| Inlet AO 151.2 within Q25–Q75 | 0.048083 | × 1 | 3.89% |
Directional rules for a model mismatch
| Matched high-AO rule | Global positive score | Final weight |
|---|---|---|
| Seed solids 686.5 < Q25 = 699.3 | 0.055922502 | 68.39% |
| Inlet AO 152.6 > Q75 = 152.1 | 0.025844396 | 31.61% |
Learn the direction
A tail supports a class when its mean signed training SHAP is positive, above tolerance.
Calculate the weight
Score = mean positive class-SHAP across all training rows. Normalize across matched factors.
The result offers historical candidate drivers when local prediction disagrees.
Two training and test designs
Random model
Random 80% / 20% split with a fixed seed.
Chronological validation model
994 training recordsSep–Oct 19, 2026
145 test records
The same model and explanation design is refitted using the earlier 11 months.
Random-split explanation coverage
of the lowest-efficiency
10% and 20% test cohorts
receive supporting factors.
| Test cohort | N | SHAP | Rules | Unknown | Coverage |
|---|---|---|---|---|---|
| All test records | 228 | 175 | 47 | 6 | 97.37%222/228 |
| Lowest efficiency 10% | 23 | 21 | 1 | 1 | 95.65%22/23 |
| Lowest efficiency 20% | 46 | 35 | 9 | 2 | 95.65%44/46 |
Chronological explanation coverage
of the lowest-efficiency
10% and 20% historical test cohorts
receive supporting factors.
| Test cohort | N | SHAP | Rules | Unknown | Coverage |
|---|---|---|---|---|---|
| All test records | 145 | 77 | 64 | 4 | 97.24%141/145 |
| Lowest efficiency 10% | 15 | 13 | 2 | 0 | 100.00%15/15 |
| Lowest efficiency 20% | 29 | 20 | 9 | 0 | 100.00%29/29 |
Project summary
- Separate monitoring and factor-explanation modules support abnormality detection in Bayer-process precipitation.
- Twelve process factors combine work shift, tank temperatures and liquor chemistry from 1,139 historical records.
- XGBoost and local SHAP work with historical directional rules to rank candidate drivers of abnormal outcomes.
- Explanation coverage reaches 95.65% in the lowest-efficiency 10% and 20% random-test cohorts, and 100% in the corresponding chronological cohorts of 15 and 29 records.