A deep learning optimization method for edge computing servers

Through technical means such as dynamic topology reconstruction, multi-modal data processing and resource optimization of neural networks in the edge computing environment, the problem of performance degradation of deep learning models in edge computing is solved and efficient and accurate model deployment and inference are achieved. , improving the computing power and data protection of edge devices.

CN118520936BActive Publication Date: 2024-10-08SHENZHEN PARKA TECH CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410989016.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-08
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

Existing deep learning optimization technologies are difficult to effectively deploy and optimize deep learning models in resource-constrained edge computing environments, resulting in model performance degradation and inability to meet real-time and accuracy requirements.

Method used

Through dynamic topology reconstruction of the neural network structure, multi-modal data processing enhancement, neuron dynamic clustering and resource allocation, distributed deployment, symbolic logic conversion and sparse representation, a deep learning optimization method for edge computing is formed to improve the model adaptability, inference accuracy and resource utilization.

Benefits of technology

It realizes the efficient operation of the model on edge devices, improves real-time performance and accuracy, reduces computational complexity and data storage and transmission requirements, enhances data protection capabilities, and makes full use of edge and cloud computing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118520936B_ABST
    Figure CN118520936B_ABST
Patent Text Reader

Abstract

The present application relates to the field of deep learning technology, and discloses a deep learning optimization method for edge computing servers. The method includes: dynamically reconstructing the topology of a neural network structure to obtain an adaptive network structure; performing multimodal data processing enhancement on the adaptive network structure to obtain a knowledge-enhanced network structure; dynamically clustering neurons on the knowledge-enhanced network structure to obtain a resource-optimized network structure; obtaining device resource information of the edge device network and performing distributed deployment of the resource-optimized network structure to obtain an edge collaborative computing solution; performing symbolic logic conversion and feedback optimization on the intermediate representation of the network in the edge collaborative computing solution to obtain a neural symbolic hybrid model; performing sparse representation and compressed sensing on the model input data and the neural symbolic hybrid model to obtain the model output data. The present application improves the real-time and accuracy of edge computing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of deep learning technology, and in particular to a deep learning optimization method for edge computing servers. Background Art

[0002] With the rapid development of Internet of Things technology, edge computing is rapidly emerging as a distributed computing paradigm. Edge computing deploys computing and storage resources at the edge of the network, which can not only reduce network latency and improve data processing efficiency, but also effectively reduce computing pressure on the cloud. However, with the widespread application of deep learning models in various fields, the contradiction between their huge demand for computing resources and the limited processing power of edge devices has become increasingly prominent. How to efficiently deploy and optimize deep learning models in resource-constrained edge environments has become a hot topic in current research.

[0003] Traditional deep learning optimization methods are mainly designed for cloud environments, and often ignore the special needs and constraints in edge computing scenarios. These methods face many challenges in edge environments, such as limited computing resources, unstable network connections, and heterogeneous device environments. In addition, data distribution in edge computing often presents multimodal and dynamically changing characteristics, which further increases the difficulty of model optimization. Existing optimization technologies are difficult to effectively cope with these challenges, resulting in a significant decline in the performance of the model on edge devices, and unable to meet the requirements of real-time and accuracy. Summary of the invention

[0004] The present application provides a deep learning optimization method for edge computing servers to improve the real-time and accuracy of edge computing.

[0005] In a first aspect, the present application provides a deep learning optimization method for an edge computing server, and the deep learning optimization method for an edge computing server includes:

[0006] Dynamically reconstruct the topology of the neural network structure to obtain reconfigurable neuron modules and perform connection optimization and weight mapping to obtain an adaptive network structure;

[0007] The adaptive network structure is enhanced by multimodal data processing to obtain a multimodal perception network and then integrated with a predefined knowledge graph to obtain a knowledge-enhanced network structure.

[0008] Dynamically clustering neurons on the knowledge-enhanced network structure to obtain functional neuron clusters and performing resource allocation and dynamic memory management to obtain a resource-optimized network structure;

[0009] Obtaining device resource information of the edge device network and performing distributed deployment on the resource-optimized network structure to obtain an edge collaborative computing solution;

[0010] Perform symbolic logic conversion on the intermediate representation of the network in the edge collaborative computing solution to obtain a logical expression and perform soft logic reasoning and feedback optimization to obtain a neural-symbolic hybrid model;

[0011] The model input data and the neural-symbolic hybrid model are sparsely represented and compressed, a sparse computing scheme is obtained, and distributed reasoning and data reconstruction are performed to obtain model output data.

[0012] In a second aspect, the present application provides a deep learning optimization device for an edge computing server, the deep learning optimization device for an edge computing server comprising:

[0013] The reconstruction module is used to dynamically reconstruct the topology of the neural network structure, obtain reconfigurable neuron modules, and perform connection optimization and weight mapping to obtain an adaptive network structure;

[0014] A fusion module is used to perform multimodal data processing enhancement on the adaptive network structure to obtain a multimodal perception network and fuse it with a predefined knowledge graph to obtain a knowledge-enhanced network structure;

[0015] An allocation module is used to dynamically cluster neurons on the knowledge-enhanced network structure to obtain functional neuron clusters and perform resource allocation and dynamic memory management to obtain a resource-optimized network structure;

[0016] A deployment module, used to obtain device resource information of the edge device network and perform distributed deployment on the resource-optimized network structure to obtain an edge collaborative computing solution;

[0017] The optimization module is used to perform symbolic logic conversion on the intermediate representation of the network in the edge collaborative computing solution, obtain the logical expression, and perform soft logic reasoning and feedback optimization to obtain the neural-symbolic hybrid model;

[0018] The reconstruction module is used to perform sparse representation and compressed sensing on the model input data and the neural symbolic hybrid model, obtain a sparse computing solution and perform distributed reasoning and data reconstruction to obtain model output data.

[0019] A third aspect of the present application provides a deep learning optimization device for an edge computing server, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the deep learning optimization device for the edge computing server executes the above-mentioned deep learning optimization method for the edge computing server.

[0020] A fourth aspect of the present application provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is run on a computer, it enables the computer to execute the above-mentioned deep learning optimization method for edge computing servers.

[0021] In the technical solution provided by this application, the flexible adjustment of the network structure is realized through neuron modularization and dynamic connection reorganization, and the adaptability of the model to different tasks and data is improved. Combined with multimodal data processing and knowledge graph fusion, the input information and semantic understanding ability of the model are enriched, and the performance of the model in complex scenarios is improved. Through dynamic clustering of neurons and resource allocation strategies, efficient utilization of computing resources is achieved, the computational complexity of the network is reduced, and the operation efficiency of the model on edge devices is improved. Based on the distributed deployment scheme of device resource information, the collaborative computing of the model on heterogeneous edge devices is realized. Through symbolic logic conversion and soft logic reasoning, the learning ability of the neural network and the reasoning ability of the symbolic system are combined to improve the reasoning accuracy and robustness of the model. The use of sparse representation and compressed sensing technology greatly reduces the demand for data storage and transmission. Through dynamic resource allocation and memory management strategies, the resource utilization and operation stability of the system are improved. In the distributed deployment process, data privacy and security are considered, the data protection ability of the model in the edge computing environment is enhanced, and a collaborative computing framework between edge devices and cloud servers is established, which realizes the flexible allocation and dynamic adjustment of computing tasks and makes full use of computing resources at the edge and cloud. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0023] Figure 1 A schematic diagram of an embodiment of a deep learning optimization method for an edge computing server in an embodiment of the present application;

[0024] Figure 2 This is a schematic diagram of an embodiment of a deep learning optimization device for an edge computing server in an embodiment of the present application. DETAILED DESCRIPTION

[0025] An embodiment of the present application provides a deep learning optimization method for edge computing servers. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of a deep learning optimization method for an edge computing server in an embodiment of the present application includes:

