Interpretable transfer learning for predicting electrochemical phosphorus recovery from wastewater

Read full text
Authors: Muhammad Waqas Nadeem, Irfan Hassan, Muzammil Hussain, Farhan Bashir, Hock Guan Goh, Mian Umer Shafiq
Cited by: 1
References: 35

Abstract

Wastewater contains valuable resources such as phosphorus, which can be recovered and reused, thereby reducing the environmental impact of wastewater treatment. Phosphorus recovery from wastewater is essential to decrease eutrophication, protect aquatic ecosystems, and promote sustainable development. Among various recovery methods, electrochemical phosphorus (P) recovery has emerged as a sustainable and efficient approach for resource recovery and pollution control. However, its implementation across diverse operating conditions has yielded heterogeneous, often incomplete datasets, making the accurate prediction of recovery efficiency challenging. This study introduces an interpretable transfer learning (TL) framework based on feature-space transfer from unsupervised representation learning to supervised prediction. It combines a stacked autoencoder (SAE) for feature extraction with an XGBoost regressor for prediction. To address missing values, different imputation methods, including statistical, machine learning, and deep learning, were applied to reconstruct the dataset. The predictive model within the TL framework was then trained and tested on each imputed dataset to evaluate how different imputation strategies influence predictive performance. Among these, the dataset imputed with a recurrent neural network (RNN) yielded the highest accuracy, highlighting the importance of deep learning–based data reconstruction under heterogeneous experimental conditions. Using the same predictive model architecture, the TL framework achieved an R² of 0.99 and an RMSE of 21.06, results that compare favourably with those obtained with other imputation methods (average R² = 0.99 ± 0.01, RMSE = 27.3 ± 4.8). Model interpretation reveals that electrolysis time (2–2880 min), stirring rate, and calcium concentration (0–640 mg L⁻¹) were the most influential factors affecting phosphorus recovery. These findings demonstrate that combining deep learning–based imputation with interpretable transfer learning significantly enhances predictive accuracy and provides practical insights for optimizing electrochemical phosphorus recovery in wastewater treatment systems.

Fields of Study & Subjects

Phosphorus and nutrient management Membrane-based Ion Separation Techniques Ammonia Synthesis and Nitrogen Reduction

Publication details

Journal / source
South African Journal of Chemical Engineering
Publisher
Elsevier BV
Volume
56
Pages
100858–100858
Publication date
21 February 2026
Language
EN