Next Article in Journal
Improvements to Load-Bearing Capacity and Settlement of Clay Soil After Adding Nano-MgO and Fibers
Previous Article in Journal
Injectable PEG-PCL-PEG Copolymers for Skin Rejuvenation: In Vitro Cell Studies to in Vivo Collagen Induction
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Data-Driven Polymer Classification Using BiGRU and Hybrid Metaheuristic Optimization Algorithms

by
Mohammad Anwar Parvez
1,* and
Ibrahim M. Mehedi
2,*
1
Department of Chemical Engineering, College of Engineering, King Faisal University, Al-Ahsa 31982, Saudi Arabia
2
School of Robotics, XJTLU Entrepreneur College (Taicang), Xi’an Jiaotong-Liverpool University, No. 111 Taicang Ave., Taicang, Suzhou 215400, China
*
Authors to whom correspondence should be addressed.
Polymers 2025, 17(14), 1894; https://doi.org/10.3390/polym17141894
Submission received: 23 May 2025 / Revised: 1 July 2025 / Accepted: 5 July 2025 / Published: 9 July 2025
(This article belongs to the Section Artificial Intelligence in Polymer Science)

Abstract

Polymers characterize a different and important class of materials through various industries, all with unique functional properties and structural attributes. Conventional models of polymer classification depend greatly on labor-intensive methods liable to human error and subjectivity. Hence, a continually growing requirement for new polymers with greater properties is a deep understanding and exploration of the chemical space. Hence, data-driven methods for polymers are developing and able to deal with unique challenges originating from the outstanding physical and chemical range of polymers at smaller and larger scales. Recently, Deep Learning (DL) models have considerably transformed material science by allowing for the automatic study and classification of composite polymers. In this paper, a novel optimization algorithm with a DL-Based Neural Networks for Data-Driven Polymer Classification (OADLNN-DDPC) model is proposed. The main intention of the OADLNN-DDPC model is to improve the classification model for data-driven polymers using state-of-the-art optimization algorithms. The data normalization stage is initially executed via Z-score normalization to convert input data into a beneficial format. In addition, the proposed OADLNN-DDPC model implements the bald eagle search (BES) model for feature selection to detect and retain the most appropriate features. For the polymer classification process, the bidirectional gated recurrent unit (BiGRU) technique is employed. Lastly, the zebra optimizer algorithm (ZOA) is implemented for the tuning process. Extensive experiments conducted on a polymers dataset with 19,500 records and 2048 features demonstrated that OADLNN-DDPC achieves an accuracy of 98.58%, outperforming existing models, such as LSTM (83.37%), PLS-DA (88.18%), and K-NN (98.36%). The simulation process of the OADLNN-DDPC model is performed under the polymer classification dataset. The experimental analysis specified that the OADLNN-DDPC model demonstrated improvement over another existing model.

1. Introduction

Polymers play a crucial role in various industries, including medicine, electronics, and energy. However, their classification remains a challenge due to their diverse chemical structures, physical properties, and complex molecular interactions. Traditional classification approaches rely on manual feature extraction and rule-based methods, which are time-consuming and prone to subjectivity. Furthermore, polymer characterization requires advanced predictive modeling to accelerate the discovery of new materials. Polymers are highly co-related many-body methods with intricate frameworks and dynamics spanning a broad array of time scales and lengths. Their relaxation processes comprise complex phenomena, like gelation, vitrification, semi-crystallization, and jamming, that are highly process-dependent and still lack comprehensive theoretical frameworks [1]. These phenomena are strongly affected by the chemical knowledge of a polymer’s building blocks. The optimum utilization of polymers in cutting-edge technologies like medicine, electronics, and energy gadgets requires a deeper understanding of the connections between molecular chemistry and materials processing and the determination of approaches for their quick and rational design [2]. Developments in theoretical, experimental, and computational polymer investigations and their close incorporation may enhance the existing knowledge of polymers and speed up their design by producing a huge amount of data [3].
The intentions of innovative polymer materials are inspected at three levels of enlargement. During the initial phase, researchers depend on experimentally driven trial-and-error methods to originate materials [4]. This begins with the determination of an issue or hypothesis, followed by testing with a projected solution, and eventually learning from failure for the subsequent iteration [5]. Nevertheless, the complicated approach in this phase has restrictions, like unexpected preparations and discoveries from standard chemical compounds built in nature; therefore, their abilities in the subsequent novel formulations are limited [6]. Additionally, they are highly labor-intensive, cost-intensive, and time-consuming. In another phase, investigators utilize higher-throughput investigations or virtual screening to establish the related assets of huge targets, and they select the finest ones for advanced optimization [7]. During the third phase, an investigation paradigm deals with the material–property concerns in an inverted manner. That method determines the procedure to establish the desired properties-to-appropriate materials relationship. This is referred to as inverse design, or the structure-to-property process framework [8]. With progress in DL and Machine Learning (ML) and a novel inspection model, effective gadgets to navigate the intention space have been developed. Artificial Intelligence (AI) is utilized to forecast polymer assets and to find a mapping-function-relevant framework for the property of choice [9]. Deep generative techniques are used to search to learn the essential probability distribution of frameworks and their equivalent assets to link them using a non-linear method. The DL models are also used as the suggested method for generating a hypothesis about the test conditions, which makes it possible to produce polymers [10].
In this study, a novel optimization algorithm with DL-Based Neural Networks for Data-Driven Polymer Classification (OADLNN-DDPC) model is proposed. The main intention of the OADLNN-DDPC model is to improve the classification model for data-driven polymers using state-of-the-art optimization algorithms. The data normalization stage is initially executed via Z-score normalization to convert the input data into a beneficial format. In addition, the proposed OADLNN-DDPC model implements the bald eagle search (BES) model for feature selection to detect and retain the most relevant features. For the polymer classification process, the bidirectional gated recurrent unit (BiGRU) technique is employed. Finally, the zebra optimization algorithm (ZOA) is implemented for the tuning process. The simulation process of the OADLNN-DDPC model is performed under the Polymers classification dataset. Despite their high accuracy, the DL models used in this study, such as BiGRU, may still suffer from overfitting, particularly on smaller datasets or when the model’s complexity exceeds the available data size. While the OADLNN-DDPC model shows a high performance, the optimization algorithms, such as BES and ZOA, add an additional computational overhead, which may affect the real-time applications or when working with larger datasets. With advancements in Deep Learning (DL) and Machine Learning (ML), the automated classification of polymers has gained significant attention. Recent studies have explored Convolutional Neural Networks (CNNs), Recurrent Neural Networks (RNNs), and transformer-based architectures for material classification. However, these models often suffer from overfitting, high computational complexity, and suboptimal feature selection. To address these limitations, this study proposes OADLNN-DDPC, an optimized DL framework leveraging the following:
  • Z-score normalization to standardize input data distribution;
  • Bald Eagle Search (BES) optimization for selecting the most relevant polymer features;
  • Bidirectional Gated Recurrent Unit (BiGRU) for learning complex polymer representations;
  • Zebra Optimization Algorithm (ZOA) for hyperparameter tuning, optimizing BiGRU performance.