[0027] Step S101, dynamically reconstructing the topology of the neural network structure to obtain a reconfigurable neuron module and performing connection optimization and weight mapping to obtain an adaptive network structure;

[0028] It is understandable that the execution subject of the present application can be a deep learning optimization device for edge computing servers, or a terminal or a server, which is not limited here. The embodiment of the present application is described by taking the server as the execution subject as an example.

[0029] Specifically, the neural network structure is hierarchically decomposed to obtain a set of neuron units. The neuron unit set is grouped according to its function and position to form an initial neuron module. The initial neuron module is functionally encoded, and a module feature vector is generated by analyzing the functions and interactions of the neuron units in each module. The module feature vector is used to calculate the similarity between the initial neuron modules and generate an inter-module association strength matrix. Each element in the matrix represents the functional association strength between two initial neuron modules, that is, how similar or complementary they are in function. According to the inter-module association strength matrix, the initial neuron modules are dynamically connected and reorganized. By analyzing the data in the association strength matrix, it is determined which modules should establish stronger connections to facilitate the overall optimization of the neural network. Through dynamic connection reorganization, a set of reconfigurable neuron modules is obtained, and the connection paths between these modules are optimized according to the association strength matrix to ensure that each module can be connected to other modules in the best way. The optimal connection path between modules of the reconfigurable neuron module is calculated. The optimal connection path is calculated based on the association strength matrix and the module functional characteristics to ensure the highest efficiency of communication and data transmission between modules, thereby improving the performance of the entire neural network. According to the optimal connection path between modules, the weights of the neural network structure are initialized to ensure that the weight distribution is as close to the optimal value as possible. The initial weight distribution is adjusted to obtain an orthogonalized weight matrix to ensure that the neural network can converge faster and achieve better performance during training. According to the orthogonalized weight matrix, the neural network structure is adaptively reconstructed. Dynamic adjustments are made according to actual application requirements to obtain an adaptive network structure.

[0030] Step S102: Perform multimodal data processing enhancement on the adaptive network structure to obtain a multimodal perception network and fuse it with a predefined knowledge graph to obtain a knowledge-enhanced network structure;

[0031] Specifically, the adaptive network structure is extended with modal branches, and a multimodal input layer is constructed by introducing different data modalities. These modalities may include data inputs in different forms such as text, image, and audio. According to the characteristics of the multimodal input layer, a set of modal feature extractors are constructed, which are used to extract useful feature information from data of different modalities. The attention mechanism of the modal feature extractor set is analyzed, and the attention weights within each modality are calculated. These weights reflect the importance of each feature in the entire data modality. The extracted modal features are weighted using the intra-modal attention weights to obtain weighted modal features. The weighted modal features are subjected to cross-modal projection transformation, and the features of different modalities are projected into a unified feature space to achieve modal alignment. According to the modal alignment optimization target, a multimodal fusion layer is constructed. In the multimodal fusion layer, the features of different modalities can be fully fused and interacted to generate a comprehensive feature representation. The multimodal fusion layer is subjected to temporal dependency modeling to obtain a multimodal perception network. The multimodal perception network can perceive and understand complex multimodal information more accurately by comprehensively processing data of different modalities. The multimodal perception network is integrated with the predefined knowledge graph to perform entity linking. Through entity linking, the entities in the multimodal perception network are aligned with the entities in the knowledge graph to obtain the entity alignment results. Using the entity alignment results, the knowledge graph is encoded with the graph structure to obtain the embedded representation of the knowledge graph. The knowledge graph embedding representation can effectively capture the structural information and semantic information in the knowledge graph. Based on the knowledge graph embedding representation, a hierarchical reasoning module is constructed. The hierarchical reasoning module can perform reasoning and understanding at different levels to generate a multi-level semantic understanding structure. The multi-level semantic understanding structure is integrated to generate a comprehensive knowledge-enhanced network structure.

[0032] Step S103, dynamically clustering neurons on the knowledge-enhanced network structure to obtain functional neuron clusters and performing resource allocation and dynamic memory management to obtain a resource-optimized network structure;

[0033] Specifically, the neuron functional features are extracted from the knowledge-enhanced network structure to obtain the functional vector of each neuron. The initial functional cluster division is obtained by performing spectral clustering analysis on the neuron functional vector. The initial functional cluster represents a group of neurons with similar functional features in the network. The initial functional cluster division is subjected to boundary fuzzification to obtain a soft cluster membership matrix. This matrix reflects the membership of each neuron to each functional cluster, allowing neurons to belong to multiple clusters at the same time, thereby better capturing the fuzziness of functional boundaries. Based on the soft cluster membership matrix, dynamic inter-cluster connection weights are constructed, and the weights reflect the connection strength between different functional clusters to obtain functional neuron clusters. The computational complexity of the functional neuron clusters is analyzed, and the computational load of each cluster is calculated to obtain a cluster-level computational load estimate, which reflects the computational resources required for each functional cluster to perform tasks. Based on the cluster-level computational load estimate, a preliminary resource allocation plan is generated to ensure that each functional cluster can obtain the required computing resources to efficiently perform its tasks. In order to verify the effectiveness of the resource allocation plan, a simulation test is carried out to obtain a resource utilization curve, which reflects the use of resources under different workloads. Based on the resource utilization curve, a dynamic resource allocation strategy is generated to dynamically adjust resource allocation according to the actual workload to maximize resource utilization and minimize resource waste. The dynamic resource allocation strategy is evaluated for reliability to identify the set of fault-sensitive points in the system. These fault-sensitive points represent the parts of the system that are prone to bottlenecks or failures in some cases. Based on the set of fault-sensitive points, memory access pattern analysis is performed to obtain the hot data distribution. Hot data represents the data area frequently accessed in the system. Based on the hot data distribution, a multi-level memory architecture is constructed to optimize data access efficiency and reduce memory access conflicts. Concurrency conflict detection is performed on the multi-level memory architecture to identify potential bottlenecks. These bottlenecks are parts that may cause performance degradation during concurrent access. Based on the potential bottlenecks, a conflict-optimized memory access scheme is generated. This scheme can reduce memory access conflicts and improve data access efficiency. The conflict-optimized memory access scheme is integrated with the functional neuron cluster to form an overall resource-optimized network structure.

[0034] Step S104: Obtain device resource information of the edge device network and perform distributed deployment on the resource-optimized network structure to obtain an edge collaborative computing solution;

[0035] Specifically, the edge device network is topologically scanned to obtain a network topology diagram, which depicts the connections and relationships between edge devices. According to the network topology diagram, a device communication matrix is ​​constructed, which records the communication capabilities and paths between each device. Based on the device communication matrix, the hardware resource analysis of the edge device network is performed to obtain device resource information, including the computing power, storage capacity, bandwidth and other resources of each device. The device resource information is analyzed, the devices are graded according to their capabilities, and a preliminary task allocation plan is generated. The initial task allocation plan is load balanced and a task-device matching matrix is ​​generated. The matrix reflects the matching degree of each task with each device, thereby ensuring that the task can be efficiently allocated to the most suitable device. Based on the task-device matching matrix, a target task allocation plan is generated to ensure the efficiency and balance of task allocation. The communication overhead of the target task allocation plan is evaluated, the data transmission volume between devices is estimated, and possible communication bottlenecks and high-overhead paths are identified, thereby optimizing the data transmission efficiency. Based on the data transmission volume estimation, a deployment strategy is generated to ensure that task allocation and data transmission are carried out efficiently in the entire network. Under the guidance of the deployment strategy, the resource-optimized network structure is model-segmented to obtain a sub-model deployment plan. The entire deep learning model is divided into multiple sub-models, and each sub-model is assigned to different edge devices for calculation. According to the sub-model deployment plan, all sub-models are integrated to form an edge-cloud collaborative computing graph, which shows the collaborative computing relationship between edge devices and cloud servers, and ensures that each part of the computing tasks is reasonably distributed between the edge and the cloud. According to the edge-cloud collaborative computing graph, a dynamic resource scheduler is built. The dynamic resource scheduler can monitor and adjust resource allocation in real time to ensure that the system can run efficiently under different load conditions. Based on the dynamic resource scheduler, the final edge collaborative computing solution is generated. This solution realizes the efficient distributed deployment of deep learning models in the edge computing environment, ensures the collaborative computing tasks between edge devices and cloud servers, and fully utilizes the computing resources of various devices to improve the overall performance and efficiency of the system.

