Skip to Content
SymmetrySymmetry
  • Article
  • Open Access

6 February 2026

40 Pages

A Multi-Strategy Enhanced Harris Hawks Optimization Algorithm for KASDAE in Ship Maintenance Data Quality Enhancement

,
,
and
Naval University of Engineering, Wuhan 430033, China
*
Author to whom correspondence should be addressed.

Abstract

To address the data quality challenges in ship maintenance data, such as high missing rates, anomalous noise, and multi-source heterogeneity, this paper proposes a data quality enhancement method based on a multi-strategy enhanced Harris Hawks Optimization algorithm for optimizing the Kolmogorov–Arnold Stacked Denoising Autoencoder. First, leveraging the Kolmogorov–Arnold theory, the fixed activation functions of the traditional Stacked Denoising Autoencoder are reconstructed into self-learnable B-spline basis functions. Combined with a grid expansion technique, the KASDAE model is constructed, significantly enhancing its capability to represent complex nonlinear features. Second, the Harris Hawks Optimization algorithm is enhanced by incorporating a Logistic–Tent compound chaotic map, an elite hierarchy strategy, and a nonlinear logarithmic decay mechanism. These improvements effectively balance global exploration and local exploitation, thereby increasing the convergence accuracy and stability for hyperparameter optimization. Building on this, an IHHO-KASDAE collaborative cleaning framework is established to achieve the repair of anomalous data and the imputation of missing values. Experimental results on a real-world ship maintenance dataset demonstrate the effectiveness of the proposed method: it achieves an 18.3% reduction in reconstruction mean squared error under a 20% missing rate compared to the best baseline method; attains an F1-score of 0.89 and an AUC value of 0.929 under a 20% anomaly rate; and stabilizes the final fitness value of the IHHO optimizer at 0.0216, which represents improvements of 31.7%, 25.6%, and 12.2% over the Particle Swarm Optimization, Differential Evolution, and the original HHO algorithm, respectively. The proposed method outperforms traditional statistical methods, deep learning models, and other intelligent optimization algorithms in terms of reconstruction accuracy, anomaly detection robustness, and algorithmic convergence stability, thereby providing a high-quality data foundation for subsequent applications such as maintenance cost prediction and fault diagnosis.

1. Introduction

Against the backdrop of intensifying competition over maritime interests, modern vessels are consistently deployed in high-intensity, high-frequency missions while being subjected to the combined effects of multiple extreme operational conditions such as salt spray corrosion, mechanical vibration, and electromagnetic interference. Statistics indicate that maintenance costs already account for 30–50% of the total lifecycle expenses of ships. Furthermore, with increasing levels of intelligentization and frequent switching between multi-mission profiles, maintenance demands are exhibiting exponential growth [1]. Under this backdrop, constructing a high-precision ship maintenance cost prediction model holds significant importance for scientifically formulating maintenance budgets and accurately allocating spare parts resources. However, the practical effectiveness of such prediction models in engineering applications is heavily constrained by the quality of the underlying data. Ship maintenance data encompasses multi-dimensional features such as construction information, performance parameters, and maintenance records. During the processes of acquisition, transmission, and storage, factors such as equipment failures, sensor inaccuracies, and human operations often introduce noise and errors into the data, severely compromising the accuracy and reliability of subsequent analyses [2]. As a key preprocessing technique for enhancing data quality, data cleaning has established relatively mature and effective solutions in various engineering fields, such as power equipment fault prediction [3,4] and wind turbine health management [5]. Building on these cross-domain successes, developing a specialized data cleaning framework tailored to the ship maintenance context has become an urgent requirement. Such a framework is essential for supporting high-precision prediction models and effectively addressing the practical data quality challenges inherent in this domain.
Traditional data cleaning methods primarily rely on statistical theory and classical machine learning algorithms, such as the 3σ rule, regression imputation, cluster analysis, and One-class Support Vector Machines (OC-SVMs). While these approaches demonstrate reasonable usability when handling small-scale, low-dimensional datasets, they often exhibit notable limitations in adaptability and structural suitability when confronted with the high-dimensional, nonlinear, and multi-source heterogeneous nature of ship maintenance data. Specifically, statistical methods based on the identical distribution assumption—such as the 3σ rule [6] and box-plot approach [7]—show high sensitivity to extreme values while demonstrating a limited capability to capture complex nonlinear couplings among multiple parameters. Furthermore, they fail to account for dynamic correlations within the temporal dimension, resulting in the oversight of numerous potential anomalies that are inherently embedded within data structural irregularities. Traditional clustering and classification algorithms—such as K-means [8], DBSCAN [9], and OC-SVM [10]—are highly sensitive to parameter settings. In ship maintenance scenarios characterized by uneven data density distribution or class imbalance, the inherent structural asymmetry of the data often leads to false positives and missed detections. Moreover, their computational complexity increases drastically with data scale, making them inadequate for the efficient cleaning of massive datasets. Furthermore, most traditional methods adopt a strategy of directly removing anomalous data. While this simplifies the operational workflow, it compromises the intrinsic completeness of the dataset, ultimately undermining the reliability of subsequent prediction models.
In recent years, deep learning techniques have brought new breakthroughs to the field of data cleaning. Among various deep models, the Stacked Denoising Autoencoder (SDAE), as a representative unsupervised learning approach, utilizes its symmetric encoder–decoder architecture to learn the underlying distribution patterns of normal data from noisy or incomplete inputs, thereby enabling effective anomaly correction and missing value imputation. Compared to the single-layer Denoising Autoencoder (DAE), the multi-layer stacked structure of SDAE enhances both the level of feature abstraction and robustness to noise. It has achieved promising results in scenarios with relatively stable data patterns, such as power equipment condition monitoring and traffic flow restoration [11]. However, when applied to complex data characteristics like those in ship maintenance, traditional SDAE still exhibits notable limitations in modeling capacity and adaptability. First, these networks typically employ fixed-form activation functions, such as Sigmoid or ReLU, which limits their ability to fit complex, asymmetric data distributions and hinders the effective capture of deep nonlinear coupling relationships among maintenance parameters. Second, most existing SDAE-based repair methods are designed for regularly sampled data or scenarios with low missing rates, whereas ship maintenance data commonly exhibit random missingness and non-uniform sampling. This mismatch leads to insufficient joint modeling capability across temporal and feature dimensions. More critically, the performance of SDAE is highly dependent on key hyperparameters such as the number of hidden nodes and the noise ratio. Current approaches to setting these parameters often rely on empirical assignments or traditional optimization methods like grid search. Although previous studies have attempted to incorporate intelligent optimization algorithms—such as an improved sine-cosine algorithm [12] and an artificial variable beetle antennae search algorithm [13]—for tuning SDAE hyperparameters and have achieved some progress in fields like fault diagnosis, their applicability and effectiveness in the highly asymmetric task of ship maintenance data cleaning remain to be thoroughly investigated.
The No Free Lunch Theorem (NFL) profoundly reveals that in the field of optimization, there exists no universally optimal algorithm suitable for all problems. Its core implication is that the effectiveness of an algorithm is heavily dependent on the alignment between its design and the specific structure and characteristics of the problem at hand. Given the inherent complexities of the ship maintenance data cleaning task, generic optimization algorithms and basic network models often struggle to achieve satisfactory performance. Based on this understanding, this paper proposes a ship maintenance data cleaning method based on a multi-strategy improved Harris Hawks Optimization (IHHO) algorithm for optimizing the Kolmogorov–Arnold SDAE (KASDAE). The core innovations of this method are as follows: (1) To address the inability of the fixed activation functions in traditional SDAE to adapt to complex nonlinear features, the Kolmogorov–Arnold (KA) theory is introduced. This involves reconstructing the network weights into self-learnable B-spline basis functions. Combined with a grid expansion technique, this enables dynamic fine-grained adjustment of the activation functions, significantly enhancing the model’s capability to represent features within multi-source heterogeneous maintenance data. (2) To address the imbalance between exploration and exploitation during hyperparameter optimization, the IHHO algorithm is introduced for optimizing KASDAE parameters, in line with the problem-specific customization principle emphasized by the NFL Theorem. Population diversity is enhanced through a Logistic–Tent compound chaotic map, local search is guided by an elite hierarchy strategy, and the escape energy is dynamically adjusted via a nonlinear decay mechanism based on a logarithmic function. These strategies collectively achieve an effective balance between global exploration and local exploitation. (3) A comprehensive IHHO-KASDAE co-optimization framework is constructed. This framework deeply integrates the data feature-enhanced model with the task-specific improved algorithm, forming a solution capable of adapting to data asymmetry characteristics for ship maintenance data quality enhancement.

3. Methodology Design

3.1. KASDAE Model Architecture

Traditional SDAE models employ fixed activation functions, which struggle to adequately capture the strong nonlinearity, multi-source heterogeneity, and multi-condition variability inherent in ship maintenance data. This often leads to significant reconstruction deviations in tasks involving anomaly correction and missing value imputation. To address these limitations, this study reconstructs the conventional SDAE based on the KA theory by incorporating self-adaptive B-spline basis functions as activations. Furthermore, the structure is optimized using grid expansion techniques, thereby establishing a KASDAE model specifically designed for ship maintenance data cleaning.

3.1.1. Theoretical Foundation of KA

The KA theory states that any multivariate continuous function defined on a bounded domain can be decomposed into a finite sum of univariate functions, mathematically expressed as Equation (7):
f x 1 , x 2 , ⋯ , x n = ∑ q = 1 2 n + 1 Φ q ∑ p = 1 n ϕ q , p x p
Here, x 1 , x 2 , ⋯ , x n represent the multi-dimensional input features of ship maintenance data; ϕ q , p ⋅ denotes a univariate basis function responsible for nonlinear mapping of individual features; and Φ q ⋅ is a composite function that integrates the results of multi-feature mappings. Based on this theorem, KASDAE reconstructs the fixed weight matrix of the traditional SDAE into a learnable form of B-spline basis functions, enabling the model to dynamically adapt to the complex distribution of ship maintenance data.

3.1.2. Core Architecture of KASDAE