By integrating state-of-the-art optimization algorithms with DL, OADLNN-DDPC enhances both the classification accuracy and computational efficiency. Section 2 reviews the existing literature on AI-driven polymer classification, discussing various DL architectures, such as CNN, RNN, and transformer models, that have been employed in previous studies. Section 3 explains the pre-processing, feature selection, classification method. Section 4 presents the experimental setup and the results of the OADLNN-DDPC model when tested on the Polymer classification dataset. It includes detailed performance metrics, such as accuracy, precision, recall, F1-score, and execution time under various experimental conditions (70:30 training and testing). The section compares these results with existing methods, demonstrating the superiority of the OADLNN-DDPC model in terms of the classification performance and efficiency. Finally, Section 5 concludes the research.

2. Related Works

Several studies have explored AI-driven polymer classification. Velazquez et al. [11] introduced a robotic three-dimensional printer particularly intended for UV-curable thermosets, whose printing settings could be favored by using a predictive modeling technique. Software packages are advanced to allow for the interaction among the control systems, the robotic arm, and the extruder head to control the printing process. A predictive method employing both CNN and FNN is developed for calculating the sizes of upcoming prints depending on the process parameters. Cui and Wang [12] developed an innovative method for assessing the consistency among asphalt binders and waste polymers employing cutting-edge molecular representation techniques. The waste polymer’s solubility parameters are forecast by utilizing a geometry-enhanced graph neural network (GeoGNN) and conventional ML approaches, respectively. The compatibility index is estimated to depend on the complete variance among the solubility parameters of asphalt and polymers. Shi et al. [13] introduce optical employment for quick monitoring with minimal digital post-processing, utilizing optical data processing. This study incorporates a diffractive-enhanced optical neural networking with a stacked liquid crystal electrical control design, merging the parallel processing capability. Over a single-time effort training, the system allows for precise forecasting of the preferred liquid crystal molecules that are arranged over numerical blind testing.
In [14], a Bi-Stage Optimize DNN (BSO-DNN) with a TL approach that is optimized for diverse resources effectively enhances the precision of modeling and utilizing data. This model substantially improves the sturdiness of the method, the forecast values are closest to the real-sample dispersions, and the precise dispersions give dependable patterns and admissible values for the advanced utilization of the resources. Dai et al. [15] developed three NN techniques comprising LSTM, DNN, and RNN to predict the cohesive zone parameter, as the nickel content in modified carbon nanotubes varied, thus simplifying the challenge of obtaining CZM parameters for nanoparticle-reinforced adhesives. These three types of networks are skilled and depend on the enhanced hyperparameters attained from the Bayesian hyperparameter-tuning process.
Ranjbar et al. [16] developed a detailed examination, utilizing RGB images for the DL-based classification by form of resin. This database included four generally utilized plastic kinds of project structure: PVC, PS, HDPE, and ABS. Utilizing TL with pre-trained models on ImageNet, the utmost precision method designed for this classification job is presented in this study. In [17], the data-driven models are applied for improving machine-recognizable polymer representations and to manage the huge physical and chemical instability of polymers at diverse scales. Progressive generative AI approaches are utilized for the backward design of polymers with particular assets, making them suitable for several applications. Liu [18] developed a multi-modal DL framework integrating spectral imaging and molecular fingerprint data, achieving high classification accuracy for polymer analysis. Xu et al. [19] introduced a transformer-based model for polymer sequence classification, significantly reducing the training time while maintaining high accuracy. Xu et al. [20] proposed an unsupervised deep clustering approach for polymer categorization, which improved the generalization across various polymer types. Metha et al. [21] designed a federated learning framework for polymer classification, ensuring a privacy-preserving data analysis across multiple laboratories. Ballard et al. [22] applied reinforcement learning techniques to optimize polymer classification pipelines, dynamically adjusting feature selection for enhanced performance. Unlike previous studies, OADLNN-DDPC combines multiple optimization techniques (BES and ZOA) with DL to improve the feature selection, classification accuracy, and computational efficiency. The main contributions of the proposed methods are as follows:
Novel Methodology: This study proposes the OADLNN-DDPC model, which integrates multiple state-of-the-art optimization techniques (BES and ZOA) with DL methods for the polymer classification, marking a significant contribution to the field.
Enhanced Feature Selection: Utilizing Bald Eagle Search (BES) for the feature selection guarantees that only the most pertinent features are employed in the classification, leading to increased model efficiency and accuracy.
Enhanced Classification Accuracy: The proposed model achieves an accuracy of 98.58%, significantly outperforming existing models such as LSTM, PLS-DA, and K-NN.
Reduced Execution Time: The OADLNN-DDPC model not only outperforms existing models in terms of accuracy but also achieves the best execution time (10 min), making it practical for real-world applications.
Robust Hyperparameter Tuning: By implementing a Zebra Optimization Algorithm (ZOA) for hyperparameter tuning, the model optimizes the BiGRU performance, ensuring both a high classification accuracy and a high computational efficiency [23,24].