[0036] Step S105: Perform symbolic logic conversion on the network intermediate representation in the edge collaborative computing solution to obtain a logical expression and perform soft logic reasoning and feedback optimization to obtain a neural symbolic hybrid model;

[0037] Specifically, semantic segmentation is performed on the intermediate representation of the network in the edge collaborative computing solution, and the complex intermediate representation of the network is refined into multiple concept unit sets. The concept unit set represents the abstract concepts and relationships of different parts of the network. Based on the concept unit set, a concept relationship graph is constructed. The concept relationship graph is ontology mapped to obtain a formalized ontology structure. The ontology structure provides a standardized framework for subsequent logical reasoning by defining concepts and their relationships. Based on the formalized ontology structure, predicate logic conversion rules are designed to convert the concept relationship graph into a logical expression. The logical expression is fuzzified to obtain a fuzzy logic proposition set. The fuzzy logic proposition set can handle the uncertainty and ambiguity in the logical expression and adapt to the complex situations in practical applications. Based on the fuzzy logic proposition set, a fuzzy reasoning rule base is constructed. The rule base contains a series of fuzzy reasoning rules for reasoning and decision-making within the fuzzy logic framework. The fuzzy reasoning rule base is analyzed by probability graph to obtain a Bayesian belief network. The Bayesian belief network can perform effective reasoning under uncertainty conditions by calculating the conditional probability of each logical proposition. Based on the Bayesian belief network, the posterior probability distribution is calculated, which reflects the probability of each logical proposition under given evidence. According to the posterior probability distribution, a logic-guided network optimization scheme is generated. Gradient analysis is performed on the logic-guided network optimization scheme to obtain a neural-symbolic joint learning framework, so as to perform effective logical reasoning while optimizing network performance. Adversarial training is performed on the neural-symbolic joint learning framework, and the robustness and generalization ability of the model are enhanced by introducing adversarial samples. During the adversarial training process, an adversarial sample generator is generated to generate challenging adversarial samples. According to the adversarial sample generator, a decision path tracing graph is generated to record the decision path and reasoning process of the model when facing adversarial samples. Through integration through the decision path tracing graph, a neural-symbolic hybrid model is obtained.

[0038] Step S106: perform sparse representation and compressed sensing on the model input data and the neural-symbolic hybrid model to obtain a sparse computing solution and perform distributed reasoning and data reconstruction to obtain model output data.

[0039] Specifically, the model input data is subjected to wavelet transform, and the original data is decomposed into coefficient matrices of different scales by using the multi-scale analysis characteristics of wavelet transform. The multi-scale coefficient matrix can effectively represent the local and global characteristics of the input data. The multi-scale coefficient matrix is ​​subjected to threshold sparsification processing, and the coefficients less than the threshold are set to zero by setting a threshold, so as to obtain the sparsely represented input data. The parameter matrix of the neural symbolic hybrid model is subjected to singular value decomposition, and the parameter matrix is ​​decomposed into several singular values ​​and their corresponding singular vectors. Through singular value decomposition, a low-rank representation of the model parameters is obtained, which can retain the main information of the parameter matrix and significantly reduce the number of parameters. According to the low-rank representation, the compressed model parameters are generated to reduce the computational complexity and storage requirements of the model. The sparseness analysis is performed on the sparsely represented input data and the compressed model parameters to obtain the sparse pattern description of the data and parameters. The sparse pattern description can reveal the sparse structure in the data and parameters. According to the sparse pattern description, a sparse computing scheme is constructed, which can make full use of the sparse characteristics of the input data and model parameters to improve the computing efficiency. Compressed sensing is performed on the sparse computing scheme to obtain a random measurement matrix. The random measurement matrix is ​​used to sample sparse signals under the compressed sensing framework, and the main information of the sparse signals can be efficiently captured through a small amount of random linear measurements. Based on the random measurement matrix, a compressed sensing sampling scheme is created, which can maximize the retention of key features of the input data during the sampling process. The information loss of the compressed sensing sampling scheme is evaluated to determine the information loss that may be caused during the compressed sensing process. According to the information loss evaluation results, a dynamic compressed sensing scheme is generated, which can dynamically adjust the sampling strategy in different application scenarios to minimize information loss. The dynamic compressed sensing scheme is integrated with the sparse computing scheme to obtain a sparse compression joint optimization strategy, thereby ensuring computational efficiency while maximally retaining data integrity. According to the sparse compression joint optimization strategy, an edge node task allocation scheme is constructed to reasonably allocate computing tasks to each edge node, so that computing resources are fully utilized. Data reconstruction is performed through the edge node task allocation scheme, and the computing results of each edge node are integrated during the distributed reasoning process to obtain the model output data.

[0040] In the embodiment of the present application, the flexible adjustment of the network structure is achieved through neuron modularization and dynamic connection reorganization, the adaptability of the model to different tasks and data is improved, and the input information and semantic understanding ability of the model are enriched by combining multimodal data processing and knowledge graph fusion, and the performance of the model in complex scenarios is improved. Through dynamic clustering of neurons and resource allocation strategies, efficient utilization of computing resources is achieved, the computational complexity of the network is reduced, and the operation efficiency of the model on edge devices is improved. Based on the distributed deployment scheme of device resource information, the collaborative computing of the model on heterogeneous edge devices is realized. Through symbolic logic conversion and soft logic reasoning, the learning ability of the neural network and the reasoning ability of the symbolic system are combined to improve the reasoning accuracy and robustness of the model. The use of sparse representation and compressed sensing technology greatly reduces the demand for data storage and transmission. Through dynamic resource allocation and memory management strategies, the resource utilization and operation stability of the system are improved. In the distributed deployment process, data privacy and security are considered, the data protection ability of the model in the edge computing environment is enhanced, and a collaborative computing framework between edge devices and cloud servers is established, which realizes the flexible allocation and dynamic adjustment of computing tasks and makes full use of the computing resources of the edge and cloud.

[0041] In a specific embodiment, the process of executing step S101 may specifically include the following steps:

[0042] (1) Decompose the neural network structure hierarchically to obtain a set of neuron units, and then group the neuron units to obtain an initial neuron module;

[0043] (2) Functionally encode the initial neuron module to obtain the module feature vector, and calculate the similarity of the initial neuron module based on the module feature vector to obtain the inter-module correlation strength matrix;

[0044] (3) According to the inter-module correlation strength matrix, the initial neuron modules are dynamically connected and reorganized to obtain reconfigurable neuron modules, and the optimal inter-module connection paths of the reconfigurable neuron modules are calculated;

[0045] (4) Initialize the weights of the neural network structure according to the optimal connection path between modules to obtain the initial weight distribution, and adjust the initial weight distribution to obtain the orthogonalized weight matrix;

[0046] (5) The neural network structure is adaptively reconstructed according to the orthogonalized weight matrix to obtain an adaptive network structure.

[0047] Specifically, the neural network structure is hierarchically decomposed to decompose the complex neural network structure into multiple layers to form a set of neuron units. For example, assume a three-layer fully connected neural network, each layer contains a different number of neurons: the first layer has 100 neurons, the second layer has 50 neurons, and the third layer has 10 neurons. Through hierarchical decomposition, the neurons of each layer are grouped together to form three sets of neuron units. The neuron unit sets are grouped to obtain initial neuron modules. The grouping principle can be based on the function, position, connection relationship, etc. of the neurons. For example, for the 100 neurons in the first layer, they are divided into 10 groups, each containing 10 neurons. The initial neuron modules are functionally encoded, and a feature vector is generated for each initial neuron module, which can fully describe the functional characteristics of the module. Assuming that the output of each neuron can be represented by a vector, the feature vector of the initial neuron module can be obtained by weighted summing the outputs of the neurons it contains. According to the module feature vector, the initial neuron module is similarly calculated to obtain the module correlation strength matrix. The similarity calculation can be performed using methods such as cosine similarity and Euclidean distance. For example, using cosine similarity, two initial neuron modules and The similarity between for:

[0048] ;

[0049] in, represents the dot product of two vectors, and Represents vectors and norm. According to the inter-module association strength matrix, the initial neuron modules are dynamically reorganized to obtain reconfigurable neuron modules. The connection relationship between modules is adjusted according to the association strength, so that the connection between strongly associated modules is closer. Calculate the optimal inter-module connection path of the reconfigurable neuron module. The optimal connection path can be calculated by the shortest path algorithm, the maximum flow algorithm and other methods. For example, the shortest path algorithm is used to find the optimal path for connecting modules so that the total connection cost is minimized. According to the optimal connection path between modules, the neural network structure is weighted initialized to obtain the initial weight distribution, so that the network has good convergence in the early stage of training. Common initialization methods include Xavier initialization and He initialization. For example, the Xavier initialization method performs weight initialization according to the number of input and output nodes of the network, and the formula is:

[0050] ;

[0051] in, represents the initialized weight, and Represents the number of input and output nodes, N It means the mean is 0 and the variance is Normal distribution. Adjust the initial weight distribution to obtain an orthogonalized weight matrix. An orthogonalized weight matrix means that the column vectors (or row vectors) of the weight matrix are orthogonal and have equal norms, thereby ensuring the stability of the network and the training efficiency. Orthogonalization can be achieved through methods such as QR decomposition. For example, suppose the initial weight matrix is , the orthogonal matrix can be obtained by QR decomposition and the upper triangular matrix

[0052] ;

[0053] in, is an orthogonal matrix, is an upper triangular matrix. By adjusting the initial weight distribution, the weight matrix is ​​orthogonalized. The neural network structure is adaptively reconstructed according to the orthogonalized weight matrix to obtain an adaptive network structure. According to the actual application requirements of the network, the network structure is dynamically adjusted to make it more adaptable. For example, by adjusting parameters such as the number of network layers, the number of neurons, and the activation function, the network structure is made more adaptable to specific tasks. The adaptive network structure not only has higher performance, but can also be flexibly applied in different application scenarios.

[0054] In a specific embodiment, the process of executing step S102 may specifically include the following steps:

[0055] (1) Expand the modal branches of the adaptive network structure to obtain a multimodal input layer, and construct a set of modal feature extractors based on the multimodal input layer;

[0056] (2) Perform attention mechanism analysis on the set of modal feature extractors to obtain intra-modal attention weights, and then weight the importance of the intra-modal attention weights to obtain weighted modal features;

[0057] (3) Perform cross-modal projection transformation on the weighted modal features and construct the modal alignment optimization target, and then construct a multimodal fusion layer based on the modal alignment optimization target;

[0058] (4) Model the temporal dependency of the multimodal fusion layer to obtain a multimodal perception network, and perform entity linking between the multimodal perception network and the predefined knowledge graph to obtain entity alignment results;

[0059] (5) Encode the graph structure through the entity alignment results to obtain the knowledge graph embedding representation, and build a hierarchical reasoning module based on the knowledge graph embedding representation to obtain a multi-level semantic understanding structure;

[0060] (6) The multi-level semantic understanding structures are integrated to obtain a knowledge-enhanced network structure.

[0061] Specifically, the adaptive network structure is expanded in modal branches, and multiple different data modalities are introduced into the network to form a multimodal input layer. For example, in an adaptive network, data inputs of three modalities, image, text, and audio, can be introduced. A set of modal feature extractors is constructed according to the multimodal input layer. Each modal feature extractor is responsible for extracting useful feature information from the data of the corresponding modality. For example, a convolutional neural network is used as a feature extractor for the image modality, and a recurrent neural network is used as a feature extractor for the text and audio modalities. An attention mechanism analysis is performed on the set of modal feature extractors. The attention mechanism can dynamically assign importance weights to features of different modalities to obtain intra-modal attention weights. The weighted modal features are subjected to cross-modal projection transformation to project features of different modalities into a common feature space to achieve alignment between different modalities. For example, linear projection or nonlinear transformation is used to project features of each modality into a common space. Assume For the The weighted features of the modalities, the result of the cross-modal projection transformation is:

[0062] ;

[0063] in, and Respectively The projection matrix and bias vector of each modality. According to the result of the cross-modal projection transformation, a modal alignment optimization objective is constructed to align the features of different modalities as much as possible in the common space. By optimizing the alignment objective, a multimodal fusion layer is constructed. The multimodal fusion layer fuses the aligned features to generate a comprehensive feature representation. Temporal dependency modeling is performed on the multimodal fusion layer to obtain a multimodal perception network. Temporal dependency modeling refers to considering temporal information in the fusion features. The multimodal perception network can fully capture the temporal dependencies in multimodal data. The multimodal perception network is entity-linked with the predefined knowledge graph, and the entities in the perception network are aligned with the entities in the knowledge graph. For example, through natural language processing technology, the entities in the text are linked to the entities in the knowledge graph to obtain the entity alignment result. The graph structure is encoded through the entity alignment result to obtain the embedded representation of the knowledge graph. Graph structure encoding can be achieved through methods such as graph convolutional networks. Assume that the knowledge graph is represented as a graph ,in is a node set, is the edge set. The graph convolution operation can be expressed as:

[0064] ;

[0065] in, Indicates The node embedding matrix of the layer, represents the adjacency matrix, is the trainable weight matrix, is a nonlinear activation function. Based on the knowledge graph embedding representation, a hierarchical reasoning module is constructed. The hierarchical reasoning module can perform reasoning at different levels and generate a multi-level semantic understanding structure. The multi-level semantic understanding structure can capture the deep semantic relationship in the data. The multi-level semantic understanding structure is fused to obtain a knowledge-enhanced network structure.

[0066] In a specific embodiment, the process of executing step S103 may specifically include the following steps:

[0067] (1) Extract neuron function features from the knowledge-enhanced network structure to obtain neuron function vectors, and perform spectral clustering on the neuron function vectors to obtain initial function cluster divisions;

[0068] (2) The initial functional cluster division is subjected to boundary fuzzification processing to obtain a soft cluster membership matrix, and based on the soft cluster membership matrix, dynamic inter-cluster connection weights are constructed to obtain functional neuron clusters;

[0069] (3) Perform computational complexity analysis on functional neuron clusters to obtain cluster-level computational load estimates, and generate preliminary resource allocation plans based on the cluster-level computational load estimates;

[0070] (4) Conduct simulation tests on the preliminary resource allocation scheme to obtain a resource utilization curve, and generate a dynamic resource allocation strategy based on the resource utilization curve;

[0071] (5) Perform reliability evaluation on the dynamic resource allocation strategy to obtain a set of fault-sensitive points, and analyze the memory access pattern based on the set of fault-sensitive points to obtain the hotspot data distribution;

[0072] (6) Build a multi-level memory architecture based on the distribution of hot data, and perform concurrent conflict detection on the multi-level memory architecture to obtain potential bottlenecks;

[0073] (7) Generate a conflict-optimized memory access scheme based on potential bottleneck points, and integrate the conflict-optimized memory access scheme and functional neuron clusters to obtain a resource-optimized network structure.

[0074] Specifically, the functional features of neurons in the knowledge-enhanced network structure are extracted. By analyzing the activation mode and input and output features of each neuron, a neuron function vector is obtained. These function vectors are clustered using the spectral clustering method. Spectral clustering constructs a graph Laplacian matrix And perform eigenvalue decomposition on it to find the clustering structure of the data. Figure Laplacian matrix Defined as ,in is the similarity matrix, is the degree matrix, which represents the degree of the node.

