Abstract
Plastic recycling represents an essential element of strategies aimed at lowering global carbon emissions while supporting a circular plastics economy. However, the effectiveness of current plastic sorting systems remains limited by data scarcity, spectral variability, and the complexity of real world waste streams. This study introduces a CNN-based polymer classification framework that integrates physics-informed spectral simulation, adaptive data augmentation, and Bayesian hyperparameter optimization to enable robust classification under data limited conditions. Our framework combines near-infrared (NIR) spectral data from technical scale measurements with synthetically generated spectra. With only 100 measured spectra per polymer, the proposed framework achieves average balanced accuracies of 0.9739 in multi-target polymer classification tasks. By using technical scale spectral data, this study bridges the gap between laboratory model development and real sorting conditions.
1. Introduction
Plastics have become indispensable to modern life, yet their production and disposal are major contributors to global greenhouse gas emissions. Recent assessments estimate that plastics account for roughly 5% of total global emissions, already exceeding the combined contributions from the aviation and shipping sectors [1,2]. Moreover, roughly 96% of the carbon footprint of plastics arises during production, while just 4% is associated with end-of-life activities, including recycling, incineration, and landfilling [3]. Latest studies, however, indicate that only about 9% of all plastic waste is currently recycled [4]. In parallel, a recent analysis highlight that a circular transition in plastics could reduce emissions and achieve net-zero by 2050, provided that large scale investments in the plastic recycling infrastructure and advanced technologies are realized [5]. The economic and environmental urgency of this transformation has led to an increasing research focus on developing efficient, sustainable, and data-driven recycling methods [6].
The low recycling rate is partly attributed to inadequate sorting precision, contamination in post-consumer streams, and the predominance of mechanical recycling processes that struggle to maintain polymer purity and material performance [4]. Industrial guidelines such as those from RecyClass and the Association of Plastic Recyclers (APR) specify strict limits on non-target materials, typically allowing no more than 3–5% contaminants in sorted PE, PP, and PET streams to ensure recyclate quality and compatibility with downstream processing [7,8]. Sambyal et al. [9] emphasise that accurate sorting and decontamination, in particular, are major obstacles to closing the recycling loop. In their comprehensive review of current technologies they demonstrate that advanced sensor based sorting is essential to improving recyclate quality and ensuring compatibility across polymer types.
Within this process, flake sorting emerges as a pivotal stage in the mechanical recycling chain. Positioned at the final purification step, it removes residual contaminants and separates polymer flakes into distinct material classes prior to reprocessing. The effectiveness of this stage directly determines the purity, color stability, and mechanical performance of the recycled material [10]. Modern flake sorters rely predominantly on NIR spectroscopy for polymer identification [11].
Recent advances in deep learning (DL) have substantially strengthened the combination of NIR spectroscopy and CNN models, establishing this integration as a highly effective strategy for polymer identification in automated sorting applications. Multiple review studies [11,12,13,14] emphasize the increasing importance of DL-driven approaches for sensor-based plastic waste analysis and material classification.
Traditionally, however, CNN based classification frameworks rely on large, well balanced spectral datasets of high quality. Furthermore, surface contamination, and the limited representativeness of available training data degrade sorting efficiency and recyclate purity [15,16]. These limitations emphasize the need for data efficient and adaptive DL frameworks that can operate reliably under realistic industrial conditions, where training samples are scarce, and material variability is high. Indeed, several works [14,17] point to data scarcity as a critical challenge for advancing DL based plastic sorting systems.
To mitigate data scarcity, data augmentation has become a widely adopted strategy in machine learning and deep learning, enabling artificial expansion of limited spectral datasets. Early applications in spectroscopy date back to Conlin et al. [18], who enhanced calibration robustness by introducing Gaussian noise to spectroscopic data. More recently, diverse data augmentation strategies have been explored to address limited spectral availability and class imbalance in spectroscopic datasets. Gracia-Moisés et al. [19] proposed the generation of modified spectral copies by introducing controlled perturbations to measured spectra. In a related context, Chen et al. [20] investigated the combination of NIR spectroscopy with virtual sample generation techniques to mitigate class imbalance. In parallel, Hao et al. [21], Kim et al. [22], and Li et al. [23] employed deep convolutional generative adversarial networks (DCGANs) to generate high-fidelity synthetic spectra for material classification, while Zhang et al. [24] demonstrated that adversarially generated spectra can improve classification performance when real measurements are scarce. As summarized by Gracia Moisés et al. [19], such techniques represent a crucial step toward building robust and balanced datasets for reliable spectral classification.
Despite this progress, prior work has mainly relied on pure data augmentation, without enlarging the training sample space to include previously unobserved materials. In supervised classification frameworks, this limitation represents a fundamental research gap in addition to the problem of data scarcity. Supervised models, by design, assume that all input instances belong to one of the learned classes. Unlike in perfect laboratory conditions, in real world industrial sorting, even after presorting, unrecognized or foreign materials may enter the system, leading to false classifications and reduced recyclate purity [25,26].
Unsupervised anomaly detection techniques can, in principle, identify spectra outside the trained domain. However, their reliability diminishes as the number of target classes and spectral variability increase. Alternatively, expanding the dataset to include all possible interfering materials would require a vast number of measurements and prior knowledge of every potential contaminant, conditions rarely achievable in practice. In the light of these limitations, this study is guided by the following research questions:
- RQ1
- Can physics-informed spectral simulation, adaptive data augmentation, and modern optimization strategies reduce the need for large measured datasets while still enabling precise polymer classification, and simultaneously support the detection and filtering of non-target materials?
- RQ2
- To what extent does the framework translate into industrially relevant polymer-classification performance across both binary and multi-target settings?
To address RQ1, we generate and simulate multiple types of synthetic spectra that expand the available training space, reducing the reliance on direct measurements while enhancing material classification performance, particularly in previously unseen material flows. The proposed framework builds upon the concept introduced by Pletl et al. [27] and introduces several methodological innovations aimed at improving robustness, precision, and industrial relevance under data limited conditions. Our framework presents an automated polymer classification framework that integrates CNNs with physics informed spectral simulation and Bayesian hyperparameter optimization. The integration provides a fully automated and transparent mechanism for hyperparameter calibration, addressing a major limitation of previous frameworks that relied on manual tuning [27].
To tackle RQ2, we evaluate the proposed framework directly on technical and plant scale spectral data, enabling an assessment of its robustness under conditions representative of real world sorting. This validation assesses whether a model can maintain high performance when exposed to the heterogeneity and variability characteristic of real material flows. A central advancement of this study lies hence in its ability to improve the transferability from laboratory-scale experiments to industrial settings delivering a robust, data-efficient, and generalizable approach for automated polymer classification. To our knowledge, no prior work in the field of plastic recycling has proposed or systematically evaluated a comparable methodology.
2. Results
An experimental framework was developed to systematically assess the performance and robustness of the proposed polymer classification pipeline under controlled and application-relevant conditions. The entire data and model pipeline is illustrated in Figure 1. Compared to the approach of [27], baseline and baseline mix spectra (cf. Section 4.2.2) are integrated.
Figure 1.
Updated data and model pipeline structure compared to [27]. Dashed boxes highlight the newly introduced synthetic baseline and baseline mix spectra within this study. The framework integrates measured and simulated spectra during training, whereas validation is performed exclusively on real measured data to ensure an unbiased assessment of model performance and generalization.
For each classification task, a CNN was trained on a fixed spectral dataset. The dataset was partitioned into two primary groups: target and non-target materials. The target samples were further subdivided into ORG-Train and ORG-Test, and ORG-Val subsets to ensure that model development, parameter tuning, and final evaluation are conducted independently, thereby minimizing overfitting and data leakage. The ORG-Test-NT included spectra of other polymers and foreign materials such as silicone and wood, serving as negative examples to evaluate the model’s ability to reject irrelevant or contaminant samples.
The training dataset comprised 100 ORG-Train, 15,000 REP, and 5000 baseline mix spectra. To enhance diversity and ensure robust class boundaries, we incorporated an additional 40,000 S-SIM spectra per polymer class and 20,000 U-SIM spectra, along with 10,000 baseline spectra. This dataset composition ensured a balanced class distribution with approximately 20% of target class spectra in each training run.
The number of 100 ORG-Train spectra was deliberately chosen to simulate realistic low data and imbalanced conditions, where the minority (target) class is represented by only a small number of spectra. Such conditions are common in applied recycling scenarios, where acquiring large, well balanced datasets for all polymer types is often infeasible. Furthermore, to mitigate the known drawbacks of the F1 score under these circumstances, particular care was taken to guarantee that the validation set contained as many spectra as possible for each polymer class. This approach reduces the statistical variability of the F1 score, ensuring that the reported values more accurately reflect the classifier’s underlying precision rather than random fluctuations caused by very small sample sizes.
An independent validation set was constructed to assess generalization. It consisted of spectra from the unknown polymer material stream represented by ORG-Val and ORG-Test-NT. All spectra belonging to ORG-Test-NT were grouped into a single “non-target” class representing all remaining materials outside the defined polymer categories, thereby simulating the sorting of unknown or mixed materials. This setup ensured that model evaluation was based on data unseen during training, preventing data leakage and enabling an unbiased performance assessment.
To avoid overfitting, early stopping was applied after five epochs without improvement, using a batch size of 64 and training for up to 200 epochs. Moreover, all reported performance metrics represent the mean of five independent training runs to minimize the influence of random train–test splits and stochastic initialization effects.
Finally, hyperparameter optimization was performed using a Bayesian optimization framework to systematically explore the model’s parameter space and identify configurations yielding optimal classification performance. The parameters considered during optimization included the scaling factor, number of spectra for averaging and the activation of the Savitzky–Golay filter [28] for REP generation, and the width and depth of the simulated SYN. Furthermore, the filtering step threshold for baseline mix spectra is taken into account. The respective search domains were chosen to be sufficiently large to capture a wide range of potential model configurations while avoiding unrealistic parameter combinations.
Model training was performed using raw spectra as input, as convolutional neural networks have demonstrated strong feature extraction capabilities on unprocessed spectral data [25,29].
2.1. Binary Classification
Binary classification experiments were conducted to assess the precision and robustness of the proposed classification framework. In this setting, the classifier was trained to distinguish one specific target polymer from all other materials, which were collectively treated as a non-target class.
Table 1 summarizes the comparative results between our updated model pipeline and the approach proposed by [27], reporting both balanced accuracy and F1 score for all polymer classes. We adopt the approach of Pletl et al. [27] with one modification: the exclusion of S-SIM spectra, since training without them results in higher balanced accuracy across all polymers and improved F1 scores in 3 of the 8 classes.
Table 1.
Results of the binary classification task for each polymer type, reporting Balanced Accuracy and F1 score for the approach by Pletl et al. [27] and for the new framework. All reported performance metrics represent the mean of five independent training runs. The two columns ( BA and F1) quantify the improvement or decline, computed as the difference between the two methods. Positive values indicate improved performance, whereas negative values denote reduced performance.
Across the eight polymers evaluated, our framework achieves balanced accuracies between 0.8920 and 0.9878, compared with 0.6692 to 0.9829 in the benchmark implementation, indicating that our framework provides equal or higher discrimination performance for seven of the eight polymers. In the case of PET, the balanced accuracy declines slightly (–0.0374).
However, balanced accuracy alone can obscure important differences in classification precision, since it does not explicitly penalize false positives. This becomes evident when comparing the balanced accuracy and F1 score values of the two models in Table 1. Although the benchmark model achieves balanced accuracies similar to or slightly higher than those of our approach, the substantially higher F1 scores obtained with our framework point to a significant improvement in precision. Unlike balanced accuracy, which reflects only the average of class-specific recalls, the F1 score is highly sensitive to false-positive errors. The increase in F1 therefore indicates that the updated model produces cleaner and more selective predictions, correctly identifying target samples while misclassifying fewer non-target materials as positives.
For instance, while the balanced accuracy for PETG increased only marginally from 0.9615 to 0.9765, the corresponding F1 score rose dramatically from 0.5200 to 0.8718. Likewise, PC improved from 0.9516 to 0.9828 in balanced accuracy, but its F1 score increased from 0.3231 to 0.9012. These discrepancies reveal that both models achieved comparable overall recall, yet the new model exhibits far fewer false positives, leading to more reliable precision and higher F1 scores.
For polyolefins such as PE and PP, the model demonstrates stable classification performance even under limited data conditions. The F1 score for PE reached 0.1668, while PP improved from 0.5739 to 0.6913. The reduced precision for PE might be primarily linked to the composition of the validation dataset, which includes non-target materials containing polyethylene layers or blends with similar NIR absorption features. Consequently, false positives arise when multilayer or LDPE based films mimic the spectral signature of PE flakes. Thus, this spectral overlap does not reflect a model deficiency but rather the inherent complexity of distinguishing PE containing non-targets from pure PE recyclables in mixed industrial waste streams. In practice, however, all polyethylene grades are often commonly processed within a shared mixed-PE recycling stream, where LDPE, LLDPE, and related variants are thermally and chemically compatible and recycled jointly [30,31].
The gains for PP might be attributed to the revised data augmentation pipeline, which incorporates physically consistent replica spectra and baseline mixing to simulate subtle variations in reflectance intensity and spectral curvature. Polymers with distinct chemical structures such as PET and PS also benefited from the improved framework. The F1 score for PET increased from 0.7910 to 0.8407, while PS increarosed from 0.5255 to 0.7648. A similar significant improvement as for for PC and PETG is evident for ABS (from 0.4232 to 0.7349).
The experiment also highlights the limitations of the F1 score in highly imbalanced datasets. This effect is most evident for PA, which achieved a balanced accuracy of 0.9573 but a comparatively low F1 score of 0.4971. In this case, the model correctly identifies most samples overall; however, because the validation set contains only a small number of target-class observations (cf. Section 4.1), even a few false-positive predictions disproportionately lower the F1 score.
Overall, our model achieves substantial improvements in F1 score performance across all polymer classes, indicating a more balanced and reliable classification behavior. Importantly, these findings demonstrate that the updated model not only improves precision but also ensures greater consistency in decision making across diverse polymer types. The strong correlation between balanced accuracy and F1 score in most classes and the ability to maintain high classification precision with as few as 100 measured spectra per class underscores that the improved data pipeline effectively tune model complexity to the available data. It demonstrates that, even with limited spectral data, the combination of CNN based feature extraction, realistic spectral simulation, and Bayesian hyperparameter optimization enables accurate and reproducible polymer discrimination suitable for automated sorting environments.
2.2. Multi-Target Classification
Motivated by practical constraints encountered in industrial recycling plants, we focus on multi-target polymer classification scenarios with both three-class and five-class setups. Prior studies consistently converge on this range of material groupings: while Neo et al. [16] and Kroell et al. [12] emphasize three to five polymer categories as representative targets in experimental studies, waste composition analyses indicate that plastic streams are typically dominated by no more than five polymer types [32]. This observation is further reflected in commercial practice, as most industrial flake sorting systems are engineered to operate on five or fewer polymer classes [11].
However, we deliberately excluded S-SIM spectra from the present study due to their overlapping and non-favorable effects on classification performance, as previously discussed by [27]. Pletl et al. [27] showed that the use of synthetic spectral data poses challenges in multi-target classification settings. In particular, simulated spectra that are beneficial for one target class may adversely affect the spectral separability of other classes. In particular, preliminary analyses showed that S-SIM spectra lead to nearly perfect recall for the non-target class but at the cost of significantly reduced recall for the target classes.
The resulting confusion matrices (cf. Figure 2) illustrate the classification behavior across distinct polymer groups at a technical scale, reflecting the spectral variability and compositional diversity typical of industrial sorting conditions. In the multi-target setting, we likewise adopt the approach of Pletl et al. [27] as our benchmark, with the exclusion of S-SIM spectra as the sole modification.
Figure 2.
Confusion matrices illustrating classification performance for the three polymer datasets based on simulation-augmented training (100 measured spectra per class): PC–PET–PETG (a), PC–PP–PS (b) and ABS–PET–PS (c). In each matrix, the y-axis (rows) represents the true polymer classes, while the x-axis (columns) indicates the predicted classes assigned by the model. Diagonal entries indicate correctly classified samples, while off-diagonal entries represent misclassifications, with higher values indicating stronger confusion between specific polymer pairs. Recall is obtained row-wise by evaluating how many samples of a given true class were correctly identified, whereas precision can be derived column-wise from the proportion of predicted samples that truly belong to that class. The reported balanced accuracy represents the mean recall across all classes in the respective multi-target scenario.
For the PC–PET–PETG dataset, the model yielded a balanced accuracy of 99.39%, compared to 95.76% in the benchmark. All classes reached balanced accuracies above 98.70%. The confusion matrix shows only minimal off-diagonal entries. Despite the high variability in the validation data, the classifier maintained excellent discrimination, indicating that the simulated training spectra effectively captured real world spectral characteristics can be accurately differentiated even at technical scale.
In the case of the PC–PP–PS dataset, the balanced accuracy reached approximately 96.13%, again surpassing the benchmark of 94.76%. Confusion was primarily limited to the non-target class, which showed moderate misclassification into target polymers. Specifically, the target polymer classes achieved exceptionally high recalls, indicating that the model successfully detects nearly all true target instances. However, the non-target class exhibited a lower recall primarily due to misclassifications into the target categories. Consequently, while recall for target classes remains excellent, precision is notably reduced because of these false positives from the non-target group. This precision–recall imbalance underscores that, although the model effectively identifies target polymers, it still struggles to maintain prediction purity.
In contrast, the ABS–PET–PS setting achieved an overall balanced accuracy of 96.85%, improving upon the benchmark value of 95.15%. Both PET and PS were correctly identified in more than 99.00% of cases. Misclassifications were largely restricted to PET and non-target overlaps (roughly 5%).
To further assess the robustness of the developed simulation based classification pipeline, a five-target scenario was investigated, including the polymers ABS, PC, PET, PETG, and PP. The confusion matrix (cf. Figure 3) exhibits that the model maintained overall high performance across all target classes, with class specific balanced accuracies ranging between 97.46% and 99.94%. The overall balanced accuracy yields 97.19%, outperforming the benchmark (95.70%). In particular, PP, PETG, and ABS featured nearly perfect classification with recalls of 99.41% or higher.
Figure 3.
Confusion matrix illustrating classification performance for the ABS-PC-PET-PETG-PP classificiation scenario (balanced Accuracy 97.19%) based on simulation-augmented training (100 measured spectra per class). In each matrix, the y-axis (rows) represents the true polymer classes, while the x-axis (columns) indicates the predicted classes assigned by the model. Diagonal entries indicate correctly classified samples, while off-diagonal entries represent misclassifications, with higher values indicating stronger confusion between specific polymer pairs. Recall is obtained row-wise by evaluating how many samples of a given true class were correctly identified, whereas precision can be derived column-wise from the proportion of predicted samples that truly belong to that class. The reported balanced accuracy represents the mean recall across all classes.
However, precision values were notably lower, particularly the model classified many non-target observations as ABS and PP samples. This pattern suggests that while the model reliably recognizes true polymer instances (high recall), the prediction purity is affected.
Taken together, these results show that the proposed simulation pipeline performs consistently across diverse multi-target settings, with the synthetic spectra enabling stable and discriminative class boundaries even under substantial real-world variability.
3. Discussion
The central objective of this study was to develop and evaluate an automated polymer classification framework capable of robust and precise identification under realistic, data limited conditions. The proposed framework, which combines a CNN with physically informed spectral simulation and Bayesian optimization, achieves robust and very accurate discrimination of polymer types even under limited data conditions (RQ1). By incorporating technical scale spectral data, this study effectively bridges the gap, outlined by Kroell et al. [12], between laboratory scale experiments and practical industrial applications, ensuring that the framework remains representative of real sorting conditions (RQ2).
The integration of Bayesian optimization enabled a systematic and data driven refinement of model hyperparameters, addressing a key limitation of prior studies that lacked such optimization [27]. In addition, augmenting the data pipeline with baseline spectra further enhanced precision by enriching class diversity and improving boundary definition in spectral space, thereby directly tackling the low precision issue observed in earlier frameworks [27]. On average, the updated framework improved the F1 score by +0.24 across all polymers in the binary classification tasks, demonstrating more selective and reliable class discrimination under data limited conditions.
Finally, unified parameter optimization and the removal of S-SIM spectra mitigated unfavorable interactions among synthetic spectra in multi-target scenarios, as discussed by Pletl et al. [27]. Together, these measures significantly enhanced model generalization, stability, and precision in polymer classification at technical scale.
Under binary classification settings with only 100 measured spectra per class, the pronounced improvement in F1 scores, particularly for polymers such as PETG, PC, and ABS, exemplify substantial gains in classification reliability and suggests that the refined data augmentation and optimization strategy jointly contribute to reducing false positive rates.
For both PET and PETG, the results presented in Figure 4 illustrate the cumulative effects of the sequential improvements integrated into the proposed classification framework. However, the magnitude and direction of these effects differ between the two materials. For PET, Bayesian optimization primarily improved model stability and recall, producing a measurable increase in the F1 score compared with the baseline approach of [27]. Subsequent, REP modifications further enhanced robustness by increasing intra-class diversity, leading to more consistent predictions under variable spectral conditions. The addition of baseline spectra then provided the strongest overall gain in precision, significantly reducing false positives and stabilizing classification accuracy across samples.
Figure 4.
Incremental effects of successive model configurations on F1 score, recall, and precision for the polymers PET (a) and PETG (b). The blue bar states the reference setup by Pletl et al. without S-SIM spectra [27]. For each configuration, the coloured bars represent the change in F1 score relative to the reference setup. Green bars indicate positive contributions to F1 score, red bars represent decreases. The blue dashed line shows the corresponding recall values, while the grey solid line depicts the precision achieved in each configuration, providing a direct comparison between sensitivity (recall) and prediction purity (precision) across all stages.
In contrast, the effect for PETG is dominated by the REP modifications producing the largest increase in F1 score by boosting recall and partially recovering precision. The subsequent inclusion of baseline spectra adds a smaller but consistent gain, mainly through modest precision improvements. Thereby consolidating overall performance rather than driving the primary uplift. This pattern differs from PET, where the baseline augmentation produced the most pronounced improvement.
These results indicate that, although both polymers benefited from the same optimization pipeline, PET showed greater sensitivity to the early optimization and baseline stages, whereas PETG exhibited more substantial improvements. Moreover, these trends also underline the inherent trade-off between recall and precision, while optimization and replica modifications primarily improved recall, the addition of baseline spectra balanced this gain by increasing precision, resulting in a higher and more reliable F1 score, achieving a more favorable equilibrium between sensitivity and prediction purity.
Additional analyses suggest that performance further increased with a growing number of measured spectra used for REP spectra generation, as illustrated in Figure A1. Polymers such as PETG, PC, ABS, and PS reached high balanced accuracies already at low sample counts and exhibited only marginal gains with additional data, while polymers like PET and PP showed a clearer upward trend, with balanced accuracy improving steadily as more spectra were included.
In multi-target classification, the proposed framework maintained high balanced accuracies ranging from 96.13% to 99.39% across different polymer combinations. The confusion matrices show that, while recall remained at approximately 99% for most classes, precision decreased in some configurations. But the multi-target results exhibit misclassification ratios below 5% (except for PP). This trade-off might likely arise from intrinsic spectral overlap within the NIR region rather than model limitations. Nevertheless, when applied to more compositionally distinct polymers (e.g., PC–PET–PETG), the classifier achieved near misclassification ratios under 0.80%. These findings indicate that synthetic spectral augmentation effectively captures class-defining spectral features. The reduced precision observed for certain classes is consistent with the findings of Pletl et al. [27], who reported that interactions between synthetic spectral signatures in multi-target classification can adversely affect the discrimination of other target classes.
In this study, the exclusion of S-SIM spectra mitigated some of these effects, preventing additional overlap and non-favorable interactions between classes. While the integration of S-SIM spectra was originally intended to better separate spectra with target class similar characteristics that do not actually belong to the target polymer, the increased variance present in technical scale measurements revealed an unintended effect. The S-SIM samples, which were labeled as non-target, introduced synthetic patterns that overlapped with genuine target variability. As a result, the classifier increasingly assigned true target spectra to the non-target class, leading to a substantial rise in target to non-target misclassifications. This behavior indicates that the added variability from S-SIM spectra can distort class boundaries in realistic industrial settings, where the natural spectrum distributions are broader than in controlled laboratory data.
Overall, the high performance across multiple multi-target classification scenarios indicates that the simulation-based modeling approach can achieve competitive performance levels under technical scale conditions, despite the limited number of measured input spectra. Compared to the systematic review by Kröll et al. [12], which summarized machine learning applications for polymer identification primarily under laboratory scale and fully measured datasets, the present findings demonstrate that simulation augmented models trained on a minimal number of spectra per class can maintain comparable accuracy at technical scale.
A key outcome of these results is that high classification performance can be achieved with substantially reduced measurement effort. By relying exclusively on spectra from the target classes, the proposed approach avoids the need for large and diverse training datasets, thereby simplifying data acquisition and reducing both time and cost. In contrast to conventional deep learning workflows, which often require thousands of samples even for relatively simple tasks, the presented strategy removes the dependency on extensive non-target material spectra. This reduction in data requirements is particularly advantageous for industrial recycling settings, where measurement campaigns are frequently limited by practical and logistical constraints.
A key concern, however, for deploying deep learning models in industrial plastic sorting is the interpretability of their decision-making mechanisms. While CNNs are powerful feature extractors, their complex nonlinear structure is often perceived as a “black box,” which can hinder trust and diagnostic use in quality-critical environments. To address this concern, we performed a gradient-based saliency analysis to provide insight into which spectral features most strongly influence the CNN’s predictions.
Saliency analysis was performed by computing the gradient of the class-specific output score with respect to the input spectrum, thereby quantifying the sensitivity of the prediction to local spectral perturbations [33]. In the context of near-infrared spectroscopy, saliency highlights wavelength regions where small changes in reflectance would most strongly affect the predicted polymer class.
The saliency visualizations shown in Appendix A were computed for the five-target classification scenario using, for each polymer, the mean spectrum of all corresponding training samples as model input. The resulting saliency maps indicate that the CNN consistently bases its predictions on physically meaningful features, while the exact wavelength regions of importance differ between polymers, reflecting class-conditional decision strategies. For ABS, saliency is mainly concentrated around the rising flank and central region of the dominant features, indicating that the CNN relies on characteristic changes in spectral shape rather than isolated intensity extrema. In contrast, PETG exhibits highly localized saliency at narrow wavelength intervals, suggesting that its classification is driven by particularly discriminative local spectral features.
In the context of RQ2, which addresses the representativeness of the proposed framework under realistic industrial conditions, it is important to consider material variability inherent to real-world recycling streams, as pigments, dyes, fillers, flame retardants, and other additives commonly present in post-consumer plastics can influence NIR spectral responses and pose challenges for robust sorting. While the present study does not explicitly parameterize individual additive types or color intensities, a substantial portion of the investigated samples originates directly from a real recycling environment, and the remaining polymers were derived from realistically shredded consumer products rather than virgin materials.
Consequently, the dataset already incorporates a degree of material variability related to real-world formulations, processing histories, and surface conditions. Nevertheless, the diversity of pigment types and additive compositions present in complex waste streams extends beyond the range represented in the present dataset, and materials with high pigment or filler content may exhibit additional spectral variability that can affect classification performance.
Despite the overall strong performance, several limitations remain. First, classification precision in spectrally overlapping classes suggests that additional context aware augmentation may further improve boundary discrimination. Second, while Bayesian optimization effectively identified optimal configurations, its computational cost increases with parameter dimensionality. Third, with respect to spectral simulation, the employed augmentation strategies cannot be considered to fully representative of degradation-related effects such as aging, oxidation, or surface contamination. These effects are highly material- and process-specific and typically manifest as complex changes in absorption strength, band shape, and scattering behavior. The classification performance under such conditions may deviate from the results reported. A quantitative assessment of whether simulated spectra adequately reproduce such distortions would require samples exhibiting these characteristics to be explicitly identified and annotated in the dataset.
At the same time, this limitation raises an open methodological question as to whether degradation-related spectral effects must be explicitly represented during training. Alternatively, it remains unclear whether the classification model, trained on realistic but not exhaustive spectral variability, may be capable of extrapolating to certain aging- or contamination-related distortions during application. Lastly, all evaluations were conducted under controlled spectral conditions, missing broader real-world validation.
Taken together, the results indicate that simulation-driven machine learning offers a scalable and robust means of reducing contamination rates, aligning with the contamination limits defined by APR and RecyClass for high-quality recycling streams [7,8], and could improve material recovery in modern recycling infrastructures.
4. Materials and Methods
These experiments were conducted using technical scale data. The following section describes the data acquisition and preprocessing steps, the adopted modeling strategy, and the applied methodological framework.
4.1. Data Acquisition and Plastics
The experimental dataset analyzed in this study was provided by Sesotec GmbH, Schoenberg, Germany, a manufacturer of sensor-based sorting equipment. It comprises the spectra of both film and flake samples representing realistic industrial sorting conditions. Spectral measurements were obtained with a near-infrared (NIR) spectrometer covering a wavelength range of 1350–1850 nm. For subsequent analysis, the spectral range was restricted to 1550–1850 nm to eliminate edge effects and reduce noise in regions of low detector sensitivity.
The film samples were collected directly from a plant scale recycling line that processes the lightweight packaging fraction. This input stream mainly consists of LDPE films, accompanied by smaller fractions of LLDPE as well as multilayer composites such as LDPE + PA, LDPE + PET, and aluminum-laminated structures.
The flake samples, on the other hand, were prepared and measured by Sesotec under technical scale conditions, corresponding to industrial sorting operations. These flakes originate from realistic material sources representative of recycling scenarios. Specifically, PET, PE, PP, and PETG samples were obtained directly from a real recycling environment, thereby inherently capturing variability in material history, processing conditions, and formulation. The remaining polymer classes were produced by mechanically shredding real consumer and industrial articles into flakes, ensuring a realistic material origin. No virgin or laboratory-grade polymers were used in this study.
As a consequence, the dataset includes a natural degree of variability related to real-world material composition, surface condition, color, and manufacturing differences. While the dataset was not explicitly stratified by color, pigment concentration, or additive type, the use of post-consumer and realistically processed materials ensures that the measured spectra are not idealized and reflect practical recycling conditions. The dataset is further expanded with multilayer and non-polymer materials (e.g. wood, silicone, and aluminum-coated composites).
Table 2 lists all the materials included in the dataset. For the purposes of classification, our focus is on recyclable polymer flakes, which are used as target classes for training and evaluating the model, while the remaining materials are used solely for evaluation. These polymer flakes are categorized according to their sorting groups—PET, PP, PE, PETG, PC, ABS, PS and PA—representing the major recyclable polymer streams encountered in industrial practice [11].
Table 2.
Compositional breakdown of the dataset, including the number of spectra for each recyclable polymer flake class as well as film, multilayer, and non-polymer materials incorporated to emulate realistic industrial sorting conditions.
In industrial recycling, film and flake materials are typically processed in separate sorting streams due to their different mechanical and optical properties. However, in the present experimental setup film materials, non-polymer substances such as wood, silicone, external multilayer and PLA were intentionally treated as foreign or contaminant inputs. These samples were incorporated to simulate realistic industrial sorting conditions and to evaluate the model’s ability to distinguish recyclable polymer flakes from non-target or complex materials.
4.2. Data and Model Pipeline
This section presents the complete data and model pipeline developed for polymer classification. It provides an overview of the overall structure and workflow, details the generation and function of spectra used for data augmentation and describes the optimization strategy applied to improve model performance.
4.2.1. Framework Structure
The base structure of the data and model pipeline presented strictly follows the approach introduced by Pletl et al. [27] (cf. Figure 1). This pipeline was developed with the intention of constructing a robust and interpretable classification framework for polymer identification using NIR spectral data. The overarching objective of this pipeline is to achieve high classification accuracy using a limited number of measured samples while maintaining transparency and industrial applicability. A CNN was selected as the primary classification algorithm due to its superior performance in spectral-based material recognition relative to established machine learning techniques such as partial least squares discriminant analysis (PLS-DA), support vector machines (SVM), and logistic regression. The network architecture is inspired by the design proposed by Ng et al. [34], which has demonstrated promising results in previous research on polymer classification [27,35]. The proposed 1D-CNN architecture is composed of four successive convolution–pooling blocks, followed by two fully connected layers for classification. Regularization is achieved through the inclusion of dropout layers with rates of 0.4 and 0.2, mitigating overfitting during training. Rectified linear units (ReLU) are employed as activation functions throughout all hidden layers, while the final layer applies a softmax activation to produce class probability estimates.
Given the limited number of experimentally measured samples, data augmentation is an essential step for expanding the dataset and improving the generalization capability of the CNN. Two complementary augmentation strategies are applied to enrich the training data. First, REP spectra were generated from ORG-Train (cf. Figure 1). Second, SYN were generated to simulate additional spectral diversity and enhance the model’s discrimination capability. Two types of synthetic data were introduced within this process: U-SIM and S-SIM. As part of the training strategy, U-SIM data were generated to represent random, non-target spectra resembling contaminants or foreign materials, helping the model learn to reject samples outside the desired polymer class. In contrast, S-SIM data were produced by blending SYN and REP spectra using randomly weighted combinations to introduce controlled intra-class variability. This strategy refined the sample space of the target class, enhancing the classifier’s capacity to discriminate among closely related polymers with overlapping spectral features.
A detailed discussion of these spectral data categories and their generation principles has already been presented in [27]. In particular, Pletl et al. [27] demonstrated that the REP spectra preserve the chemical fidelity of the original measurements, while incorporating controlled variations in peak intensities and baseline offsets. For illustration, a representative plot comparing these spectra is provided in Appendix A.
The CNN model is trained using a combination of original (ORG-Train, ORG-Test) and augmented data. Model training involves hyperparameter tuning and regularization to achieve optimal generalization performance. Final validation is performed exclusively on experimentally measured data (ORG-Val and ORG-Test-NT) to ensure that the model’s performance reflected genuine material specific spectral behavior rather than synthetic data artifacts.
4.2.2. Baseline Spectra
Following the data and model pipeline described in the previous section, synthetic baselines are included to enrich the spectral dataset and introduce realistic background variability. This step aims to reproduce the continuous absorption or reflectance trends typically observed in NIR spectra, which often arise from instrumental response, scattering, or sample morphology.
In this approach, each baseline spectrum is modeled as a smooth function combining both linear and nonlinear components (cf. Algorithm A1). The curvature coefficient b is a key parameter controlling the degree of bending of the baseline. Positive values of b produce upward curving (convex) baselines, while negative values yield downward curving (concave) trends, introducing a controlled degree of nonlinearity. By varying both slope and curvature, the simulated baselines capture a wide range of physically plausible spectral behaviors without overcomplicating the model.
The resulting baseline spectra are subsequently used as inputs for baseline mix spectra, where they are blended with REP to form diverse training data for the target class. The primary function of these baseline mix spectra is to model the general spectral shape of target class polymers exhibiting low or weak feature characteristics and reduced signal strength, respectively. Such spectra often have subdued peak intensities due to low concentration of active chemical groups, optical transparency, or weak overtone absorption in the NIR range.
After mixing, a filtering step is applied to remove non-informative spectra for training purposes. Specifically, only spectra with a sufficient variation are retained, determined by a maximum amplitude higher than a certain threshold. This filtering eliminates nearly flat spectra that lack significant spectral contrast and would otherwise introduce noise or redundancy into the training dataset. By discarding these instances with low variation, the dataset retains only those profiles that are physically meaningful, are consistent with the measured data, and contribute effectively to model learning.
As illustrated in Figure A2e, the baseline mix spectra display smoother overall profiles with attenuated peak intensity and slightly curved baselines compared with the ORG-Train and REP spectra (cf. Figure A2b,c). These characteristics emulate physical conditions encountered in technical scale measurements, such as variable film thickness, scattering, or surface reflections.
4.2.3. Replica
Unlike to the procedure described in [27], where the generation of REP was based solely on PCA and multivariate normal sampling, the present study introduces several methodological refinements to enhance data quality and representativeness prior to replica synthesis.
First, instead of directly applying PCA to the unfiltered training spectra, the current approach includes a preprocessing stage that randomly samples spectra within each polymer class. When the number of available spectra in a class is low, sampling is performed with replacement to ensure a sufficient and representative subset of input data for replica generation, mitigating data scarcity in underrepresented polymers.
Following sampling, an optional Savitzky–Golay filter is applied to smooth the spectral signals and suppress high frequency noise [28]. Subsequently, the filtered spectra are aggregated using a moving mean operation. Consecutive spectra are averaged to stabilize the spectral baseline and reduce random variations, resulting in smoother and more physically consistent input data for replica generation. These additional steps minimise the influence of instrumental noise and outlier effects.
Furthermore, a scaling parameter (>1) is exploited that adjusts the dispersion of synthetic replicas generated from the multivariate normal distribution. By multiplying the covariance matrix with this factor, the variability of the sampled spectra around the class mean is increased.
4.2.4. Optimization
The proposed data and model pipelines rely on various parameters that need to be configured and potentially strongly influence model performance, generalization and convergence behavior. Pletl et al. [27] did not optimize any parameters during model evaluation. Instead, they used an empirically predefined set of parameters or resorted to random values within a given interval. However, they demonstrated the sensitivity of model performance to modelling parameters, highlighting the need for further optimization.
The optimization of these hyperparameters can be formulated as a black box optimization problem, where each function evaluation corresponds to the training and validation of the model under a specific hyperparameter configuration. But the tuning of such hyperparameters often involves significant computational cost and empirical trial-and-error [36,37].
To address this challenge, Bayesian optimization provides a principled and data efficient framework for such problems that minimize the number of required evaluations while efficiently identifying promising parameter settings. It models the unknown objective function, representing model performance as a function of hyperparameters, using a probabilistic surrogate model, typically a GP due to its flexibility and tractability [37].
The GP prior defines a distribution over possible functions characterized by a mean function and a covariance kernel, which encode prior beliefs about smoothness and correlation across the input space. As new observations are collected, the GP posterior refines the estimate of both function values and associated uncertainties. Based on this posterior, an acquisition function guides the selection of the next candidate point by balancing exploration of uncertain regions and exploitation of promising areas [37,38,39]. This probabilistic framework enables to locate global optima with remarkably few evaluations compared to traditional search or gradient based methods.
4.3. Metrics
As principal performance metric, we report the F1 score instead of separate precision and recall values, since this metric provides a balanced assessment of classification performance, particularly under imbalanced and low sample conditions. Unlike recall or precision alone, the F1 score, representing the harmonic mean between precision and recall, highlights the trade-off between recovering true positives and avoiding false detections [40]. It penalizes both false positives and false negatives, providing a single, stable indicator of overall model reliability. This is especially relevant in the context of polymer sorting, where high precision directly translates into improved material purity and reduced contamination rates [25].
However, when interpreting F1 scores in the presence of severe class imbalance, certain limitations must be taken into account. When the minority class contains only a small number of samples, even a few misclassifications can result in disproportionately large changes in recall or precision. Recall becomes unstable when the number of positive instances is low, as misclassifying only one or two spectra can drastically reduce the score. Conversely, precision can appear artificially high if the model predicts very few positive cases or drop sharply with only a small number of false positives.
For optimization, we hence selected balanced accuracy since this metric avoids inflated performance estimates that can occur when the majority class dominates, as it gives equal weight to the recall of both target and non-target classes. Balanced accuracy is computed by averaging the recall values across all classes and yields values between 0 and 1. For binary classification, this corresponds to the mean of the true positive rate and the true negative rate [41]. When a classifier exhibits symmetric performance on both classes, the balanced accuracy coincides with standard accuracy, defined as the ratio of correctly classified samples to the total number of predictions.
The use of balanced accuracy as the objective function during Bayesian optimization provides a continuous and unbiased evaluation surface, which is particularly beneficial for hyperparameter tuning in imbalanced classification settings. It ensures that performance improvements reflect genuine gains across both classes rather than overfitting toward the dominant class.
4.4. Software
All data processing, model construction, and visualization steps were performed using self-developed Python scripts. The computational environment was based on Python 3.8 and included the libraries pandas 2.2.3 [42], NumPy 1.26.4 [43], SciPy 1.14.1 [44], scikit-learn 1.5.2 [45], and Matplotlib 3.9.2 [46]. The 1D-CNN models were implemented using the Keras API within TensorFlow version 2.17.0. Network training employed the Adam optimizer with a learning rate of 0.0002 and used categorical cross-entropy as the loss function, operating on one-hot encoded class labels. Bayesian hyperparameter optimization was conducted using the scikit-optimize framework (version 0.10.2) [47]. All experiments were executed on an Apple M3 Pro system equipped with an 8-core CPU and a 10-core GPU (Apple Inc., Cupertino, CA, USA).
5. Conclusions
Plastic recycling remains one of the most effective pathways to reduce global carbon emissions and resource dependency. However, its impact continues to be limited by inefficiencies in polymer identification and sorting. This study introduced a CNN based polymer classification framework that integrates physics informed spectral simulation, adaptive data augmentation, and Bayesian hyperparameter optimization to overcome the challenges of data scarcity, model generalization, and industrial transferability.
Furthermore, this work tackles the issue of precision instability by enriching the data pipeline. This refinement leads to more stable class boundaries and a balanced trade-off between recall and precision, yielding substantial performance improvements across diverse polymer types. Moreover, the framework allows for the rapid and efficient generation of synthetic data with customizable designs.
Our evaluation on technical scale spectral data demonstrates that the proposed framework maintains high classification performance under heterogeneous and contamination rich conditions, thereby confirming its suitability for industrially relevant polymer sorting. These findings show that the model effectively transfers to real material flows and thus provides a validated answer to RQ2.
The proposed framework achieves robust and highly precise polymer classification using only 100 measured spectra per polymer, demonstrating that accurate and reliable models can be developed even under extremely limited data conditions. In the binary classification experiments, the proposed framework demonstrated consistently high performance for all polymer classes. The corresponding F1 scores ranged between 0.49 and 0.90 across all polymer classes, with most values exceeding 0.70, indicating a high level of classification recall and precision even under data limited conditions.
The framework also proved robust in multi-target classification scenarios, maintaining balanced accuracies between 84.9% and 99.4% across different polymer combinations. Even under five-target conditions, class-specific balanced accuracies remained above 95.7%, confirming strong generalization across diverse polymer groups.
This study provides a foundation for the development of accurate and scalable classification models tailored to plastics recycling applications. By explicitly mitigating constraints related to data availability and model scalability, the proposed approach supports both technological advancement and sustainability objectives. Owing to its simplicity and robust performance, the method has the potential to improve material recovery while reducing cross-contamination, thereby contributing to more efficient and sustainable recycling processes.
Although the present framework demonstrates strong performance with limited training data, several challenges remain before full deployment in operational sorting environments. Improving the realism and representativeness of synthetic spectra remains an important objective for future research. Incorporating GANs could generate richer variations of contamination, degradation, multilayer constructions, and surface conditions commonly encountered in post-consumer waste streams. Enhancing synthetic data in this manner may further strengthen model robustness for problematic materials such as PE dominated multilayers, label–film combinations, or colour- and filler-modified polymers.
Future studies should also validate the framework across broader datasets, including waste with higher heterogeneity, ageing effects, chemical additives, and real contamination patterns such as humidity, abrasion, or dirt. The systematic extension of the proposed framework through the acquisition and integration of explicitly annotated datasets would enable a quantitative evaluation of existing spectral simulation strategies and support the development of degradation-aware, physics-informed augmentation models. In parallel, these data would allow investigation of whether explicit representation of such effects during training is required, or whether model generalization can accommodate certain degradation-related distortions during deployment. Furthermore, the validation using real conveyor-belt or sensor noise environments would also strengthen confidence in operational robustness. Future studies may explore multi-fidelity strategies to accelerate convergence during optimization.
The long-term advancement of plastic recycling depends on continued investment in infrastructure, research, and data-driven technologies. Improvements in automated sorting and the integration of advanced machine learning methods provide a concrete pathway toward circular recycling systems, in which plastic materials are repeatedly recovered and reintroduced into the value chain.
Author Contributions
Writing—original draft, A.P.; Writing—review and editing, R.-D.K., A.H. and B.E. All authors contributed substantial work at every stage of this publication. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Bavarian Ministry of Economic Affairs, Regional Development and Energy within the project “KICK—KI-Fusionsmodelle zur Identifikation und Charakterisierung von Kunststoffmischungen” (Grant No. DIK0565).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Restrictions apply to the availability of these data. Data were obtained from Sesotec GmbH, Germany, and are available with its permission.
Conflicts of Interest
Andreas Hanus works at Sesotec GmbH, Germany. The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| 1D-CNN | one dimensional convolutional neural network |
| ABS | acrylonitrile butadiene styrene |
| CNN | Convolutional neural network |
| DL | Deep Learning |
| GP | Gaussian process |
| LDPE | low-density polyethylene |
| LLDPE | linear low-density polyethylene |
| NIR | near-infrared |
| PA | polyamide |
| PC | polycarbonate |
| PCA | principal component analysis |
| PE | polyethylene |
| PET | polyethylene terephthalate |
| PETG | polyethylene terephthalate glycol |
| PLA | polylactide |
| PLS-DA | partial least squares discriminant analysis |
| PP | polypropylene |
| PS | polystyrene |
| ORG-Test | original target spectra acquired by measurement used for testing during training |
| ORG-Test-NT | original non-target spectra acquired by measurement |
| ORG-Train | original target spectra acquired by measurement used for training |
| ORG-Val | original target spectra acquired by measurement used for validation |
| REP | replica |
| SYN | synthetic spectra |
| U-SIM | unspecific spectra simulation |
| S-SIM | specific spectra simulation |
Appendix A
| Algorithm A1 Baseline Spectrum Generation Process |
| Input:
Wavelength array , number of samples Output: spectra
|
Figure A1.
Balanced accuracy as a function of the number of measured spectra used for REP spectra generation. Polymers such as PETG, PC, ABS, and PS achieve high accuracies with relatively few samples, while PET and PP show a more pronounced improvement with increasing dataset size. In contrast, PE exhibits a distinctly non-monotonic pattern: its balanced accuracy decreases sharply at 500 samples, rises steadily up to around 3000 samples, and then declines again as further spectra are introduced. The curves illustrate polymer-specific data requirements and highlight how additional measured spectra further stabilize and enhance classification performance.
Figure A2.
Gradient-based saliency maps for the five-target polymer classification scenario (ABS (a), PC (b), PET (c), PETG (d) and PP (e)) computed using the mean training spectrum of each polymer class in the 1600–1800 nm spectral window. The class-averaged spectrum is overlaid with the corresponding normalized saliency, indicating the sensitivity of the class-specific CNN output to local spectral variations. Dashed vertical lines mark dominant saliency peaks, while shaded regions highlight contiguous wavelength intervals with elevated attribution. The results reveal polymer-specific attribution patterns, suggesting that the CNN bases its decisions on distinct sub-regions within the selected spectral window rather than on global intensity trends.
Figure A3.
Comparison of spectral data categories used for PET. (a) Original measured spectra representing the true PET flake signature. (b) Replica spectra generated from measured data to model realistic within class variability. (c) Specific synthetic spectra approximating PET-like features. (d) Unspecific synthetic spectra representing non-target or contaminant materials. (e) Baseline mix spectra combining low-intensity background signals with PET-like shapes. (f) Baseline spectra reflecting low-information measurements. These six categories form the basis of the simulation augmented training strategy.
References
- Karali, N.; Khanna, N.; Shah, N. Climate Impact of Primary Plastic Production; Report #: LBNL-2001585; Lawrence Berkeley National Laboratory: Berkeley, CA, USA, 2024; Available online: https://escholarship.org/uc/item/12s624vf (accessed on 2 November 2025).
- OECD. Policy scenarios for eliminating plastic pollution by 2040. In Organisation for Economic Co-Operation and Development (OECD) Report; OECD: Paris, France, 2024; Available online: https://www.oecd.org/en/about/news/press-releases/2024/10/policy-scenarios-for-eliminating-plastic-pollution-by-2040.html (accessed on 2 November 2025).
- Cabernard, L.; Pfister, S.; Oberschelp, C.; Hellweg, S. Growing environmental footprint of plastics driven by coal combustion. Nat. Sustain. 2021, 5, 139–148. [Google Scholar] [CrossRef] [Scilit]
- Singh, N.; Walker, T.R. Plastic recycling: A panacea or environmental pollution problem. npj Mater. Sustain. 2024, 2, 17. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Foschi, E.; Bonoli, A. The commitment of packaging industry in the framework of the European strategy for plastics in a circular economy. Adm. Sci. 2019, 9, 18. [Google Scholar] [CrossRef] [Scilit]
- Salahuddin, U.; Sun, J.; Zhu, C.; Wu, M.; Zhao, B.; Gao, P. Plastic Recycling: A Review on Life Cycle, Methods, Misconceptions, and Techno-Economic Analysis. Adv. Sustain. Syst. 2023, 7, 2200471. [Google Scholar] [CrossRef] [Scilit]
- APR (Association of Plastic Recyclers). APR Design® Guide for Plastics Recyclability; Association of Plastic Recyclers: Washington, DC, USA, 2024; Available online: https://plasticsrecycling.org/apr-design-guide (accessed on 23 November 2025).
- RecyClass. Design for Recycling Guidelines; RecyClass: Brussels, Belgium, 2024; Available online: https://recyclass.eu (accessed on 23 November 2025).
- Sambyal, P.; Najmi, P.; Sharma, D.; Khoshbakhti, E.; Hosseini, H.; Milani, A.S.; Arjmand, M. Plastic recycling: Challenges and opportunities. Can. J. Chem. Eng. 2024, 103, 2462–2498. [Google Scholar] [CrossRef] [Scilit]
- Pilapitiya, P.N.T.; Ratnayake, A.S. The world of plastic waste: A review. Clean. Mater. 2024, 11, 100220. [Google Scholar] [CrossRef] [Scilit]
- Lubongo, C.; Bin Daej, M.A.A.; Alexandridis, P. Recent Developments in Technology for Sorting Plastic for Recycling: The Emergence of Artificial Intelligence and the Rise of the Robots. Recycling 2024, 9, 59. [Google Scholar] [CrossRef] [Scilit]
- Kroell, N.; Chen, X.; Greiff, K.; Feil, A. Optical sensors and machine learning algorithms in sensor-based material flow characterization for mechanical recycling processes: A systematic literature review. Waste Manag. 2022, 149, 259–290. [Google Scholar] [CrossRef] [Scilit]
- Ramos, E.; Lopes, A.G.; Mendonça, F. Application of Machine Learning in Plastic Waste Detection and Classification: A Systematic Review. Processes 2024, 12, 1632. [Google Scholar] [CrossRef] [Scilit]
- Yang, J.; Xu, Y.P.; Chen, P.; Li, J.Y.; Liu, D.; Chu, X.L. Combining spectroscopy and machine learning for rapid identification of plastic waste: Recent developments and future prospects. J. Clean. Prod. 2023, 431, 139771. [Google Scholar] [CrossRef] [Scilit]
- Maier, G.; Gruna, R.; Längle, T.; Beyerer, J. A survey of the state of the art in sensor-based sorting technology and research. IEEE Access 2024, 12, 6473–6493. [Google Scholar] [CrossRef] [Scilit]
- Neo, E.R.K.; Low, J.S.C.; Goodship, V.; Debattista, K. Deep learning for chemometric analysis of plastic spectral data from infrared and Raman databases. Resour. Conserv. Recycl. 2023, 188, 106718. [Google Scholar] [CrossRef] [Scilit]
- Wu, T.W.; Zhang, H.; Peng, W.; Lü, F.; He, P.J. Applications of convolutional neural networks for intelligent waste identification and recycling: A review. Resour. Conserv. Recycl. 2023, 190, 106813. [Google Scholar] [CrossRef] [Scilit]
- Conlin, A.; Martin, E.; Morris, A. Data augmentation: An alternative approach to the analysis of spectroscopic data. Chemom. Intell. Lab. Syst. 1998, 44, 161–173. [Google Scholar] [CrossRef] [Scilit]
- Gracia Moisés, A.; Vitoria Pascual, I.; Imas González, J.J.; Ruiz Zamarreño, C. Data Augmentation Techniques for Machine Learning Applied to Optical Spectroscopy Datasets in Agrifood Applications: A Comprehensive Review. Sensors 2023, 23, 8562. [Google Scholar] [CrossRef] [Scilit]
- Chen, H.; Tan, C.; Lin, Z.; Chen, M.; Cheng, B. Applying virtual sample generation and ensemble modeling for improving the spectral diagnosis of cancer. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2024, 318, 124518. [Google Scholar] [CrossRef] [Scilit]
- Hao, Y.; Li, X.; Zhang, C. Improving prediction model robustness with virtual sample construction for near-infrared spectra analysis. Anal. Chim. Acta 2023, 1279, 341763. [Google Scholar] [CrossRef] [Scilit]
- Kim, Y.; Lee, W. Distributed Raman Spectrum Data Augmentation System Using Federated Learning with Deep Generative Models. Sensors 2022, 22, 9900. [Google Scholar] [CrossRef] [Scilit]
- Li, Z.; Liu, F.; Yang, W.; Peng, S.; Zhou, J. A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospects. IEEE Trans. Neural Netw. Learn. Syst. 2022, 33, 6999–7019. [Google Scholar] [CrossRef] [Scilit]
- Zhang, L.; Wang, Y.; Wei, Y.; An, D. Near-infrared hyperspectral imaging technology combined with deep convolutional generative adversarial network to predict oil content of single maize kernel. Food Chem. 2022, 370, 131047. [Google Scholar] [CrossRef] [Scilit]
- Neo, E.R.K.; Yeo, Z.; Low, J.S.C.; Goodship, V.; Debattista, K. A review on chemometric techniques with infrared, Raman and laser-induced breakdown spectroscopy for sorting plastic waste in the recycling industry. Resour. Conserv. Recycl. 2022, 180, 106217. [Google Scholar] [CrossRef] [Scilit]
- Kroell, N.; Chen, X.; Küppers, B.; Lorenzo, J.; Maghmoumi, A.; Schlaak, M.; Thor, E.; Nordmann, C.; Greiff, K. Near-infrared-based determination of mass-based material flow compositions in mechanical recycling of post-consumer plastics: Technical feasibility enables novel applications. Resour. Conserv. Recycl. 2023, 191, 106873. [Google Scholar] [CrossRef] [Scilit]
- Pletl, A.; Kulko, R.-D.; Hanus, A.; Elser, B. A plastic classification model based on simulated data. Recycling 2025, 10, 65. [Google Scholar] [CrossRef] [Scilit]
- Press, W.H.; Teukolsky, S.A. Savitzky-Golay Smoothing Filters. Comput. Phys. 1990, 4, 669–672. [Google Scholar] [CrossRef] [Scilit]
- Jernelv, I.L.; Hjelme, D.R.; Matsuura, Y.; Aksnes, A. Convolutional neural networks for classification and regression analysis of one-dimensional spectral data. arXiv 2020, arXiv:2005.07530. [Google Scholar] [CrossRef] [Scilit]
- Ragaert, K.; Delva, L.; Van Geem, K. Mechanical and chemical recycling of solid plastic waste. Waste Manag. 2017, 69, 24–58. [Google Scholar] [CrossRef] [Scilit]
- RecyClass. Recyclability Evaluation Protocol for PE Films, Version 6.0; RecyClass: Brussels, Belgium, 2025. Available online: https://recyclass.eu/recyclability/test-methods/ (accessed on 30 October 2025).
- Naderi Kalali, E.; Lotfian, S.; Entezar Shabestari, M.; Khayatzadeh, S.; Zhao, C.; Yazdani Nezhad, H. A critical review of the current progress of plastic waste recycling technology in structural materials. Curr. Opin. Green Sustain. Chem. 2023, 40, 100763. [Google Scholar] [CrossRef] [Scilit]
- Simonyan, K.; Vedaldi, A.; Zisserman, A. Deep inside convolutional networks: Visualising image classification models and saliency maps. arXiv 2013, arXiv:1312.6034. [Google Scholar] [CrossRef] [Scilit]
- Ng, W.; Minasny, B.; Montazerolghaem, M.; Padarian, J.; Ferguson, R.; Bailey, S.; McBratney, A.B. Convolutional neural network for simultaneous prediction of several soil properties using visible/near-infrared, mid-infrared, and their combined spectra. Geoderma 2019, 352, 251–267. [Google Scholar] [CrossRef] [Scilit]
- Kulko, R.D.; Pletl, A.; Hanus, A.; Elser, B. Detection of Plastic Granules and Their Mixtures. Sensors 2023, 23, 3441. [Google Scholar] [CrossRef] [Scilit]
- Frazier, P.I. A tutorial on Bayesian optimization. arXiv 2018, arXiv:1807.02811. [Google Scholar] [CrossRef] [Scilit]
- Snoek, J.; Larochelle, H.; Adams, R.P. Practical Bayesian optimization of machine learning algorithms. arXiv 2012, arXiv:1206.2944. [Google Scholar] [CrossRef] [Scilit]
- Mockus, J.; Tiesis, V.; Zilinskas, A. The application of Bayesian methods for seeking the extremum. In Towards Global Optimization; Dixon, L.C.W., Szegő, G.P., Eds.; Elsevier: Amsterdam, The Netherlands, 1978; Volume 2, pp. 117–129. [Google Scholar]
- Srinivas, N.; Krause, A.; Kakade, S.; Seeger, M. Gaussian process optimization in the bandit setting: No regret and experimental design. arXiv 2010, arXiv:0912.3995. [Google Scholar] [CrossRef] [Scilit]
- Powers, D.M.W. Evaluation: From precision, recall and F-measure to ROC, informedness, markedness and correlation. arXiv 2011, arXiv:2010.16061. [Google Scholar] [CrossRef] [Scilit]
- Kelleher, J.D. Fundamentals of Machine Learning for Predictive Data Analytics; Includes Bibliographical References and Index; The MIT Press: Cambridge, MA, USA, 2015; pp. 557–563. [Google Scholar]
- McKinney, W. Data Structures for Statistical Computing in Python. SciPy 2024, 445, 51–56. [Google Scholar] [CrossRef] [Scilit]
- Harris, C.R.; Millman, K.J.; van der Walt, S.J.; Gommers, R.; Virtanen, P.; Cournapeau, D.; Wieser, E.; Taylor, J.; Berg, S.; Smith, N.J.; et al. Array programming with NumPy. Nature 2020, 585, 357–362. [Google Scholar] [CrossRef] [Scilit]
- Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nat. Methods 2020, 17, 261–272. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
- Hunter, J.D. Matplotlib: A 2D graphics environment. Comput. Sci. Eng. 2007, 9, 90–95. [Google Scholar] [CrossRef] [Scilit]
- Head, T.; MechCoder; Louppe, G.; Shcherbatyi, I.; Fabisch; Vinícius, Z.; Cmmalone; Schröder, C.; Nel215; Nuno Campos, N.; et al. Scikit-optimize/scikit-optimize, Version 0.5.2 (v0.5.2); Zenodo: Geneva, Switzerland, 2018. [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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.








