Deep learning-based recycled polyethylene fiber sorting decision optimization method and system
By using a deep learning-based dual-branch convolutional neural network classification model, combined with image complexity analysis, and dynamically adjusting the computation path, the problem of high energy consumption and low efficiency in the fiber sorting optimization process in existing technologies is solved, achieving efficient and reliable fiber sorting decision optimization.
Patent Information
- Application Number
- CN202611265196.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-27
AI Technical Summary
The current optimization process for sorting recycled polyethylene fibers lacks analysis of the complexity of fiber characteristics, resulting in indiscriminate analysis with the same amount of computation, high energy consumption, low identification efficiency, insufficient real-time performance, difficulty in application to high-load sorting scenarios, and easy damage to equipment.
A deep learning-based dual-branch convolutional neural network classification model is adopted. The computation path is dynamically adjusted through image complexity analysis. The small convolutional kernel branch is used to process complex regions and the large convolutional kernel branch is used to process simple regions. Combined with adaptive pooling layers to optimize the allocation of computational resources, the model can achieve fine extraction and rapid recognition of fiber features.
It improves the identification accuracy and efficiency of fiber sorting, reduces energy consumption and delay, ensures accuracy and equipment safety in high-load sorting scenarios, and achieves efficient and reliable sorting decision optimization.
Smart Images