3. Proposed Methodology

The BES algorithm was selected for its proven capability to maintain a balance between local exploitation and global exploration, which is essential in high-dimensional feature spaces. BiGRU was chosen over traditional RNNs and LSTMs due to its reduced parameter count, faster convergence, and ability to capture contextual dependencies from past and future data. ZOA was used for hyperparameter tuning because of its ability to avoid local minima, dynamic population diversity, and competitive performance compared to other metaheuristics like PSO and GA. In this study, a novel OADLNN-DDPC method is presented. The main intention of the OADLNN-DDPC approach is to improve the classification model for data-driven polymers using state-of-the-art optimization algorithms. The proposed OADLNN-DDPC contains various levels, such as data normalization, feature selection, classification, and hyperparameter tuning, to attain this. Figure 1 depicts the complete workflow of the OADLNN-DDPC model [25,26].

3.1. Pre-Processing

Initially, the Z-score normalization, as standardization, is accomplished for converting input data into a beneficial format, which converts data by subtracting the mean of all features and dividing them by their standard deviation. For the data-driven polymer classification, this model guarantees that every feature has a standard deviation of 1 and a mean of 0, making them similar despite their novel unit or scales [18]. This was mainly useful after addressing features that are associated with changing distributions, as it aids in alleviating the influence of features with large numeric ranges. This approach also improves the performance and stability of classification techniques, like neural networks or SVMs, by ensuring that the optimization process treats each feature appropriately. Nevertheless, it is aware of outliers; they can expressively influence the standard deviation and mean. Regardless, it is normally utilized once, preparing the polymer datasets for ML tasks. Prior to the Z-score normalization, missing values were imputed using median substitution to minimize the bias. Outliers were capped at the 1st and 99th percentiles using an interquartile range (IQR)-based method. This preprocessing step ensured that extreme values did not unduly influence the model training. Post-normalization, distributions were visualized to confirm consistent scaling [27].

3.2. Feature Selection Process

In addition, the proposed OADLNN-DDPC models implement the BES model for the feature selection to detect and retain the most relevant features from the data. The bald eagle utilizes an advanced hunting tactic, particularly after hunting salmonid prey inside marine environments [19]. Utilizing a systematic method, the eagle started its hunting expedition by accurately measuring wide-ranging water bodies, using its broader vision related to advanced optical instruments. This primary reconnaissance stage is essential, allowing the bird to distinguish the dynamic movements and attentions of salmon populations. The obtained insights into prey abundance develop the foundation for the following searching phases, highlighting the bald eagle’s precision and adaptability in optimizing the searching success.
Regarding the searching behaviors shown by bald eagles, we newly presented the BES optimizer, an advanced swarm-based model stimulated by the extraordinary searching approaches of this avian predator. Imitating the bald eagle’s three-stage pursuit habit, this original optimizer originates with a space selection stage, tactically identifying areas with a greater probability of harboring the best solutions. Then, the searching stage is explained as the model dynamically discovers the selected region, reflecting the eagle’s in-depth scanning for prey. The termination occurs in the swoop stage, in which the optimizer, directed by previous insights, accurately enhances the best solution with effectiveness. By manufacturing the complex behaviors of nature’s predators, the BES supports a swarm-based model, providing an optimistic chance for improved computation problem-solving across different fields. During the underlying BES, bald eagles search for food over three phases: the swooping, the search, and the select stages. The mathematical representations are defined below.

3.2.1. Initialization

Like another model, the BES searches for optimum solutions by making primary random populations inside the candidate solution’s boundaries. Provided that there are N populations, all containing d i m decision variables, the arbitrary population is made based on the succeeding Equation (1):
P i j = l b + r a n d × u b l b , i = 1,2 , , N . j = 1,2 , , d i m .
where r a n d characterizes a randomly generated number among (0, 1), u b and l b specify the upper and lower limits, and P i j signifies the location of j   t h dimension in the i t h population.

3.2.2. Selecting Phase

During this stage, all bald eagles choose the region according to the optimal location (for example, food position) and average location that can be expressed as demonstrated in Equation (2):
P i , n e w = P b e s t + α × r 6 × P m e a n P i
where P b e s t ,     P m e a n , and P i specify the position of the food and the average location of the present individual, correspondingly. α refers to the value between 1.5 and 2, and r 6 is a randomly generated value among (0, 1).

3.2.3. Searching Phase

In this stage, the algorithm is applied to search for food near the present individual position, for example, the previously chosen position. The formulation is as shown in Equations (3) and (4):
P i , n e w = P i + y i × P i P i + 1 + x i × P i P m e a n
x ( i ) = x r ( i ) m a x ( | x r | ) , y ( i ) = y r ( i ) m a x ( | y r | ) x r i = r i × s i n θ i , y r i = r i × c o s θ i θ ( i ) = a × π × r 7 ,   r ( i ) = θ ( i ) + R × r 8
where a and R represent parameters confined to [5, 10] and [0.5, 2]. r 7 and r 8 denote randomly generated values in [ 0   1 ] .

3.2.4. Swooping Phase