[0075] ;

[0076] in, Representing neurons and The similarity between are the diagonal elements of the degree matrix. By Perform eigenvalue decomposition and select feature vectors, projecting the neuron into a In this space, using traditional clustering algorithms (such as -mean) to cluster neurons and obtain the initial functional cluster division. The initial functional cluster division is subjected to boundary fuzzification. Boundary fuzzification means that neurons are allowed to belong to multiple functional clusters at the same time. By calculating the membership of each neuron to each cluster, a soft cluster membership matrix is ​​obtained. Assume that the soft cluster membership matrix is ,in Representing neurons Belongs to cluster Based on the soft cluster membership matrix, the dynamic inter-cluster connection weight is constructed. The dynamic inter-cluster connection weight reflects the relationship between different functional clusters and can be calculated by the weighted summation method:

[0077] ;

[0078] in, Represents a functional cluster and The connection weights between them. Through the above steps, the functional neuron clusters are obtained. The computational complexity analysis of the functional neuron clusters is performed to evaluate the computational load of each functional cluster. The computational load can be estimated by counting the number of computational operations and data transmission volume of each cluster. Assume that the number of computational operations of a functional cluster is , the data transmission volume is , then calculate the load It can be expressed as:

[0079] ;

[0080] in, and is a weight parameter used to balance the impact of computing operations and data transmission. Based on the results of computing load estimation, a preliminary resource allocation plan is generated to reasonably allocate computing resources to various functional clusters. The preliminary resource allocation plan is simulated and tested to evaluate its resource utilization and obtain a resource utilization curve. The resource utilization curve can reflect the resource utilization efficiency under different load conditions. Based on the resource utilization curve, a dynamic resource allocation strategy is generated. The dynamic resource allocation strategy can dynamically adjust resource allocation according to the actual load conditions to maximize resource utilization efficiency. The dynamic resource allocation strategy is evaluated for reliability, and the set of fault-sensitive points in the system is identified by simulating different fault scenarios. Based on the set of fault-sensitive points, memory access pattern analysis is performed to identify the distribution of hot data. Hot data refers to frequently accessed data areas. Understanding the location and access pattern of these hot data helps to optimize the memory architecture. Based on the distribution of hot data, a multi-level memory architecture is constructed so that high-frequency access data can be stored in the fast access layer to reduce memory access latency. Concurrency conflict detection is performed on the multi-level memory architecture to identify possible bottlenecks. The bottleneck refers to the part that may cause performance degradation under concurrent access. By optimizing these bottlenecks, the concurrent performance of the system is improved. According to the potential bottleneck points, a conflict-optimized memory access scheme is generated, and by optimizing the memory access path and access strategy, conflicts are reduced and access efficiency is improved. The conflict-optimized memory access scheme and functional neuron clusters are integrated to form an overall resource-optimized network structure.

[0081] In a specific embodiment, the process of executing step S104 may specifically include the following steps:

[0082] (1) Perform a topological scan on the edge device network to obtain a network topology map, and build a device communication matrix based on the network topology map;

[0083] (2) Analyze the hardware resources of the edge device network based on the device communication matrix to obtain device resource information;

[0084] (3) Classify the equipment resource information into equipment capability levels and generate the corresponding initial task allocation plan;

[0085] (4) Perform load balancing analysis on the initial task allocation plan to obtain the task-device matching matrix, and generate the target task allocation plan based on the task-device matching matrix;

[0086] (5) Evaluate the communication overhead of the target task allocation scheme, obtain the estimated data transmission volume between devices, and generate a deployment strategy based on the estimated data transmission volume;

[0087] (6) Based on the deployment strategy, the resource-optimized network structure is model-segmented to obtain the sub-model deployment plan, and the sub-model deployment plan is integrated to obtain the edge-cloud collaborative computing graph;

[0088] (7) Based on the edge-cloud collaborative computing graph, a dynamic resource scheduler is constructed, and an edge collaborative computing solution is generated based on the dynamic resource scheduler.

[0089] Specifically, the edge device network is topologically scanned, and the network topology is formed by detecting the devices and connections in the network. The network topology depicts the connection relationship and data transmission path between devices. Assuming that an edge device network consists of five devices, the devices form a mesh structure through wireless connections, and the network topology is obtained through topological scanning. The device communication matrix is ​​constructed based on the network topology. Communication matrix Records the communication capabilities and connection status between devices, including Indicates the device With equipment For example, if the device and equipment There is a direct connection between them and the communication bandwidth is 100Mbps. . Perform hardware resource analysis on the edge device network based on the device communication matrix. Hardware resource analysis includes the evaluation of the computing power, storage capacity, network bandwidth and other information of each device. For example, assuming that the computing power of device A is 2.5GHz, the storage capacity is 16GB, and the network bandwidth is 100Mbps, the resource information of device A is obtained through analysis. Based on the obtained device resource information, the devices are divided into capability levels. The device capability level division is based on the hardware resources of each device, and the devices are divided into different levels. For example, devices with higher computing power and larger storage capacity are classified as advanced devices, devices with average computing power and moderate storage capacity are classified as intermediate devices, and devices with lower computing power and smaller storage capacity are classified as primary devices. Generate the corresponding initial task allocation plan based on the device capability level. The initial task allocation plan reasonably allocates computing tasks to each device based on the device capability level. Perform load balancing analysis on the initial task allocation plan, and obtain the task-device matching matrix by evaluating the load conditions of each device. Matching matrix reflects the degree of adaptation between the task and the device, where Indicates the task Assign to device The target task allocation scheme is generated based on the task-device matching matrix. The target task allocation scheme optimizes the matching degree so that tasks are evenly distributed among devices and resource utilization efficiency is maximized. The communication overhead of the target task allocation scheme is evaluated. The communication overhead evaluation calculates the amount of data transmitted between devices by the task to obtain an estimate of the amount of data transmitted between devices. Data transmission amount estimation Based on the device communication matrix and the task-device match matrix For example, suppose the task The amount of data that needs to be transferred is , then the total data transmission volume between devices can be expressed as:

[0090] ;

[0091] in, Indicates the device and equipment The amount of data transferred between Indicates the task The amount of data, Indicates the task Assign to device The matching degree of edge-cloud collaboration is obtained. Based on the estimated data transmission volume, a deployment strategy is generated. The deployment strategy reduces communication overhead and improves task execution efficiency by optimizing the data transmission path and task allocation. Based on the deployment strategy, the resource-optimized network structure is model-segmented to obtain a sub-model deployment plan. Model segmentation is to divide a complex deep learning model into multiple sub-models so that it can be executed in parallel on different devices. According to the sub-model deployment plan, the model is integrated to form an edge-cloud collaborative computing graph. The edge-cloud collaborative computing graph shows the collaborative computing relationship between edge devices and cloud servers. Through this collaborative computing, preliminary calculations are performed on edge devices to reduce the amount of data transmission, and then the intermediate results are transmitted to the cloud server for further calculation, thereby improving the overall computing efficiency. Based on the edge-cloud collaborative computing graph, a dynamic resource scheduler is constructed. The dynamic resource scheduler dynamically adjusts the resource allocation strategy by monitoring the resource usage and task execution status of the device in real time to ensure efficient execution of the task. Based on the dynamic resource scheduler, an edge collaborative computing solution is generated. The edge collaborative computing solution achieves efficient collaboration between edge devices and cloud servers by dynamically adjusting computing resources and task allocation.

[0092] In a specific embodiment, the process of executing step S105 may specifically include the following steps:

[0093] (1) Perform semantic segmentation on the intermediate representation of the network in the edge collaborative computing solution to obtain a set of concept units, and construct a concept relationship graph based on the set of concept units;

[0094] (2) Perform ontology mapping on the concept relationship graph to obtain a formalized ontology structure, and design predicate logic transformation rules based on the formalized ontology structure to obtain a logical expression;

