A deep learning-based intelligent computing resource dynamic allocation method
The Gumbel-Sinkhorn model, which uses multidimensional resource residual feedback, solves the problem of difficulty in representing differences in resource consumption in intelligent computing resource allocation. It achieves efficient and stable resource matching and allocation, and improves resource utilization efficiency and adaptability.
Patent Information
- Application Number
- CN202611421775.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-14
- Publication Date
- 2026-11-24
AI Technical Summary
Existing intelligent computing resource allocation methods are unable to accurately represent the differences in resource consumption under different processor types and models, resulting in idle or overloaded resources, and lack of dynamic adaptability and matching accuracy.
A multi-dimensional resource residual back-feedback Gumbel-Sinkhorn model is adopted. Task and resource features are extracted through the feature encoding layer to generate a matching score matrix and consumption tensor. Combined with Gumbel perturbation and task-side normalization, resource occupancy is processed cyclically, non-conflict matching is locked and conflict local submatrices are reprocessed to generate the final resource allocation scheme.
It improves the accuracy and capacity adaptability of heterogeneous intelligent computing resource matching, reduces resource overload, and enhances resource utilization efficiency and the feasibility and stability of allocation.
Smart Images

Figure CN123157446A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent computing resource allocation technology, and in particular to a method for dynamic allocation of intelligent computing resources based on deep learning. Background Technology
[0002] As the scale of AI training and inference tasks continues to grow, intelligent computing platforms are typically configured with CPUs, GPUs, NPUs, memory, storage space, and network bandwidth simultaneously. Existing resource scheduling solutions mostly rely on task priority, requested resource quantity, and node load, employing static rules, threshold filtering, or load balancing strategies to select execution nodes. Some solutions utilize machine learning models to predict resource requirements and execution durations based on historical tasks, and then allocate tasks according to the prediction results. However, the actual resource consumption of the same model varies under different processor types, models, and numerical precisions. Fixed task resource requirements are difficult to represent the paired consumption between specific tasks and resource nodes, easily leading to resource idleness or node overload.
[0003] To improve task allocation efficiency, existing technologies employ constraint optimization, reinforcement learning, or Gumbel-Sinkhorn differentiable matching methods to generate scheduling results, and handle resource conflicts through penalty terms, capacity filtering, or task migration. Traditional Gumbel-Sinkhorn primarily focuses on one-to-one matching with unit sums, making it difficult to directly represent situations where resource nodes can support multiple tasks or have varying capacities. Even after discretization, soft matching may still result in resource overload, and existing global rematching methods alter matching results that already satisfy capacity. Existing solutions also lack a processing mechanism that integrates paired resource consumption prediction, multi-dimensional overload residual reloading, conflict local rematching, and actual resource consumption feedback, making it difficult to simultaneously guarantee the accuracy of heterogeneous resource matching, the executability of allocation results, and dynamic adaptability.
[0004] Therefore, how to provide a method for dynamic allocation of intelligent computing resources based on deep learning is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] One objective of this invention is to propose a dynamic allocation method for intelligent computing resources based on deep learning. This invention adopts a multi-dimensional resource residual return-type Gumbel-Sinkhorn model to realize dynamic matching and conflict return of heterogeneous intelligent computing resources, which has the advantages of accurate allocation, capacity adaptation and stable operation.
[0006] A method for dynamic allocation of intelligent computing resources based on deep learning according to an embodiment of the present invention includes the following steps: Collect intelligent computing task data including model type and resource requirements, resource node status data including processor type and remaining resource capacity, and historical task resource feedback data. After type encoding and normalization based on the same type, generate task input set and resource input set. Construct a multidimensional resource residual reinvestment Gumbel-Sinkhorn model; The feature encoding layer processes the task input set and the resource input set respectively, generating the intelligent computing task feature set and the intelligent computing resource feature set. After being combined by the pairing prediction layer, the task resource matching score matrix and the pairing resource consumption tensor are generated. The residual back-feeding matching layer shields incompatible combinations of processor type and model type, performs Gumbel perturbation and task-side normalization on the task resource matching score matrix, generates and back-feeds multidimensional resource residuals based on the paired resource consumption tensor and remaining resource capacity, and processes them cyclically until the expected resource occupancy does not exceed the remaining resource capacity to obtain the task resource soft matching matrix. The conflict rematch layer discretizes the task resource soft matching matrix, generates the initial task resource matching result, extracts the conflict local submatrix corresponding to resource overload, locks the non-conflict matching, and re-executes residual rematching on the conflict local submatrix to generate the final task resource matching result. Based on the final task resource matching results and the paired resource consumption tensor, a smart computing resource allocation scheme is generated and executed. Actual resource consumption data is collected and task resource feedback data is generated. Historical task resource feedback data and resource node status data are updated.
[0007] Optionally, the generation of the task input set and resource input set specifically includes: Based on the time when the intelligent computing task enters the allocation queue, select the status data of the most recent resource node no later than that time, and extract the historical task resource feedback data before that time. Integer indexing and embedding encoding are performed on model type and processor type respectively, and one-hot encoding is performed on task priority and service level to obtain task type encoding and resource type encoding; Robust standardization is performed on task size and resource requirements according to model type, and the remaining resource capacity is normalized by processor type with rated resource capacity to obtain task numerical characteristics and resource capacity characteristics. By combining historical task resource feedback data with model type and processor type, the deviation between actual resource consumption and allocated resource amount is calculated to generate task resource feedback characteristics. The task type code, task numerical features, and task resource feedback features indexed by processor type are combined into a task input set, and the resource type code and resource capacity features are combined into a resource input set.
[0008] Optionally, the multidimensional resource residual re-projection Gumbel-Sinkhorn model includes a feature encoding layer, a pairing prediction layer, a residual re-projection matching layer, and a conflict re-projection layer.
[0009] Optionally, the generation of the task resource matching score matrix and the paired resource consumption tensor specifically includes: In the feature coding layer, the task feature coding branch and the resource feature coding branch respectively encode the task input set and the resource input set, generating the intelligent computing task feature set and the intelligent computing resource feature set; The pairing prediction layer performs difference operations, product operations, and sequential concatenation operations on each intelligent computing task feature and each intelligent computing resource feature respectively to generate task-resource pairing features; The matching score output header processes the task resource pairing features, generates a matching score for each intelligent computing task and each resource node, and generates a task resource matching score matrix according to the pairing position. The resource consumption output header processes the task resource pairing features and uses the corresponding task resource feedback features to correct the output results, generating a paired resource consumption tensor.
[0010] Optionally, the generation of the task resource soft matching matrix specifically includes: The residual back-feedback matching layer uses processor compatibility flags to mask incompatible task resource pairing locations and generates an effective task resource matching score matrix. Perform Gumbel perturbation and task-side normalization on the effective task resource matching score matrix to generate an initial task resource soft matching matrix; Based on the current task resource soft matching matrix and the paired resource consumption tensor, calculate the expected resource occupancy of each resource node; The projected resource usage is compared with the corresponding remaining resource capacity to generate multi-dimensional resource residuals for each resource node. Based on the contribution of each task resource pairing position to the consumption of multidimensional resource residuals, residual back-feedback is performed, the effective task resource matching score matrix is corrected, and task-side normalization is re-performed. The expected resource usage, multidimensional resource residuals, and residual feedback values are calculated iteratively until the expected resource usage of each resource node does not exceed the corresponding remaining resource capacity, thus obtaining the task resource soft matching matrix.
[0011] Optionally, after each round of the loop, the residuals of computing power, memory or video memory, storage space, and network bandwidth are checked. The loop stops when all multidimensional resource residuals are 0, and the current task resource soft matching matrix is used as the task resource soft matching matrix. If there are still non-zero multidimensional resource residuals after 20 rounds of looping, the multidimensional resource residual with the largest value is determined. The intelligent computing task with the lowest priority and the largest consumption contribution is selected from the intelligent computing tasks that have a consumption contribution to the corresponding multidimensional resource residual. The intelligent computing task is kept in the waiting queue and excluded from the matching in this round. Based on the remaining intelligent computing tasks, Gumbel perturbation, task-side normalization, expected resource usage calculation, multidimensional resource residual generation, and residual return are re-executed until all multidimensional resource residuals are 0.
[0012] Optionally, the generation of the final task resource matching result specifically includes: The conflict matching layer discretizes the task resource soft matching matrix according to the maximum soft matching weight corresponding to each intelligent computing task, and generates the initial task resource matching result. Based on the initial task resource matching results and the paired resource consumption tensor, the discrete resource occupancy is calculated and compared with the remaining resource capacity to determine resource overload and discrete resource residuals; Non-conflict matching is locked to resource nodes that have not experienced resource overload, and conflict local sub-matrices are extracted based on the intelligent computing tasks and candidate resource nodes corresponding to resource overload. The discrete resource residuals are back-projected onto the conflict local submatrix, and the residual back-projection matching is re-executed on the conflict local submatrix to generate the conflict task local matching results. The conflicting task local matching results are merged with the non-conflicting matching results, resource overload is rechecked and conflicting local reconfiguration is performed repeatedly to generate the final task resource matching results.
[0013] Optionally, the generation of the task resource feedback data specifically includes: Based on the final task resource matching result, locate the corresponding position in the paired resource consumption tensor, convert the corresponding paired resource consumption into resource allocation amount, and generate a smart computing resource allocation scheme. According to the intelligent computing resource allocation scheme, resource quotas are established on the corresponding resource nodes and intelligent computing tasks are started, generating task execution identifiers corresponding to the intelligent computing tasks. Collect resource usage data and execution time during the operation of intelligent computing tasks according to task execution identifiers, and generate actual resource consumption data; The actual resource consumption data is compared with the intelligent computing resource allocation scheme and the corresponding paired resource consumption to generate task resource feedback data. Task resource feedback data is written into historical task resource feedback data according to model type and processor type, and resource node status data is updated based on resource quota establishment, occupation and release results.
[0014] The beneficial effects of this invention are: This invention extracts intelligent computing task features and intelligent computing resource features through a feature encoding layer, and simultaneously generates a task resource matching score matrix and a paired resource consumption tensor by a pairing prediction layer. This allows each intelligent computing task to be paired and characterized in terms of computing power, memory or GPU memory, storage space, network bandwidth, and expected execution time on different processor types and resource nodes. Compared to a fixed allocation method based on the amount of resources requested by the task, this method reflects the combined impact of model type, task size, processor type, and historical execution deviations on resource consumption, improving the accuracy of heterogeneous intelligent computing resource demand prediction and task resource matching.
[0015] This invention adds a residual back-feeding matching layer to the Gumbel-Sinkhorn framework, retaining Gumbel perturbations and task-side normalization, and replacing resource-side units and normalization with multi-dimensional resource residual back-feeding. The estimated resource occupancy of each resource node is calculated using the paired resource consumption tensor. Multi-dimensional resource residuals are generated based on the estimated resource occupancy and remaining resource capacity. The matching score is then adjusted according to the consumption contribution of each task resource pairing position. This allows the capacity status of computing power, memory or GPU memory, storage space, and network bandwidth to directly participate in the soft matching iteration, thereby reducing the resource overload before discretization of the task resource soft matching matrix and improving the resource capacity adaptability of the matching results.
[0016] This invention, after discretizing the task resource soft matching matrix, locks non-conflicting matches and extracts the conflicting local submatrices corresponding to resource overload. It only re-executes residual back-matching for conflicting tasks, reducing the computational overhead of global re-matching and the changes in already determined matching results. By converting the final task resource matching results into executable resource quotas and updating historical task resource feedback data and resource node status data using actual resource consumption data, subsequent resource consumption prediction and dynamic allocation continuously adapt to the operational changes of intelligent computing tasks and resource nodes, improving the executability, stability, and resource utilization efficiency of intelligent computing resource allocation. Attached Figure Description
[0017] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a flowchart of a deep learning-based intelligent computing resource dynamic allocation method proposed in this invention; Figure 2 This is a flowchart illustrating the multi-dimensional resource residual reinvestment process of a deep learning-based intelligent computing resource dynamic allocation method proposed in this invention. Detailed Implementation
[0018] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, illustrating only the basic structure of the invention, and therefore only show the components relevant to the invention.
[0019] refer to Figures 1-2 A method for dynamic allocation of intelligent computing resources based on deep learning includes the following steps: Collect intelligent computing task data including model type and resource requirements, resource node status data including processor type and remaining resource capacity, and historical task resource feedback data. After type encoding and normalization based on the same type, generate task input set and resource input set. Construct a multidimensional resource residual reinvestment Gumbel-Sinkhorn model; The feature encoding layer processes the task input set and the resource input set respectively, generating the intelligent computing task feature set and the intelligent computing resource feature set. After being combined by the pairing prediction layer, the task resource matching score matrix and the pairing resource consumption tensor are generated. The residual back-feeding matching layer shields incompatible combinations of processor type and model type, performs Gumbel perturbation and task-side normalization on the task resource matching score matrix, generates and back-feeds multidimensional resource residuals based on the paired resource consumption tensor and remaining resource capacity, and processes them cyclically until the expected resource occupancy does not exceed the remaining resource capacity to obtain the task resource soft matching matrix. The conflict rematch layer discretizes the task resource soft matching matrix, generates the initial task resource matching result, extracts the conflict local submatrix corresponding to resource overload, locks the non-conflict matching, and re-executes residual rematching on the conflict local submatrix to generate the final task resource matching result. Based on the final task resource matching results and the paired resource consumption tensor, a smart computing resource allocation scheme is generated and executed. Actual resource consumption data is collected and task resource feedback data is generated. Historical task resource feedback data and resource node status data are updated.
[0020] In this embodiment, the generation of the task input set and the resource input set specifically includes: Based on the time when the intelligent computing task enters the allocation queue, select the status data of the most recent resource node no later than that time, and extract the historical task resource feedback data before that time. The resource node status data is collected and the sampling time is marked according to a 1-second sampling period. The resource node status data of each resource node is retrieved in reverse order of the sampling time, and the data with the smallest interval between the sampling time and the time when the intelligent computing task enters the allocation queue is selected. When the sampling time of the selected resource node status data differs from the time when the intelligent computing task enters the allocation queue by more than 2 seconds, the corresponding resource node is excluded. The historical task resource feedback data is generated by the intelligent computing tasks that have been completed before entering the allocation queue. Integer indexing and embedding encoding are performed on model type and processor type respectively, and one-hot encoding is performed on task priority and service level to obtain task type encoding and resource type encoding; The model type consists of a model architecture identifier, a training or inference identifier, and a numerical precision identifier. The same model type is mapped to the same integer index and converted into a 16-dimensional model type code through an embedding layer. The processor type consists of a CPU, GPU, or NPU identifier and a processor model identifier. The same processor type is mapped to the same integer index and converted into an 8-dimensional processor type code through an embedding layer. Task priority is converted into a 4-dimensional one-hot encoding, and service level is converted into a 4-dimensional one-hot encoding. The task type encoding is formed according to the order of model type encoding, task priority encoding, and service level encoding. The resource type encoding is formed according to the processor type encoding. Robust standardization is performed on task size and resource requirements according to model type, and the remaining resource capacity is normalized by processor type with rated resource capacity to obtain task numerical characteristics and resource capacity characteristics. The robust standardization selects the 1024 most recently executed intelligent computing tasks according to the model type, and calculates the median and interquartile range of task size, computing power requirements, memory or GPU memory requirements, storage requirements, bandwidth requirements, maximum completion time, parallelism, and input data volume. The difference between each data point and the corresponding median is divided by the corresponding interquartile range, and the resulting value is limited to between -5 and 5, forming an 8-dimensional task numerical feature. The rated resource capacity includes rated computing throughput, physical memory or GPU memory capacity, allocable storage capacity, and rated network bandwidth. The remaining resource capacity of each data point is divided by the rated resource capacity corresponding to the same processor type, and combined with the current task occupancy rate and node availability status to form a 6-dimensional resource capacity feature. By combining historical task resource feedback data with model type and processor type, the deviation between actual resource consumption and allocated resource amount is calculated to generate task resource feedback characteristics. The historical task resource feedback data includes model type, processor type, allocated resource amount, actual resource consumption data, estimated execution time, and actual execution time. Based on model type and processor type, the 128 most recent executed intelligent computing tasks that did not experience resource overload and met the service level were selected. The ratios of actual computing power usage, actual memory or video memory usage, actual storage usage, and actual bandwidth usage to the corresponding allocated resource amount were calculated. The ratio of actual execution time to estimated execution time was also calculated. The median of each ratio was limited to between 0.5 and 2, forming a 5-dimensional task resource feedback feature. The task type code, task numerical features, and task resource feedback features indexed by processor type are combined into a task input set, and the resource type code and resource capacity features are combined into a resource input set. Each task input in the task input set is formed by sequentially connecting the task type code, task numerical features, and task resource feedback features corresponding to the CPU, GPU, and NPU, respectively; each resource input in the resource input set is formed by sequentially connecting the resource type code and resource capacity features; the task inputs are arranged according to the order in which the intelligent computing tasks enter the allocation queue, and the resource inputs are arranged according to the order of resource node identifiers.
[0021] In this embodiment, the multidimensional resource residual re-projection Gumbel-Sinkhorn model includes a feature encoding layer, a pairing prediction layer, a residual re-projection matching layer, and a conflict re-projection layer. The feature encoding layer includes a task feature encoding branch and a resource feature encoding branch, which are connected to the pairing prediction layer respectively. The pairing prediction layer includes a matching score output head and a resource consumption output head, which generate a task resource matching score matrix and a pairing resource consumption tensor respectively, and are connected to the residual back-entry matching layer. The residual back-entry matching layer outputs a task resource soft matching matrix and is connected to the conflict back-matching layer. The conflict back-matching layer outputs the final task resource matching result. The improvement of the multidimensional resource residual back-feedback Gumbel-Sinkhorn model over Gumbel-Sinkhorn lies in replacing the single matching score output with matching score output headers and resource consumption output headers. The multidimensional resource consumption of each intelligent computing task on the corresponding resource node is represented by the paired resource consumption tensor. Gumbel perturbation and task-side normalization are retained, while resource-side units and normalization are replaced with multidimensional resource residual generation and back-feedback, so that multidimensional resource residuals participate in the iterative correction of task resource matching scores. After the task resource soft matching matrix is discretized, the conflict local submatrix corresponding to resource overload is extracted, non-conflict matching is locked, and residual back-feedback matching is re-executed on the conflict local submatrix.
[0022] In this embodiment, the generation of the task resource matching score matrix and the paired resource consumption tensor specifically includes: In the feature coding layer, the task feature coding branch and the resource feature coding branch respectively encode the task input set and the resource input set, generating the intelligent computing task feature set and the intelligent computing resource feature set; The task feature encoding branch sequentially consists of an input layer, a first fully connected layer with 128 neurons, a layer normalization layer, a GELU activation layer, a random deactivation layer with a dropout rate of 0.1, and a second fully connected layer with 64 neurons, converting each task input into a 64-dimensional intelligent computing task feature. The resource feature encoding branch sequentially consists of an input layer, a first fully connected layer with 64 neurons, a layer normalization layer, a GELU activation layer, and a second fully connected layer with 64 neurons, converting each resource input into a 64-dimensional intelligent computing resource feature. The weights of each fully connected layer are initialized using a Xavier uniform distribution, and the bias is initialized to 0. The pairing prediction layer performs difference operations, product operations, and sequential concatenation operations on each intelligent computing task feature and each intelligent computing resource feature respectively to generate task-resource pairing features; The difference operation performs absolute value calculation on the corresponding positions of the 64-dimensional intelligent computing task features and the 64-dimensional intelligent computing resource features to obtain 64-dimensional difference features; the product operation performs multiplication calculation on the corresponding positions of the 64-dimensional intelligent computing task features and the 64-dimensional intelligent computing resource features to obtain 64-dimensional product features; 5-dimensional task resource feedback features corresponding to the current processor type are extracted from the task input set, and a 1-dimensional processor compatibility mark is generated according to the model type and processor type; the intelligent computing task features, intelligent computing resource features, difference features, product features, task resource feedback features, and processor compatibility mark are connected in the order of intelligent computing task features, intelligent computing resource features, difference features, product features, task resource feedback features, and processor compatibility mark to form 262-dimensional task resource pairing features; The matching score output header processes the task resource pairing features, generates a matching score for each intelligent computing task and each resource node, and generates a task resource matching score matrix according to the pairing position. The matching score output head is sequentially configured with a first fully connected layer containing 128 neurons, a GELU activation layer, a second fully connected layer containing 32 neurons, another GELU activation layer, and a linear output layer containing 1 neuron. The linear output layer does not have an output activation function and retains the positive and negative values of the matching score. The rows of the task resource matching score matrix are arranged according to the order in which the intelligent computing tasks enter the allocation queue, and the columns are arranged according to the order of the resource node identifiers. Each matrix position corresponds to a task resource pairing feature. The resource consumption output head processes the task resource pairing features and uses the corresponding task resource feedback features to correct the output results, generating a paired resource consumption tensor. The resource consumption output head is configured with a first fully connected layer containing 128 neurons, a GELU activation layer, a second fully connected layer containing 64 neurons, another GELU activation layer, and an output layer containing 5 neurons. The first four neurons of the output layer use the Sigmoid activation function to output the proportions of computing power, memory or GPU memory, storage space, and network bandwidth usage, respectively. The fifth neuron uses the Softplus activation function and outputs the estimated execution time. The first four proportions are multiplied by the rated computing throughput, physical memory or GPU memory capacity, allocable storage capacity, and rated network bandwidth of the corresponding resource node, and then multiplied by the corresponding resource consumption ratio in the task resource feedback features. The estimated execution time is multiplied by the execution time ratio in the task resource feedback features to obtain the 5-dimensional paired resource consumption corresponding to each task resource pairing position. All 5-dimensional paired resource consumptions are arranged in the row and column order of the task resource matching score matrix to generate a paired resource consumption tensor. The task feature encoding branch, resource feature encoding branch, matching score output head, and resource consumption output head are jointly trained using historical task resource feedback data with a batch size of 64. The cross-entropy loss is calculated using the actual executed resource nodes as task resource matching labels, and the smoothed absolute error loss is calculated using the actual resource consumption data as paired resource consumption labels. The arithmetic mean of the two losses is used as the training loss. The AdamW optimizer is used to update the model weights, with the initial learning rate set to 0.001 and the weight decay set to 0.0001. Training is stopped when the validation loss does not decrease after 10 consecutive rounds, and the model weights with the lowest validation loss are retained.
[0023] In this embodiment, the generation of the task resource soft matching matrix specifically includes: The residual back-feedback matching layer uses processor compatibility flags to mask incompatible task resource pairing locations and generates an effective task resource matching score matrix. When the processor compatibility flag is 1, the corresponding matching score in the task resource matching score matrix is retained; when the processor compatibility flag is 0, the corresponding matching score is set to the power of negative 10; when the processor compatibility flags corresponding to the same intelligent computing task are all 0, the intelligent computing task is retained in the waiting queue and excluded from this round of matching; the processed matching scores are arranged according to the retained intelligent computing tasks and the corresponding positions of resource nodes to generate an effective task resource matching score matrix. Perform Gumbel perturbation and task-side normalization on the effective task resource matching score matrix to generate an initial task resource soft matching matrix; The Gumbel perturbation generates a uniformly random number ranging from 0 to 1 without including endpoints for each reserved position in the effective task resource matching score matrix. The natural logarithm of the uniformly random number is first taken and then negative, and then the natural logarithm of the resulting value is taken and then negative again to obtain the Gumbel perturbation value. The Gumbel perturbation value is added to the corresponding matching score and then divided by the temperature parameter to obtain the perturbation matching score. The initial temperature parameter during the training phase is 1, multiplied by 0.95 after each training round, and remains unchanged after decreasing to 0.1. The temperature parameter during the inference phase is set to 0.1. The task-side normalization performs an exponential operation on each perturbation matching score according to each row of the effective task resource matching score matrix, and divides each exponential operation result by the sum of all exponential operation results corresponding to the same intelligent computing task to obtain the initial soft matching weight of each task resource pairing position; the initial soft matching weight of the shielded position is kept at 0, and the sum of all initial soft matching weights corresponding to the same intelligent computing task is 1. Based on the current task resource soft matching matrix and the paired resource consumption tensor, calculate the expected resource occupancy of each resource node; The current task resource soft matching matrix is calculated using the initial task resource soft matching matrix for the first calculation, and then using the task resource soft matching matrix after the previous round of multi-dimensional resource residual back-feedback for subsequent calculations. The first four dimensions corresponding to computing power, memory or video memory, storage space, and network bandwidth are extracted from the five dimensions of the paired resource consumption tensor. For each resource node, the current soft matching weight between each intelligent computing task and the resource node is multiplied by the corresponding dimension of the paired resource consumption at the corresponding task resource pairing position, and then all products of the same resource dimension are added together to obtain the expected resource occupancy of the resource node in the corresponding resource dimension. The projected resource usage is compared with the corresponding remaining resource capacity to generate multi-dimensional resource residuals for each resource node. The multidimensional resource residuals include computing power residuals, memory or video memory residuals, storage space residuals, and network bandwidth residuals. When the expected resource occupancy of a resource node in any resource dimension does not exceed the corresponding remaining resource capacity, the multidimensional resource residual for that resource dimension is set to 0. When the expected resource occupancy exceeds the corresponding remaining resource capacity, the difference between the expected resource occupancy and the remaining resource capacity is calculated, and the difference is divided by the sum of the remaining resource capacity and 10 to the power of negative 8 to obtain the multidimensional resource residual for that resource dimension. Based on the contribution of each task resource pairing position to the consumption of multidimensional resource residuals, residual back-feedback is performed, the effective task resource matching score matrix is corrected, and task-side normalization is re-performed. The consumption contribution is calculated separately according to the task resource pairing position and resource dimension. The current soft matching weight is multiplied by the corresponding dimension's paired resource consumption, and then divided by the sum of the expected resource occupancy of the corresponding resource node in the same resource dimension and 10 to the power of -8, to obtain the consumption contribution of the corresponding task resource pairing position to the resource dimension. The consumption contribution of each of the four resource dimensions is multiplied by the corresponding multidimensional resource residual, and the sum of the four products is divided by 4 to obtain the residual return value of the corresponding task resource pairing position. The current perturbation matching score is subtracted from the corresponding residual return value to obtain the next round of perturbation matching score, and the task-side normalization is re-executed on the next round of perturbation matching score to obtain the next round of task resource soft matching matrix. The Gumbel perturbation value remains unchanged in the same matching process. The expected resource usage, multidimensional resource residuals, and residual feedback values are calculated iteratively until the expected resource usage of each resource node does not exceed the corresponding remaining resource capacity, thus obtaining the task resource soft matching matrix.
[0024] In this embodiment, after each round of the loop, the residuals of computing power, memory or video memory, storage space, and network bandwidth are checked. The loop stops when all multidimensional resource residuals are 0, and the current task resource soft matching matrix is used as the task resource soft matching matrix. After 20 rounds of looping, if there are still non-zero multidimensional resource residuals, the multidimensional resource residual with the largest value is determined. The intelligent computing task with the lowest priority and the largest consumption contribution is selected from the intelligent computing tasks that have a consumption contribution to the corresponding multidimensional resource residual. The intelligent computing task is kept in the waiting queue and excluded from the matching in this round. Based on the remaining intelligent computing tasks, Gumbel perturbation, task-side normalization, expected resource usage calculation, multidimensional resource residual generation, and residual return are re-executed until all multidimensional resource residuals are 0.
[0025] In this embodiment, the generation of the final task resource matching result specifically includes: The conflict matching layer discretizes the task resource soft matching matrix according to the maximum soft matching weight corresponding to each intelligent computing task, and generates the initial task resource matching result. The conflict matching layer reads the task resource soft matching matrix row by row and assigns each intelligent computing task to the resource node with the largest corresponding soft matching weight. When there are the same maximum soft matching weight in the same row, the resource node with the larger task resource matching score is selected. When the task resource matching scores are still the same, the resource node with the smaller resource node identifier value is selected. The initial task resource matching result is generated according to the corresponding position of the intelligent computing task and the selected resource node. Based on the initial task resource matching results and the paired resource consumption tensor, the discrete resource occupancy is calculated and compared with the remaining resource capacity to determine resource overload and discrete resource residuals; The discrete resource occupancy is calculated separately for each resource node. The paired resource consumption of each matched intelligent computing task on the corresponding resource node is read from the paired resource consumption tensor. The paired resource consumption of the same resource dimension allocated to the same resource node is added together to obtain the discrete resource occupancy of that resource node. When the discrete resource occupancy of any resource dimension exceeds the corresponding remaining resource capacity, it is determined that the resource node has experienced resource overload. The difference between the discrete resource occupancy and the remaining resource capacity is divided by the sum of the remaining resource capacity and 10 to the power of negative 8 to obtain the discrete resource residual for the corresponding resource dimension. The discrete resource residual corresponding to the resource dimension that has not experienced resource overload is set to 0. Non-conflict matching is locked to resource nodes that have not experienced resource overload, and conflict local sub-matrices are extracted based on the intelligent computing tasks and candidate resource nodes corresponding to resource overload. After the non-conflict matching is locked, the resource consumption corresponding to the non-conflict matching is deducted from the remaining resource capacity of each resource node to obtain the local remaining resource capacity. The intelligent computing tasks allocated to the resource nodes that have experienced resource overload are used as rows of the conflict local sub-matrix, and the resource nodes marked as processor compatible as 1 are used as columns of the conflict local sub-matrix. The matching score of the corresponding pairing position is extracted from the task resource matching score matrix. When the matching resource consumption of computing power, memory or video memory, storage space or network bandwidth of any task resource pairing position exceeds the corresponding local remaining resource capacity, the matching score of the pairing position is set to negative 10 to the power of 9. When the matching scores corresponding to the same intelligent computing task are all negative 10 to the power of 9, the intelligent computing task is kept in the waiting queue and excluded from the conflict local sub-matrix. The discrete resource residuals are back-projected onto the conflict local submatrix, and the residual back-projection matching is re-executed on the conflict local submatrix to generate the conflict task local matching results. The discrete resource residual reversal is performed separately for the resource nodes and resource dimensions where resource overload occurs. The paired resource consumption of the corresponding intelligent computing task in the conflict local submatrix is divided by the sum of the paired resource consumption of all conflicting tasks on the resource node in the same resource dimension to obtain the consumption contribution of each conflicting task to the discrete resource residual. The consumption contribution of each of the four resource dimensions is multiplied by the corresponding discrete resource residual, and the sum of the products is divided by 4 to obtain the discrete conflict reversal value. The matching score corresponding to the resource node where resource overload occurs is subtracted from the discrete conflict reversal value, while keeping the matching scores corresponding to other candidate resource nodes unchanged, to obtain the corrected conflict local submatrix. The residual back-feedback matching uses the Gumbel perturbation value corresponding to the generated task resource soft matching matrix. Task-side normalization is performed on the corrected conflict local submatrix, and the expected resource occupancy, multidimensional resource residual, and residual back-feedback value are calculated based on the local remaining resource capacity. The matching score in the conflict local submatrix is iteratively corrected until the expected resource occupancy does not exceed the local remaining resource capacity. The conflict local submatrix is discretized according to the maximum soft matching weight corresponding to each conflict task to generate the conflict task local matching result. The conflicting task local matching results are merged with the non-conflicting matching results, resource overload is rechecked and conflicting local reconfiguration is performed repeatedly to generate the final task resource matching results. The merging process involves writing the local matching results of conflicting tasks into the corresponding conflicting task positions in the initial task resource matching results, while keeping non-conflicting matches unchanged, based on the merged task resource matching results and the paired resource consumption tensor. If no resource overload occurs, the merged task resource matching results are used as the final task resource matching results. If resource overload still occurs, the resource nodes experiencing overload are re-identified, the remaining non-conflicting matches are locked, and the conflicting local sub-matrix is re-extracted and processed based on the updated local remaining resource capacity. If resource overload still occurs after 10 rounds of conflicting local rematching, the intelligent computing task with the lowest priority and the largest contribution to discrete resource residual consumption is selected from the corresponding conflicting tasks, and this intelligent computing task is kept in the allocation queue. Conflicting local rematching continues for the remaining conflicting tasks until all resource nodes are no longer experiencing resource overload.
[0026] In this embodiment, the generation of the task resource feedback data specifically includes: Based on the final task resource matching result, locate the corresponding position in the paired resource consumption tensor, convert the corresponding paired resource consumption into resource allocation amount, and generate a smart computing resource allocation scheme. Each intelligent computing task in the final task resource matching result corresponds to a resource node. The computing power, memory or video memory, storage space, network bandwidth, and estimated execution time of the corresponding task resource pairing position are read from the paired resource consumption tensor. The computing power is divided by the unit computing power of the corresponding resource node and rounded up. The CPU computing power allocation granularity is one processor core; the computing power allocation granularity for GPUs and NPUs that support device partitioning is one-eighth of the computing power of a single device; and the computing power allocation granularity for GPUs and NPUs that do not support device partitioning is one complete device. Memory or video memory, storage space, and network bandwidth are rounded up to an allocation granularity of 256MB, 1GB, and 10Mbps, respectively. The estimated execution time is rounded up to 1 second. The intelligent computing resource allocation scheme is composed of the matching position of the intelligent computing task and the resource node, the four rounded resource allocation quantities, and the estimated execution time. According to the intelligent computing resource allocation scheme, resource quotas are established on the corresponding resource nodes and intelligent computing tasks are started, generating task execution identifiers corresponding to the intelligent computing tasks. The resource quotas are established according to the processor type of the resource nodes. CPU resources are allocated through processor core quotas and processor time quotas, GPU and NPU resources are allocated through device partitioning interfaces or device exclusive interfaces, memory or video memory is allocated through capacity limits, storage space is allocated through storage quotas, and network bandwidth is allocated through transmission rate limits and reception rate limits. After the resource quotas are established, the intelligent computing task is loaded into the corresponding resource node and a task execution identifier containing the intelligent computing task identifier, resource node identifier, and start time is generated. If any resource quota establishment fails, the established resource quotas are released, the corresponding intelligent computing task is kept in the waiting queue, and the node availability status of the corresponding resource node is updated to unavailable. Collect resource usage data and execution time during the operation of intelligent computing tasks according to task execution identifiers, and generate actual resource consumption data; The resource usage data is collected at a 1-second sampling period to obtain computing power usage, memory or video memory usage, storage space usage, and network bandwidth usage. The 95th percentile of computing power usage during the execution of the intelligent computing task is taken as the actual computing power usage, the maximum value of memory or video memory usage is taken as the actual memory or video memory usage, the maximum value of the increase in storage usage relative to the task start time is taken as the actual storage usage, the 95th percentile of the sum of sending bandwidth and receiving bandwidth is taken as the actual bandwidth usage, and the difference between the intelligent computing task completion time and the start time is taken as the actual execution time. The actual resource consumption data is composed of the actual computing power usage, actual memory or video memory usage, actual storage usage, actual bandwidth usage, and actual execution time. The actual resource consumption data is compared with the intelligent computing resource allocation scheme and the corresponding paired resource consumption to generate task resource feedback data. The task resource feedback data includes model type, processor type, four resource allocation items in the intelligent computing resource allocation scheme, actual resource consumption data, estimated execution time in paired resource consumption, actual execution time, resource overload status, and service level satisfaction status. When the actual computing power usage, actual memory or video memory usage, actual storage usage, or actual bandwidth usage exceeds the corresponding resource allocation, the resource overload status is set to "resource overload has occurred"; otherwise, it is set to "no resource overload has occurred". When the actual execution time does not exceed the maximum completion time and the actual processing throughput is not lower than the minimum throughput, the service level satisfaction status is set to "service level satisfied"; otherwise, it is set to "service level not satisfied". Write the task resource feedback data into the historical task resource feedback data according to the model type and processor type, and update the resource node status data according to the resource quota establishment, occupation and release results. The historical task resource feedback data is arranged according to the completion time of the intelligent computing task. For each combination of model type and processor type, the task resource feedback data corresponding to the most recent 4096 intelligent computing tasks is retained. During the operation of the intelligent computing task, the rated resource capacity of the resource node is reduced by the resource allocation corresponding to all running intelligent computing tasks to obtain the updated remaining resource capacity. After the intelligent computing task is completed, the corresponding resource quota is released, and the released remaining resource capacity is written to the resource node status data. When a new intelligent computing task enters the allocation queue, an intelligent computing task is completed, the node availability status changes, or the actual resource consumption exceeds 20% of the corresponding resource allocation for two consecutive sampling periods, the next round of dynamic allocation of intelligent computing resources is started for the intelligent computing tasks in the allocation queue based on the updated historical task resource feedback data and resource node status data.
[0027] Example 1: To verify the feasibility of this invention in practice, it was applied to an artificial intelligence computing center. This center is configured with 24 CPU resource nodes, 32 GPU resource nodes, and 16 NPU resource nodes. The nodes are connected via a 100Gbps network and share storage space, supporting tasks such as large language model inference, image classification model training, object detection model training, and diffusion model inference. The verification period was from March 1st to March 28th, 2026, recording a total of 18,720 intelligent computing tasks. The original scheduler performed initial adaptation allocation based on task priority and requested resource quantity. During the peak task arrival period from 10:00 AM to 12:00 PM, the actual computing power, memory or video memory, and bandwidth usage of the same model on CPU, GPU, and NPU varied significantly. Fixed resource requirements could not accurately reflect the paired consumption of tasks and resource nodes. Even after capacity verification before actual execution, softly selected resource nodes frequently experienced insufficient video memory, bandwidth exceeding limits, and the expected execution time not meeting service levels.
[0028] The implementers used 46,320 intelligent computing tasks completed from January to February 2026 as training samples. Each sample included model architecture identifier, training or inference identifier, numerical precision identifier, task priority, service level, task size, resource requirements, actual execution resource nodes, and actual resource consumption data. Resource node status data was collected at 1-second intervals. Resource nodes whose sampling time differed from the time the task entered the allocation queue by more than 2 seconds were not included in the matching round. Model type was represented by 16-dimensional embedding encoding, processor type by 8-dimensional embedding encoding, and task priority and service level were converted into 4-dimensional one-hot encodings. Task size and resource requirements were robustly standardized using the median and interquartile range of the most recent 1,024 executed intelligent computing tasks of the same model type, with the standardization result limited to between -5 and 5. The deviation of actual resource consumption from the allocated resource amount was calculated based on the most recent 128 valid feedbacks of the model type and processor type combination, forming a 5-dimensional task resource feedback feature.
[0029] The multi-dimensional resource residual feedback Gumbel-Sinkhorn model uses the first 80% of samples in chronological order for training, 10% for validation, and the remaining 10% for testing. The task feature encoding branch sequentially employs a 128-neuron fully connected layer, a layer normalization layer, a GELU activation layer, a random deactivation layer with a dropout rate of 0.1, and a 64-neuron fully connected layer. The resource feature encoding branch sequentially employs a 64-neuron fully connected layer, a layer normalization layer, a GELU activation layer, and a 64-neuron fully connected layer. Intelligent computing task features, intelligent computing resource features, differential features, product features, task resource feedback features, and processor compatibility labels are sequentially concatenated to form a 262-dimensional task resource pairing feature. Actual execution resource nodes serve as task resource matching labels, while actual computing power, memory or GPU memory, storage space, network bandwidth, and execution time serve as pairing resource consumption labels. During training, cross-entropy loss and smoothed absolute error loss are calculated, and the arithmetic mean of the two losses is used as the training loss. The model weights are updated using a batch size of 64 and the AdamW optimizer, with an initial learning rate of 0.001 and a weight decay of 0.0001. After training to the 76th epoch, the validation loss has not decreased for 10 consecutive epochs, and the model weights with the lowest validation loss in the 66th epoch are retained.
[0030] In actual allocation, the pairing prediction layer generates a task resource matching score and a 5-dimensional pairing resource consumption for each intelligent computing task and each resource node. The residual return matching layer first sets the matching score marked as 0 for processor compatibility to the power of -10 to the power of 9, and then performs Gumbel perturbation and task-side normalization with a temperature parameter of 0.1. The implementer calculates the expected resource occupancy of each resource node in terms of computing power, memory or video memory, storage space, and network bandwidth based on the soft matching weight and pairing resource consumption, and compares it with the remaining resource capacity to generate multi-dimensional resource residuals. When resource overload exists, the residual return value is calculated according to the consumption contribution of each task resource pairing position, reducing the matching score that caused the overload and re-performing task-side normalization. After the task resource soft matching matrix is discretized, the conflict return matching layer locks the non-conflict matching on the non-overloaded resource nodes, extracts only the conflict local sub-matrices corresponding to the overloaded task and compatible resource nodes, and re-performs the residual return matching using the original Gumbel perturbation value.
[0031] The final task resource matching results are converted into executable resource quotas. CPUs are allocated according to processor cores, and GPUs and NPUs that support partitioning are allocated at one-eighth of the computing power of a single device. Memory or video memory, storage space, and network bandwidth are rounded up to a granularity of 256MB, 1GB, and 10Mbps, respectively. During the execution of the intelligent computing task, resource usage data is collected once per second. Task resource feedback data is generated based on the 95th percentile of computing power usage and bandwidth usage, the maximum value of memory or video memory usage and newly added storage usage, and the actual execution time. Historical task resource feedback data and resource node status data are also updated.
[0032] Under the same task arrival sequence and the same initial remaining resource capacity, the original scheduler and the method of this invention each completed 9360 intelligent computing tasks. The resource overload matching rate after discrete allocation by the original scheduler was 14.7%, while the rate after initial discretization by this invention was 3.1%, which decreased to 0 after conflict local reconfiguration. During actual execution, the proportion of tasks experiencing resource overload decreased from 7.8% to 2.2%, and the proportion of tasks meeting service levels increased from 89.4% to 96.7%. When matching conflicts occurred, the average processing time for global reallocation by the original scheduler was 218 milliseconds, while the average processing time for conflict local reconfiguration by this invention was 84 milliseconds. The average utilization rates of CPU, GPU, and NPU increased from 61.5%, 70.8%, and 53.2% to 69.7%, 81.1%, and 68.5%, respectively, and the 95th percentile of task queuing time decreased from 46.4 seconds to 27.8 seconds. Verification data shows that the present invention can improve the capacity adaptability of heterogeneous intelligent computing resource matching, reduce resource conflicts caused by discretization, and shorten the redistribution time while maintaining the stability of non-conflict matching.
[0033] Table 1. Comparison of Comprehensive Performance of Dynamic Allocation of Heterogeneous Intelligent Computing Resources
[0034] Ninety-three hundred intelligent computing tasks were input into three algorithms based on their arrival time, priority, service level, and initial remaining resource capacity. Each algorithm was independently replayed five times. During replay, real-time load fluctuations of resource nodes and differences in actual resource consumption of tasks were preserved. The data in Table 1 uses the arithmetic mean of the five replays, with the standard deviation in parentheses. The actual resource overload rate was calculated as the percentage of tasks whose actual resource usage exceeded the corresponding resource allocation for any resource dimension. The resource fragmentation rate was calculated as the percentage of remaining resources that could not continue to support assigned tasks due to insufficient computing power, memory or video memory, storage space, or network bandwidth.
[0035] Table 1 shows that the service level satisfaction rate of the multi-dimensional resource residual re-feedback Gumbel-Sinkhorn model reached 96.7%, which is 7.3 percentage points and 4.4 percentage points higher than the task priority first-fit algorithm and the original Gumbel-Sinkhorn algorithm, respectively. This result indicates that, under the same intelligent computing task arrival sequence, determining resource nodes jointly based on the task resource matching score matrix and the paired resource consumption tensor is more accurate in identifying the resource consumption differences of different model types on CPU, GPU, and NPU compared to finding available nodes solely based on priority or solely based on soft matching weights. The standard deviation of the service level satisfaction rate decreased from 0.8 and 0.7 to 0.5 in five replays, indicating that the stability of the allocation results is improved when the task size and node load fluctuate.
[0036] The actual resource overload rate decreased from 7.8% for the task priority first-fit algorithm and 5.4% for the original Gumbel-Sinkhorn algorithm to 2.2%, representing reductions of 5.6 and 3.2 percentage points respectively. The resource quota establishment failure rate also decreased to 1.7%. This result is attributed to the fact that the task priority first-fit algorithm only determines whether the remaining resources can meet the task request volume, without reflecting the actual consumption deviation of the same task on different processor types. The original Gumbel-Sinkhorn algorithm forms a soft-matching matrix through unit and normalization, but the computing power, memory or GPU memory, storage space, and network bandwidth of resource nodes do not have the same capacity, nor does it satisfy the one-to-one unit matching assumption. The multidimensional resource residual backfeeding Gumbel-Sinkhorn model calculates the expected resource occupancy based on the paired resource consumption tensor and backfeeds the multidimensional resource residuals exceeding the remaining resource capacity to the corresponding matching score according to their consumption contribution, thus specifically correcting the task resource pairing positions that cause resource overload before discretization.
[0037] The 95th percentile of task queuing time decreased from 46.4 seconds to 27.8 seconds, a reduction of 9.1 seconds compared to the original Gumbel-Sinkhorn algorithm. After resource conflicts occurred, the average processing time decreased from 218 milliseconds and 157 milliseconds to 84 milliseconds. This change did not come from a simplification of the single-batch allocation decision process. Multidimensional resource residual replay requires repeated calculation of the expected resource occupancy, consumption contribution, and multidimensional resource residuals, increasing the single-batch allocation decision time to 78.9 milliseconds, higher than the other two algorithms. This computational overhead is traded for a lower conflict incidence rate in discrete results; when conflicts occur, the conflict replay layer locks non-conflict matches, extracting only the conflict local submatrix for the intelligent computing tasks and candidate resource nodes involved in resource overload, avoiding reprocessing all task resource pairing positions, thus the overall queuing time and conflict processing time are still significantly reduced. The different directions of change in decision time and conflict processing time also reflect the actual fluctuations in the number of tasks, node load, and conflict scale in the replay data.
[0038] In terms of resource utilization, the average utilization rates of CPU, GPU, and NPU reached 69.7%, 81.1%, and 68.5%, respectively. Compared with the task priority first-fit algorithm, the utilization rates of the three processor types increased by 8.2 percentage points, 10.3 percentage points, and 15.3 percentage points, respectively, with the NPU showing the largest increase. The task priority first-fit algorithm tends to concentrate models on the GPU resource nodes that are retrieved first, while some inference tasks compatible with GPU functions fail to fully utilize NPU resource nodes. Model type and processor type compatibility masking can exclude combinations that cannot be executed, and the paired resource consumption tensor can distinguish the actual consumption differences between compatible processors, resulting in a more reasonable distribution of tasks between GPUs and NPUs. The resource fragmentation rate decreased from 18.6% to 9.8%, indicating that the simultaneous participation of multi-dimensional capacity in matching reduced the situation where a single resource dimension was exhausted while other resource dimensions still had a large surplus. Affected by resource overload, quota establishment failure, and reduced queuing, the number of tasks completed during active runtime increased to 21.8 per hour.
[0039] Based on the data in the table, although the multi-dimensional resource residual replay Gumbel-Sinkhorn model increases the computation time for single-batch allocation decisions, it improves heterogeneous resource allocation in terms of service level satisfaction rate, actual resource overload rate, conflict handling time, resource utilization rate, and resource fragmentation rate through task resource pairing-level consumption prediction, multi-dimensional resource residual replay, conflict local replay, and actual resource consumption feedback. It also reduces performance fluctuations between different replays. Therefore, it can achieve more stable, more capacity-adaptive, and easier-to-execute dynamic allocation results in intelligent computing environments with mixed deployment of CPU, GPU, and NPU and continuously changing task resource requirements.
[0040] The above are merely preferred embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A method for dynamic allocation of intelligent computing resources based on deep learning, characterized in that, Includes the following steps: Collect intelligent computing task data including model type and resource requirements, resource node status data including processor type and remaining resource capacity, and historical task resource feedback data. After type encoding and normalization based on the same type, generate task input set and resource input set. Construct a multidimensional resource residual reinvestment Gumbel-Sinkhorn model; The feature encoding layer processes the task input set and the resource input set respectively, generating the intelligent computing task feature set and the intelligent computing resource feature set. After being combined by the pairing prediction layer, the task resource matching score matrix and the pairing resource consumption tensor are generated. The residual back-feeding matching layer shields incompatible combinations of processor type and model type, performs Gumbel perturbation and task-side normalization on the task resource matching score matrix, generates and back-feeds multidimensional resource residuals based on the paired resource consumption tensor and remaining resource capacity, and processes them cyclically until the expected resource occupancy does not exceed the remaining resource capacity to obtain the task resource soft matching matrix. The conflict rematch layer discretizes the task resource soft matching matrix, generates the initial task resource matching result, extracts the conflict local submatrix corresponding to resource overload, locks the non-conflict matching, and re-executes residual rematching on the conflict local submatrix to generate the final task resource matching result. Based on the final task resource matching results and the paired resource consumption tensor, a smart computing resource allocation scheme is generated and executed. Actual resource consumption data is collected and task resource feedback data is generated. Historical task resource feedback data and resource node status data are updated.
2. The method for dynamic allocation of intelligent computing resources based on deep learning according to claim 1, characterized in that, The generation of the task input set and resource input set specifically includes: Based on the time when the intelligent computing task enters the allocation queue, select the status data of the most recent resource node no later than that time, and extract the historical task resource feedback data before that time. Integer indexing and embedding encoding are performed on model type and processor type respectively, and one-hot encoding is performed on task priority and service level to obtain task type encoding and resource type encoding; Robust standardization is performed on task size and resource requirements according to model type, and the remaining resource capacity is normalized by processor type with rated resource capacity to obtain task numerical characteristics and resource capacity characteristics. By combining historical task resource feedback data with model type and processor type, the deviation between actual resource consumption and allocated resource amount is calculated to generate task resource feedback characteristics. The task type code, task numerical features, and task resource feedback features indexed by processor type are combined into a task input set, and the resource type code and resource capacity features are combined into a resource input set.
3. The method for dynamic allocation of intelligent computing resources based on deep learning according to claim 1, characterized in that, The multidimensional resource residual back-feedback Gumbel-Sinkhorn model includes a feature encoding layer, a pairing prediction layer, a residual back-feedback matching layer, and a conflict back-feedback layer.
4. The method for dynamic allocation of intelligent computing resources based on deep learning according to claim 1, characterized in that, The generation of the task resource matching score matrix and the paired resource consumption tensor specifically includes: In the feature coding layer, the task feature coding branch and the resource feature coding branch respectively encode the task input set and the resource input set, generating the intelligent computing task feature set and the intelligent computing resource feature set; The pairing prediction layer performs difference operations, product operations, and sequential concatenation operations on each intelligent computing task feature and each intelligent computing resource feature respectively to generate task-resource pairing features; The matching score output header processes the task resource pairing features, generates a matching score for each intelligent computing task and each resource node, and generates a task resource matching score matrix according to the pairing position. The resource consumption output header processes the task resource pairing features and uses the corresponding task resource feedback features to correct the output results, generating a paired resource consumption tensor.
5. The method for dynamic allocation of intelligent computing resources based on deep learning according to claim 1, characterized in that, The generation of the task resource soft matching matrix specifically includes: The residual back-feedback matching layer uses processor compatibility flags to mask incompatible task resource pairing locations and generates an effective task resource matching score matrix. Perform Gumbel perturbation and task-side normalization on the effective task resource matching score matrix to generate an initial task resource soft matching matrix; Based on the current task resource soft matching matrix and the paired resource consumption tensor, calculate the expected resource occupancy of each resource node; The projected resource usage is compared with the corresponding remaining resource capacity to generate multi-dimensional resource residuals for each resource node. Based on the contribution of each task resource pairing position to the consumption of multidimensional resource residuals, perform residual back-feedback, correct the effective task resource matching score matrix, and re-perform task-side normalization; The expected resource occupancy, multidimensional resource residuals, and residual feedback values are calculated iteratively until the expected resource occupancy of each resource node does not exceed the corresponding remaining resource capacity, thus obtaining the task resource soft matching matrix.
6. The method for dynamic allocation of intelligent computing resources based on deep learning according to claim 5, characterized in that, Each iteration of the loop checks the residual computing power, residual memory or video memory, residual storage space, and residual network bandwidth. The loop stops when all multidimensional resource residuals are 0, and the current task resource soft matching matrix is used as the task resource soft matching matrix. If there are still non-zero multidimensional resource residuals after 20 rounds of iteration, determine the multidimensional resource residual with the largest value, select the intelligent computing task with the lowest priority and the largest consumption contribution from the intelligent computing tasks that have a consumption contribution to the corresponding multidimensional resource residual, keep the intelligent computing task in the waiting queue and exclude it from the matching in this round, and re-execute Gumbel perturbation, task-side normalization, expected resource consumption calculation, multidimensional resource residual generation and residual return based on the remaining intelligent computing tasks until all multidimensional resource residuals are 0.
7. The method for dynamic allocation of intelligent computing resources based on deep learning according to claim 1, characterized in that, The generation of the final task resource matching result specifically includes: The conflict matching layer discretizes the task resource soft matching matrix according to the maximum soft matching weight corresponding to each intelligent computing task, and generates the initial task resource matching result. Based on the initial task resource matching results and the paired resource consumption tensor, the discrete resource occupancy is calculated and compared with the remaining resource capacity to determine resource overload and discrete resource residuals; Non-conflict matching is locked to resource nodes that have not experienced resource overload, and conflict local sub-matrices are extracted based on the intelligent computing tasks and candidate resource nodes corresponding to resource overload. The discrete resource residuals are back-projected onto the conflict local submatrix, and the residual back-projection matching is re-executed on the conflict local submatrix to generate the conflict task local matching results. The conflicting task local matching results are merged with the non-conflicting matching results, resource overload is rechecked and conflicting local reconfiguration is performed repeatedly to generate the final task resource matching results.
8. The method for dynamic allocation of intelligent computing resources based on deep learning according to claim 1, characterized in that, The generation of the task resource feedback data specifically includes: Based on the final task resource matching result, locate the corresponding position in the paired resource consumption tensor, convert the corresponding paired resource consumption into resource allocation amount, and generate a smart computing resource allocation scheme. According to the intelligent computing resource allocation scheme, resource quotas are established on the corresponding resource nodes and intelligent computing tasks are started, generating task execution identifiers corresponding to the intelligent computing tasks. Collect resource usage data and execution time during the operation of intelligent computing tasks according to task execution identifiers, and generate actual resource consumption data; The actual resource consumption data is compared with the intelligent computing resource allocation scheme and the corresponding paired resource consumption to generate task resource feedback data. Task resource feedback data is written into historical task resource feedback data according to model type and processor type, and resource node status data is updated based on resource quota establishment, occupation and release results.