In this phase, a polar equation is rooted in this method to act out the swinging behavior in pursuit. This is expressed as demonstrated in Equations (5) and (6):
P i , n e w = r 9 × P b e s t + x 1 ( i ) × P i c 1 × P m e a n + y 1 ( i ) × P i c 2 × P b e s t
x 1 ( i ) = x r ( i ) m a x ( | x r | ) , y 1 ( i ) = y r ( i ) m a x ( | y r | ) x r i = r i × s i n h θ i , y r i = r i × c o s h θ i   θ ( i ) = a × π × r 10 ,   r ( i ) = θ ( i )
where r 9 and r 10 are randomly generated values in [0, 1]. c 1 and c 2 specify the swooping movement’s intensity, which falls between (1, 2). The fitness function (FF) applied in the BES methodology is to have a balance between the chosen feature amounts in the overall solutions (minimal) and the classification precision (maximal) achieved by exploiting these desired features. Equation (7) characterizes the FF to estimate outputs:
F i t n e s s = α γ R D + β R C
where γ R ( D ) exemplifies the classification error rate. R symbolizes the cardinality of the selected subset, and | C | specifies the total features in the data. α and β are dual parameters corresponding to the significance of subset length and classification quality. ∈ [1, 0] and β = 1 α .

3.3. Classification Method

The BiGRU technique is deployed for the polymer classification process. GRU and LSTM are intended to resolve the gradient disappearance issue in RNNs. The GRU simplifies the network architecture by integrating the input and the forgotten gate in the LSTM [20]. This model decreases the parameter count of the model, streamlines the computation process, and makes the GRU quicker in training speed yet simpler to implement and understand. The GRU adjusts the information flow by presenting update gates and reset gates, permitting the method to determine what information must be reserved or forgotten to improve procedure sequence data.
GRU networks can process information from the previous; Bi-GRU is presented to concurrently take the inspiration of upcoming details on the current input. It incorporates forward and reverse GRU, which communicate over input data, and can consider either previous or forthcoming information about the sequence. In Bi-GRU, a forward GRU addresses information from the preceding to the future; however, a reverse GRU addresses information that has never experienced the previous. Figure 2 represents the Bi-GRU framework.
In the Bi-GRU architecture, the update gate z t and reset the gate r t of the forward GRU managing the reset and update quantities of the prior hidden state and the current input, respectively. In detail, the reset gate r t selects what amount of information from the past hidden state h t 1 must be reset to the primary state after computing the hidden state h t at the present moment. The update gate z t chooses the information weight retained or upgraded in the preceding HL h t 1 after the present hidden state h t is upgraded. The computation process of Bi-GRU includes an amount of state transfer and gate functions, and its particular computation equation is as shown in Equations (8)–(11):
r t = σ W r h t 1 , x t + b r
z t = σ W Z h t 1 , x t + b Z
h ~ t = t a n h W h r t h t 1 , x t + b h
h t = 1 z t h t 1 + z t h ~ t
where σ embodies the sigmoid activation function; b and W symbolize the bias vector and weight matrix, respectively.

3.4. Hyperparameter Tuning Model

Finally, the ZOA optimally alters the hyperparameter values of the BiGRU algorithm, resulting in a superior performance. The ZOA is a bio-inspired meta-heuristic model for optimizing difficulties [21]. It was stimulated by the zebra’s herd dynamics and social behavior in nature. Like numerous herd mammals, zebras show behaviors that support them in avoiding predators, enhancing their foraging ways, and preserving social unity. The ZOA tries to simulate the behaviors to look for optimum or near-optimum solutions in search areas. The ZOA optimized the following hyperparameters of the BiGRU model:
  • Learning rate: [0.0001, 0.01];
  • Number of GRU units: [32, 256];
  • Batch size: [16, 128];
  • Dropout rate: [0.1, 0.5];
  • Number of epochs: [10, 100]: The optimization objective was to minimize the classification error while balancing the model complexity and training time.

3.4.1. Herding Behavior

Zebras have a tendency to migrate in herds (groups) that assist them in avoiding predators. The model mimics this by challenging numerous candidate solutions (similar to single zebras), which pass over the searching region. The primary population of the candidate solutions (zebras) is produced arbitrarily inside the searching region. Let x i ( t ) characterize the location of the i t h zebra within the population at the t   t h iteration. The primary locations x i ( 0 ) are typically made utilizing uniform distributions in Equation (12):
X i 0 = X m i n + r a n d   ( ) × X m a x X m i n
Here, x m a x and x m i n represent the upper and lower boundaries of the searching region, and r a n d ( ) denotes an arbitrarily generated integer among (0,1). The fitness of all zebras is assessed utilizing a pre-defined objective function f ( x i ( t ) ) , which is domain-specific and is applied to control the quality of the solution characterized by x i ( t ) .

3.4.2. Position Updating

The candidate solution’s positions are upgraded according to the incorporation of exploration (hunting novel regions) and exploitation (improving recent solutions). The model fine-tunes the balance amongst these dual approaches as it develops, equivalent to how zebras may modify their movement approaches regarding environmental factors. The location of all zebras is upgraded according to the social behavior of the group. The novel location x j ( t + 1 ) is affected by the top-performing zebras within the populace and by arbitrary features to guarantee diversity. The location upgrade is modeled by Equation (13):
X i t + 1 = X i t + c 1 × r a n d ( ) × X b e s t t X i t + c 2 × ( 1 r a n d ( ) ) × ( X a v g ( t ) X . ( t ) )
where x b e s t ( t ) represents the position of the top-performing zebra at the t t h iteration, x a v g ( t ) refers to the average location of each zebra at the t   t h iteration, and c 1 , and c 2 are constants directing the inspiration of the optimal solution and the group, correspondingly.

3.4.3. Predator Avoidance and Social Interaction