Traditional SDAE processes data using fixed weight matrices and fixed activation functions, which can be mathematically represented as Equation (8):
S D A E x = W L − 1 ∘ σ ∘ W L − 2 ∘ σ ∘ ⋯ ∘ W 1 ∘ σ ∘ W 0 x
where W 0 , W 1 , ⋯ , W L − 1 are fixed weight matrices and σ ⋅ is a fixed activation function. In contrast, KASDAE reconstructs the weight matrix W into learnable B-spline basis functions ϕ l , j , i ⋅ based on the KA theorem. These basis functions facilitate nonlinear feature mapping and inter-layer transmission. The computational logic for a single layer is given by Equation (9):
x l + 1 , j = ∑ i = 1 n l ϕ l , j , i x l , i ,       j = 1 , 2 , ⋯ , n l + 1
where l is the layer index; x l , i is the input to the i -th node in the l -th layer; n l is the number of nodes in the l -th layer; ϕ l , j , i ⋅ is the B-spline basis function connecting the l -th and ( l + 1 ) -th layers; and x l + 1 , j is the output of the j -th node in the ( l + 1 ) -th layer.
Thus, the overall computation of the KASDAE model can be simplified as Equation (10):
K A S D A E x = Φ L − 1 ∘ Φ L − 2 ∘ ⋯ ∘ Φ 1 ∘ Φ 0 x
where each Φ l represents the transformation defined by the learnable B-spline basis functions at layer l .
The detailed architecture of the KASDAE model is illustrated in Figure 4.
Figure 4. Structure of the KASDAE model.
To enhance the ability of B-spline basis functions to capture detailed characteristics in maintenance data, KASDAE incorporates a grid expansion technique. This technique dynamically adjusts the density of the spline grid, enabling a gradual transition from coarse-grained fitting to fine-grained optimization, thereby effectively mitigating potential overfitting issues caused by an excessive number of initial parameters. The working principle of the grid expansion technique is shown in Figure 5.
Figure 5. Principle of grid expansion: (a) Coarse-grained B-spline (Initial Training Stage); (b) Fine-grained B-spline (Late Training Stage).
During the initial training phase, the B-spline basis functions are set to order K , with the domain defined as a ,   b (corresponding to the actual value range of a specific feature in ship maintenance data, such as the temperature feature in [−20 °C, 80 °C]). The initial grid width is set as G 1 , and the domain is divided into G 1 equally spaced subintervals: t 0 = a , t 1 , t 2 , … , t G 1 = b . To ensure continuity and smoothness of the spline curve at the domain boundaries, the support interval of the basis functions is extended to t − K , t G 1 + K . At this stage, the coarse-grained B-spline is formed by a linear combination of G 1 + K basis spline functions, expressed mathematically as Equation (11):
ϕ c o a r s e x = ∑ k = 1 G 1 + K α k B k x
where α k is the weight coefficient of the basis spline function, and B k is the K -th order basis B-spline function.
In the later stage of training, once the model training error converges to a preset threshold, the grid width is expanded to G 2 (where G 2 > G 1 ). The domain a , b is then subdivided into G 2 finer subintervals: t 0 = a , t ′ 1 , t ′ 2 , … , t G 2 = b , and the support interval is correspondingly extended to t − K , t G 2 + K , increasing the number of basis spline functions to G 2 + K . The fine-grained B-spline is given by Equation (12):
ϕ f i n e x = ∑ k = 1 G 2 + K α k ′ B k ′ x
where α ′ k is the weight coefficient of the basis spline under the fine-grained configuration, and B ′ k is the refined K -th order basis B-spline function.

3.1.3. KASDAE Workflow

The feature transformation process of KASDAE is built upon the reconstructed B-spline activation functions and the grid expansion technique, which unfolds in the following three stages:
Stages 1: Input Noise Injection and Data Preprocessing. For each raw ship maintenance data sample x = x 1 , x 2 , … , x n , a preset probability p is applied to randomly set feature values to zero across all dimensions, producing a noisy input x ˜ . This procedure simulates random missing entries and noise interference commonly encountered during real-world data acquisition, thereby compelling the model to learn the underlying statistical patterns and inter-feature correlations of the data.
Stages 2: Forward Propagation through Encoder and Decoder. Each layer of the encoder performs the computation defined in Equation (9): first, each input feature x l , i undergoes a nonlinear transformation via a set of dedicated learnable B-spline basis functions ϕ l , j , i ⋅ ; subsequently, all transformed outputs corresponding to the same neuron are linearly weighted and summed to yield the activation value x l + 1 , j of that neuron. This process is repeated layer-by-layer, ultimately compressing the high-dimensional input into a low-dimensional latent representation h . The decoder then takes h as input and performs up-sampling layer-by-layer through the same weighted computation using B-spline basis functions, eventually reconstructing an output x ^ with the same dimensionality as the original data.
Stages 3: Model Training and Dynamic Grid Expansion. The training objective is to minimize the discrepancy between the reconstructed output x ^ and the original input x . The MSE is adopted as the loss function, as given in Equation (13):
L x , x ^ = 1 n × d ∑ i = 1 n ∑ j = 1 d || x i , j − x ^ i , j || 2
where x i , j denotes the true value of the j -th feature in the i -th sample, x ^ i , j is the corresponding reconstructed value, n is the total number of samples, and d is the feature dimensionality.
The training process is optimized using mini-batch stochastic gradient descent. Both the control point coefficients of the B-spline basis functions and the linear weights between network layers are treated as trainable parameters and updated jointly via backpropagation. In the initial training phase, B-splines defined with a relatively coarse grid density G 1 are employed, allowing the model to rapidly capture the main trends of the data. When the training loss converges and enters a plateau, a grid expansion operation is triggered: the grid density of the B-splines is increased to G 2 , and the newly added control point parameters are initialized. The model then continues training on the refined grid to capture more subtle nonlinear patterns in the data. The entire training procedure uses the Adam optimizer, and an early-stopping strategy based on a validation set can be applied to prevent overfitting.
Through the above procedure, KASDAE ultimately learns a complex nonlinear mapping from noisy data to clean data. The key lies in its use of learnable B-splines and a dynamic grid structure, which enable the model to adapt to the inherent complexity of ship maintenance data, thereby achieving superior reconstruction and repair capabilities. The restoration effect is demonstrated using temperature data reconstruction as an example, as illustrated in Figure 6.
Figure 6. Temperature data reconstruction curves: (a) Temperature data with anomalies and gaps; (b) KASDAE temperature data reconstruction.

3.2. Multi-Strategy IHHO Algorithm

The performance of the KASDAE model is highly dependent on its hyperparameter configuration, which constitutes a high-dimensional, nonconvex, and computationally intensive optimization problem. Although the objective function appears relatively straightforward, the training dynamics of deep neural networks, result in a loss landscape characterized by numerous local optima and flat regions. Commercial optimizers are primarily designed for differentiable convex optimization or combinatorial problems with well-defined structures; their efficiency and global search capability are often limited in such complex black-box function optimization. In contrast, metaheuristic algorithms do not rely on gradient information and excel in global exploration within high-dimensional spaces, making them more suitable for this type of problem. Among numerous nature-inspired optimization algorithms, the HHO algorithm shows considerable potential due to its clear mechanism that mimics the predatory behaviors across different exploration and exploitation phases. It achieves an adaptive transition between search phases through an escape energy parameter, offering an inherent advantage in balancing global exploration and local exploitation. However, the HHO algorithm employs a linear energy decay mechanism. This fixed strategy struggles to meet the dynamic requirements for search behavior during different stages of KASDAE hyperparameter optimization, often leading to insufficient convergence accuracy or entrapment in local optima. Therefore, building upon the HHO framework, this paper introduces a multi-strategy enhancement mechanism to develop the IHHO algorithm. The aim is to enhance its dynamic adaptability and search efficiency when tackling complex optimization problems, thereby achieving more precise and stable optimization of KASDAE hyperparameters.

3.2.1. Fundamentals of HHO Algorithm

The HHO algorithm is selected as the foundation for enhancement in this work for the following reasons. First, the algorithm adaptively regulates exploration and exploitation behaviors via an energy factor. This mechanism is clear and easily amenable to targeted improvements, allowing it to better adapt to the optimization landscape of specific problems. Second, compared with other classical algorithms, HHO has demonstrated competitive convergence accuracy and robustness across a variety of complex benchmark problems. Inspired by the cooperative hunting behavior of Harris’s hawks, its search strategy exhibits strong performance in solving high-dimensional nonlinear problems [41]. In the HHO algorithm, each candidate solution to the optimization problem is represented as the position of a Harris’s hawk. The core of the algorithm simulates the complete process from prey discovery to cooperative siege by the hawk group. It utilizes the prey’s escape energy, denoted as E , to dynamically control a smooth transition from global exploration to local exploitation.
In HHO, the population consists of   N hawk individuals, where each individual’s position represents a candidate solution in the search space. The algorithm iteratively updates the positions of the hawks to progressively approach the global optimum. Its core mechanism is described as follows:
1. Escape Energy Mechanism. The escape energy E is a key parameter that governs the transition from global exploration to local exploitation, defined by Equation (14):
E = 2 E 0 1 − t T
where E 0 denotes the initial energy, which follows a uniform distribution over the interval [−1, 1]; t is the current iteration number; and T is the maximum number of iterations. The absolute value E reflects the physical state of the prey. Based on the threshold of E , the search stage is determined:
(1) When E ≥ 1 , the prey is considered energetic and highly motivated to escape. The algorithm operates in the global exploration phase, where the hawk group broadly searches the solution space to locate potential prey regions.
(2) When E < 1 , the prey’s energy declines, and the algorithm enters the local exploitation phase, during which the hawks perform refined search around the already identified potential optimal solutions.
2. Exploration Phase. During the exploration phase, the hawk population updates its positions using one of two equally probable strategies to conduct a broad search of the solution space. The position update rule is given by Equation (15):
X t + 1 = X r a n d t − r 1 X r a n d t − 2 r 2 X t if   q ≥ 0.5 X r a b b i t t − X m t − r 3 lb + r 4 ub − lb if   q < 0.5
Here, X r a n d t denotes the position of a randomly selected individual from the current population, X r a b b i t t represents the current best solution, and X m t is the average position of the hawk population. The coefficients r 1 , r 2 , r 3 , r 4 , and q are random numbers uniformly distributed in [0, 1], while lb and ub are the lower and upper bounds of the search space, respectively.
3. Exploitation Phase. During the exploitation phase, the algorithm employs four distinct besiege strategies based on the escape energy E and a random number r , simulating the cooperative hunting behavior of the hawk group. A threshold of 0.5 is used to further differentiate the intensity of strategies within this phase, aiming to balance convergence speed and solution diversity: E ≥ 0.5 indicates that the prey still retains some energy, corresponding to relatively gentle surrounding tactics; whereas E < 0.5 suggests the prey is fatigued, warranting more aggressive besiege maneuvers.
(1) Soft Besiege. When E ≥ 0.5 and r ≥ 0.5, a soft besiege strategy is adopted. The position update is given by Equation (16):
X t + 1 = ∆ X t − E J · X r a b b i t t − X t
where ∆ X t = X r a b b i t t − X t represents the vector difference between the prey position and the current Harris hawk’s position; J = 2 1 − r 5 is used to simulate the random jumping behavior of the prey during escape, with r 5 being a random number within [0,1]. The introduction of J increases the stochasticity of local search, helping to maintain a certain level of population diversity during the exploitation phase. This design originates from the original HHO algorithm’s simulation of predator–prey escape interactions.
(2) Hard Besiege. When E < 0.5 and r ≥ 0.5, a hard besiege strategy is employed. The position update is defined as Equation (17):
X t + 1 = X r a b b i t t − E ∆ X t
(3) Soft Besiege with Progressive Rapid Dives. When E ≥ 0.5 and r < 0.5, a soft besiege strategy combined with progressive rapid dives based on Lévy flight is adopted. The position update is expressed as Equation (18):
X t + 1 = Y if   f Y < f X t Z if   f Z < f X t
where f · denotes the objective function value for the minimization problem, and Y and Z are computed as Equation (19):
Y = X r a b b i t t − E J · X r a b b i t t − X t Z = Y + S × LF D
Here, D is the dimensionality of the problem; S is a 1 × D random vector with each component drawn uniformly from (0,1); and LF represents the Lévy flight function, calculated as Equation (20):
LF x = 0.01 × μ × σ v 1 β , σ = Γ 1 + β × sin β π 2 Γ 1 + β 2 × β × 2 β − 1 2 1 β
In the above expression, μ and v are random numbers within (0,1), and β is a predefined constant.
(4) Hard Besiege with Progressive Rapid Dives. When E < 0.5 and r < 0.5, a hard besiege strategy combined with progressive rapid dives is applied. In this case, Y and Z are defined as Equation (21):
Y = X r a b b i t t − E J · X r a b b i t t − X m t Z = Y + S × LF D

