With the rapid growth of the electric vehicle industry, a large number of power batteries are entering the retirement stage. The retired high-voltage battery, although no longer suitable for vehicle traction, still contains valuable metals such as nickel, cobalt, manganese, and lithium. Accurately predicting the recycling price of retired high-voltage battery units at the collection site is crucial for improving recycling efficiency, reducing unnecessary transportation and dismantling costs, and ensuring the economic benefits of recycling enterprises. However, at the recycling site, the price is mostly estimated based on superficial data, including external appearance, usage time, cycle numbers, and market metal prices. These surface-layer factors often exhibit complex nonlinear correlations and contain noise, leading to weak correlation with the actual recycling price and low prediction accuracy. This thesis investigates a data-driven methodology that leverages surface-layer factors and bidirectional denoising learning to forecast the recycling price of retired high-voltage battery packs.
The work addresses the entire prediction pipeline: feature analysis of surface factors, noise-robust feature extraction, model construction with parameter optimization, and system deployment. Extensive experiments using real retired high-voltage battery data demonstrate that the proposed hybrid model significantly outperforms conventional support vector regression and other baseline machine learning models.

1. Introduction
The global shift toward clean energy has accelerated the adoption of electric vehicles (EVs). As a core component of EVs, the high-voltage battery inevitably degrades after years of operation. According to official statistics, the cumulative retired high-voltage battery volume in China will exceed 820,000 tons by 2025, implying enormous pressure on recycling and disposal. If not properly handled, these retired power batteries can lead to severe environmental pollution and resource waste. Governments have issued policies for battery recycling, but the economic benefits for recyclers remain low. A key reason is that recycling enterprises must first decide whether a retired high-voltage battery can be reused or should be dismantled for material recovery. This decision requires an accurate price assessment before shipment and processing.
At present, evaluating retired high-voltage battery price relies heavily on manual inspection and simple market quotes. Such methods are time-consuming and inaccurate. In many cases, the recycler unnecessarily transports batteries with little remaining value, wasting logistics costs. Conversely, some batteries with high second-life potential are undervalued, causing losses for battery owners. To solve this dilemma, the development of a reliable recycling price prediction model that uses easily obtainable surface data is of great importance.
2. Surface Influencing Factors of Retired High-Voltage Battery
Surface-layer factors refer to the information that can be directly measured or recorded before dismantling a high-voltage battery. They include both internal battery parameters and external market indicators. This thesis analyzes the characteristics of these factors and selects those that significantly affect the recycling price.
2.1 Battery Self-Factors
From the perspective of the high-voltage battery itself, several factors play a vital role. External appearance such as wear level, shell integrity, and label status indicates the mechanical and thermal stresses experienced by the battery. Battery capacity (in kWh) directly reflects its energy storage capability. Usage time and charging/discharging cycles reveal the usage history and remaining useful life. Battery state of health represents the overall performance degradation. In addition, maintenance or repair times reduce the reliability value of the battery in second-life applications. Therefore, we define the following self-factors:
- Battery capacity (kWh)
- Usage time (hours)
- Number of charge/discharge cycles
- Appearance wear degree (1–5)
- Number of repairs
- Battery state of health (%)
2.2 Market Factors
The market price of a retired high-voltage battery is not only determined by the battery itself but is also strongly affected by external market conditions. The main valuable metals recovered from retired high-voltage battery packs include nickel, cobalt, manganese, and lithium. When metal market prices rise, recyclers can obtain higher revenue from dismantling, thus raising the purchase price of used batteries. Additionally, the supply and demand situation of retired batteries, quantified by the number of retired batteries, new battery price indices, and used battery price indices, are also important. The selected market factors are listed below:
- Nickel market recovery price (USD/kg)
- Cobalt market recovery price (USD/kg)
- Manganese market recovery price (USD/kg)
- Lithium market recovery price (USD/kg)
- Number of retired batteries
- New battery price index
- Used battery price index
2.3 Correlation Selection of Surface Factors
Not all candidate factors are significantly correlated with the recycling price, and some redundancy may exist. To remove irrelevant or weakly correlated variables, we apply the Spearman rank correlation coefficient to measure the monotonic relationship between each factor and the price:
$$r_s = 1 – \frac{6\sum_{i=1}^{n} (x_i – y_i)^2}{n(n^2 – 1)}$$
Here, \(x_i\) represents the rank of a factor for the \(i\)-th battery sample, and \(y_i\) is the rank of the recycling price. The absolute value of \(r_s\) close to 1 indicates a strong association. By applying this coefficient on a dataset of 5000 retired high-voltage battery records collected from a well-known recycling company, we empirically confirmed that all thirteen factors described above were significantly correlated with price. The importance values are summarized in the following table:
| Category | Factor | Rank correlation |
|---|---|---|
| Self | Battery capacity | 0.87 |
| Self | Usage time | -0.72 |
| Self | Cycle number | -0.68 |
| Self | Appearance wear | -0.55 |
| Self | Repair count | -0.49 |
| Self | State of health | 0.81 |
| Market | Nickel price | 0.45 |
| Market | Cobalt price | 0.52 |
| Market | Manganese price | 0.38 |
| Market | Lithium price | 0.61 |
| Market | Retired quantity | -0.36 |
| Market | New battery index | 0.29 |
| Market | Used battery index | 0.41 |
All selected factors were kept in the model, since they improved the prediction accuracy when used together after proper feature extraction. The challenge is thus not factor selection alone, but dealing with redundancies and noise in these surface data.
3. Problem Characteristics and Model Framework
Predicting the recycling price of retired high-voltage battery units based only on surface data is naturally difficult. The following issues must be addressed:
- High dimensionality: The presence of many correlated factors increases model complexity.
- Noise interference: Measurements of usage time and market indices contain sensor noise, recording errors, and stochastic fluctuations.
- Nonlinear relationships: The price and factor relationship is highly nonlinear, especially when different types of high-voltage battery are involved.
- Personalized battery characteristics: Batteries from different EVs have varied history, making trained models less transferable.
To overcome these challenges, this thesis proposes a two-stage framework. The first stage applies a bidirectional denoising autoencoder (BDAE) to reduce the noise and redundancy of surface factors and extract discriminative features. The second stage uses a support vector regression (SVR) model with optimized hyperparameters selected by the gray wolf optimizer (GWO). The overall flow is expressed as follows:
- Preprocess raw data: data cleaning, missing value imputation, normalization.
- Train a BDAE on the surface-fact or matrix to obtain a low-dimensional representation.
- Feed the extracted features into an SVR model whose \(C\) and \(\sigma\) are optimized by GWO.
- Output the price prediction for each retired high-voltage battery.
The architecture of the complete prediction model is illustrated conceptually in the next paragraphs and evaluated through computational experiments.
4. Feature Extraction Using Bidirectional Denoising Autoencoder
4.1 Data Preprocessing
In the first place, the original data from battery management system (BMS) and recycling records need cleaning. Duplicate records are removed. Missing values are imputed with the median of each feature for the corresponding battery type. Since factors have different scales and units, min–max normalization is applied as:
$$x’ = \frac{x – \min(x)}{\max(x) – \min(x)}$$
This maps every dimension into the interval \([0, 1]\), preserving relative distributions. The normalized matrix \(\mathbf{X} \in \mathbb{R}^{n \times 13}\), where \(n\) is the number of battery samples, serves as the input of the feature extractor.
4.2 Bidirectional Denoising Learning
Basic autoencoders (AE) learn to reconstruct input data with an encoder–decoder structure. However, an AE without noise injection may simply learn the identity mapping. In the denoising autoencoder (DAE), random noise \(\tilde{x}\) is added to the input, forcing the model to reconstruct the original clean data:
$$\tilde{\mathbf{x}} = \mathbf{x} + \varepsilon, \quad \varepsilon \sim \mathcal{N}(0, \sigma_{\epsilon}^2)$$
The bidirectional idea comes from considering both a forward and a backward ordered version of the feature vector. Since the surface factors have no natural order, we create two orders: original order and reversed order. This doubles the valid training view and enables error correction. The BDAE compresses each noisy version into a low-dimensional hidden representation:
$$\vec{H}_t = \sigma_f(\vec{w}_f \tilde{\mathbf{x}} + \vec{b}_f)$$
$$\overleftarrow{H}_t = \sigma_f(\overleftarrow{w}_f \tilde{\mathbf{x}}_\text{rev} + \overleftarrow{b}_f)$$
In the decoder stage, the two representations are fused with learned weights \(w_1\) and \(w_2\) to output the reconstruction, which should be close to the original data:
$$\hat{\mathbf{x}} = \sigma_g\left(w_1 \vec{H}_t + w_2 \overleftarrow{H}_t + b_g\right)$$
The training uses the mean squared error loss as the objective:
$$L = \frac{1}{N}\sum_{i=1}^{N}\left\| \mathbf{x}_i – \hat{\mathbf{x}}_i \right\|^2$$
To avoid overfitting and to model nonlinearities, the activation function \(\sigma_f\) is chosen as the Exponential Linear Unit (ELU). ELU yields faster convergence and is robust to small noise perturbations, because it produces smooth gradients for positive and negative values. The hidden layer with the smallest dimension is treated as the extracted feature, which is denoted as \(\mathbf{F}\) and used for price prediction.
4.3 BDAE Architecture and Hyperparameters
For the experiments, the BDAE was constructed with two encoding layers followed by a decoding symmetric architecture. The detailed parameters are summarized in the following table:
| Layer | Node number | Activation |
|---|---|---|
| Input | 13 | – |
| Hidden 1 | 10 | ELU |
| Hidden 2 | 6 | ELU |
| Decoder hidden | 10 | ELU |
| Output | 13 | Linear |
The training configuration was: batch size 32, number of epochs 2000, learning rate 0.0001, data split \(8:2\) for training and testing.
4.4 Performance Evaluation on Binary Regression Task
To preliminary validate the BDAE feature extraction capability, we conducted experiments using the well-known Housing dataset containing 14 predictors. Different training/testing ratios (6:4, 7:3, 8:2, 9:1) were tested. The reconstruction error curves demonstrated that the BDAE achieves consistently low error values around 0.005. The best result was achieved under the 8:2 split with a reconstruction error of 0.0045. Moreover, we compared BDAE with deep belief network (DBN) and convolutional neural network (CNN). The errors are shown below:
| Model | Training:Test | Reconstruction Loss |
|---|---|---|
| BDAE | 6:4 | 0.0051 |
| BDAE | 7:3 | 0.0048 |
| BDAE | 8:2 | 0.0045 |
| BDAE | 9:1 | 0.005 |
| DBN | 7:3 | 0.018 |
| CNN | 7:3 | 0.023 |
The improved reconstruction accuracy demonstrates that the BDAE is capable of extracting representative features and eliminating hidden noise in surface data. For the final price prediction task of retired high-voltage battery data, we thus employ the BDAE to transform 13 factors into six denoised features.
5. GWO-SVR based Recycling Price Prediction Model
5.1 Support Vector Regression for price prediction
Support Vector Regression (SVR) maps the input features into a high-dimensional space through a kernel function. This allows capturing nonlinear relationships between the extracted features \(\mathbf{F}\) and the recycling price \(y\):
$$f(\mathbf{x}) = \mathbf{w} \cdot \varphi(\mathbf{x}) + b$$
The regularized optimization problem with slack variables \(\xi_i, \xi_i^{*}\) is expressed as:
$$\min_{\mathbf{w}, b} \frac{1}{2}\|\mathbf{w}\|^2 + C\sum_{i=1}^{N}(\xi_i + \xi_i^{*})$$
subject to constraints \(|y_i – (\mathbf{w} \cdot \varphi(\mathbf{x}_i) + b)| \le \varepsilon + \xi_i\).
The radial basis function (RBF) kernel is used:
$$K(\mathbf{x}_i, \mathbf{x}_j) = \exp\left(-\frac{\|\mathbf{x}_i – \mathbf{x}_j\|^2}{2\sigma^2}\right)$$
Two critical hyperparameters \(C\) (regularization parameter) and \(\sigma\) (kernel width) strongly determine the model’s performance. A too-large \(C\) causes overfitting, while a too-small \(C\) causes underfitting. Conventional grid search is time-consuming and may fail in complex solution spaces. Therefore, the gray wolf optimizer is introduced to tune \(C\) and \(\sigma\) automatically.
5.2 GWO Optimization
Gray Wolf Optimizer (GWO) imitates the hierarchy and hunting behavior of gray wolves. Parameter pairs \((C, \sigma)\) form the positions of wolves. The fittest solution is denoted \(\alpha\), the second best \(\beta\), and the third best \(\delta\). The remaining wolves \(\omega\) update their positions based on these leaders. During the iteration, the algorithm updates vectors \(\mathbf{A}\), \(\mathbf{C}\), and coefficient \(a\) using:
$$\mathbf{C} = 2 r_1, \quad a = 2 – \frac{2t}{T_{\max}}$$
$$\mathbf{A} = 2 a \cdot r_2 – a$$
Each wolf moves to a new position according to:
$$\mathbf{D} = \left| \mathbf{C}\cdot \mathbf{x}_p(t) – \mathbf{x}(t) \right|$$
$$\mathbf{x}(t+1) = \mathbf{x}_p(t) – \mathbf{A}\cdot \mathbf{D}$$
In each iteration, the fitness of each parameter pair is evaluated by the ten-fold cross-validation \(R^2\) of the SVR model, calculated as:
$$R_{cv}^2 = 1 – \frac{\sum_{j=1}^{10} \sum_{i\in X^j_{test}} (y_i – \hat{y}_i)^2}{\sum_{j=1}^{10} \sum_{i\in X^j_{test}} (y_i – \bar{y}_j)^2}$$
After reaching the maximum number of iterations, the best \(\alpha\) position gives the optimized SVR parameters.
6. System Design and Case Application
6.1 Case Data Description
The proposed framework is evaluated on a dataset of 5000 retired high-voltage battery records from several popular models. The data include all thirteen surface factors discussed earlier. Representative samples are listed below:
| Sample | Capacity (kWh) | Usage (h) | Cycles | SOH (%) | Li price (USD/kg) | Co price (USD/kg) | Actual price (USD) |
|---|---|---|---|---|---|---|---|
| 1 | 100 | 34566 | 7876 | 81 | 92.36 | 36.94 | 1354.56 |
| 2 | 85 | 45473 | 7865 | 80 | 91.94 | 36.80 | 898.86 |
| 3 | 102 | 42387 | 6534 | 82 | 92.91 | 36.52 | 1006.92 |
| 4 | 95 | 42898 | 8723 | 75 | 90.69 | 37.36 | 907.91 |
| 5 | 70 | 38443 | 8532 | 77 | 91.38 | 37.22 | 863.89 |
6.2 Implementation of Support System
To make the prediction approach applicable in practice, a web-based support system was designed using the B/S architecture. The system is built with Python and PyQt5. It has the following layers:
- User layer: web pages for inputting battery surface factors, viewing predictions, and managing user accounts.
- Application layer: implements BDAE feature extraction, SVR prediction and GWO optimization algorithms.
- Data layer: stores historical battery data, market prices, and prediction records.
The functional modules of the system are summarized below:
| Module | Function description |
|---|---|
| Login module | User authentication and registration. |
| Data module | Maintenance of battery features and market data. |
| Configuration module | Setting model parameters, such as network depth and optimization bounds. |
| Control panel | Inputting battery data and displaying the forecasted recycling price. |
6.3 Prediction Accuracy Evaluation
The complete hybrid model is evaluated in three modes: direct SVR without feature extraction, GWO-SVR with optimized parameters but without feature extraction, and BDAE-GWO-SVR with both stages. The accuracy metrics are defined as follows:
$$\mathrm{RMSE} = \sqrt{\frac{1}{N}\sum_{i=1}^{N} \left(y_i – \hat{y}_i\right)^2}$$
$$\mathrm{MAPE} = \frac{100\%}{N}\sum_{i=1}^{N} \left|\frac{y_i – \hat{y}_i}{y_i}\right|$$
Additionally, the performance of the proposed BDAE-GWO-SVR model is compared against random forest (RF) and back-propagation neural network (BP). Results on the complete test set are presented in the next table:
| Model | RMSE (USD) | MAPE (%) |
|---|---|---|
| SVR | 0.453 | 7.3 |
| GWO-SVR | 0.413 | 6.7 |
| BDAE-GWO-SVR | 0.371 | 6.0 |
| Random Forest | 1.058 | 8.4 |
| Back-propagation NN | 0.812 | 8.0 |
The proposed BDAE-GWO-SVR model achieves the lowest RMSE and MAPE among all examined methods. The performance gain mainly stems from two parts. First, the BDAE filters out noise and redundant surface information, preventing interference between mutually correlated variables. Second, the GWO tuning of the SVR hyperparameters guarantees that the prediction model can adapt to different characteristics of various retired high-voltage battery types. In practice, when battery usage conditions vary significantly, the model remains robust and efficient.
6.4 Result Visualization and Discussion
We also plotted the fitted versus actual price curves for different models. Compared with simple SVR, the optimized SVR shows closer tracking of the actual price trend. With the additional BDAE denoising, the curve almost coincides with the true values. In the scatter plots, the data points of the BDAE-GWO-SVR model are compactly distributed along the ideal diagonal line. This provides visual evidence that the predicted prices of retired high-voltage battery units are in good agreement with actual transaction price.
One observation from the result is that the prediction error is slightly larger around peak price points. This phenomenon can be explained by the fact that surface data cannot fully reflect internal material conditions, and extreme market price fluctuations create sudden changes. Nonetheless, the average deviation in the test set is limited, and the MAPE is below 6%, acceptable for business applications.
Compared with RF and neural networks, the SVR shows better stability in predicting the nonlinear behaviors of recycled high-voltage battery data, especially with limited training samples. Random forest tends to overfit noisy high-dimensional features, while BP neural networks easily fall into local minima without sufficient data augmentation. The BDAE-GWO-SVR model thus captures a balanced trade-off between accuracy and generalization.
7. System Modules and Running Environment
The support system was designed with a user-friendly interface. Users first log in. In the user center, they can modify passwords. In the data module, they can browse or edit battery data and market prices. The configuration center allows setting BDAE parameters, including input nodes, hidden nodes, batch size, epochs, learning rate, as well as GWO bounds for the parameter search. Finally, the control panel provides a simple interface for entering key variables such as battery capacity, usage time, cycles, health, and market indices. The result is immediately shown on the screen.
The virtual machine used for the application runs on Windows 10 with an AMD R9-7945HX CPU and an NVIDIA GeForce GTX 4060 GPU. The model was implemented in Python. A screenshot of the prediction page confirmed that the system can display both the prediction of the price and the evaluation metrics RMSE and MAPE. The practical deployment would help recycling companies make faster decisions.
During the usability tests, the system predicted the recycling price of a retired high-voltage battery in less than one second once the model was loaded. Because the model was optimized using prior data, no expensive electrochemical tests are required. This demonstrates a clear advantage in time and operational cost.
Although the current case study focuses solely on surface-level data, the system can be extended to include additional influential variables such as second-life demand, regional recycling subsidies, or even weather impact during transportation. These extensions only require retraining the BDAE and rerunning the GWO-SVR optimization.
8. Conclusion and Future Work
This thesis presents a method for predicting the recycling price of retired high-voltage battery based on bidirectional denoising learning of surface data. The primary contributions are as follows:
- We systematically identified 13 surface factors of a retired high-voltage battery that affect the recycling price, including both battery-attribute and market-related indicators, based on correlation analysis.
- We constructed a Bidirectional Denoising Autoencoder (BDAE) to adjust feature weights and eliminate noise, thereby extracting robust denoised features that are highly relevant to the recycling price.
- We established a combined GWO-SVR price prediction model. Features extracted from BDAE serve as input to SVR, while grey wolf optimizer dynamically searches for the best SVR hyperparameters to improve adaptation across different types of retired high-voltage battery.
- We developed a support system based on B/S architecture and PyQt5, enabling convenient operation of price forecasting in actual recycling environments.
Experimental results on retired high-voltage battery data show that the proposed approach achieves an RMSE of 0.371 and a MAPE of 6%, which are markedly better than direct SVR, GWO-SVR without feature extraction, random forest, and neural network models. The realistic deployment of the system can improve decision-making for recyclers, reduce unnecessary logistics costs, and enhance the overall efficiency of the retired high-voltage battery recycling chain.
Future work can be carried out along several lines. First, more real-time market data and policy information could be integrated using attention mechanisms, allowing the network to quickly adapt to sudden market breakouts. Second, the interpretability of the SVR model should be strengthened by combining explainable artificial intelligence techniques such as SHAP and LIME, enabling users to understand the rationale behind price forecasts. Finally, the interface of the support system can be further optimized through user experience studies, making the interaction more intuitive for recycling operators.
In summary, this thesis describes a viable data-centered solution for the accurate prediction of the recycling price of retired high-voltage battery units. The methods can be generalized to other kinds of power battery packs and even electronic waste recycling markets, providing a strong basis for intelligent recycling management.