Zebras interact with one another to coordinate movement and prevent danger. In the ZOA, these communications have struggled through the exchange of information among candidate solutions, allowing them to share information regarding possible locations of the searching region. The predator’s existence in nature influences zebras to continuously adjust their routes to avoid being captured. This theory has been applied in the model to present diversity in the searching procedure, averting the model from becoming trapped in local bests. To prevent local ideals and mimic predator avoidance, arbitrary disturbances are supplemented to the position of the zebra shown in Equation (14):
X i t + 1 = X i t + 1 + σ × r a n d ( )
where σ denotes a smaller constant demonstrating the disturbance intensities, and r a n d ( ) denotes a randomly generated number specified from a standard distribution. After upgrading the locations, the model assesses the novel locations and chooses the top-achieving zebras to endure to the following iteration. This stage guarantees that only guaranteeing solutions affect the search procedure. The ZOA originates the FF to reach a better performance of classification. It impacts a positive number to define the superior accomplishment of the potential solutions. In this paper, the reduction in the error rate of the classifier is reflected as the FF, as provided in Equation (15):
f i t n e s s x i = C l a s s i f i e r E r r o r R a t e x i = n o   o f   m i s c l a s s i f i e d   s a m p l e s T o t a l   n o   o f   s a m p l e s 100

4. Experimental Validation and Results

The performance evaluation of the OADLNN-DDPC model is tested under the Polymers classification dataset [22]. Polymer classification includes several key parameters, such as glass transition temperature (ranging from −70 °C to 150 °C), melting points (from 100 °C to 350 °C), viscosity (ranging from 0.01 to 1000 Pa·s), rheology (values between 0.1 and 10 Pa·s), elasticity (ranging from 1 to 10 GPa), Young’s modulus (ranging from 0.5 to 4 GPa), and resilient modulus (values between 1 and 5 GPa). These parameters provide crucial information about the physical properties and behavior of polymers. By integrating these values, the model can more efficiently capture the relationships between diverse polymer types, allowing for a more accurate classification of the three class labels, namely Plastic, Peptide, and Oligosaccharide. The inclusion of these features significantly improves the capability of the model to discern subtle distinctions and enhance overall performance in data-driven polymer classification. Table 1 specifies the dataset description, and Table 2 portrays the sample class smiles. To validate the statistical significance of OADLNN-DDPC’s performance improvements, paired t-tests were conducted, comparing it to each baseline model. Results indicated statistically significant improvements (p < 0.01) in accuracy and F1-score over LSTM, K-NN, and PLS-DA, confirming that the gains were not due to random variation.
Figure 3 displays the classification performances of the OADLNN-DDPC methodology under 70:30 of TRAPS/TESPS. Figure 3a,b exemplify the confusion matrices through the precise detection and classification of all classes. Figure 3c,d exemplify the PR and ROC inspection, which indicates a superior performance over all classes. The inclusion of key polymer parameters—such as glass transition temperature, melting point, viscosity, elasticity, rheology, Young’s modulus, and resilient modulus—provides critical input to the classifier. These parameters directly influence molecular structure, thermal behavior, and mechanical performance, which are key discriminators among plastics, peptides, and oligosaccharides. Their integration improves the model’s ability to learn from structural–functional relationships.
Table 3 and Figure 4 signify the classifier performances of the OADLNN-DDPC approach below 70:30 of TRAPS/TESPS. The outputs portrayed that the OADLNN-DDPC approach precisely recognized the samples. Using 70% TRAPS, the OADLNN-DDPC method attains an average a c c u y , p r e c n , r e c a l , F s c o r e , and A U C s c o r e of 98.54%, 97.81%, 97.81%, 97.81%, and 98.36%, respectively. Additionally, using 30% TESPS, the OADLNN-DDPC algorithm delivers an average a c c u y , p r e c n , r e c a l , F s c o r e , and A U C s c o r e of 98.58%, 97.86%, 97.86%, 97.86%, and 98.40%, respectively.
In Figure 5, the training (TRA) a c c u y and validation (VAL) a c c u y performances of the OADLNN-DDPC method are depicted. The values of a c c u y are computed through a time period of 0–50 epochs. The figure underscored that the values of TRA and VAL a c c u y exhibit growth, illustrating the capability of the OADLNN-DDPC method to enhance the performance through multiple repetitions. Moreover, the TRA and VAL a c c u y values remain close across the epochs, specifying diminished overfitting and showing the maximum performance of the OADLNN-DDPC method, which guarantees a reliable calculation on unseen samples.
In Figure 6, the TRA loss (TRALOS) and VAL loss (VALLOS) graph of the OADLNN-DDPC algorithm is shown. The loss is computed across a time period of 0–50 epochs. It is depicted that the values demonstrate a diminishing trend, which indicates the proficiency of the OADLNN-DDPC technique in corresponding to a tradeoff between generalization and data fitting. The successive dilution in values of loss as well as securities the superior performance of the OADLNN-DDPC approach and tunes the calculation results after a while.
The comparative study of the OADLNN-DDPC model with existing techniques is illustrated in Table 4 and Figure 7 [28,29]. According to a c c u y , the OADLNN-DDPC system has maximum a c c u y of 98.58%, whereas the LSTM, PLS-DA, K-NN, RF, 1-D CNN, SVM linear, and MLP methodologies have minimum a c c u y values of 83.37%, 88.18%, 98.36%, 91.68%, 98.10%, 97.86%, and 98.19%, correspondingly. Furthermore, according to P r e c n , the OADLNN-DDPC method has an enhanced P r e c n of 97.86% whereas the LSTM, PLS-DA, K-NN, RF, 1-D CNN, SVM linear, and MLP algorithms have lesser P r e c n values of 91.89%, 93.49%, 94.86%, 91.35%, 92.58%, 90.56%, and 96.65%, correspondingly. Also, according to F s c o r e , the OADLNN-DDPC system has a superior F s c o r e of 97.86%, whereas the LSTM, PLS-DA, K-NN, RF, 1-D CNN, SVM linear, and MLP techniques have decreased F s c o r e values of 94.33%, 96.08%, 89.41%, 92.84%, 95.84%, 91.64%, and 92.57%, respectively.
In Table 5 and Figure 8, the comparison solutions of the OADLNN-DDPC method are detected in terms of execution time (ET). The performances imply that the OADLNN-DDPC algorithm achieves a greater performance. On ET, the OADLNN-DDPC system offers a minimal ET of 10 min, while the LSTM, PLS-DA, K-NN, RF, 1-D CNN, SVM linear, and MLP methodologies gain better ETs of 39 min, 34 min, 23 min, 36 min, 39 min, 38 min, and 48 min, respectively. For a fair comparison, all baseline models were reimplemented and trained using the same dataset, preprocessing steps, training/test split (70:30), and performance metrics. This ensured consistent evaluation across all models.