3.2.2. Multi-Strategy Improvement Design

While the HHO algorithm demonstrates strong performance on numerous benchmark problems, it exhibits notable limitations when applied to hyperparameter optimization tasks with complex characteristics, such as ship maintenance data cleaning. These limitations primarily manifest in the following three aspects. First, the algorithm relies on random initialization to generate the initial population, which may fail to ensure an even distribution and sufficient diversity of individuals across the complex search space, potentially compromising the efficiency of global exploration. Second, its core escape energy update mechanism follows a linear decay pattern. This rigid strategy does not align well with the dynamic needs of the optimization process, resulting in an insufficiently flexible transition between the exploration and exploitation phases. Finally, during later iterations, the population tends to converge around the current best solution. The algorithm lacks effective mechanisms to guide individuals away from local optima or to enhance the precision of local search, thereby constraining its ultimate convergence performance.
To address these issues, this study introduces three targeted enhancements to the HHO algorithm, refining it across three key dimensions: population initialization, search guidance, and energy regulation [42]. First, a Logistic–Tent compound chaotic map is employed for population initialization. This is designed to improve the uniformity and ergodicity of the initial solution distribution in the search space, laying a solid foundation for global exploration. Second, an elite hierarchy strategy is designed, guiding ordinary individuals to learn from elite individuals. This balances the algorithm’s global exploration capability with the intensity of local exploitation. Third, the linear energy decay mechanism is replaced by a nonlinear decay strategy based on a logarithmic function. This allows the algorithm to adjust its search behavior more smoothly and adaptively across different optimization stages. These three enhancements work synergistically, forming the IHHO algorithm proposed in this study.
1. Population Initialization via Logistic–Tent Compound Chaotic Map. To overcome the uneven population distribution caused by traditional random initialization, a Logistic–Tent compound chaotic map is introduced to generate the initial population. This map combines the ergodicity of the Logistic map with the uniform distribution characteristics of the Tent map. The chaotic sequence is generated by the following iterative formula, mathematically expressed as Equation (22):
X n + 1 = m X n 1 − X n + 4 − m X n 2   mod   1 if   X n < 0.5 m X n 1 − X n + 4 − m 1 − X n 2   mod   1 if   X n ≥ 0.5
Here, m is a control parameter; mod denotes the modulo operation; X n represents the current chaotic state value, which is used as the initial position of an individual in the population; and X n + 1 is the next state value computed via the mapping, employed to generate new individual positions. This strategy constructs an initial population with high diversity and uniform distribution during the initialization phase, thereby effectively preventing premature convergence caused by an uneven initial distribution.
2. Elite Hierarchy Strategy. To balance the algorithm’s global exploration and local exploitation capabilities, an elite hierarchy strategy based on fitness ranking is introduced. In each iteration, the top 10% of individuals with the best fitness values are selected to form an elite group P e k = X e 1 , X e 2 , ⋯ , X e n . The remaining individuals then move toward the elite individuals according to the following position update formula given in Equation (23):
X i k + 1 = X i k + c 1 X e − c 2 X i k
Here, X e is a guiding individual randomly chosen from the elite group; c 1 and c 2 are control parameters within the interval [0, 1]. By leveraging the guidance of elite individuals, this mechanism enhances local search capability while preserving population diversity, thereby achieving a dynamic balance between the exploration and exploitation phases. This helps mitigate the issue of insufficient convergence accuracy in the later iterations of the HHO algorithm, which often results from declining population diversity.
3. Nonlinear Decay Strategy Based on Logarithmic Function. To address the limitation of the traditional HHO’s linear energy decay mechanism in adapting to complex optimization scenarios, a nonlinear escape energy update mechanism based on a logarithmic function is proposed. Its calculation formula is given by Equation (24):
E k = E ini − E ini − E fin × log 1 + e − 1 k K
Here, E ini and E fin represent the initial and final values of the energy, respectively; k is the current iteration number; and K is the maximum number of iterations. This strategy maintains a high energy level in the early iterations to promote global exploration, while allowing a gradual decay in the later stages to intensify local exploitation. This facilitates a smooth transition in the algorithm’s search behavior, effectively coordinating the requirements across different optimization phases. A comparison of the escape energy curves is illustrated in Figure 7.
Figure 7. Escape energy comparison.
In summary, the three core enhancements made to the HHO algorithm in this study are as follows. Firstly, the Logistic–Tent compound chaotic map is primarily responsible for generating an initial population with greater uniformity and ergodicity at the start of the optimization process, establishing a diverse foundation for global exploration. Secondly, the elite hierarchy strategy dynamically balances the algorithm’s global exploration capability and local exploitation intensity by guiding ordinary individuals to learn from elite ones during iteration, thereby preventing premature convergence and improving local search precision. Finally, the nonlinear decay strategy based on a logarithmic function replaces the original linear mechanism, enabling a smoother variation in escape energy throughout the iterative process. This allows more precise control over the transition rhythm from global exploration to local exploitation. These three enhancements act on different key stages of the algorithm workflow. Functionally complementary, they together constitute a synergistically reinforced optimization framework.

3.2.3. IHHO Algorithm Flow

The complete procedure of the IHHO algorithm for KASDAE hyperparameter optimization is illustrated in Figure 8, with the detailed steps as follows:
Figure 8. IHHO algorithm process.
Step 1: Parameter initialization and search space definition. Set the basic operational parameters of the IHHO algorithm according to the problem scale. These include the population size N , the maximum number of iterations T , the chaos control parameter m , the initial and final values of escape energy E ini and E fin , and the elite ratio α = 10%. Simultaneously, define the optimization search space for the KASDAE hyperparameters, encompassing the number of encoder nodes n 1 , the number of decoder nodes n 2 , the initial B-spline grid density G , the input zeroing ratio p , and the lower and upper bounds for the learning rate η .
Step 2: Population initialization based on chaotic mapping. To address the non-uniformity inherent in random initialization, a Logistic–Tent compound chaotic map is employed to generate a chaotic sequence of length N × D . This sequence is then sequentially reshaped into N vectors of dimension D . Each vector is linearly mapped to the actual hyperparameter search space using the lower and upper bounds defined in Step 1, thereby obtaining an initial population with favorable ergodicity.
Step 3: Fitness evaluation. For each individual X i in the population, its position vector is first decoded into a specific set of KASDAE hyperparameters. Using this parameter set, a KASDAE model is initialized and trained on a fixed training set. Training is performed with mini-batch gradient descent for a sufficient number of epochs to ensure preliminary convergence of the model. After training, the reconstruction mean squared error of the model on the validation set is computed and taken as the fitness f X i of that individual, as given by Equation (25):
f X i = 1 n × d ∑ i = 1 n ∑ j = 1 d || x k , l − x ^ k , l X i || 2
where x k , l is the original data value from the validation set and x ^ k , l X i denotes the reconstructed value produced by the KASDAE model configured with hyperparameters X i . A smaller fitness value indicates better performance of the corresponding hyperparameter set.
Step 4: Elite group selection and global best solution recording. After evaluating the fitness of all individuals, the population is sorted in ascending order of fitness values. The top α individuals are selected to form the elite group P e k . Simultaneously, the global best position X r a b b i t is recorded.
Step 5: Nonlinear update of escape energy. Based on the current iteration count t , the escape energy E is updated using the logarithmic nonlinear decay strategy defined in Equation (24). This strategy ensures that E decays relatively slowly in the early iterations to maintain exploration, while decaying gently in the later iterations to facilitate deep exploitation.
Step 6: Population position update integrated with elite guidance. Based on the updated value of E , the algorithm phase is determined. If E ≥ 1, global exploration is performed and positions are updated according to Equation (15). If E < 1, the algorithm enters the local exploitation phase, where one of the four besiege strategies (Equations (16)–(21)) is selected for position update according to the values of E and a random number r . A key refinement in this step is the introduction of an elite guidance mechanism during position updating in the exploitation phase. For non-elite individuals, their updates are partially influenced by an elite individual randomly chosen from the elite group P e k . The specific guidance is implemented as shown in Equation (23).
Step 7: Iteration termination and optimal solution output. Check the termination criteria: whether the maximum iteration count T has been reached, or whether the improvement of the global best fitness over consecutive iterations falls below a preset threshold ϵ . If either condition is satisfied, the iteration terminates and the historically recorded global best hyperparameter set X r a b b i t is output. Otherwise, return to Step 3 to proceed with the next iteration.

3.3. IHHO-KASDAE Data Cleaning Process

The IHHO-KASDAE collaborative cleaning framework represents a systematic solution that deeply integrates targeted optimization with adaptive modeling. Its core idea is to employ the IHHO algorithm to automatically search for the optimal KASDAE configuration that matches the complex characteristics of the data, thereby achieving high-precision restoration of mixed quality issues in ship maintenance data. The complete system workflow is illustrated in Figure 9; the specific steps and the design considerations behind them are as follows:
Figure 9. Schematic of the IHHO-KASDAE data cleaning process.
Step 1: Data Preprocessing and Normalized Partitioning. The raw dataset X raw is preprocessed by applying min–max normalization, which linearly scales each feature to the range [0, 1] according to Equation (26):
x norm = x − x min x max − x min
where x is the original feature value, and x min and x max are the minimum and maximum values of that feature in the training set, respectively.
For any inherent missing values present in the data, temporary zero-filling is applied during preprocessing. This preserves the structural integrity of the data matrix, while the model will learn through training to distinguish such placeholder zeros from genuine valid data. The normalized complete dataset is then partitioned into a training set X train and a test set X test according to a predefined ratio, ensuring that the partitioning reflects the overall data distribution to avoid bias.
Step 2: Adaptive Hyperparameter Optimization Driven by IHHO. The key parameters governing the model capacity and behavior of KASDAE—including the number of nodes in the encoding and decoding layers ( n 1 , n 2 ), the initial B-spline grid density G , the input noise ratio p , and the learning rate η —are formulated as a high-dimensional continuous optimization problem. Leveraging its enhanced capabilities in maintaining population diversity and balancing exploration versus exploitation, the IHHO algorithm is employed to automatically search for the optimal solution Y best to this problem. The fitness function is defined as the reconstruction mean squared error of KASDAE on an independent validation subset, which directs the optimization process explicitly toward improving the model’s generalization and repair performance. Through this step, the model architecture is no longer predetermined but instead evolves into a data-driven optimal configuration.
Step 3: Deep Training of KASDAE Based on the Optimal Configuration. The optimal hyperparameter set Y best is used to configure the corresponding KASDAE network architecture. Subsequently, this model undergoes comprehensive end-to-end training using the complete training set X train . During training, leveraging its learnable B-spline basis functions and dynamic grid expansion mechanism, KASDAE adaptively captures the complex nonlinear patterns and local intricacies within the data. By minimizing the reconstruction loss, the encoder progressively learns a compact, low-dimensional manifold representation of the ship maintenance data in its clean state, while the decoder masters the ability to reconstruct complete and normalized data from this manifold.
Step 4: Data Cleaning and Reconstruction Repair Based on Model Knowledge. The actual data containing quality issues such as anomalies and missing values, denoted as X faulty , is fed into the trained KASDAE model. The forward propagation process of the model essentially projects the problematic data onto the learned manifold of normal data and performs reconstruction. Since anomalies deviate from this normal manifold, they incur larger reconstruction errors. The decoder, constrained by the manifold structure, generates outputs that reconstruct these points into the normal value range, thereby achieving correction. Temporary zero-fill values in the input are treated as information to be inferred during manifold projection. Leveraging the learned complex nonlinear relationships among features, the model infers the optimal imputation values that best conform to the overall data distribution from the available partial information. Ultimately, the model outputs a reconstructed, quality-enhanced dataset X ^ clean .
Step 5: Data Post-Processing and Application Output. The cleaned and repaired normalized data, X ^ clean , undergoes reverse normalization to restore its original physical dimensions and numerical scale. This yields the final high-quality dataset X final , which is directly applicable to downstream analytical tasks. The output of this framework preserves the intrinsic feature correlations and statistical properties of the original data through a data-driven repair process, thereby establishing a reliable data foundation for subsequent advanced analyses such as maintenance cost prediction.