[0095] (3) Fuzzify the logical expression to obtain a fuzzy logic proposition set, and build a fuzzy reasoning rule base based on the fuzzy logic proposition set;

[0096] (4) Perform probability graph analysis on the fuzzy inference rule base to obtain the Bayesian belief network, and calculate the posterior probability distribution based on the Bayesian belief network;

[0097] (5) Generate a logic-guided network optimization scheme based on the posterior probability distribution, and perform gradient analysis on the logic-guided network optimization scheme to obtain a neural-symbolic joint learning framework;

[0098] (6) Conduct adversarial training on the neural-symbolic joint learning framework to obtain an adversarial sample generator, and generate a decision path tracing graph based on the adversarial sample generator;

[0099] (7) Integrate through the decision path tracing graph to obtain the neural-symbolic hybrid model.

[0100] Specifically, semantic segmentation is performed on the network intermediate representation in the edge collaborative computing solution, and the complex network intermediate representation is divided into multiple concept units with clear meanings. Each concept unit represents a specific function or data fragment, forming a concept unit set. A concept relationship graph is constructed based on the concept unit set. The concept relationship graph is a graph structure in which nodes represent concept units and edges represent the relationship between these concept units. For example, in a smart city management system, concept units may include "traffic flow", "air quality", "energy consumption", etc., and edges represent the mutual influence or association between these concepts. The concept relationship graph is ontology mapped to map the concepts and relationships in the concept relationship graph to a formalized ontology structure. The ontology structure provides a standardized knowledge representation framework by defining concepts and their attributes and relationships. Based on the formalized ontology structure, predicate logic conversion rules are designed to convert the relationships in the concept relationship graph into logical expressions. For example, if there is a relationship R between concept A and concept B, it can be expressed as a predicate logic expression R(A, B). The logical expression is fuzzified to generate a set of fuzzy logic propositions. Fuzzification is the introduction of fuzzy logic to expand traditional binary logic into a logical system that can handle uncertainty and ambiguity. For example, the predicate logic expression R(A, B) can be expressed as a fuzzy logic proposition ,in Represents the membership function, with a value range between [0, 1], indicating the degree to which the relationship R holds. Based on the set of fuzzy logic propositions, a fuzzy reasoning rule base is constructed. The fuzzy reasoning rule base contains a series of fuzzy logic rules used for reasoning and decision-making in fuzzy logic systems. For example, the rule can be expressed as: if the traffic flow is high and the air quality is poor, the energy consumption increases. Through these rules, the uncertainty in complex systems is reasoned and analyzed. The fuzzy reasoning rule base is subjected to probabilistic graph analysis to obtain a Bayesian belief network. The Bayesian belief network is a directed acyclic graph used to represent conditional dependencies between random variables. Nodes represent random variables, and edges represent conditional dependencies. By calculating the posterior probability distribution of the Bayesian belief network, the dependencies and uncertainties between different variables are quantified. For example, suppose the random variable and Represent traffic flow and air quality respectively, and their conditional probabilities It can be calculated by Bayes' theorem:

[0101] ;

[0102] in, Indicates that at a given air quality Traffic flow The probability of and denote the prior probabilities of air quality and traffic flow, respectively. Based on the posterior probability distribution, a logic-guided network optimization scheme is generated. The logic-guided network optimization scheme optimizes the network structure and parameters by combining logical reasoning and probability analysis. For example, by analyzing the posterior probability of the Bayesian belief network, it is determined which network parameters have the greatest impact on system performance, so as to optimize these parameters. A gradient analysis is performed on the logic-guided network optimization scheme to obtain a neural-symbolic joint learning framework. Gradient analysis guides parameter update by calculating the gradient of the loss function relative to the parameter, so that the network gradually approaches the optimal state. Under the neural-symbolic joint learning framework, adversarial training is performed. Adversarial training is to enhance the robustness and generalization ability of the model by introducing adversarial samples. The adversarial sample generator is used to generate challenging adversarial samples so that the model can still maintain high performance under adversarial samples. Through adversarial training, the model can better cope with complex and changeable situations in the real world. According to the adversarial sample generator, a decision path tracing graph is generated. The decision path tracing graph records the decision path and reasoning process of the model under adversarial samples. For example, in a smart city management system, the decision path tracing graph can show how the system makes decisions and adjustments when a sudden traffic incident occurs. By analyzing the decision path tracing graph, the decision-making ability and response speed of the model are optimized. Through the integration of the decision path tracing graph, the neural symbolic hybrid model is obtained. For example, in a smart city management system, the neural symbolic hybrid model can simultaneously handle complex data analysis and rule-based decision-making to achieve efficient and intelligent city management.

[0103] In a specific embodiment, the process of executing step S106 may specifically include the following steps:

[0104] (1) Perform wavelet transform on the model input data to obtain a multi-scale coefficient matrix, and perform threshold sparsification on the multi-scale coefficient matrix to obtain sparsely represented input data;

[0105] (2) Perform singular value decomposition on the parameter matrix of the neural symbolic hybrid model to obtain a low-rank representation, and generate compressed model parameters based on the low-rank representation;

[0106] (3) Perform sparsity analysis on the sparsely represented input data and compressed model parameters to obtain a sparse pattern description, and construct a sparse computing scheme based on the sparse pattern description;

[0107] (4) Compressed sensing is performed on the sparse computing scheme to obtain a random measurement matrix, and a compressed sensing sampling scheme is created based on the random measurement matrix;

[0108] (5) Evaluate the information loss of the compressed sensing sampling scheme to obtain a dynamic compressed sensing scheme, and integrate the dynamic compressed sensing scheme with the sparse computing scheme to obtain a sparse compression joint optimization strategy;

[0109] (6) Based on the sparse compression joint optimization strategy, an edge node task allocation scheme is constructed, and data is reconstructed through the edge node task allocation scheme to obtain the model output data.

[0110] Specifically, wavelet transform is performed on the model input data. Wavelet transform is a mathematical tool that can analyze signals at multiple scales and capture the local characteristics of signals. By performing wavelet transform on the input data, a multi-scale coefficient matrix is ​​obtained. Assume that the input data is , the coefficient matrix can be obtained through wavelet transform ,in Indicated in The scale and The wavelet coefficients at each moment. Threshold sparseness is performed on the wavelet coefficient matrix, and the coefficients in the coefficient matrix are threshold processed. The coefficients less than a certain threshold will be set to zero. Set the threshold , then the coefficient matrix after sparseness It can be expressed as: Perform singular value decomposition on the parameter matrix of the neural symbolic mixture model. Assume that the parameter matrix is , decomposed into the product of three matrices through singular value decomposition: .in, and is an orthogonal matrix, is a diagonal matrix whose diagonal elements are singular values. By retaining the larger singular values, a low-rank representation is obtained, that is, the matrix Assume that the previous singular values, then the compressed model parameter matrix It can be expressed as: in , and They are ,Σ and The middle corresponds to the front singular value part. Perform sparsity analysis on the sparsely represented input data and compressed model parameters to obtain a sparse pattern description. The sparse pattern description is used to capture the sparse characteristics of the input data and model parameters, thereby constructing a sparse computing scheme. The sparse computing scheme is a strategy for optimizing computing resources and can effectively process sparse data. According to the sparse pattern description, a sparse computing scheme is constructed, which includes sparse matrix multiplication, sparse vector operations, etc. Compressed sensing is performed on the sparse computing scheme. For sparse signals, a small number of random measurements are used to accurately restore the signal. Assume is a random measurement matrix, If it is a sparse signal, the measured value It can be expressed as: . Based on compressed sensing, a compressed sensing sampling scheme is created to sample the input data and model parameters to obtain sparsely represented data and parameters. The compressed sensing sampling scheme is evaluated for information loss to ensure the effectiveness of the sampling scheme. By evaluating the information loss, a dynamic compressed sensing scheme is obtained to dynamically adjust the sampling rate and measurement matrix to optimize the compression and transmission efficiency of the data. The dynamic compressed sensing scheme is integrated with the sparse computing scheme to obtain a sparse compression joint optimization strategy. Based on the sparse compression joint optimization strategy, an edge node task allocation scheme is constructed. The edge node task allocation scheme is a distributed computing strategy that allocates computing tasks to multiple edge nodes to improve computing efficiency and response speed. Through the edge node task allocation scheme, data reconstruction is effectively performed to obtain the output data of the model.