5. Conclusions

In this study, a novel OADLNN-DDPC methodology is presented. The aim of the OADLNN-DDPC technique is to improve the classification model for data-driven polymers using state-of-the-art optimization algorithms. The data normalization stage is initially executed by the Z-score normalization for converting the input data into a beneficial format. In addition, the proposed OADLNN-DDPC models implement the BES model for the feature selection to identify and retain the most appropriate features from the data. The BiGRU technique has been deployed for the polymer classification process. This study presents OADLNN-DDPC, a novel DL-based polymer classification model integrating optimization techniques. The proposed approach significantly outperforms existing methods in accuracy (98.58%) and execution time (10 min) while ensuring robust feature selection and model generalization. Future work will focus on extending the model to handle multi-modal polymer datasets and exploring self-supervised learning techniques for improved feature representation. Finally, the ZOA is utilized for the tuning process. The simulation process of the OADLNN-DDPC system is performed using the Polymers classification dataset. The experimental validation specified that the OADLNN-DDPC approach outperformed another existing model.

Author Contributions

Conceptualization, M.A.P.; software, M.A.P.; validation, M.A.P. and I.M.M.; formal analysis, M.A.P.; investigation, I.M.M.; resources, M.A.P.; data curation, I.M.M.; writing—original draft, M.A.P. and I.M.M.; writing—review and editing, I.M.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Deanship of Scientific Research, Vice Presidency for Graduate Studies and Scientific Research, King Faisal University, Saudi Arabia [Grant No. KFU252181].

Data Availability Statement

All data generated or analyzed during this study are included in this manuscript. Additional information or supporting materials are available from the corresponding author upon reasonable request.

Acknowledgments