4. Experiments and Analysis of Results

4.1. Experimental Setup

4.1.1. Dataset and Preprocessing

The experimental data used in this study were collected during a six-month field investigation, comprising actual ship maintenance records accumulated by seven major shipyards between 2010 and 2023. After performing completeness verification and logical consistency cleaning on the raw data, a final dataset containing 673 valid samples was constructed. Each sample includes 11 key engineering features that comprehensively describe the ship’s basic attributes, performance status, and maintenance process. These features are: construction cost, displacement, ship length, ship width, draft depth, maximum speed, main engine power, service length at the time of maintenance, maintenance duration, actual labor hours, and total maintenance cost. This dataset authentically reflects the multi-source and heterogeneous characteristics inherent in ship maintenance activities. To meet the input requirements of deep learning models, min–max normalization, as described in Equation (26), was applied to standardize features with different units, linearly mapping each feature value to the [0, 1] interval. The entire dataset was then divided into a training set and a test set in a 7:3 ratio using stratified random sampling. This approach ensured that the distribution proportions of different ship types, tonnage classes, and maintenance scales remained approximately consistent across both sets.

4.1.2. Evaluation Metrics

To comprehensively evaluate the overall performance of different data cleaning methods, a multi-dimensional evaluation index system was established, covering aspects such as reconstruction accuracy, anomaly detection, missing value imputation, algorithm efficiency, comprehensive error, and the basis for statistical testing.
1. Reconstruction Accuracy Metrics. As core indicators for measuring the ability of a cleaning model to recover the original clean data, the Root Mean Square Error (RMSE) and Mean Absolute Error (MAE) were adopted. Their calculation formulas are shown in Equation (27):
RMSE = 1 n × d ∑ i = 1 n ∑ j = 1 d ( x i j − x ^ i j ) 2 MAE = 1 n × d ∑ i = 1 n ∑ j = 1 d | x i j − x ^ i j |
where x i j is the original true value, x ^ i j is the value reconstructed by the model, n is the number of samples, and d is the feature dimensionality.
2. Comprehensive Error Metrics. To provide a more comprehensive error analysis, two additional metrics are introduced: the Sum of Squared Error (SSE) and the Mean Relative Error (MRE). SSE reflects the cumulative scale of the total error, while MRE measures the magnitude of the error relative to the true value. Their calculation formulas are given in Equation (28):
SSE = ∑ i = 1 n ∑ j = 1 d x i j − x ^ i j 2 MRE = 1 n × d ∑ i = 1 n ∑ j = 1 d x i j − x ^ i j x i j + ϵ ˜
Here, ϵ ˜ is a very small constant introduced to avoid division by zero.
3. Anomaly Detection Performance Metrics. To evaluate the effectiveness of the methods in identifying anomalous data points, Precision, Recall, and F1-Score are introduced as evaluation metrics. Their calculations are based on the outcomes of anomaly detection: True Positives (TP), False Positives (FP), and False Negatives (FN). The corresponding formulas are provided in Equation (29):
Precision = TP TP + FP Recall = FP TP + FP F 1 -Score = 2 × Precision × Recall Precision + Recall
4. Missing Value Imputation Performance Metric. For the missing value imputation task, the Imputation Error (IE) is used for evaluation, defined as the MSE between the values imputed by the model and the corresponding ground truth values. The calculation formula is given by Equation (30):
IE = 1 N missing ∑ k = 1 N missing ( x k − x ^ k ) 2
where N missing is the total number of artificially introduced missing values, x k is the masked true value, and x ^ k is the value imputed by the model.
5. Algorithm Efficiency Metrics. To compare the efficiency of different optimization algorithms and cleaning models, two key metrics were adopted: first, the convergence generation, which refers to the minimum number of iterations required for the optimization algorithm to satisfy the preset convergence criterion; second, the computation time, defined as the total CPU/GPU time consumed by the model to complete the entire training process or to clean a specified dataset under identical hardware conditions.
6. Basis for Statistical Testing and Multi-Criteria Decision Making. To ensure the statistical rigor of performance comparisons, the non-parametric Wilcoxon signed-rank test was employed to analyze the significance of performance differences between two methods. For the comprehensive ranking of multiple algorithms, the Friedman test was utilized. Furthermore, to facilitate integrated trade-offs and decision-making among multiple potentially conflicting evaluation criteria, the theoretical framework of Multi-Criteria Decision Making (MCDM) methods was introduced in the subsequent comprehensive analysis, providing more engineering-practical guidance for algorithm selection.

4.1.3. Comparative Methods and Parameter Configuration

To systematically validate the performance of the proposed IHHO-KASDAE method in ship maintenance data cleaning tasks, a multi-level comparative framework was constructed, encompassing representative approaches from diverse technical paradigms including traditional statistics, classical machine learning, deep learning, and their integration with optimization algorithms. All experiments were conducted under the same Python environment utilizing mainstream libraries such as Scikit-learn 1.3.0 and PyTorch 2.1.0, and were performed using an identical dataset with the same training-test split to ensure the fairness of the comparisons.
Within the domains of traditional statistics and classical machine learning, the 3σ Rule, the Boxplot method, Isolation Forest, and OCSVM were selected as baselines, representing cleaning approaches based on distribution assumptions, density detection, and classical classification. Deep learning baselines include standard SDAE and VAE, reflecting the performance of mainstream unsupervised deep representation learning models. To adequately address recent advances in the field, Sparrow Search Algorithm optimized Denoising Autoencoder (SSA-DE) and Golden Jackal Optimization optimized Autoencoder (GJO-AE) were specifically introduced as state-of-the-art comparative methods. Both are based on the SSA and the GJO algorithm respectively, and have demonstrated superior performance in related engineering data cleaning and fault diagnosis tasks, representing the current forefront of integrating intelligent optimization with deep feature learning. Furthermore, the study also includes models driven by classical optimizers such as Particle Swarm Optimization optimized Stacked Denoising Autoencoder (PSO-SDAE), Differential Evolution optimized Stacked Denoising Autoencoder (DE-SDAE), and the original Harris Hawks Optimization optimized Stacked Denoising Autoencoder (HHO-SDAE), to systematically evaluate the performance differences in various optimization strategies on the same task. A brief description and parameter configurations of all compared methods are summarized in Table 1.
Table 1. Summary of compared methods.

4.2. Quantitative Analysis of Data Cleaning Effectiveness

4.2.1. Reconstruction Performance Under Different Missing Rates

To simulate real-world engineering scenarios with varying degrees of data missingness, four gradient missing rates were established in this section: 5%, 10%, 15%, and 20%. Missing values were introduced using a random uniform distribution strategy to ensure that the missing positions across feature dimensions were independent and uniformly distributed. Figure 10 presents the overall reconstruction performance of each method under different missing rates. In general, the performance of all methods declines as the missing rate increases; however, IHHO-KASDAE consistently maintains the best performance across all missing rates. Specifically, at a 5% missing rate, IHHO-KASDAE achieves RMSE, MAE, and IE values of 0.0231, 0.0154, and 0.0245, respectively. Compared to the best baseline method, Original HHO-SDAE, these represent reductions of 18.3%, 16.7%, and 19.8%. Its SSE and MRE are also the lowest among all methods. When the missing rate increases to 20%, the error metrics of IHHO-KASDAE remain significantly lower than those of other compared methods, demonstrating robust resistance to missing data interference. The results of the Wilcoxon signed-rank test indicate that the performance differences between IHHO-KASDAE and all major baseline methods under a 20% missing rate are statistically significant ( p < 0.05).
Figure 10. Reconstruction performance comparison of different methods under varying missing rates: (a) Comparison of RMSE at different missing rates; (b) Comparison of MAE at different missing rates; (c) Comparison of IE at different missing rates; (d) Comparison of SSE at different missing rates; (e) Comparison of MRE at different missing rates.
Analysis from the methodological category perspective reveals distinct performance patterns. Traditional statistical methods exhibit poor adaptability to the inherent asymmetric data structure of ship maintenance data, resulting in significantly higher errors under a 20% missing rate. Among classical machine learning methods, Isolation Forest performs acceptably at low missing rates, but its error increases rapidly as the missing rate rises, reflecting its limitations in capturing complex correlations among high-dimensional features. Deep learning methods generally outperform traditional approaches; however, their fixed network architectures still pose bottlenecks when handling the high-dimensional nonlinearity and random missing patterns present in this dataset. Within the category of models driven by intelligent optimization, the original HHO-SDAE performs better than PSO-SDAE and DE-SDAE, while the more recent advanced methods, SSA-DAE and GJO-AE, demonstrate stronger competitiveness. Nevertheless, by incorporating the KA theory-reconstructed KASDAE model and the multi-strategy improved IHHO optimizer, IHHO-KASDAE achieves a further breakthrough in both exploration capability and exploitation precision, thereby attaining the best reconstruction performance.
To more intuitively demonstrate the cleaning effectiveness, Figure 11 compares the reconstruction curves of the total maintenance cost by different methods under a 20% missing rate. It can be observed that the reconstruction curve of IHHO-KASDAE aligns most closely with the ground-truth values, effectively restoring large-magnitude fluctuations and trend transition points. In contrast, the reconstruction results of traditional methods exhibit noticeable over-smoothing bias, while the deep learning baseline methods show over-correction or lagged responses near extreme-value points. A close-up view of the key sample interval (samples 80–120) further reveals that IHHO-KASDAE accurately tracks the dynamic variations in the true data, whereas the reconstruction curve of the original HHO-SDAE exhibits noticeable phase shift and amplitude distortion. This observation verifies the effectiveness of the dynamic B-spline activation functions and the refined optimization strategy adopted in IHHO-KASDAE for recovering the authentic structure and details of the data.
Figure 11. Comparison of reconstruction effectiveness of different methods for the total maintenance cost feature under 20% missing rate.