[0111] The above describes the deep learning optimization method for edge computing servers in the embodiment of the present application. The following describes the deep learning optimization device for edge computing servers in the embodiment of the present application. Figure 2 In the embodiment of the present application, an embodiment of a deep learning optimization device for an edge computing server includes:

[0112] The reconstruction module 201 is used to dynamically reconstruct the topology of the neural network structure to obtain a reconfigurable neuron module and perform connection optimization and weight mapping to obtain an adaptive network structure;

[0113] Fusion module 202, used to perform multimodal data processing enhancement on the adaptive network structure to obtain a multimodal perception network and fuse it with a predefined knowledge graph to obtain a knowledge-enhanced network structure;

[0114] Allocation module 203, used to dynamically cluster neurons in the knowledge-enhanced network structure to obtain functional neuron clusters and perform resource allocation and dynamic memory management to obtain a resource-optimized network structure;

[0115] A deployment module 204 is used to obtain device resource information of the edge device network and perform distributed deployment on the resource-optimized network structure to obtain an edge collaborative computing solution;

[0116] The optimization module 205 is used to perform symbolic logic conversion on the network intermediate representation in the edge collaborative computing solution to obtain a logical expression and perform soft logic reasoning and feedback optimization to obtain a neural-symbolic hybrid model;

[0117] The reconstruction module 206 is used to perform sparse representation and compressed sensing on the model input data and the neural symbolic hybrid model, obtain a sparse computing solution and perform distributed reasoning and data reconstruction to obtain model output data.

[0118] Through the collaboration of the above components, the modularization of neurons and the dynamic connection reorganization, the flexible adjustment of the network structure is achieved, the adaptability of the model to different tasks and data is improved, and the input information and semantic understanding ability of the model are enriched by combining multimodal data processing and knowledge graph fusion, and the performance of the model in complex scenarios is improved. Through the dynamic clustering of neurons and resource allocation strategy, the efficient use of computing resources is achieved, the computational complexity of the network is reduced, and the operation efficiency of the model on the edge device is improved. The distributed deployment scheme based on device resource information realizes the collaborative computing of the model on heterogeneous edge devices. Through symbolic logic conversion and soft logic reasoning, the learning ability of the neural network and the reasoning ability of the symbolic system are combined to improve the reasoning accuracy and robustness of the model. The use of sparse representation and compressed sensing technology greatly reduces the demand for data storage and transmission. Through dynamic resource allocation and memory management strategies, the resource utilization and operation stability of the system are improved. In the distributed deployment process, data privacy and security are considered, the data protection ability of the model in the edge computing environment is enhanced, and a collaborative computing framework between edge devices and cloud servers is established, which realizes the flexible allocation and dynamic adjustment of computing tasks and makes full use of the computing resources of the edge and cloud.

[0119] The present application also provides a deep learning optimization device for an edge computing server, wherein the deep learning optimization device for an edge computing server comprises a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the deep learning optimization method for an edge computing server in the above-mentioned embodiments.

[0120] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the deep learning optimization method for an edge computing server.

[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0122] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0123] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A deep learning optimization method for edge computing servers, characterized in that: The method comprises: Dynamically reconstruct the topology of the neural network structure to obtain reconfigurable neuron modules and perform connection optimization and weight mapping to obtain an adaptive network structure; The adaptive network structure is enhanced by multimodal data processing to obtain a multimodal perception network and then integrated with a predefined knowledge graph to obtain a knowledge-enhanced network structure. The knowledge-enhanced network structure is subjected to dynamic neuron clustering to obtain functional neuron clusters, and resource allocation and dynamic memory management are performed to obtain a resource-optimized network structure; specifically, the method comprises: extracting neuron function features from the knowledge-enhanced network structure to obtain neuron function vectors, and performing spectral clustering through the neuron function vectors to obtain initial function cluster divisions; performing boundary fuzzification processing on the initial function cluster divisions to obtain a soft cluster membership matrix, and constructing dynamic inter-cluster connection weights based on the soft cluster membership matrix to obtain functional neuron clusters; performing computational complexity analysis on the functional neuron clusters to obtain cluster-level computational load estimation, and performing spectral clustering based on the cluster-level computational load estimation. Generate a preliminary resource allocation plan; perform simulation tests on the preliminary resource allocation plan to obtain a resource utilization curve, and generate a dynamic resource allocation strategy based on the resource utilization curve; perform reliability assessment on the dynamic resource allocation strategy to obtain a set of fault-sensitive points, and perform memory access pattern analysis based on the set of fault-sensitive points to obtain hot data distribution; construct a multi-level memory architecture based on the hot data distribution, and perform concurrent conflict detection on the multi-level memory architecture to obtain potential bottleneck points; generate a conflict-optimized memory access plan based on the potential bottleneck points, and integrate the conflict-optimized memory access plan and the functional neuron cluster to obtain a resource-optimized network structure; Obtain the device resource information of the edge device network and perform distributed deployment on the resource-optimized network structure to obtain an edge collaborative computing solution; specifically, the method includes: performing a topological scan on the edge device network to obtain a network topology map, and constructing a device communication matrix based on the network topology map; performing a hardware resource analysis on the edge device network based on the device communication matrix to obtain device resource information; performing device capability level classification on the device resource information and generating a corresponding initial task allocation solution; performing a load balancing analysis on the initial task allocation solution to obtain a task-device matching matrix, and generating a target task allocation solution based on the task-device matching matrix; performing a communication overhead evaluation on the target task allocation solution to obtain an estimate of the amount of data transmitted between devices, and generating a deployment strategy based on the estimated amount of data transmitted; performing a model segmentation on the resource-optimized network structure based on the deployment strategy to obtain a sub-model deployment solution, and integrating the sub-model deployment solution to obtain an edge-cloud collaborative computing map; constructing a dynamic resource scheduler based on the edge-cloud collaborative computing map, and generating an edge collaborative computing solution based on the dynamic resource scheduler; Perform symbolic logic conversion on the intermediate representation of the network in the edge collaborative computing solution to obtain a logical expression and perform soft logic reasoning and feedback optimization to obtain a neural-symbolic hybrid model; The model input data and the neural-symbolic hybrid model are sparsely represented and compressed, a sparse computing scheme is obtained, and distributed reasoning and data reconstruction are performed to obtain model output data.

2. The deep learning optimization method for edge computing servers according to claim 1, characterized in that: The method of dynamically reconstructing the neural network structure to obtain a reconfigurable neuron module and performing connection optimization and weight mapping to obtain an adaptive network structure includes: Decomposing the neural network structure hierarchically to obtain a neuron unit set, and grouping the neuron unit set to obtain an initial neuron module; Functionally encoding the initial neuron module to obtain a module feature vector, and performing similarity calculation on the initial neuron module based on the module feature vector to obtain an inter-module correlation strength matrix; According to the inter-module association strength matrix, dynamically connect and reorganize the initial neuron module to obtain a reconfigurable neuron module, and calculate the inter-module optimal connection path of the reconfigurable neuron module; Initializing the weights of the neural network structure according to the optimal connection path between the modules to obtain an initial weight distribution, and adjusting the initial weight distribution to obtain an orthogonalized weight matrix; The neural network structure is adaptively reconstructed according to the orthogonalized weight matrix to obtain an adaptive network structure.