Figure CN123168101A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method and system for optimizing the sorting decisions of recycled polyethylene fibers based on deep learning. Background Technology
[0002] Deep learning is a type of artificial intelligence technology that simulates the learning mechanism of the human brain by constructing multi-layered neural networks. It can automatically extract features from data and perform classification, prediction, or decision-making. In industrial sorting, deep learning can analyze complex image, spectral, or physical property data to achieve automated identification and classification. The polyethylene fiber recycling and sorting process mainly includes collecting waste polyethylene products, crushing them into fibers for classification, and finally separating different types of polyethylene fibers for recycling.
[0003] Sorting decisions for polyethylene fibers directly determine sorting efficiency, material purity, and the quality of recycled products. Reasonable decisions can accurately distinguish between different types and properties of polyethylene fibers, reducing missorting and resource waste, while simultaneously improving recycling speed and automation levels. Efficient sorting decisions not only reduce operating costs for enterprises but also ensure the stability and reliability of recycled polyethylene fibers in downstream manufacturing, thereby increasing the market value and application scope of recycled materials.
[0004] However, the main drawback of existing recycling polyethylene fiber sorting optimization processes is the lack of analysis on the complexity of fiber characteristics. In the sorting optimization process, the same amount of computation is performed on areas with different fiber distribution states without distinction, resulting in high energy consumption, low identification efficiency, and insufficient real-time performance. This can easily lead to the accumulation of delays and damage to sorting equipment, making it difficult to apply to polyethylene fiber sorting scenarios with huge workloads. Summary of the Invention
[0005] To address the main shortcomings of existing technologies in the sorting optimization process for recycled polyethylene fibers, namely the lack of analysis on the complexity of fiber characteristics, the indiscriminate analysis of regions with different fiber distribution states during the sorting optimization process, which results in high energy consumption, low identification efficiency, insufficient real-time performance, and a high risk of delay accumulation damaging the sorting equipment, making it difficult to apply to the high-workload polyethylene fiber sorting scenarios, this invention provides a deep learning-based decision optimization method and system for sorting recycled polyethylene fibers.
[0006] The technical solutions provided by the embodiments of the present invention are as follows: First aspect This invention provides a deep learning-based decision optimization method for sorting recycled polyethylene fibers, comprising: S1: Acquire images of polyethylene fibers and a preset sorting mapping table, wherein the preset sorting mapping table describes the execution actions corresponding to each category of polyethylene fibers; S2: Calculate the image complexity of the polyethylene fiber image; S3: Input the polyethylene fiber image and image complexity into the dual-branch convolutional neural network classification model and output the polyethylene fiber target category. The dual-branch convolutional neural network classification model includes a pre-gating module associated with the image complexity, a first branch, and a second branch. Both the first branch and the second branch are connected to the pre-gating module. S4: Determine the target action for the polyethylene fiber target category based on the preset sorting mapping table; S5: Output the target action as a decision plan for sorting recycled polyethylene fibers.
[0007] Second aspect This invention provides a deep learning-based decision optimization system for sorting recycled polyethylene fibers, comprising: processor; A memory storing computer-readable instructions, which, when executed by the processor, implement the deep learning-based decision optimization method for sorting recycled polyethylene fibers as described in the first aspect.
[0008] Third aspect The present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the deep learning-based decision optimization method for sorting recycled polyethylene fibers as described in the first aspect.
[0009] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: In this embodiment of the invention, image information of recycled polyethylene fibers is acquired and combined with a preset sorting action mapping to analyze the complexity of the fiber images, thereby pre-allocating computing resources for sorting calculations. Subsequently, a dual-branch convolutional neural network uses image and complexity information for feature extraction and classification. The pre-gating module dynamically adjusts the computational paths of the two branches according to the image complexity, enabling differentiated processing of simple and complex fiber regions. That is, it automatically judges the distribution state and surface feature differences of fibers based on image complexity. Simple and regular fiber regions are processed with lightweight methods for rapid identification, while complex, similar, or contaminated fiber regions undergo deeper feature extraction and fine classification calculations. This achieves dynamic allocation of computing resources, improves overall recognition accuracy and sorting efficiency, and reduces unnecessary computational burden and energy consumption. This structure optimizes the efficiency of computing resource utilization, reduces energy consumption and latency accumulation, and ensures accuracy, real-time performance, and equipment safety in high-load sorting scenarios, thereby achieving efficient, reliable, and scalable optimization of polyethylene fiber sorting decisions. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 A flowchart illustrating a deep learning-based decision optimization method for sorting recycled polyethylene fibers, provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of a dual-branch convolutional neural network classification model provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of a deep learning-based decision optimization system for sorting recycled polyethylene fibers, provided as an embodiment of the present invention. Detailed Implementation
[0012] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0013] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.
[0014] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0015] Reference manual attached Figure 1 The diagram shows a flowchart of a deep learning-based decision optimization method for sorting recycled polyethylene fibers, provided by an embodiment of the present invention.
[0016] Reference manual attached Figure 2 The diagram shows a structural schematic of a dual-branch convolutional neural network classification model provided in an embodiment of the present invention.
[0017] This invention provides a deep learning-based decision optimization method for sorting recycled polyethylene fibers. This method can be implemented using a deep learning-based decision optimization device for sorting recycled polyethylene fibers, which can be a terminal or a server. The processing flow of the deep learning-based decision optimization method for sorting recycled polyethylene fibers may include the following steps: S1: Acquire images of polyethylene fibers and a preset sorting mapping table, wherein the preset sorting mapping table describes the execution actions corresponding to each category of polyethylene fibers; The pre-set sorting mapping table is a pre-established correspondence table between different types of polyethylene fibers and corresponding sorting actions (such as robotic arm gripping direction, airflow sorting parameters, conveyor belt path, etc.) during the sorting process of recycled polyethylene fibers. The specific establishment process can be as follows: Collect samples of various types of polyethylene fibers and label them with categories and sorting actions manually or semi-automatically. Analyze the color, shape, size, density, optical properties, etc., of the fibers to determine the parameters required for the sorting actions. Determine the optimal sorting actions for different types of fibers, including parameters such as speed, direction, and force, through experiments such as robotic arm, airflow, or vibration sorting. Then, integrate the fiber category, characteristic information, and corresponding action parameters to form a mapping table, which is stored in the system database or controller for use in sorting decisions. As fiber characteristics or sorting equipment change, the mapping table is updated periodically to ensure accuracy.
[0018] S2: Calculate the image complexity of the polyethylene fiber image; Image complexity refers to the richness of information and structural complexity in a polyethylene fiber image, typically reflecting the degree of fiber entanglement, detail density, texture variation, and spatial distribution characteristics. High image complexity means densely interwoven and diverse fibers, requiring more computational resources for fine feature extraction; low complexity indicates more regular fiber arrangement and macroscopic structure, allowing for rapid identification using lightweight processing. By calculating image complexity, the sorting system can dynamically adjust its computational strategy based on fiber structural characteristics, enabling fine processing of complex areas and rapid processing of simple areas, thereby improving recognition accuracy and processing efficiency while reducing overall computational load and energy consumption.
[0019] In one possible implementation, S2 specifically includes: S201: Convert the polyethylene fiber image into a grayscale image and calculate the spatial gradient of the grayscale image, wherein the spatial gradient includes the horizontal spatial gradient and the vertical spatial gradient. The horizontal spatial gradient is the partial derivative of the grayscale image in the x-direction, and the vertical spatial gradient is the partial derivative of the grayscale image in the y-direction.
[0020] S202: Convert the spatial gradient into unit vectors pointing towards the image edge, where each unit vector forms a normalized gradient direction field, where each unit vector is specifically the quotient of the spatial gradient and the spatial gradient magnitude term, where the spatial gradient magnitude term is specifically the sum of the spatial gradient magnitude and the minimum positive constant. S203: Construct the Jacobian matrix of the normalized gradient direction field; In one possible implementation, S203 specifically includes: S2031: Solve for the spatial derivative of the normalized gradient direction field to obtain the horizontal and vertical components of the direction field. S2032: Calculate the partial derivatives of the horizontal component and the vertical component of the direction field with respect to the horizontal and vertical coordinates, respectively, to obtain the rate of change of the horizontal component of the direction field in the horizontal direction, the rate of change of the horizontal component of the direction field in the vertical direction, the rate of change of the vertical component of the direction field in the horizontal direction, and the rate of change of the vertical component of the direction field in the vertical direction. S2033: Based on the calculation results, construct the Jacobian matrix, where the upper left element of the Jacobian matrix is the rate of change of the horizontal component of the direction field in the horizontal direction, the lower left element of the Jacobian matrix is the rate of change of the horizontal component of the direction field in the horizontal direction, the upper right element of the Jacobian matrix is the rate of change of the vertical component of the direction field in the vertical direction, and the lower right element of the Jacobian matrix is the rate of change of the vertical component of the direction field in the vertical direction.
[0021] It should be noted that by solving the spatial derivative of the normalized gradient orientation field, the rates of change of the horizontal and vertical components of the orientation field with respect to the horizontal and vertical coordinates can be obtained, and these partial derivatives can be constructed into a Jacobian matrix. The determinant of the Jacobian matrix quantifies the local distortion and intensity of change in the fiber orientation, serving as a core indicator of image complexity. High complexity indicates dense fiber crossings, bends, and details; the dual-branch convolutional neural network will preferentially select the smaller convolutional kernel branch to capture local high-frequency features precisely. In low complexity, the fibers are arranged regularly and have consistent orientations, allowing the larger convolutional kernel branch to efficiently extract the global structure. Simultaneously, the adaptive pooling layer adjusts the pooling window size according to complexity; high-complexity images retain microscopic details, while low-complexity images compress redundant backgrounds, ensuring a fixed feature map size. This enables the network to adaptively process different fiber distribution characteristics, improving classification accuracy while optimizing computational resource utilization and real-time performance.
[0022] S204: Calculate the determinant of the Jacobian matrix and output the determinant of the Jacobian matrix as a directional distortion scalar of the polyethylene fiber image at each pixel location; S205: Calculate the spatial average of the directional torsion scalar in the polyethylene fiber image and output the spatial average as the image complexity.
[0023] The formula for calculating image complexity is as follows: ; in, Indicates image complexity. This represents a two-dimensional spatial region of a polyethylene fiber image. This represents the total number of pixels in the polyethylene fiber image. Representing the Jacobian matrix The determinant, i.e., the directional distortion scalar.
[0024] It should be noted that this image complexity is based on the Jacobian determinant of the gradient orientation field, which directly quantifies the local area distortion of the orientation field as a two-dimensional mapping, corresponding to the phenomenon of disordered fiber distribution (fiber bending and crossing leading to abrupt changes in orientation). Small convolutional kernel branches aim to capture fine, high-frequency orientation changes, and the Jacobian determinant is precisely the point-level attitude quantity of the intensity of such orientation changes.
[0025] Higher image complexity indicates a denser density of microscopic details such as fiber orientation distortion and intersection. In this case, smaller convolutional kernel branches are used to precisely capture these local high-frequency features. Therefore, as complexity increases, the weight of detail branches (small convolutional kernels) increases. Conversely, lower complexity results in more consistent fiber orientations and a dominant macroscopic structure. Larger convolutional kernel branches are sufficient to extract global information, and their weights increase accordingly. Thus, the directional disorder characterized by the Jacobian determinant directly determines whether the network focuses on fine-grained analysis or overall generalization, achieving complexity-driven branch selection. In other words, in a two-branch structure, high image complexity drives the two-branch convolutional neural network classification model to rely more on smaller convolutional kernel branches. This not only precisely captures details but also avoids the high computational cost of using large convolutional kernels throughout the entire image, achieving a dynamic balance between efficiency and accuracy. This, in turn, drives the optimal selection of branches in the two-branch convolutional neural network classification model.
[0026] In the two-branch decision process, for low-complexity images (straight fibers, consistent orientation), image information is low-frequency and global. If small convolutional kernels are used in this case, to see a sufficiently large region (receptive field), the network must stack many layers or gradually expand using pooling. This results in a high total number of layers and computational cost, and easily introduces unnecessary feature redundancy in simple regions. Choosing a large-size convolutional kernel branch allows for a single-layer large-size convolutional kernel structure. A single large-size convolutional kernel can cover the receptive field that requires multiple layers of small kernels, with a smaller total computational cost compared to stacking small convolutional kernels. Optionally, The pooling layer outputs a feature map with a fixed size, but its local window size is determined by the image complexity. This allows high-complexity images to use smaller pooling windows to preserve fine directional structures, while low-complexity images use larger windows to compress redundant backgrounds.
[0027] Specifically, this method calculates the image complexity of polyethylene fiber images and quantifies the degree of local distortion and intersection in the fiber direction to determine the density of microscopic details and the regularity of macroscopic structure in the image. High-complexity images indicate abrupt changes in fiber direction and dense entanglement. In this case, the bi-branch convolutional neural network prioritizes smaller convolutional kernel branches for fine feature extraction, fully capturing local high-frequency information. Conversely, low-complexity images have consistent directions and straight fibers, so the system tends to use larger convolutional kernel branches to efficiently extract the global structure. The adaptive pooling layer further dynamically adjusts the pooling window size based on image complexity. Smaller pooling windows are used in high-complexity regions to preserve microscopic details, while larger windows are used in low-complexity regions to compress redundant backgrounds, while maintaining the final feature map size, thus ensuring that subsequent fully connected layers can directly process the data. This achieves dynamic allocation of computational resources and adaptive optimization of processing strategies, enabling the network to improve overall processing efficiency while maintaining accuracy for highly complex images, effectively reducing computational burden and energy consumption, and enhancing the stability and real-time performance of the classification model under different fiber distribution conditions.
[0028] S3: Input the polyethylene fiber image and image complexity into the dual-branch convolutional neural network classification model and output the polyethylene fiber target category. The dual-branch convolutional neural network classification model includes a pre-gating module associated with the image complexity, a first branch, and a second branch. Both the first branch and the second branch are connected to the pre-gating module. The first branch uses small convolutional kernels to focus on complex, high-density fiber image regions, performing the classification task independently. The second branch uses large convolutional kernels to focus on simple, macroscopic fiber structure regions, also performing the classification task independently. The pre-gating module can dynamically adjust the computational weights or paths of the subsequent two branches based on the complexity of the input image. When the complexity is high, the deep feature extraction branch is activated first; when the complexity is low, the lightweight branch is activated first, thus achieving dynamic allocation of computational resources. Each branch can optimize its own network structure and classification strategy for specific image types without requiring the fusion of results from two branches, reducing computational redundancy and improving classification accuracy and real-time performance.
[0029] In the sorting of recycled polyethylene fibers, when fibers are severely entangled and densely detailed, detailed branches with small receptive fields are needed; when fibers are in sheets and have a macroscopic structure, contextual branches with large receptive fields are needed. Simultaneously, the pooling window should adaptively shrink with scale. This ensures rapid identification of the target category, meeting the rapid sorting requirements of recycled polyethylene fibers. Accurate extraction of fiber characteristics (color, morphology, material) is crucial for efficient classification and decision-making.
[0030] In one possible implementation, the first branch includes an input layer, a multi-layer convolutional layer with multiple small-sized convolutional kernels stacked in sequence, an activation layer, an adaptive pooling layer associated with image complexity, a fully connected layer, and a classifier, wherein the size of the first branch convolutional kernel is smaller than the size of the second branch convolutional kernel. The second branch includes an input layer, a single convolutional layer with a single large-sized convolutional kernel, an activation layer, an adaptive pooling layer associated with image complexity, a fully connected layer, and a classifier, which are connected in sequence. The kernel size of the first branch is smaller than that of the second branch. The first branch and the second branch share the same output layer.
[0031] The adaptive pooling layer can convert feature maps of arbitrary size into a fixed size. Even if the pooling window adjusts with image complexity, the output feature map size remains fixed, and subsequent fully connected layers are unaffected. Local pooling strategies are adjusted on the feature maps output by convolutional layers, but the final feature map size remains fixed. This retains the advantages of adaptive complexity while maintaining compatibility with the original trained classifier. The input layer receives the preprocessed polyethylene fiber image, converts it into a tensor format suitable for convolutional operations, and provides input data for subsequent feature extraction. The convolutional layer scans the local receptive field and extracts features from the input features using convolutional kernels. The first branch uses multiple stacked small convolutional kernels to capture subtle, high-frequency fiber orientation and texture variations; the second branch uses a single large convolutional kernel to extract macroscopic, global fiber morphological features. Activation layers introduce nonlinear transformations, enabling the network to learn complex mapping relationships and improving the model's ability to recognize complex fiber structures. The adaptive pooling layer dynamically adjusts the pooling window size based on image complexity, preserving more details in high-complexity images and compressing redundant backgrounds in low-complexity images. It also converts feature maps of arbitrary sizes into a fixed size, ensuring input consistency for subsequent fully connected layers. The fully connected layers fuse and map the pooled features, forming a high-dimensional feature representation for class determination. The classifier then outputs fiber class probabilities based on the fused features, ultimately determining the target class.
[0032] This dual-branch convolutional neural network classification model extracts microscopic, high-frequency features through a small convolutional kernel branch and extracts macroscopic, global features through a large convolutional kernel branch. An adaptive pooling layer dynamically adjusts the pooling strategy based on image complexity, preserving detailed information in complex images while compressing redundant backgrounds in simple images. Simultaneously, the output feature map size is fixed, eliminating the need for adjustments to the fully connected layers. This design enables adaptive processing of images with varying complexities, improving classification accuracy and efficiency, and optimizing computational resources and real-time performance.
[0033] In one possible implementation, S3 specifically includes: S301: Input the image complexity into the front-end gating module and select the target branch from the first branch and the second branch; In one possible implementation, S301 specifically includes: S3011: Normalize the image complexity to obtain the normalized image complexity; Alternatively, the normalization process can directly divide the image complexity itself by a fixed reference value or theoretical maximum value, mapping the complexity to a range of zero to one. For example, the maximum allowable complexity in the system design can be set as the normalization denominator.
[0034] S3012: Calculate the intrinsic receptive field of the first branch; The specific formula for calculating the intrinsic receptive field is as follows: ; ; in, and These represent the first branch's first... l Convolutional layers and the first l The effective receptive field size of a convolutional layer. Indicates the first branch l The kernel size of a convolutional layer. Indicates the first branch i The convolution stride of a convolutional layer, This represents the intrinsic receptive field of the first branch. This represents the effective receptive field size of the Lth convolutional layer in the first branch, i.e., the receptive field size of the final convolutional layer. For example, if the first l If the convolutional layer is a 3×3 convolution, then... Take 3, if the first l If the convolutional layer is a 4×4 convolution, then... Let's take 4. This is understandable. S3013: Determine the branch selection threshold based on the intrinsic receptive field, wherein the branch selection threshold is inversely proportional to the intrinsic receptive field; S3014: If the image complexity is greater than or equal to the branch selection threshold, output the first branch as the target branch; otherwise, output the second branch as the target branch.
[0035] ; ; in, Indicates the branch selection threshold; The selection of the branch selection threshold, incorporating factor 2, stems from the Nyquist sampling theorem. In other words, to discern a spatial period without distortion... T The direction of the twisted structure, the sampling interval (i.e., the smallest window through which the receptive field can be observed) must not exceed T / 2. Here, fiber orientation twists are considered a spatial signal, and the image complexity C is a measure of its event density, with an average period of approximately 1 / C. Therefore, the critical receptive field required to resolve these twists is half a period, 1 / 2C. When the actual required receptive field 1 / 2C is exactly equal to the intrinsic receptive field R1 of the first branch (small kernel branch), it means that this branch can just completely resolve the densest orientation twists. Therefore, the complexity value at this point is the branch selection threshold. ,satisfy By rearranging the terms, we obtain the branch selection threshold. Therefore, factor 2 ensures that information about directional changes is not lost.
[0036] Specifically, the image complexity is first normalized to eliminate the impact of amplitude differences between images on branch selection, thus obtaining a uniform complexity index. Then, by calculating the inherent receptive field of the first branch, the spatial range observable during convolution operations is determined, thereby deriving the branch selection threshold. The threshold design is based on the Nyquist sampling principle, ensuring that small convolutional kernel branches can fully capture the densest directional torsion structures when processing high-complexity fiber images, avoiding information loss. By comparing the actual image complexity with this threshold, the pre-gating module dynamically selects a suitable target branch. High-complexity images use small convolutional kernel branches for fine feature extraction, while low-complexity images use large convolutional kernel branches for macroscopic structure extraction. This mechanism can adaptively adjust the computational strategy according to the density of fiber orientation changes, maximizing accuracy for high-complexity images while reducing the computational burden on simple images, improving overall sorting efficiency and real-time performance, and ensuring the reliability of classification decisions and optimized utilization of network resources.
[0037] S302: Input the polyethylene fiber image into the target branch convolutional layer through the target branch input layer, and output the feature map; S303: Input the feature map into the activation layer and output the activation feature map; S304: Input the activation feature map into the adaptive pooling layer and output the pooled feature map; In one possible implementation, S304 specifically includes: S3041: Determine the pooling window side length of the adaptive pooling layer based on the image complexity, wherein the pooling window side length is inversely proportional to the image complexity; The specific formula for calculating the side length of the pooling window is as follows: ; in, Indicates the side length of the pooling window. and These represent the minimum and maximum side lengths of the preset pooling window, respectively. Indicates image complexity. Indicates rounding up; It should be noted that those skilled in the art can set the minimum side length and the maximum side length of the preset pooling window according to actual needs, and this invention does not limit them.
[0038] S3042: Perform a pooling operation on the activated feature map based on the pooling window side length; S3043: Based on the fixed size of the preset pooling feature map, perform a second pooling on the activation feature map after the first pooling to obtain the pooled feature map.
[0039] It should be noted that those skilled in the art can set the size of the preset pooling feature map according to actual needs, and this invention does not limit this.
[0040] First-order pooling is an image complexity-driven information filter that determines how much detail to retain and how much background to compress based on the image content. Second-order pooling, on the other hand, is content-insensitive and only responsible for standardizing the size to a fixed format, i.e., a pre-defined fixed size for the pooled feature map. Its window size passively adapts to the input. The first step performs content-sensitive granular control, while the second step performs content-independent size standardization. Specifically, a global adaptive average pooling layer (AdaptiveAvgPool2d) can be added immediately after the first-order window pooling, setting the pre-defined fixed size of the pooled feature map to a fixed value (e.g., 7×7). Regardless of the size of the feature map output from the previous step, this layer will automatically scale it to the pre-defined fixed size.
[0041] It should be noted that the pooling window size of the adaptive pooling layer is specifically determined by the following: the larger C is (the more complex the image, the more twisted, crossed, and broken fibers), the smaller (1-C) becomes, resulting in a smaller pooling window size. A small pooling window can preserve the microscopic details of the fibers; conversely, the smaller C is (the simpler the image, the straighter and neater the fibers, and the more redundant background), the larger (1-C) becomes, resulting in a larger pooling window size. A large pooling window can compress redundant backgrounds and reduce computational cost. Furthermore, this strategy always ensures that the size of the pooling output feature map remains unchanged, so subsequent fully connected layers do not need to be adjusted, and the overall network structure is not affected.
[0042] It's important to note that in this scheme, the adaptive pooling layer dynamically adjusts the pooling window size based on image complexity. High-complexity images use a small pooling window to preserve the microscopic details, orientation twists, and intersections of the fibers, ensuring that detailed features are not compressed. Conversely, low-complexity images use a large pooling window to compress redundant background and reduce computational load, thereby optimizing resource utilization. The first pooling step acts as a content-sensitive feature filter, determining how much local information to retain and how much background to compress. The second pooling step unifies the feature maps to a fixed size, enabling subsequent fully connected layers to stably process different input images. This mechanism allows the network to maintain its ability to extract fine features while optimizing computational efficiency, ensuring classification accuracy for high-complexity images and rapid processing for low-complexity images, while also considering the overall network structure's compatibility and real-time performance.
[0043] S305: Input the pooled feature map into the fully connected layer for feature fusion to obtain the fused feature map; S306: Input the fused feature map into the classifier, output the polyethylene fiber category probability, and output the polyethylene fiber category corresponding to the highest polyethylene fiber category probability as the polyethylene fiber target category through the output layer.
[0044] Optionally, the activation layer can use the ReLU activation function. The classifier can be a Softmax classifier.
[0045] It should be noted that the acquired polyethylene fiber images are first processed by a pre-gating module that selects a suitable target branch based on image complexity. Small convolutional kernel branches handle high-complexity images to extract fine microscopic features, while large convolutional kernel branches handle low-complexity images to efficiently capture macroscopic structures. After extracting local and nonlinear features through convolutional and activation layers, the images enter an adaptive pooling layer. The pooling window size is adjusted according to complexity; high-complexity images retain microscopic details, while low-complexity images compress redundant backgrounds. Simultaneously, the output feature map size is fixed to ensure consistent input to the fully connected layers. The fully connected layers fuse and map the pooled features to form a high-dimensional feature representation. The classifier then outputs the probability of each fiber class, and the output layer selects the class with the highest probability as the final target class. This mechanism achieves adaptive processing of images with varying complexities, balancing fine feature extraction and computational efficiency, optimizing resource utilization, improving classification accuracy and real-time performance, while maintaining the stability and reliability of the network structure.
[0046] The training process of the two-branch convolutional neural network classification model is as follows: First, a large number of polyethylene fiber images of varying complexity are collected and labeled to form a training dataset. During training, each image is input into a pre-gating module based on its complexity. The gating module selects an appropriate branch: a small convolutional kernel branch is used for complex, high-density fiber images, while a large convolutional kernel branch is used for simple, macroscopic fiber images. Each branch independently performs convolution operations, activation transformations, adaptive pooling, and fully connected mapping, and outputs the class probability through a classifier. During training, loss functions such as cross-entropy are used to calculate the error between the predicted class and the true label, and the backpropagation algorithm is used to optimize the weights of the convolutional kernels and the parameters of the fully connected layers within each branch. Training iterates through multiple rounds to gradually improve classification accuracy, and the model performance is monitored using a validation set to ensure the model's generalization ability on images of different complexities, while maintaining efficient utilization of computing resources and real-time sorting capabilities.
[0047] S4: Determine the target action for the polyethylene fiber target category based on the preset sorting mapping table; The target execution action refers to the specific operation that the system searches for and executes from a preset sorting mapping table based on the identified category of polyethylene fiber, in order to correctly sort the fiber of that category to the corresponding position.
[0048] S5: Output the target action as a decision plan for sorting recycled polyethylene fibers.
[0049] In one possible implementation, it also includes: The dual-branch convolutional neural network classification model is retrained at preset intervals.
[0050] It should be noted that those skilled in the art can set the preset duration according to actual needs, and this invention does not limit this. During operation, the dual-branch convolutional neural network classification model is retrained at preset time intervals to update the model weights and parameters, enabling it to adapt to newly acquired polyethylene fiber image data and possible changes in fiber distribution, thereby maintaining classification accuracy and sorting performance, improving the long-term stability and reliability of the system, and responding to environmental changes or material property drift.
[0051] In practical applications, the entire sorting decision-making process first involves acquiring fiber images and establishing a pre-set sorting mapping table to associate fiber categories with corresponding sorting actions, forming the basis for decision-making. Subsequently, image complexity is calculated, and the local distortion and intersection of fibers are quantified using gradient direction fields and Jacobian matrices to determine the density of microscopic details and macroscopic structural patterns. A pre-gating module selects appropriate branches based on complexity: small convolutional kernel branches finely extract features from high-complexity fibers, while large convolutional kernel branches efficiently capture low-complexity macroscopic structures. Activation layers introduce nonlinear enhancements to feature representation, adaptive pooling layers adjust window size according to complexity to preserve key details and unify feature map dimensions, fully connected layers fuse feature maps to form a high-dimensional representation, the classifier outputs class probabilities and determines the target category, and finally, specific sorting actions are generated using the pre-set mapping table. This process achieves adaptive processing of images with different complexities, ensuring the recognition accuracy of complex fibers while improving the efficiency of simple image processing, and simultaneously optimizing computational resource utilization and real-time sorting performance.
[0052] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: In this embodiment of the invention, image information of recycled polyethylene fibers is acquired and combined with a preset sorting action mapping to analyze the complexity of the fiber images, thereby pre-allocating computing resources for sorting calculations. Subsequently, a dual-branch convolutional neural network uses image and complexity information for feature extraction and classification. The pre-gating module dynamically adjusts the computational paths of the two branches according to the image complexity, enabling differentiated processing of simple and complex fiber regions. That is, it automatically judges the distribution state and surface feature differences of fibers based on image complexity. Simple and regular fiber regions are processed with lightweight methods for rapid identification, while complex, similar, or contaminated fiber regions undergo deeper feature extraction and fine classification calculations. This achieves dynamic allocation of computing resources, improves overall recognition accuracy and sorting efficiency, and reduces unnecessary computational burden and energy consumption. This structure optimizes the efficiency of computing resource utilization, reduces energy consumption and latency accumulation, and ensures accuracy, real-time performance, and equipment safety in high-load sorting scenarios, thereby achieving efficient, reliable, and scalable optimization of polyethylene fiber sorting decisions.
[0053] Reference manual attached Figure 3 The diagram shows a structural schematic of a deep learning-based decision optimization system for sorting recycled polyethylene fibers provided by the present invention.
[0054] This invention also provides a deep learning-based decision optimization system 20 for sorting recycled polyethylene fibers, applied to the aforementioned deep learning-based decision optimization method for sorting recycled polyethylene fibers, comprising: Processor 201.
[0055] The memory 202 stores computer-readable instructions, which, when executed by the processor 201, implement the deep learning-based decision optimization method for sorting recycled polyethylene fibers as described in the method embodiment.
[0056] The deep learning-based recycling polyethylene fiber sorting decision optimization system 20 provided by the present invention can execute the above-mentioned deep learning-based recycling polyethylene fiber sorting decision optimization method and achieve the same or similar technical effects. To avoid duplication, the present invention will not elaborate further.
[0057] This invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the deep learning-based decision optimization method for sorting recycled polyethylene fibers as described in the method embodiments.
[0058] The present invention provides a computer-readable storage medium that can implement the steps and effects of the deep learning-based decision optimization method for sorting recycled polyethylene fibers described in the above-described method embodiments. To avoid repetition, the present invention will not elaborate further.
[0059] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
[0060] The following points need to be explained: (1) The accompanying drawings of the embodiments of the present invention only involve the structures involved in the embodiments of the present invention. Other structures can refer to the general design.
[0061] (2) For clarity, the thickness of layers or regions is enlarged or reduced in the drawings used to describe embodiments of the invention, i.e., these drawings are not drawn to scale. It is understood that when an element such as a layer, film, region or substrate is referred to as being “above” or “below” another element, the element may be “directly” located “above” or “below” the other element or there may be intermediate elements.
[0062] (3) Where there is no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other to obtain new embodiments.
[0063] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. The scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A deep learning-based decision optimization method for sorting recycled polyethylene fibers, characterized in that, include: S1: Acquire images of polyethylene fibers and a preset sorting mapping table, wherein the preset sorting mapping table describes the execution actions corresponding to each category of polyethylene fibers; S2: Calculate the image complexity of the polyethylene fiber image; S3: Input the polyethylene fiber image and the image complexity into a two-branch convolutional neural network classification model and output the polyethylene fiber target category. The two-branch convolutional neural network classification model includes a pre-gating module associated with the image complexity, a first branch, and a second branch. The first branch and the second branch are both connected to the pre-gating module. S4: Determine the target action for the polyethylene fiber target category based on the preset sorting mapping table; S5: Output the target execution action as a decision scheme for recycling polyethylene fiber sorting.
2. The deep learning-based decision optimization method for sorting recycled polyethylene fibers according to claim 1, characterized in that, S2 specifically includes: S201: Convert the polyethylene fiber image into a grayscale image, and calculate the spatial gradient of the grayscale image, wherein the spatial gradient includes a horizontal spatial gradient and a vertical spatial gradient; S202: Convert the spatial gradient into a unit vector pointing towards the image edge, wherein each of the unit vectors forms a normalized gradient direction field, wherein the unit vector is specifically the quotient of the spatial gradient and the spatial gradient magnitude term, wherein the spatial gradient magnitude term is specifically the sum of the spatial gradient magnitude and a minimum positive constant. S203: Construct the Jacobian matrix of the normalized gradient direction field; S204: Calculate the determinant of the Jacobian matrix and output the determinant of the Jacobian matrix as the directional distortion scalar of the polyethylene fiber image at each pixel position; S205: Calculate the spatial average value of the directional torsion scalar in the polyethylene fiber image, and output the spatial average value as the image complexity.
3. The deep learning-based decision optimization method for sorting recycled polyethylene fibers according to claim 2, characterized in that, S203 specifically includes: S2031: Solve for the spatial derivative of the normalized gradient direction field to obtain the horizontal component and vertical component of the direction field. S2032: Calculate the partial derivatives of the horizontal component and the vertical component of the direction field with respect to the horizontal and vertical coordinates, respectively, to obtain the rate of change of the horizontal component of the direction field in the horizontal direction, the rate of change of the horizontal component of the direction field in the vertical direction, the rate of change of the vertical component of the direction field in the horizontal direction, and the rate of change of the vertical component of the direction field in the vertical direction. S2033: Based on the calculation results, construct the Jacobian matrix, wherein the upper left element of the Jacobian matrix is the rate of change of the horizontal component of the direction field in the horizontal direction, the lower left element of the Jacobian matrix is the rate of change of the horizontal component of the direction field in the horizontal direction, the upper right element of the Jacobian matrix is the rate of change of the vertical component of the direction field in the vertical direction, and the lower right element of the Jacobian matrix is the rate of change of the vertical component of the direction field in the vertical direction.
4. The deep learning-based decision optimization method for sorting recycled polyethylene fibers according to claim 1, characterized in that, The first branch includes an input layer, a multi-layer convolutional layer with multiple small-sized convolutional kernels stacked in sequence, an activation layer, an adaptive pooling layer associated with the image complexity, a fully connected layer, and a classifier, wherein the kernel size of the first branch is smaller than the kernel size of the second branch. The second branch includes an input layer, a single convolutional layer with a single large-sized convolutional kernel, an activation layer, an adaptive pooling layer associated with the image complexity, a fully connected layer, and a classifier, connected in sequence, wherein the kernel size of the first branch is smaller than the kernel size of the second branch. The first branch and the second branch share the same output layer.
5. The deep learning-based decision optimization method for sorting recycled polyethylene fibers according to claim 4, characterized in that, S3 specifically includes: S301: Input the image complexity into the front-end gating module and select the target branch from the first branch and the second branch; S302: Input the polyethylene fiber image into the target branch convolutional layer through the target branch input layer, and output a feature map; S303: Input the feature map into the activation layer and output the activation feature map; S304: Input the activation feature map into the adaptive pooling layer and output the pooling feature map; S305: Input the pooled feature map into the fully connected layer for feature fusion to obtain a fused feature map; S306: Input the fused feature map into the classifier, output the polyethylene fiber category probability, and output the polyethylene fiber category corresponding to the maximum polyethylene fiber category probability as the polyethylene fiber target category through the output layer.
6. The deep learning-based decision optimization method for sorting recycled polyethylene fibers according to claim 5, characterized in that, S301 specifically includes: S3011: Normalize the image complexity to obtain normalized image complexity; S3012: Calculate the intrinsic receptive field of the first branch; S3013: Determine a branch selection threshold based on the intrinsic receptive field, wherein the branch selection threshold is inversely proportional to the intrinsic receptive field; S3014: If the image complexity is greater than or equal to the branch selection threshold, output the first branch as the target branch; otherwise, output the second branch as the target branch. This term yields the branch selection threshold. Therefore, factor 2 ensures that information about directional changes is not lost.
7. The deep learning-based decision optimization method for sorting recycled polyethylene fibers according to claim 5, characterized in that, Specifically, S304 includes: S3041: Determine the pooling window side length of the adaptive pooling layer based on the image complexity, wherein the pooling window side length is inversely proportional to the image complexity; S3042: Perform a pooling operation on the activated feature map according to the side length of the pooling window; S3043: Based on the fixed size of the preset pooling feature map, perform a second pooling on the activated feature map after the first pooling to obtain the pooled feature map.
8. The deep learning-based decision optimization method for sorting recycled polyethylene fibers according to claim 1, characterized in that, Also includes: The dual-branch convolutional neural network classification model is retrained at preset intervals.
9. A deep learning-based decision optimization system for sorting recycled polyethylene fibers, characterized in that, include: processor; A memory storing computer-readable instructions, which, when executed by the processor, implement the deep learning-based decision optimization method for sorting recycled polyethylene fibers as described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the deep learning-based decision optimization method for sorting recycled polyethylene fibers as described in any one of claims 1 to 8.