4.2.2. Detection Performance Under Different Anomaly Ratios

To systematically evaluate the robustness of each method under varying degrees of anomaly contamination, this section establishes four anomaly ratio levels: 5%, 10%, 15% and 20%. Anomalies are generated by introducing random deviations and local outliers into normal data, simulating scenarios caused by sensor errors and manual recording mistakes in real-world ship maintenance data. Figure 12 compares the Precision, Recall, and F1-score of each method across these anomaly ratio levels. As the anomaly ratio increases from 5% to 20%, the performance of all methods declines, yet IHHO-KASDAE consistently maintains the best results. Specifically, at the 20% anomaly ratio, IHHO-KASDAE achieves Precision, Recall, and F1-score values of 0.90, 0.89, and 0.89, respectively, representing improvements of 6.2%, 6.1%, and 6.2% over the original HHO-SDAE. Wilcoxon signed-rank tests confirm that the performance differences between IHHO-KASDAE and all major baseline methods at the 20% anomaly ratio are statistically significant ( p < 0.05).
Figure 12. Performance metrics comparison of different methods under varying anomaly rates: (a) Precision comparison; (b) Recall comparison; (c) F1-score comparison.
From a methodological perspective, traditional statistical methods, due to their reliance on global distribution assumptions, exhibit a significant rise in false positive rates under high anomaly ratios, with their Precision dropping to 0.62 and 0.65, respectively. Among classical machine learning methods, Isolation Forest and OCSVM show insufficient adaptability to high-dimensional heterogeneous data, leading to marked performance degradation as the anomaly ratio increases. Deep learning methods generally outperform traditional approaches, yet their fixed network architectures limit their capacity to capture complex anomaly patterns. Within the category of intelligent-optimization-driven models, PSO-SDAE and DE-SDAE tend to converge to local optima, resulting in mediocre performance in anomaly detection; meanwhile, SSA-DAE and GJO-AE demonstrate strong competitiveness, excelling in Precision and Recall, respectively. However, by leveraging the feature extraction capability enhanced by the KA theory and the multi-strategy optimization mechanism, IHHO-KASDAE achieves higher Recall while maintaining high Precision, thereby attaining the best overall performance.
Figure 13 compares the ROC curves of different methods under a 20% anomaly ratio. The ROC curve of IHHO-KASDAE is closest to the top-left corner, achieving an area under the curve (AUC) value of 0.929, which is significantly superior to those of the other methods. Its curve rises rapidly in the region of low false positive rates, indicating that IHHO-KASDAE can obtain a high anomaly detection rate at a relatively low cost of false alarms. In contrast, the ROC curves of traditional statistical methods are relatively flat, with the 3σ rule and the box-plot method attaining AUC values of only 0.738 and 0.650, respectively, reflecting their limited ability to identify local anomaly patterns. Among the classical machine learning methods, Isolation Forest and OCSVM yield AUC values of 0.790 and 0.772, and their slowly rising curves suggest insufficient discriminative power in high-dimensional space. For the deep learning methods, Standard SDAE and VAE achieve AUC values of 0.842 and 0.821. Within the group of intelligent-optimization-driven models, PSO-SDAE, DE-SDAE, SSA-DAE, and GJO-AE obtain AUC values of 0.858, 0.870, 0.874, and 0.893, respectively, while the original HHO-SDAE reaches an AUC of 0.912. The highest AUC value attained by IHHO-KASDAE confirms its robust detection performance across different decision thresholds.
Figure 13. ROC curves comparison of different methods under 20% anomaly rate.

4.2.3. Feature-Level Cleaning Effectiveness Analysis

In-depth analysis is performed on three indicative features: construction cost, main-engine power, and maintenance labor hours. By simultaneously imposing a 20% missing rate and a 20% anomaly ratio on the test set, realistic data-corruption scenarios are simulated, enabling a systematic comparison of the performance of different methods in terms of feature-reconstruction accuracy and error control.
Based on the normalized cleaning–effectiveness comparison curves shown in Figure 14, IHHO-KASDAE demonstrates excellent reconstruction performance on all three features. For the construction-cost feature (Figure 14a), the method successfully recovers the anomalous low value at sample 95, while the reconstructed curve remains smooth across the entire sample range without over-smoothing at extreme points. In contrast, the 3σ rule exhibits a significant deviation at the same location; although Standard SDAE and HHO-SDAE achieve partial restoration, they suffer from reconstruction lag and residual errors, respectively. For the main-engine-power feature (Figure 14b), IHHO-KASDAE demonstrates strong robustness against the anomaly at sample 368 caused by sensor failure. Particularly noteworthy is its performance in the consecutive missing segment (samples 200–205), where the imputations generated based on nonlinear inter-feature correlations exhibit a physically plausible smooth transition, fully preserving the dynamic characteristics of the data. Among the compared methods, traditional statistical approaches prove largely ineffective in such scenarios, while the deep learning baselines introduce noticeable noise interference in high-variability regions. The analysis of the maintenance-labor-hours feature (Figure 14c) further validates the scenario adaptability of the proposed method. For the magnitude error present at sample 563, IHHO-KASDAE accurately identifies and effectively corrects it, achieving a reconstruction error below 0.3%. Moreover, within the locally dense data region (samples 180–200), the reconstructed curve precisely captures the fluctuation patterns of the original data, exhibiting neither the systematic deviation observed in Standard SDAE nor the local distortion present in HHO-SDAE.
Figure 14. Feature normalization cleaning effectiveness comparison curves: (a) Construction cost feature cleaning comparison; (b) Main power feature cleaning comparison; (c) Repair hours feature cleaning comparison.
Figure 15 presents the normalized absolute-error distribution in box-plot form, revealing the performance differences among the methods from a statistical perspective. For the construction-cost feature, IHHO-KASDAE achieves a median error of only 0.015, with its interquartile range concentrated in [0.008, 0.025], which is significantly superior to the other compared methods. More importantly, the error distribution of IHHO-KASDAE exhibits the narrowest box and the fewest outliers, indicating high stability and reliability of its cleaning results. The error analysis for the main-engine-power feature reveals a similar pattern: IHHO-KASDAE achieves a median error of 0.012, representing a reduction of 57.1% compared to HHO-SDAE (0.028), and its upper quartile is kept below 0.018, demonstrating the method’s precise processing capability for high-dynamic-range data. The error distribution of the maintenance-labor-hours feature further highlights the method’s strong adaptability to non-uniform data. IHHO-KASDAE not only maintains the lowest median error (0.014) but also excels in controlling the tails of the distribution, with a maximum error not exceeding 0.035, whereas the extreme errors of the other compared methods all surpass 0.1.
Figure 15. Normalized absolute error distribution box plot: (a) Construction cost; (b) Main power; (c) Repair hours.

4.3. Algorithm Optimization Performance Analysis

4.3.1. Convergence Comparison Analysis

To evaluate the convergence performance, we select PSO, DE, the original HHO, SSA, and GJO as comparative algorithms. Under consistent experimental settings and with the reconstruction mean square error of KASDAE on the validation set serving as the fitness function, the convergence trajectories of each algorithm over 200 iterations are recorded, as shown in Figure 16.
Figure 16. Convergence curves comparison.
As shown in the figure, the convergence curve of IHHO is the smoothest with minimal fluctuations, demonstrating strong robustness. In contrast, PSO, DE, HHO, SSA, and GJO all exhibit varying degrees of instability. IHHO descends rapidly in the early iterations (first 30 iterations), benefiting from the enhanced global exploration capability provided by chaotic initialization and the elite strategy. During the mid-phase (iterations 30–100), the nonlinear energy-decay mechanism effectively balances search behavior, successfully avoiding premature convergence. In the later phase, IHHO stabilizes first at a fitness value of 0.0216, representing reductions of 31.7%, 25.6%, 12.2%, 15.4%, and 15.4% compared to PSO, DE, the original HHO, SSA, and GJO, respectively. In comparison, PSO suffers from convergence stagnation in the mid-to-late stages due to inherent algorithmic limitations, with a final fitness value of 0.0315. Although DE outperforms PSO, its final fitness value remains at 0.0289. The SSA and GJO algorithms converge to 0.0254, which is still noticeably inferior to IHHO. While the original HHO performs better than PSO and DE, its linear energy-update mechanism leads to noticeable oscillations during the iterative process, resulting in a convergence value of 0.0245. In summary, IHHO demonstrates clear advantages in both convergence accuracy and stability.

4.3.2. Computational Efficiency and Cost-Effectiveness Analysis

To comprehensively compare the time-cost differences among the methods, the total durations consumed by each compared approach during the model-training phase and the data-cleaning phase are recorded. Here, training time refers to the time required from model initialization to the completion of the entire training process; cleaning time denotes the time taken by the model to perform anomaly correction and missing-value imputation on the entire test set. The results are presented in Table 2.
Table 2. Computational efficiency comparison of different methods.
Based on the information presented in Table 2, traditional statistical methods require no model training and rely only on basic statistical computations, resulting in very short cleaning times but limited cleaning accuracy. Among the classical machine learning methods, Isolation Forest and OCSVM have total runtimes of 2.72 s and 6.28 s, respectively, reflecting the efficiency of tree-structured and classification-based models. Due to their complex network architectures, deep learning methods exhibit significantly longer training times than traditional approaches, with total runtimes of 59.19 s for Standard SDAE and 77.53 s for VAE. Within the group of intelligent-optimization-coupled-SDAE methods, the original HHO-SDAE suffers from slow convergence caused by its linear energy-update mechanism, leading to a training time of 152.16 s and a total runtime of 152.72 s. Meanwhile, PSO-SDAE and DE-SDAE show total runtimes of 128.99 s and 118.98 s, respectively. SSA-DAE and GJO-AE demonstrate relatively good time efficiency, with total runtimes of 130.78 s and 124.85 s, respectively. The proposed IHHO-KASDAE method, through its multi-strategy improvements, reduces the training time to 142.39 s, a 6.4% reduction compared to the original HHO-SDAE, demonstrating the effectiveness of the adopted optimization strategies. The cleaning time of IHHO-KASDAE is 0.54 s, which is comparable to that of Standard SDAE, indicating that its model architecture does not introduce significant additional computational overhead. Overall, IHHO-KASDAE effectively controls the training time cost while maintaining leading cleaning accuracy, with a total runtime of 142.93 s. Although this is slightly higher than the runtimes of SSA-DAE and GJO-AE, it is notably lower than the time costs of grid-search and commercial optimizers. Commercial optimizers or grid-search methods require the problem to be encoded into a specific form when dealing with such black-box, non-convex optimization problems; each evaluation is computationally expensive and the preliminary modeling is complex. In contrast, IHHO-KASDAE, while achieving the best cleaning accuracy, supports fully automated operation and strikes a favorable balance between accuracy and time cost, thereby offering considerable practical engineering value and cost-effectiveness.

4.3.3. Parameter Sensitivity Analysis

To evaluate the impact of the key hyperparameters in the IHHO-KASDAE method on data-cleaning performance, a systematic parameter-sensitivity analysis is conducted. The focus is on the KASDAE model hyperparameters optimized by the IHHO algorithm, namely the number of encoder nodes n 1 , the number of decoder nodes n 2 , the initial B-spline grid density G , the input corruption rate p , and the learning rate η . Using a one-factor-at-a-time approach, each parameter is varied individually within a reasonable range while keeping the others fixed, and the resulting change in the model’s performance on the test set is observed. The experimental setup follows the dataset and preprocessing procedures described in Section 4.1, with the training-to-test split maintained at 7:3. During the analysis, all other parameters are fixed at the baseline configuration obtained by IHHO optimization ( n 1 = 120, n 2 = 120, G = 12, p = 0.18, η = 0.001), while the target parameter is varied individually to record the resulting performance trends.
The sensitivity analysis of the encoder node count n 1 reveals a distinct three-phase pattern, as shown in Figure 17a. When n 1 < 80, the model capacity is clearly insufficient, leading to a relatively high reconstruction error—MSE reaches 0.0352 and the F1-score is only 0.79. As the node count increases to 120, the model attains its best performance, with MSE dropping to 0.0228 and the F1-score rising to 0.87. However, when n 1 exceeds 150, overfitting occurs: MSE rebounds to 0.0285 and the F1-score also declines. The results indicate that a node count in the range of 100–140 achieves a good balance between feature abstraction capability and model generalization performance.
Figure 17. Comparison of convergence curves: (a) Encoder nodes sensitivity; (b) Decoder nodes sensitivity; (c) B-spline grid density sensitivity; (d) Input zeroing ratio sensitivity; (e) Learning rate sensitivity.
The sensitivity analysis of the decoder node count n 2 highlights the importance of structural symmetry in the network, as illustrated in Figure 17b. When n 2 is set symmetrically to n 1 (both at 120), the model achieves its best performance, with an MSE of 0.0231 and an F1-score of 0.876. In contrast, asymmetric configurations lead to a notable increase in reconstruction error—for example, the MSE rises to 0.0304 when n 2 = 60 and reaches 0.0279 when n 2 = 180. These results indicate that a symmetric configuration of encoder and decoder node numbers helps maintain stability and accuracy throughout the model’s reconstruction process.
The sensitivity analysis of the B-spline grid density G indicates that the grid density significantly affects the model’s fitting ability, as shown in Figure 17c. With a coarse grid setting ( G = 5), the model cannot adequately capture data details, resulting in an MSE of 0.0337 and an F1-score of 0.81. A moderate grid density ( G = 12) yields the best fit, lowering the MSE to 0.0235 and raising the F1-score to a peak of 0.868. However, an excessively fine grid ( G > 15) induces overfitting, causing the MSE to rebound to 0.0268 and the F1-score to decline. These results confirm the necessity of an appropriate grid-expansion strategy for balancing model complexity and fitting capability.
The sensitivity analysis of the input corruption rate p demonstrates that the noise level plays a critical role in the model’s robustness, as illustrated in Figure 17d. When the noise ratio is too low ( p = 0.1), the model exhibits weaker noise resistance, yielding an MSE of 0.0296 and an F1-score of 0.845. A moderate noise ratio ( p = 0.18) matches the actual missing-data characteristics well, leading to the best model performance—MSE of 0.0230 and F1-score of 0.874. Conversely, an excessively high noise ratio ( p = 0.3) disrupts the underlying data distribution excessively, causing the MSE to rise to 0.0312 and the F1-score to drop to 0.82. Therefore, it is recommended to set the corruption rate within the range of 0.15–0.22 in order to align with the real-world missing-data patterns.
The sensitivity analysis of the learning rate η indicates that this parameter critically governs both the training efficiency and stability of the model, as depicted in Figure 17e. An excessively small learning rate ( η = 0.0005) leads to slow convergence, resulting in an MSE of 0.0321 and an F1-score of 0.84. A moderate learning rate ( η = 0.001) enables an efficient and stable training process, yielding an MSE of 0.0229 and the highest F1-score of 0.871. In contrast, an overly large learning rate ( η = 0.005) induces oscillatory behavior during training, causing the MSE to rebound to 0.0274 and the F1-score to drop to 0.85. These observations confirm the pivotal role of the learning rate in controlling the training dynamics.
Based on the sensitivity analysis above, the potential for parameter simplification can be further considered. Among the investigated parameters, the encoder and decoder node counts ( n 1 and n 2 ) exhibit a gentle performance variation within the range of 100–140 and can be fixed at 120 to reduce tuning complexity. In contrast, the B-spline grid density G and the input corruption rate p have a pronounced impact on performance and thus require careful optimization. The learning rate η shows stable performance within the interval of 0.0008–0.0012 and can be set straightforwardly. To verify this simplification, experiments were repeated with n 1 = n 2 = 120 fixed. Under a 20% missing rate, the MSE of IHHO-KASDAE increased by only 0.8% and the F1-score decreased by 0.5%, demonstrating that parameter simplification is feasible and the associated performance loss is acceptable. These findings provide practical tuning guidance for engineering deployment, effectively balancing performance with ease of use.

4.4. Ablation Study

4.4.1. Experimental Setup

The core objective of the ablation study is to evaluate the individual and combined contributions of each key component in the proposed framework. By systematically removing or replacing specific components, a series of comparative models are constructed under strictly controlled conditions. This approach allows us to quantify how much the KA-based reconstruction, the multi-strategy algorithmic improvements, and the grid expansion technique each enhance the overall model performance. Furthermore, it helps clarify whether these components introduce redundancy or, instead, exhibit complementary and synergistic effects.
Based on the aforementioned objectives, four model configurations were designed for comparison against the complete IHHO-KASDAE framework. The first configuration serves as the baseline model (HHO-SDAE), which employs the original HHO algorithm to optimize a conventional SDAE. This model does not incorporate any of the core innovations proposed in this study and is intended to establish a performance baseline against traditional deep cleaning methods that use intelligent optimization. The second configuration, Variant 1 (HHO-KASDAE), builds upon the baseline by introducing the KASDAE architecture proposed in this work—namely, the learnable B-spline activation functions reconstructed based on the KA theory. However, it retains the original, unmodified HHO algorithm for hyperparameter optimization. This experimental setup aims to isolate and evaluate the contribution of the structural innovation alone, thereby verifying the effectiveness of the KA-theory-based reconstruction in enhancing feature representation capability. The third configuration, Variant 2 (IHHO-SDAE), retains the multi-strategy IHHO algorithm proposed in this work, including chaotic initialization, the elite guidance strategy, and the nonlinear energy decay mechanism. However, the KASDAE model is replaced with a standard SDAE that uses fixed ReLU activation functions. This design aims to separately evaluate the contribution of the algorithmic-level improvements, analyzing how IHHO enhances convergence accuracy and stability compared to the original HHO in hyperparameter optimization tasks. The fourth configuration, Variant 3 (IHHO-KASDAE-NoGrid), is built upon the complete framework but removes the grid expansion technique from KASDAE, fixing the density of the B-spline basis functions at an intermediate value. This experiment is specifically designed to investigate the role of the dynamic adjustment mechanism enabled by grid expansion, verifying its effect on achieving coarse-to-fine fitting, preventing overfitting, and enhancing the generalization capability of the model. All models were optimized within the same hyperparameter space over 200 iterations, with a population size of 50. A 20% missing rate and a 20% anomaly rate were introduced into the test set to simulate realistic data contamination scenarios in ship maintenance data.

4.4.2. Core Performance Metrics Comparison

Figure 18 illustrates the convergence trajectories of the compared algorithms over 200 iterations, revealing the significant impact of different optimization strategies on search efficiency. IHHO-KASDAE demonstrates the most favorable convergence behavior: its curve descends rapidly in the early iterations, maintains a smooth transition during the mid-phase, and finally stabilizes at the lowest fitness value of 0.0172, exhibiting a characteristic ideal convergence pattern.
Figure 18. Ablation study convergence curves.
Detailed analysis reveals that the convergence curve of HHO-SDAE exhibits noticeable fluctuations, with a final fitness value of 0.0425. This reflects the search instability caused by the linear energy decay mechanism inherent to the original HHO algorithm. In contrast, HHO-KASDAE demonstrates faster convergence during the initial 50 iterations. However, it subsequently becomes trapped in a local optimum, yielding a final fitness value of 0.0298. This indicates that the feature representation capacity of the standard SDAE limits further model optimization. Meanwhile, IHHO-SDAE shows a distinct plateau in the mid-iterative phase, where the fitness value stagnates around 0.0282, confirming the limitations of a fixed grid density in fitting complex data distributions.
Notably, the complete IHHO-KASDAE maintains a smooth descending trend throughout the entire optimization process, achieving stable convergence in merely 114 iterations. This demonstrates a clear advantage in convergence speed compared to other variants. Specifically, its final fitness value shows a reduction of 58.0% compared to HHO-SDAE, 40.2% compared to HHO-KASDAE, and 36.7% compared to IHHO-SDAE. This significant improvement validates the effectiveness of the proposed adaptive grid mechanism and knowledge-enhanced strategy in balancing exploration and exploitation capabilities.
Furthermore, as an intermediate variant, IHHO-KASDAE-NoGrid, which removes the grid expansion technique, exhibits convergence performance between that of IHHO-SDAE and the complete IHHO-KASDAE. It achieves a final fitness value of 0.0242 and converges in 131 iterations. This result indicates that although the algorithm can be simplified by removing the grid structure, the adaptive grid mechanism remains crucial for maintaining search diversity in complex optimization problems.

4.4.3. Convergence Stability Evaluation

The distribution characteristics of the final fitness values were recorded through 10 independent repeated experiments. The complete IHHO-KASDAE demonstrates the best convergence stability, exhibiting the narrowest box range with an interquartile range of only 0.000956 and the lowest median value of 0.018792, with no outliers present. This reflects the algorithm’s strong robustness to initial conditions.
Figure 19 illustrates the stability characteristics of each variant. Comparative analysis shows that the box ranges of HHO-SDAE and HHO-KASDAE expand to 0.002843 and 0.002121, respectively, with the presence of outliers. This confirms the inherent randomness deficiencies in the population initialization and energy update mechanisms of the original HHO algorithm. IHHO-SDAE exhibits relatively better stability, with an interquartile range of 0.001373. This indicates that while the IHHO optimization strategy alone can improve convergence accuracy, it still struggles to achieve optimal stability without the support of the knowledge enhancement theory. Notably, IHHO-KASDAE-NoGrid, while demonstrating better stability than traditional methods, shows an interquartile range of 0.002079, which is still clearly inferior to that of the complete model. This indicates that the grid expansion technique effectively reduces the model’s sensitivity to initial parameter configuration by dynamically adjusting the fitting granularity of the B-spline basis functions. The stability ranking of all variants aligns closely with their convergence accuracy performance, demonstrating that the proposed multi-component improvement strategy not only enhances overall algorithmic performance but also effectively strengthens its anti-interference capability in complex optimization environments.
Figure 19. Convergence stability box plot.

4.5. Comprehensive Comparison and Multi-Criteria Decision Analysis

To comprehensively evaluate the overall performance of the various data cleaning algorithms, a comparative analysis was conducted using the Friedman statistical test and the TOPSIS multi-criteria decision-making method. Under four missing rate scenarios ranging from 5% to 20%, a multi-dimensional analysis was performed on the intelligent optimization-deep learning methods represented by IHHO-KASDAE, focusing on aspects including reconstruction accuracy, anomaly detection performance, training efficiency, and convergence stability. To thoroughly benchmark against the current research frontier, the study primarily compares the proposed method with recent variants demonstrating relatively advanced performance such as SSA-DAE and GJO-AE, as well as classical optimization baselines including the original HHO-SDAE, PSO-SDAE, and DE-SDAE. The Friedman test ranked the aforementioned six algorithms based on the RMSE metric, while the TOPSIS method further constructed a decision matrix using RMSE, F1-score, training time, and stability as criteria to calculate the comprehensive closeness coefficients for each algorithm. The results of both evaluations are collectively presented in Table 3.
Table 3. Comprehensive comparison of algorithms.
Analysis of Table 3 indicates that IHHO-KASDAE ranks first in both evaluations. Its Friedman average ranking is 1.2, and its TOPSIS comprehensive closeness coefficient reaches as high as 0.912, demonstrating that its multi-dimensional performance is the closest to the ideal solution. Particularly significant is the comparison with currently prominent advanced algorithms; the closeness coefficient of IHHO-KASDAE shows an improvement of 26.0 percent over GJO-AE and 33.9 percent over SSA-DAE, highlighting its comprehensive advantage relative to the latest existing variants. The traditional PSO and DE optimization frameworks performed relatively lower in this comparative evaluation. This result fully demonstrates that IHHO-KASDAE not only leads in singular reconstruction or detection accuracy but also exhibits comprehensive superiority in the multi-criteria holistic evaluation. This advantage stems from its core design: the multi-strategy enhanced IHHO algorithm achieves a superior balance between exploration and exploitation in complex hyperparameter spaces, while the KASDAE model, reconstructed based on KA theory, endows it with robust adaptive nonlinear feature representation capabilities. Their synergistic interaction enables the method to better adapt to the inherent high-dimensional heterogeneity and asymmetry characteristic of ship maintenance data, thereby outperforming existing methods, including the latest variants.

4.6. Discussion of Results

The comprehensive experimental results indicate that the proposed IHHO-KASDAE method demonstrates comprehensive and significant advantages in handling the data cleaning tasks for ship maintenance data characterized by high missing rates and high anomaly ratios. Under scenarios with missing and anomaly rates ranging from 5% to 20%, its reconstruction accuracy and anomaly detection performance outperform all compared methods, including traditional statistical, deep learning, and intelligent optimization approaches. Specifically, under the most challenging condition of a 20% high missing rate, its RMSE is reduced by 18.3% compared to the best baseline method, GJO-AE. At a 20% anomaly rate, it achieves an F1-score of 0.89 and an AUC value as high as 0.929. This outstanding performance stems from two core innovations of the method. First, the KASDAE model, through its dynamic B-spline activation functions reconstructed based on the KA theory, enables adaptive learning of complex nonlinear features. Second, the IHHO algorithm achieves efficient and robust searches in the hyperparameter space via multi-strategy enhancements. Unlike traditional strategies that directly discard outliers, this method not only accurately identifies anomalies but also performs high-quality data restoration, thereby fully preserving the overall information structure and intrinsic correlations within the dataset. The systematic parameter sensitivity analysis reveals key tuning principles for critical hyperparameters: the node counts in the encoding and decoding layers should be symmetrically configured; the B-spline grid density should be moderate, with an optimal value of G = 12; and the input noise ratio should match the actual missing characteristics of the data, with a recommended range of 0.15 to 0.22. These principles provide direct and reliable guidance for the efficient deployment and application of the model in practical engineering.
The ablation experiments further quantify the contributions of each innovative component. The complete IHHO-KASDAE model reduces the MSE by 26.9% compared to the baseline HHO-SDAE model. When compared to variants employing only the KASDAE structure or only the IHHO optimizer, its performance shows improvements of 15.7% and 18.6%, respectively. These results confirm that the multi-strategy improvements in IHHO play a key role in enhancing convergence stability, the reconstruction based on the KA theory significantly strengthens the model’s ability to represent nonlinear features, and the grid expansion technique effectively improves the model’s capacity to capture data details and its generalization performance. The synergistic interaction of these three components collectively underpins the comprehensive advantages of the IHHO-KASDAE method in handling data cleaning tasks for high-dimensional, heterogeneous, and strongly nonlinear ship maintenance data.

5. Conclusions and Outlook

5.1. Conclusions

To address the challenges in ship maintenance data cleaning, such as high-dimensional heterogeneity, nonlinear coupling, and high missing rates, this study proposes a data cleaning method based on a multi-strategy improved Harris Hawks Optimization algorithm for optimizing KASDAE. Through systematic theoretical analysis and experimental validation, the following main conclusions are drawn:
1. The proposed KASDAE model reconstructs the network weights by introducing the KA theory, replacing fixed activation functions with self-adaptive B-spline basis functions. This design, combined with grid expansion techniques for dynamic fine-grained adjustment, significantly enhances the model’s ability to represent the complex nonlinear features inherent in ship maintenance data. The optimal parameter configuration for the model is an encoder–decoder node count of n 1 = n 2 = 120, a B-spline grid density of G = 12, and an input noise ratio of p = 0.18.
2. The designed IHHO algorithm effectively balances global exploration and local exploitation by integrating a Logistic–Tent compound chaotic map, an elite hierarchy strategy, and a nonlinear decay mechanism based on a logarithmic function. In the hyperparameter optimization of KASDAE, IHHO demonstrates excellent convergence accuracy and stability. Its final fitness value stabilizes at 0.0216, which represents accuracy improvements of 31.7%, 25.6%, 28.3%, and 12.2% compared to the PSO, DE, GWO, and original HHO algorithms, respectively.
3. Experimental results of the constructed IHHO-KASDAE collaborative cleaning framework on a real-world ship maintenance dataset demonstrate that the method maintains optimal performance under various missing rate and anomaly ratio scenarios. At a 20% high missing rate, its RMSE is reduced by 18.3% compared to the best baseline method. Under a 20% anomaly ratio, it achieves an anomaly detection F1-score of 0.89 and an AUC value of 0.929. Comprehensive multi-criteria evaluation shows that its Friedman average ranking is 1.2 and its TOPSIS closeness coefficient reaches 0.912. Furthermore, the method maintains good computational efficiency, with the total training time reduced by 6.4% compared to the original HHO-SDAE. This provides a reliable and efficient solution for the high-quality cleaning of ship maintenance data and subsequent intelligent analyses.

5.2. Outlook

While the IHHO-KASDAE method demonstrates significant advantages in ship maintenance data cleaning, the increasing complexity of engineering data environments and the demands for intelligent decision-making indicate that there remains considerable scope for enhancing both the depth and breadth of this research. Future work could focus on more systematic exploration in the following directions:
1. Model Architecture Enhancement: Incorporating Temporal Modeling Capabilities. Future work could focus on deepening the model architecture by integrating temporal modeling capabilities. For instance, incorporating multi-head attention mechanisms or temporal convolutional modules into KASDAE could explicitly capture both long-term and short-term dependencies inherent in maintenance records, such as equipment degradation trends and periodic maintenance patterns. Furthermore, as ship systems are inherently complex networks of interconnected components, introducing graph neural networks to explicitly model the physical connections and functional relationships among equipment holds promise for achieving more accurate system-level anomaly propagation analysis and root cause identification.
2. Advancement in Algorithm Optimization Theory. Future efforts could focus on designing parameter adaptive mechanisms. These would enable the algorithm to dynamically adjust its search strategies and control parameters based on real-time feedback from the optimization progress and the characteristics of the data distribution. This adaptability would enhance the algorithm’s generalization capability and robustness across different scenarios. Concurrently, as data cleaning inherently involves multiple conflicting objectives, constructing a multi-objective optimization framework is crucial. Researching efficient solution and decision-making methods based on the Pareto front would provide a solid theoretical foundation and practical solutions for real-world engineering applications.
3. Development of Adaptive Learning Mechanisms. Ship operational data is continuously evolving and dynamic. Developing incremental or online learning mechanisms would enable the model to adaptively learn data characteristics under new operating conditions and fault patterns without forgetting previously acquired knowledge. This capability is crucial for ensuring the long-term effective operation of the system and facilitating the continuous updates of a digital twin. Such an advancement would elevate the proposed method from a static cleaning tool into an intelligent data governance system with full lifecycle management capabilities.

Author Contributions

Conceptualization, C.Z.; methodology, C.Z.; validation, H.W.; data curation, H.W.; writing—original draft preparation, C.Z.; writing—review and editing, S.S. and L.X.; visualization, H.W.; project administration, L.X.; funding acquisition, S.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Social Science Foundation of China under grant number 19CGL073.

Data Availability Statement

The data used and analyzed during this study are proprietary, derived from a field investigation of seven major shipyards and based on actual ship maintenance records from 2010 to 2023. Due to confidentiality agreements with the data providers, the raw data are not publicly available. However, the de-identified datasets are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
OCSVMOne-class Support Vector Machines
SDAEStacked Denoising Autoencoder
DAEDenoising Autoencoder
NFLNo Free Lunch Theorem
IHHOimproved Harris Hawks Optimization
KASDAEKolmogorov–Arnold-based Stacked Denoising Autoencoder
KAKolmogorov–Arnold
HHOHarris Hawks Optimization
AEAutoencoders
MSEMean Squared Error
SAESparse Autoencoders
CAEContractive Autoencoders
SAEStacked Autoencoders
VAEVariational Autoencoders
AAEAdversarial Autoencoders
CAEConvolutional Autoencoders
RAERecurrent Autoencoders
GAEGraph Autoencoders
PSOParticle Swarm Optimization
DEDifferential Evolution
SSASparrow Search Algorithm
GJOGolden Jackal Optimization
RMSERoot Mean Square Error
MAEMean Absolute Error
SSESum of Squared Error
MREMean Relative Error
TPTrue Positives
FPFalse Positives
FNFalse Negatives
IEImputation Error
AUCArea Under Curve

Appendix A

Table A1. Symbol table.

References

  1. Golovan, A.; Mateichyk, V.; Gritsuk, I.; Lavrov, A.; Smieszek, M.; Honcharuk, I.; Volska, O. Enhancing Information Exchange in Ship Maintenance through Digital Twins and IoT: A Comprehensive Framework. Computers 2024, 13, 261. [Google Scholar] [CrossRef] [Scilit]
  2. Zhang, K.; Xi, P.; Liang, X.; Li, X. Decision-making Method and Application of Ship Maintenance Resource Allocation Based on ε-EGA Multi-criteria Adjustment. Oper. Res. Manag. Sci. 2023, 32, 53–60. [Google Scholar] [CrossRef]
  3. Wang, S.; Li, B.; Li, G.; Yao, B.; Wu, J. Short-term wind power prediction based on multidimensional data cleaning and feature reconfiguration. Appl. Energy 2021, 292, 116851. [Google Scholar] [CrossRef] [Scilit]
  4. Wang, D.; Li, S.; Fu, X. Short-Term Power Load Forecasting Based on Secondary Cleaning and CNN-BILSTM-Attention. Energies 2024, 17, 4142. [Google Scholar] [CrossRef] [Scilit]
  5. Shen, X.; Fu, X.; Zhou, C. A Combined Algorithm for Cleaning Abnormal Data of Wind Turbine Power Curve Based on Change Point Grouping Algorithm and Quartile Algorithm. IEEE Trans. Sustain. Energy 2019, 10, 46–54. [Google Scholar] [CrossRef] [Scilit]
  6. Yao, Y.; Zhang, X.; Cui, W. A LOF-IDW based data cleaning method for quality assessment in intelligent compaction of soils. Transp. Geotech. 2023, 42, 101101. [Google Scholar] [CrossRef] [Scilit]
  7. Zhu, H.; Zhang, X.; Wu, J.; Hu, S.; Wang, Y. A novel solar irradiance calculation method for distributed photovoltaic power plants based on K-dimension tree and combined CNN-LSTM method. Comput. Electr. Eng. 2025, 122, 109990. [Google Scholar] [CrossRef] [Scilit]
  8. Peng, B.; Li, Y.; Gong, X. Improved K-Means Photovoltaic Energy Data Cleaning Method Based on Autoencoder. Comput. Sci. 2024, 51, 713–717. [Google Scholar] [CrossRef]
  9. Song, C.; Cui, J.; Cui, Y.; Zhang, S.; Wu, C.; Qin, X.; Wu, Q.; Chi, S.; Yang, M.; Liu, J.; et al. Integrated STL-DBSCAN Algorithm for Online Hydrological and Water Quality Monitoring Data Cleaning. Environ. Model. Softw. 2025, 183, 106262. [Google Scholar] [CrossRef] [Scilit]
  10. Han, B.; Xie, H.; Shan, Y.; Liu, R.; Cao, S. Characteristic Curve Fitting Method of Wind Speed and Wind Turbine Output Based on Abnormal Data Cleaning. J. Phys. Conf. Ser. 2022, 2185, 012085. [Google Scholar] [CrossRef] [Scilit]
  11. Ji, R.; Hou, H.; Sheng, G.; Zhang, L.; Shu, B.; Jiang, X. Data Quality Improvement Method for Power Equipment Condition Based on Stacked Denoising Autoencoders Improved by Particle Swarm Optimization. J. Shanghai Jiao Tong Univ. 2025, 59, 780–788. [Google Scholar]
  12. Li, B.; Liang, S.Q.; Shan, W.N.; Zeng, W.; He, Y. Motor Bearing Fault Diagnosis Based on Improved Sine and Cosine Algorithm for Stacked Denoising Autoencoders. Trans. China Electrotech. Soc. 2022, 37, 4084–4093. [Google Scholar]
  13. Du, X.J.; Jia, L.L.; Izaz, U.H. Fault Diagnosis Based on SPBO-SDAE and Transformer Neural Network for Rotating Machinery. Measurement 2022, 188, 110545. [Google Scholar] [CrossRef] [Scilit]
  14. Huang, G.; Long, Z.; Zhu, Z.; Cheng, W. Monitoring Data Cleaning for Water Distribution System Based on Support Vector Machine. Water Wastewater Eng. 2022, 48, 124–129. [Google Scholar] [CrossRef]
  15. Mei, Y.; Li, X.; Hu, Z.; Yao, H.; Liu, D. Identification and Cleaning of Wind Power Data Methods Based on Control Principle of Wind Turbine Generator System. J. Chin. Soc. Power Eng. 2021, 41, 316–322. [Google Scholar] [CrossRef]
  16. Cui, X.; Lin, H.; An, N.; Wang, R. Ship Navigation Data Recognition Based on LOF-FCM Algorithm. Ship Eng. 2024, 46, 488–493. [Google Scholar] [CrossRef]
  17. Han, H.; Lu, S.; Wu, X.; Qiao, J. Abnormal Data Cleaning Method for Municipal Wastewater Treatment Based on Improved Support Vector Machine. J. Beijing Univ. Technol. 2021, 47, 1011–1020. [Google Scholar] [CrossRef]
  18. Yang, H.; Tang, J.; Shao, W.; Liu, B.; Chen, R. Wind Power Data Cleaning Method Based on Rule Base and PRRL Model. Acta Energ. Sol. Sin. 2024, 45, 416–425. [Google Scholar] [CrossRef]
  19. Zhao, D.; Shen, Z.; Song, Z.; Xie, L.; Liu, B. Mine Airflow Speed Sensor Data Cleaning Model for Intelligent Ventilation. China Saf. Sci. J. 2023, 33, 56–62. [Google Scholar] [CrossRef]
  20. Xu, X.; Wang, Z.; Wang, H. Turbine Data Cleaning Based on Deep LSTM. Therm. Power Gener. 2023, 52, 179–187. [Google Scholar] [CrossRef]
  21. Yu, C.; Xu, K.; Zhang, Z.; Gao, M. Improving Network Intrusion Detection Methods in Isolated Forests Based on Split Points. Comput. Eng. 2024, 50, 148–156. [Google Scholar] [CrossRef]
  22. Yin, Z.; Ma, H.; Hu, T. A Traffic Anomaly Detection Method Based on the Combination of DAE and GRU. J. Cyber Secur. 2023, 8, 11–27. [Google Scholar] [CrossRef]
  23. Chen, H.; Jiang, C.; Jin, H.; Wu, C.; Lu, J. Fusion of Improved Stacked Encoder and Multi-Layer BiLSTM for Intrusion Detection Model. Comput. Eng. Appl. 2025, 61, 306–314. [Google Scholar] [CrossRef]
  24. Xu, T.; Guo, Q.; Zhang, C. A Serial Autoencoders Based Method for Detecting Time Series Anomalies. Control Decis. 2023, 38, 3507–3515. [Google Scholar] [CrossRef]
  25. Zhang, C.; Xie, B.; Zhang, J. A Hybrid Method of Improved VAE and BiLSTM for Unsupervised Time Series Anomaly Detection. Comput. Eng. 2024, 1–15. [Google Scholar] [CrossRef]
  26. Guo, T.; Xie, L.; Wu, B. Memory and Skip Variational Autoencoder: A Novel Approach for Ship Trajectory Anomaly Detection. J. Mar. Sci. Technol. 2025, 30, 466–479. [Google Scholar] [CrossRef] [Scilit]
  27. Huo, W.; Wang, X.; Liang, R. An Anomaly Detection Method Combining Mutual Information Estimation with Adversarial Autoencoder. J. Beijing Univ. Posts Telecommun. 2021, 44, 28–34. [Google Scholar] [CrossRef]
  28. Shen, L.; Shan, H.; Pei, W.; Yang, G.; Wang, Y. Abnormal Sound Detection Method for Coal Mine Belt Conveyors Based on Convolutional Autoencoder. J. Mine Autom. 2025, 51, 100–105. [Google Scholar] [CrossRef]
  29. Sun, N.; Wang, Y.; Ji, Z. Anomaly Detection Method of Electrical Power Consumption Based on Deep Autoencoder. J. Syst. Simul. 2022, 34, 2557–2565. [Google Scholar] [CrossRef]
  30. Zhang, W.; Zhang, P.; Su, Z.; Sun, F. Missing Data Repairs for Road Network Traffic Flow with Self-attention Graph Auto-encoder Networks. J. Transp. Syst. Eng. Inf. Technol. 2021, 21, 90–98. [Google Scholar] [CrossRef]
  31. Vincent, P.; Larochelle, H.; Lajoie, I.; Bengio, Y.; Manzagol, P. Stacked Denoising Autoencoders: Learning Useful Representations in a Deep Network with a Local Denoising Criterion. J. Mach. Learn. Res. 2010, 11, 3371–3408. [Google Scholar]
  32. Zhang, B.; Shu, Y.; Jiang, Y. Bearing Fault Diagnosis Based on Improved Variational Mode Decomposition and Optimized Stacked Denoising Autoencoder. Comput. Integr. Manuf. Syst. 2024, 30, 1408–1421. [Google Scholar] [CrossRef]
  33. Qin, C.; Liang, B.; Niu, J.; Xiao, J.; Zhu, S.; Long, H. Prediction of Psychophysiological Perception of Driver in Road Tunnel Using Particle Swarm Optimization Improved Stacked Denoising Autoencoder Model. Array 2025, 27, 100475. [Google Scholar] [CrossRef] [Scilit]
  34. Narmadha, S.; Balaji, N.V. Improved Network Anomaly Detection System Using Optimized Autoencoder—LSTM. Expert Syst. Appl. 2025, 273, 126854. [Google Scholar] [CrossRef] [Scilit]
  35. Han, B.; Zhao, Q.; Chang, R.; Li, X.; Yan, K.; Fu, Q. Chlorophyll-a Concentration Inversion Model: Stacked Auto-encoder Particle Swarm Optimization BP Neural Network. J. Geo-Inf. Sci. 2023, 25, 1882–1893. [Google Scholar] [CrossRef]
  36. Peng, Z.; Wang, S.; Xiao, S. SOC & SOH Estimation Method of Electric Vehicle Battery Based on SDAE-DCPInformer. CAAI Trans. Intell. Syst. 2025, 20, 969–983. [Google Scholar]
  37. Jia, N.; Cheng, Y.; Liu, Y.; Tian, Y. Intelligent Fault Diagnosis of Rotating Machines Based on Wavelet Time-Frequency Diagram and Optimized Stacked Denoising Auto-Encoder. IEEE Sens. J. 2022, 22, 17139–17150. [Google Scholar] [CrossRef] [Scilit]
  38. Liu, X.; Zeng, H.; Dong, J.; He, T.; Liu, L. Fault Diagnosis of Diesel Engine Based on Stacked Auto-Encoder. Navig. China 2022, 45, 45–51. [Google Scholar] [CrossRef]
  39. Zhang, M.; Zhang, W.; Xu, S. Centrifugal Pump Diagnosis Using Stacked Denoising Auto Encoders Optimized by Improved Golden Jackal Optimization. Acta Metrol. Sin. 2025, 46, 730–737. [Google Scholar] [CrossRef]
  40. Luo, G.; Yang, X.; Shang, B.; Luo, S.; He, J.; Wang, X. High Impedance Grounding Fault Detection Method of a Distribution Network Based on an Improved Stacked Denoised Autoencoder. Power Syst. Prot. Control 2024, 52, 149–160. [Google Scholar] [CrossRef]
  41. Mehrabadi, Z.K.; Fartash, M.; Torkestani, J.A. An Energy-aware Virtual Machine Placement Method in Cloud Data Centers Based on Improved Harris Hawks Optimization Algorithm. Computing 2025, 107, 136. [Google Scholar] [CrossRef] [Scilit]
  42. Chen, Z.; Qi, C.; Zhao, Y.; Cheng, Y. Localization of Hazardous Chemical Leakage Based on Multi-Strategy Improved Harris Hawk Algorithm. J. Shanghai Jiao Tong Univ. 2024, 1–18. [Google Scholar] [CrossRef]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.