The authors would like to express their gratitude to King Faisal University for its support in providing a conducive research and learning environment, which facilitated the successful completion of this research work.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Serdeczny, M.P.; Comminal, R.; Pedersen, D.B.; Spangenberg, J. Experimental and analytical study of the polymer melt flow through the hot-end in material extrusion additive manufacturing. Addit. Manuf. 2020, 32, 100997. [Google Scholar] [CrossRef]
  2. Moslemi, N.; Abdi, B.; Gohery, S.; Sudin, I.; Atashpaz-Gargari, E.; Redzuan, N.; Ayob, A.; Burvill, C.; Su, M.; Arya, F. Thermal response analysis and parameter prediction of additively manufactured polymers. Appl. Therm. Eng. 2022, 212, 118533. [Google Scholar] [CrossRef]
  3. Dealy, J.M.; Read, D.J.; Larson, R.G. Structure and Rheology of Molten Polymers: From Structure to Flow Behavior and Back Again; Carl Hanser Verlag GmbH Co KG: Munich, Germany, 2018. [Google Scholar]
  4. Anderegg, D.A.; Bryant, H.A.; Ruffin, D.C.; Skrip, S.M., Jr.; Fallon, J.J.; Gilmer, E.L.; Bortner, M.J. In-situ monitoring of polymer flow temperature and pressure in extrusion based additive manufacturing. Addit. Manuf. 2019, 26, 76–83. [Google Scholar] [CrossRef]
  5. Wang, S.; Capoen, L.; D’Hooge, D.R.; Cardon, L. Can the melt flow index be used to predict the success of fused deposition modelling of commercial poly (lactic acid) filaments into 3D printed materials? Plast. Rubber Compos. 2018, 47, 9–16. [Google Scholar] [CrossRef]
  6. Liu, Y.; Yang, C.; Gao, Z.; Yao, Y. Ensemble deep kernel learning with application to quality prediction in industrial polymerization processes. Chemom. Intell. Lab. Syst. 2018, 174, 15–21. [Google Scholar] [CrossRef]
  7. Gigante, V.; Canesi, I.; Cinelli, P.; Coltelli, M.B.; Lazzeri, A. Rubber toughening of polylactic acid (PLA) with poly (butylene adipate-co-terephthalate)(PBAT): Mechanical properties, fracture mechanics and analysis of ductile-to-brittle behavior while varying temperature and test speed. Eur. Polym. J. 2019, 115, 125–137. [Google Scholar] [CrossRef]
  8. Volpe, V.; Lanzillo, S.; Affinita, G.; Villacci, B.; Macchiarolo, I.; Pantani, R. Lightweight high-performance polymer composite for automotive applications. Polymers 2019, 11, 326. [Google Scholar] [CrossRef]
  9. Singh, R.; Kumar, R.; Ahuja, I.P.S. Friction welding for functional prototypes of PA6 and ABS with Al powder reinforcement. Proc. Natl. Acad. Sci. India Sect. A Phys. Sci. 2021, 91, 351–359. [Google Scholar] [CrossRef]
  10. Yura, H.; Ishihara, M.; Kanatani, Y.; Takase, B.; Hattori, H.; Suzuki, S.; Kawakami, M.; Matsui, T. Interaction study between synthetic glycoconjugate ligands and endocytic receptors using flow cytometry. J. Biochem. 2006, 139, 637–643. [Google Scholar] [CrossRef]
  11. Velazquez, L.; Palardy, G.; Barbalata, C. A robotic 3D printer for UV-curable thermosets: Dimensionality prediction using a data-driven approach. Int. J. Comput. Integr. Manuf. 2024, 37, 772–789. [Google Scholar] [CrossRef]
  12. Cui, B.; Wang, H. Compatibility analysis of waste polymer recycling in asphalt binder using molecular descriptor and graph neural network. Resour. Conserv. Recycl. 2025, 212, 107950. [Google Scholar] [CrossRef]
  13. Shi, J.; Liu, T.; Zhou, L.; Yan, P.; Wang, Z.; Zhang, X. A physics-informed deep learning liquid crystal camera with data-driven diffractive guidance. Commun. Eng. 2024, 3, 46. [Google Scholar] [CrossRef]
  14. Song, Z.; Feng, Y.; Lu, C. Prediction of the compressive strength and carpet plot for cross-material CFRP laminate based on deep transfer learning. Mater. Sci. Eng. A 2025, 924, 147792. [Google Scholar] [CrossRef]
  15. Dai, Y.; Wei, J.; Qin, F. Recurrent neural network (RNN) and long short-term memory neural network (LSTM) based data-driven methods for identifying cohesive zone law parameters of nickel-modified carbon nanotube reinforced sintered nano-silver adhesives. Mater. Today Commun. 2024, 39, 108991. [Google Scholar] [CrossRef]
  16. Ranjbar, I.; Ventikos, Y.; Arashpour, M. Deep learning-based construction and demolition plastic waste classification by resin type using RGB images. Resour. Conserv. Recycl. 2025, 212, 107937. [Google Scholar] [CrossRef]
  17. Ashok, N.; Soman, K.P.; Samanta, M.; Sruthi, M.S.; Poornachandran, P.; Devi, V.G.S.; Sukumar, N. Polymer and Nanocomposite Informatics: Recent Applications of Artificial Intelligence and Data Repositories. In Advanced Machine Learning with Evolutionary and Metaheuristic Techniques; Springer: Berlin/Heidelberg, Germany, 2024; pp. 297–322. [Google Scholar]
  18. Si, L.I.U. Multi-modal Deep Learning. Master’s Thesis, Worcester Polytechnic Institute, Worcester, MA, USA, 2022. [Google Scholar]
  19. Xu, C.; Wang, Y.; Barati Farimani, A. TransPolymer: A Transformer-based language model for polymer property predictions. npj Comput Mater 2023, 9, 64. [Google Scholar] [CrossRef]
  20. Xu, X.; Wei, Q.; Li, H.; Wang, Y.; Chen, Y.; Jiang, Y. Recognition of polymer configurations by unsupervised learning. Phys. Rev. E 2019, 99, 043307. [Google Scholar] [CrossRef]
  21. Mehta, M.; Bimrose, M.V.; McGregor, D.J.; King, W.P.; Shao, C. Federated learning enables privacy-preserving and data-efficient dimension prediction and part qualification across additive manufacturing factories. J. Manuf. Syst. 2024, 74, 752–761. [Google Scholar] [CrossRef]
  22. Ballard, N.; Farajzadehahary, K.; Hamzehlou, S.; Mori, U.; Asua, J.M. Reinforcement learning for the optimization and online control of emulsion polymerization reactors: Particle morphology. Comput. Chem. Eng. 2024, 187, 108739. [Google Scholar] [CrossRef]
  23. Koinig, G.; Kuhn, N.; Fink, T.; Grath, E.; Tischberger-Aldrian, A. Inline classification of polymer films using Machine learning methods. Waste Manag. 2024, 174, 290–299. [Google Scholar] [CrossRef]
  24. Zheng, R.; Li, G.; Li, R.; Che, Y.; Wen, H.; Lu, S. A new approach for fire and non-fire aerosols discrimination based on multilayer perceptron trained by modified bonobo optimizer. Clust. Comput. 2025, 28, 167. [Google Scholar] [CrossRef]
  25. Zhang, L.; Chen, B.; Lyu, D.; Wang, L.; Wang, K. Estimation of Lithium-Ion Battery Health State by Evae and Bigru Based on Eis. SSRN 2025, 5100808. [Google Scholar] [CrossRef]
  26. Deepanraj, B.; Saravanan, A.M.; Senthilkumar, N.; Afzal, A.A.; Afzal, A.R. Drilling Characteristics Optimization of Polymer Composite Fortified with Eggshells using Box-Behnken Design and Zebra Optimization Algorithm. Results Eng. 2025, 25, 104102. [Google Scholar] [CrossRef]
  27. Available online: https://www.kaggle.com/code/yeonseokcho/polymers-classification/input (accessed on 2 February 2025).
  28. Puthukulangara, S.; Govindan, N.P. Deep Learning for Polymer Classification: Automating Categorization of Peptides, Plastics, and Oligosaccharides. J. Adv. Future Res. 2024, 2, 77–86. [Google Scholar]
  29. Lorenzo-Navarro, J.; Serranti, S.; Bonifazi, G.; Capobianco, G. Performance evaluation of classical classifiers and deep learning approaches for polymers classification based on hyperspectral images. In Advances in Computational Intelligence, Proceedings of the 16th International Work-Conference on Artificial Neural Networks, IWANN 2021, Virtual Event, 16–18 June 2021, Proceedings, Part II 16; Springer International Publishing: Cham, Switzerland, 2021; pp. 281–292. [Google Scholar]