3. The deep learning optimization method for edge computing servers according to claim 2, characterized in that: The multimodal data processing enhancement is performed on the adaptive network structure to obtain a multimodal perception network and merge it with a predefined knowledge graph to obtain a knowledge-enhanced network structure, including: Performing modal branch expansion on the adaptive network structure to obtain a multimodal input layer, and constructing a modal feature extractor set according to the multimodal input layer; Performing an attention mechanism analysis on the set of modal feature extractors to obtain intra-modal attention weights, and weighting the importance by the intra-modal attention weights to obtain weighted modal features; Performing a cross-modal projection transformation on the weighted modal features and constructing a modal alignment optimization target, and constructing a multimodal fusion layer according to the modal alignment optimization target; Performing temporal dependency modeling on the multimodal fusion layer to obtain a multimodal perception network, and performing entity linking on the multimodal perception network and a predefined knowledge graph to obtain an entity alignment result; Performing graph structure encoding through the entity alignment result to obtain a knowledge graph embedding representation, and constructing a hierarchical reasoning module based on the knowledge graph embedding representation to obtain a multi-level semantic understanding structure; The multi-level semantic understanding structures are integrated to obtain a knowledge-enhanced network structure.

4. The deep learning optimization method for edge computing servers according to claim 1, characterized in that: The network intermediate representation in the edge collaborative computing solution is converted into symbolic logic to obtain a logical expression and perform soft logic reasoning and feedback optimization to obtain a neural symbolic hybrid model, including: Perform semantic segmentation on the network intermediate representation in the edge collaborative computing solution to obtain a set of concept units, and construct a concept relationship graph based on the set of concept units; Performing ontology mapping on the concept relationship graph to obtain a formalized ontology structure, and designing predicate logic transformation rules according to the formalized ontology structure to obtain a logical expression; Performing fuzzification processing on the logic expression to obtain a fuzzy logic proposition set, and constructing a fuzzy reasoning rule library based on the fuzzy logic proposition set; Performing probability graph analysis on the fuzzy inference rule base to obtain a Bayesian belief network, and calculating the posterior probability distribution based on the Bayesian belief network; generating a logic-guided network optimization scheme according to the posterior probability distribution, and performing gradient analysis on the logic-guided network optimization scheme to obtain a neural-symbolic joint learning framework; Performing adversarial training on the neural-symbolic joint learning framework to obtain an adversarial sample generator, and generating a decision path tracing graph based on the adversarial sample generator; The decision path tracing graph is integrated to obtain a neural symbolic hybrid model.

5. The deep learning optimization method for edge computing servers according to claim 4, characterized in that: The method performs sparse representation and compressed sensing on the model input data and the neural symbolic hybrid model to obtain a sparse computing solution and perform distributed reasoning and data reconstruction to obtain model output data, including: Performing wavelet transform on the model input data to obtain a multi-scale coefficient matrix, and performing threshold thinning on the multi-scale coefficient matrix to obtain sparsely represented input data; Performing singular value decomposition on a parameter matrix of the neural symbolic hybrid model to obtain a low-rank representation, and generating compressed model parameters according to the low-rank representation; Performing sparsity analysis on the sparsely represented input data and the compressed model parameters to obtain a sparse pattern description, and constructing a sparse computing scheme based on the sparse pattern description; Performing compressed sensing on the sparse computing scheme to obtain a random measurement matrix, and creating a compressed sensing sampling scheme according to the random measurement matrix; Performing information loss evaluation on the compressed sensing sampling scheme to obtain a dynamic compressed sensing scheme, and fusing the dynamic compressed sensing scheme with the sparse computing scheme to obtain a sparse compression joint optimization strategy; According to the sparse compression joint optimization strategy, an edge node task allocation scheme is constructed, and data reconstruction is performed through the edge node task allocation scheme to obtain model output data.

6. A deep learning optimization device for edge computing servers, characterized in that: The device comprises: The reconstruction module is used to dynamically reconstruct the topology of the neural network structure, obtain reconfigurable neuron modules, and perform connection optimization and weight mapping to obtain an adaptive network structure; A fusion module is used to perform multimodal data processing enhancement on the adaptive network structure to obtain a multimodal perception network and fuse it with a predefined knowledge graph to obtain a knowledge-enhanced network structure; The allocation module is used to perform dynamic neuron clustering on the knowledge-enhanced network structure to obtain functional neuron clusters and perform resource allocation and dynamic memory management to obtain a resource-optimized network structure; specifically, the module comprises: extracting neuron function features on the knowledge-enhanced network structure to obtain neuron function vectors, and performing spectral clustering on the neuron function vectors to obtain initial function cluster divisions; performing boundary fuzzification processing on the initial function cluster divisions to obtain a soft cluster membership matrix, and constructing dynamic inter-cluster connection weights based on the soft cluster membership matrix to obtain functional neuron clusters; performing computational complexity analysis on the functional neuron clusters to obtain cluster-level computational load estimation, and performing spectral clustering on the cluster-level computational load estimation based on the cluster-level computational load estimation; Generate a preliminary resource allocation plan based on the load estimation; perform simulation test on the preliminary resource allocation plan to obtain a resource utilization curve, and generate a dynamic resource allocation strategy based on the resource utilization curve; perform reliability evaluation on the dynamic resource allocation strategy to obtain a set of fault sensitive points, and perform memory access mode analysis based on the set of fault sensitive points to obtain hot data distribution; construct a multi-level memory architecture based on the hot data distribution, and perform concurrent conflict detection on the multi-level memory architecture to obtain potential bottleneck points; generate a conflict-optimized memory access plan based on the potential bottleneck points, and integrate the conflict-optimized memory access plan and the functional neuron cluster to obtain a resource-optimized network structure; A deployment module is used to obtain device resource information of an edge device network and perform distributed deployment on the resource-optimized network structure to obtain an edge collaborative computing solution; specifically comprising: performing a topological scan on the edge device network to obtain a network topology map, and constructing a device communication matrix based on the network topology map; performing a hardware resource analysis on the edge device network based on the device communication matrix to obtain device resource information; performing device capability level classification on the device resource information and generating a corresponding initial task allocation solution; performing a load balancing analysis on the initial task allocation solution to obtain a task-device matching matrix, and generating a target task allocation solution based on the task-device matching matrix; performing a communication overhead evaluation on the target task allocation solution to obtain an estimate of the amount of data transmitted between devices, and generating a deployment strategy based on the estimated amount of data transmitted; performing a model segmentation on the resource-optimized network structure based on the deployment strategy to obtain a sub-model deployment solution, and integrating the sub-model deployment solution to obtain an edge-cloud collaborative computing map; constructing a dynamic resource scheduler based on the edge-cloud collaborative computing map, and generating an edge collaborative computing solution based on the dynamic resource scheduler; The optimization module is used to perform symbolic logic conversion on the intermediate representation of the network in the edge collaborative computing solution, obtain the logical expression, and perform soft logic reasoning and feedback optimization to obtain the neural-symbolic hybrid model; The reconstruction module is used to perform sparse representation and compressed sensing on the model input data and the neural symbolic hybrid model, obtain a sparse computing solution and perform distributed reasoning and data reconstruction to obtain model output data.

7. A deep learning optimization device for edge computing servers, characterized in that: The deep learning optimization device for edge computing servers includes: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory so that the deep learning optimization device for edge computing servers executes the deep learning optimization method for edge computing servers as described in any one of claims 1-5.

8. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, a deep learning optimization method for an edge computing server as described in any one of claims 1-5 is implemented.

Citation Information

Patent Citations

  • Multi-modal big data machine automatic learning system based on nerves and symbols

    CN113408703A

  • Resource allocation method and system based on sparse knowledge graph link prediction

    CN116302481A

  • Knowledge graph driven semantic governance scheme dynamic generation method and system

    CN118114758A

  • Deep adaptive semantic logic network

    US20200193286A1

  • Neuromorphic hardware for processing a knowledge graph represented by observed triple statements and method for training a learning component

    US20220230056A1