Figure 1. Overall flow of the OADLNN-DDPC model.
Figure 1. Overall flow of the OADLNN-DDPC model.
Polymers 17 01894 g001
Figure 2. Architecture of the Bi-GRU model.
Figure 2. Architecture of the Bi-GRU model.
Polymers 17 01894 g002
Figure 3. Classifier analysis of (a,b) confusion matrices and (c,d) PR and ROC curves under 70:30 of TRAPS/TESPS.
Figure 3. Classifier analysis of (a,b) confusion matrices and (c,d) PR and ROC curves under 70:30 of TRAPS/TESPS.
Polymers 17 01894 g003
Figure 4. Average of the OADLNN-DDPC method under 70:30 of TRAPS/TESPS.
Figure 4. Average of the OADLNN-DDPC method under 70:30 of TRAPS/TESPS.
Polymers 17 01894 g004
Figure 5. The A c c u y curve of the OADLNN-DDPC model.
Figure 5. The A c c u y curve of the OADLNN-DDPC model.
Polymers 17 01894 g005
Figure 6. Loss curve of the OADLNN-DDPC model.
Figure 6. Loss curve of the OADLNN-DDPC model.
Polymers 17 01894 g006
Figure 7. Comparison evaluation of the OADLNN-DDPC model with existing approaches.
Figure 7. Comparison evaluation of the OADLNN-DDPC model with existing approaches.
Polymers 17 01894 g007
Figure 8. ET outcome of the OADLNN-DDPC model with present techniques.
Figure 8. ET outcome of the OADLNN-DDPC model with present techniques.
Polymers 17 01894 g008
Table 1. Dataset description.
Table 1. Dataset description.
Class LabelRecord Numbers
Plastic6500
Peptide6500
Oligosaccharide6500
Total Records19,500
Table 2. Samples of class smiles.
Table 2. Samples of class smiles.
S.noSmilesLabel
1“C(Cl)CCC(c1ccccc1)CCC(Cl)C”Plastic
2“CC(c1ccccc1)CCC(CC)CCCC(C)C”Plastic
3“OC(=O)[C@]([H])(CCSC)NC(=O)[C@]([H])(CC(C)C)NC(=O)[C@]([H])(CC(C)C)N”Peptide
4“OC(=O)[C@]([H])(CO)NC(=O)[C@]([H])(C1CCCN1)NC(=O)[C@]([H])([H])N”Peptide
5“O[C@]([C@]([H])(CO)O[C@](O)([H])[C@]([H])1O)([H])[C@]1([H])O[C@]([C@]([H])(CO)O[C@](O)([H])[C@]([H])1O)([H])[C@]1([H])O[C@@]([C@]([H])(CO)O[C@](O)([H])[C@@]([H])1O)([H])[C@]1([H])O”Oligosaccharide
6“O[C@]([C@@]([H])(CO)O[C@@](O)([H])[C@]([H])1O)([H])[C@@]1([H])N[C@]([C@]([H])(CO)O[C@](O)([H])[C@]([H])1O)([H])[C@]1([H])O[C@]([C@]([H])(CO)O[C@](O)([H])[C@]([H])1O)([H])[C@@]1([H])O[C@]([C@]([H])(CO)O[C@](O)([H])[C@]([H])1O)([H])[C@@]1([H])O”Oligosaccharide
Table 3. Classifier analysis of OADLNN-DDPC methodology under 70:30 of TRAPS/TESPS.
Table 3. Classifier analysis of OADLNN-DDPC methodology under 70:30 of TRAPS/TESPS.
Class Labels A c c u y P r e c n R e c a l F s c o r e A U C s c o r e
TRAPS (70%)
Plastic98.3096.9497.9797.4598.22
Peptide99.2498.5499.1998.8699.23
Oligosaccharide98.0897.9596.2897.1197.63
Average98.5497.8197.8197.8198.36
TESPS (30%)
Plastic98.2497.0797.7197.3998.11
Peptide99.3899.0399.1399.0899.32
Oligosaccharide98.1097.4996.7397.1197.75
Average98.5897.8697.8697.8698.40
Table 4. Comparison evaluation of the OADLNN-DDPC model with existing approaches.
Table 4. Comparison evaluation of the OADLNN-DDPC model with existing approaches.
Technique a c c u y P r e c n R e c a l F s c o r e
LSTM Method83.3791.8996.4294.33
PLS-DA88.1893.4989.0696.08
K-NN Classifier98.3694.8694.6089.41
Random Forest91.6891.3592.6692.84
1-D CNN98.1092.5890.5995.84
SVM linear97.8690.5689.3691.64
MLP Algorithm98.1996.6595.9192.57
OADLNN-DDPC98.5897.8697.8697.86
Table 5. ET outcome of the OADLNN-DDPC approach with existing techniques.
Table 5. ET outcome of the OADLNN-DDPC approach with existing techniques.
TechniqueET (min)
LSTM Method39
PLS-DA34
K-NN Classifier23
Random Forest36
1-D CNN39
SVM linear38
MLP Algorithm48
OADLNN-DDPC10
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.

Share and Cite

MDPI and ACS Style

Parvez, M.A.; Mehedi, I.M. Data-Driven Polymer Classification Using BiGRU and Hybrid Metaheuristic Optimization Algorithms. Polymers 2025, 17, 1894. https://doi.org/10.3390/polym17141894

AMA Style

Parvez MA, Mehedi IM. Data-Driven Polymer Classification Using BiGRU and Hybrid Metaheuristic Optimization Algorithms. Polymers. 2025; 17(14):1894. https://doi.org/10.3390/polym17141894

Chicago/Turabian Style

Parvez, Mohammad Anwar, and Ibrahim M. Mehedi. 2025. "Data-Driven Polymer Classification Using BiGRU and Hybrid Metaheuristic Optimization Algorithms" Polymers 17, no. 14: 1894. https://doi.org/10.3390/polym17141894

APA Style

Parvez, M. A., & Mehedi, I. M. (2025). Data-Driven Polymer Classification Using BiGRU and Hybrid Metaheuristic Optimization Algorithms. Polymers, 17(14), 1894. https://doi.org/10.3390/polym17141894

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop