Power consumption prediction method and device for intelligent computing center computing power task
By utilizing multimodal feature extraction and alignment processing in power consumption prediction at intelligent computing centers, combined with gradient boosting decision tree models and time sliding window mechanisms, the problems of lag and feature waste in existing technologies are solved, achieving high-precision power consumption prediction and energy efficiency management.
Patent Information
- Application Number
- CN202611067470.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-17
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies for power consumption prediction in intelligent computing centers suffer from problems such as lag, insufficient utilization of multimodal features, lack of adaptive update capabilities, and inability to predict extreme power consumption values, resulting in the inability to achieve high-precision pre-power consumption prediction and refined energy efficiency management.
By acquiring the metadata of the intelligent computing task to be predicted, multimodal feature extraction and alignment are performed. A pre-trained gradient boosting decision tree model based on a fully symmetric tree structure is used for power consumption prediction. The model is then adaptively updated using a time sliding window mechanism to achieve accurate prediction of power consumption for single nodes and the entire system.
It realizes multi-dimensional pre-power consumption prediction based on task submission metadata, supports green computing power allocation and energy efficiency capping decisions, improves prediction accuracy and adaptability, and reduces latency and error.
Smart Images

Figure CN123179057A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power consumption prediction technology, and in particular to a power consumption prediction method and apparatus for computing power tasks in intelligent computing centers. Background Technology
[0002] With the rapid development of modern scientific research and industrial applications, intelligent computing centers have become the core infrastructure supporting large-scale computing tasks. However, with the continuous improvement of computing power and the ever-growing scale of clusters, energy consumption has increased dramatically, posing a serious threat to the environment and the sustainability of electricity. To thoroughly implement the green computing infrastructure construction guidelines, "computer-computer collaboration" has been formally included in the national new infrastructure project plan, aiming to find the globally optimal solution between computing task scheduling and underlying dynamic power consumption. Under the computer-computer collaboration framework, accurately establishing a "task-power consumption" prediction model is a necessary condition for energy consumption-aware scheduling and resource allocation before the actual execution of tasks. If the power consumption characteristics during the execution cycle can be accurately predicted before a task is submitted to the system but before resources are allocated for execution, the scheduler can more intelligently allocate tasks, avoid local node hotspots, and reduce cooling costs.
[0003] Machine learning is currently the most commonly used data-driven analysis framework. It achieves task-power mapping by mining statistical patterns between massive historical task features and actual power consumption. For example, an existing method for dynamic power capping of servers based on a power consumption prediction model addresses the problem of single-node energy overload in data centers. It combines machine learning to establish a prediction framework and predict power consumption trends over short time series, based on the collection of historical server energy consumption data. However, this framework heavily relies on existing physical historical power consumption measurements as features, which may lead to a lag in response. Furthermore, as a hardware-level prediction framework that ignores task textual semantic metadata, it wastes a significant amount of multimodal feature dimensions and cannot fully meet the requirements of intelligent computing centers for accurate "task-power" mapping before tasks are assigned computing nodes.
[0004] Another method and system for measuring energy consumption in virtualized cloud platforms based on tree regression combines hardware performance monitoring and cloud platform architecture to construct a multi-dimensional runtime monitoring model based on tree regression, enabling fine-grained energy consumption measurement. However, the feature extraction of this architecture has the stringent prerequisite that data can only be produced when the task is in a computational state, resulting in a lack of pre-execution prediction capabilities required by the scheduler. Furthermore, because it does not implement natural language semantic-level encoding for text features containing implicit patterns and lacks an adaptive automated time-sliding window retraining mechanism, it is prone to concept drift when task features change in the network, making it difficult to handle prediction tasks in dynamic load scenarios of intelligent computing centers.
[0005] Another method for measuring virtual machine power consumption based on piecewise linear fitting monitors instantaneous CPU utilization and maintains a piecewise mapping table to ensure extremely low latency in energy consumption calculations. However, this method remains a coarse-grained and limited passive measurement framework. It is fixated on piecewise linear mapping and heavily relies on single-dimensional CPU utilization, failing to capture the nonlinear interactions in multi-dimensional feature spaces. This significantly limits the model prediction accuracy in heterogeneous computing clusters and increases the risk and latency of scheduler erroneous decisions.
[0006] Furthermore, existing technologies typically only produce a single average power consumption prediction. However, intelligent computing tasks experience significant power fluctuations during execution, and the average value cannot accurately reflect the peak power and energy efficiency baseline during task execution. This lack of prior awareness of extreme values leads to serious safety risks when the system makes power capping decisions, and it also fails to provide a detailed profile of the severity of power fluctuations for grid-side load coordination. Therefore, improving upon the shortcomings of existing technologies, such as static hysteresis, feature waste, and weak adaptive capabilities, to achieve power consumption prediction for intelligent computing center tasks has become an urgent problem to be solved. Summary of the Invention
[0007] This invention provides a power consumption prediction method and apparatus for computing power tasks in intelligent computing centers, which solves the defects of existing technologies such as power consumption prediction lagging behind task scheduling, insufficient utilization of multimodal features, lack of adaptive update capability, and inability to predict power consumption extreme values. It realizes high-precision pre-power consumption prediction and refined energy efficiency management of computing power tasks in intelligent computing centers before resource allocation.
[0008] This invention provides a power consumption prediction method for computing power tasks in intelligent computing centers, comprising: Obtain the first metadata of the intelligent computing task to be predicted, and perform multimodal feature extraction and alignment processing on the first metadata to obtain a fused feature vector; The fused feature vector is input into the pre-trained power prediction model for inference to obtain the single-node power prediction value of the intelligent computing task to be predicted on a single node. The power consumption prediction value of a single node is globally restored based on the number of application nodes for the intelligent computing task to be predicted, so as to obtain the global power consumption prediction value of the intelligent computing task to be predicted. The power consumption prediction model is trained in the following way: Extract historical executed intelligent computing task data from the historical task data pool within a preset time window; Multimodal feature extraction and alignment processing are performed on the second metadata of the historical executed intelligent computing task data to obtain historical fusion feature vectors. Based on the power consumption data of the historical executed intelligent computing tasks, single-node normalization, logarithmic smoothing, and sample weighting processing with power consumption target values lower than preset power consumption thresholds are performed to obtain training target values. The historical fusion feature vector and the training target value are input into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model.
[0009] In one possible implementation, the method further includes: The first metadata includes numerical and category feature data and text feature data; Integer encoding is performed on the numerical and category feature data in the first metadata to obtain a numerical encoding vector; Semantic embedding encoding is performed on the text feature data in the first metadata to obtain a semantic embedding vector; The numerical encoding vector and the semantic embedding vector are concatenated to obtain the fused feature vector.
[0010] In one possible implementation, the method further includes: The text feature data includes the username and task name; The username and the task name are concatenated into a semantic sequence, and the semantic sequence is input into a pre-trained sentence-level encoding network to obtain a fixed-length dense semantic vector as the semantic embedding vector.
[0011] In one possible implementation, the method further includes: The number of application nodes is the number of computing nodes expected to be allocated to the intelligent computing task to be predicted, and the single node power consumption prediction value is the equivalent node power consumption normalized according to the number of nodes. Perform an inverse logarithmic transformation on the single-node power consumption prediction value to map the single-node power consumption prediction value from the logarithmic space back to the original power consumption value domain; The mapped single-node power consumption prediction value is multiplied by the number of requested nodes to obtain the global power consumption prediction value.
[0012] In one possible implementation, the method further includes: Divide the minimum power consumption, average power consumption, and maximum power consumption of the historically executed intelligent computing tasks by the actual number of nodes allocated to obtain the minimum power consumption, average power consumption, and maximum power consumption of a single node. Logarithmic smoothing transformation is performed on the minimum power consumption, average power consumption, and maximum power consumption of a single node to obtain the training target value; based on the comparison result between the training target value and the preset power consumption threshold, training weights are set for the corresponding samples, and the training weights are introduced into the loss function of model training.
[0013] In one possible implementation, the method further includes: The single-node power consumption prediction values include the minimum power consumption prediction value, the average power consumption prediction value, and the maximum power consumption prediction value for a single node; the global power consumption prediction values include the global minimum power consumption prediction value, the global average power consumption prediction value, and the global maximum power consumption prediction value.
[0014] In one possible implementation, the method further includes: After performing single-node normalization on the power consumption data of the historically executed intelligent computing tasks, the computing facility number, the number of requested GPUs, the number of requested cores, and the CPU frequency are retained as resource heterogeneity features in the historical fusion feature vector, so that the power consumption prediction model can learn the nonlinear mapping relationship between different computing resource configurations and power consumption.
[0015] In one possible implementation, the method further includes: The historical fusion feature vector, the training target value, and the training weights are input into a gradient boosting decision tree model based on a fully symmetric tree structure. The gradient boosting decision tree model uses a second-order Taylor expansion to approximate the loss function and introduces a regularization mechanism to control the model complexity. Based on the first-order gradient and second-order Hessian derivative of the loss function, the optimal prediction increment of the leaf node is solved. The power consumption prediction model is obtained by constructing a fully symmetric tree based on the optimal prediction increment iteration.
[0016] In one possible implementation, the method further includes: According to a preset frequency, historical data of executed intelligent computing tasks that exceed the preset time window are discarded based on a time sliding window mechanism, and the power consumption prediction model is retrained and updated based on the latest completed intelligent computing task data.
[0017] In one possible implementation, the method further includes: When the time elapsed since the end of the last training session reaches the preset frequency, the preset time window is slid forward, retaining only the historically executed intelligent computing task data within the most recent preset time period, and a new training set is formed based on the latest completed intelligent computing task data. The power consumption prediction model is retrained based on the new training set.
[0018] The present invention also provides a power consumption prediction device for computing power tasks in intelligent computing centers, comprising the following modules: The data acquisition and processing module is used to acquire the first metadata of the intelligent computing task to be predicted, and to perform multimodal feature extraction and alignment processing on the first metadata to obtain a fused feature vector. The input inference module is used to input the fused feature vector into the pre-trained power prediction model for inference, and obtain the single-node power prediction value of the intelligent computing task to be predicted on a single node. The prediction module is used to globally restore the single-node power consumption prediction value based on the number of application nodes of the intelligent computing task to be predicted, so as to obtain the global power consumption prediction value of the intelligent computing task to be predicted. The model training module is used to extract historical executed intelligent computing task data within a preset time window from the historical task data pool; perform multimodal feature extraction and alignment processing on the second metadata of the historical executed intelligent computing task data to obtain a historical fusion feature vector; and perform single-node normalization, logarithmic smoothing, and sample weighting processing based on the power consumption data of the historical executed intelligent computing tasks, where the power consumption target value is lower than a preset power consumption threshold, to obtain a training target value; input the historical fusion feature vector and the training target value into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model.
[0019] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the power consumption prediction method for computing power tasks in intelligent computing centers as described above.
[0020] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the power consumption prediction method for computing power tasks in intelligent computing centers as described above.
[0021] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the power consumption prediction method for computing power tasks in intelligent computing centers as described above.
[0022] The present invention provides a power consumption prediction method and apparatus for intelligent computing center computing power tasks. The method involves acquiring first metadata of the intelligent computing task to be predicted, performing multimodal feature extraction and alignment processing on the first metadata to obtain a fused feature vector; inputting the fused feature vector into a pre-trained power consumption prediction model for inference to obtain a single-node power consumption prediction value for the intelligent computing task on a single node; and globally restoring the single-node power consumption prediction value based on the number of nodes requested by the intelligent computing task to obtain a global power consumption prediction value for the intelligent computing task. The power consumption prediction model is trained as follows: extracting historical executed intelligent computing task data within a preset time window from a historical task data pool; performing multimodal feature extraction and alignment processing on the second metadata of the historical executed intelligent computing task data to obtain a historical fused feature vector; and performing single-node normalization, logarithmic smoothing, and sample weighting processing (where the power consumption target value is lower than a preset power consumption threshold) based on the power consumption data of the historical executed intelligent computing tasks to obtain a training target value; and inputting the historical fused feature vector and the training target value into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model. Compared to existing technologies that rely on measured data after task execution, resulting in prediction lag, ignore the semantic features of task text causing waste of multimodal information, make it difficult for static models to adapt to dynamic load evolution and cause concept drift, and can only output a single mean value which cannot reflect power extremes, this solution achieves multi-dimensional pre-power consumption prediction based on task submission metadata, supporting green computing power deployment and energy efficiency capping decisions. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0024] Figure 1 This is a schematic diagram of the system model of the power consumption prediction method for computing power tasks in intelligent computing centers provided by the present invention.
[0025] Figure 2 This is a flowchart illustrating the power consumption prediction model training method provided by the present invention.
[0026] Figure 3 This is one of the flowcharts illustrating the power consumption prediction method for intelligent computing center computing power tasks provided by this invention.
[0027] Figure 4 This is the second flowchart of the power consumption prediction method for intelligent computing center computing power tasks provided by the present invention.
[0028] Figure 5 This is a schematic diagram of the power consumption prediction device for intelligent computing center computing power tasks provided by the present invention.
[0029] Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0031] To facilitate understanding of the embodiments of the present invention, further explanations and descriptions will be provided below with reference to the accompanying drawings and specific embodiments. These embodiments do not constitute a limitation on the embodiments of the present invention.
[0032] Figure 1 This is a schematic diagram of a system model for the power consumption prediction method for computing power tasks in intelligent computing centers provided by this invention. For example... Figure 1 As shown, this invention is a prediction architecture based on pure software logic, which clearly divides the entire pre-prediction closed loop into two core links: the system model training process and the online inference process.
[0033] In the system model training process, the historical intelligent computing task dataset first enters the data preprocessing module to complete the normalization of the power consumption target value and log1p log smoothing operation; then, through the hybrid feature encoding module, the discrete features are numerically encoded with INT and embedded with SBERT for text semantics; the processed features are input into the PCS-CatBoost training module, which relies on the symmetric gradient boosting decision tree to efficiently capture nonlinear features, and the trained model weights will be uniformly stored in the model pool.
[0034] In the online inference process, upon receiving a new task request, the system performs feature extraction non-intrusively at the submission moment to obtain raw metadata such as username, task name, number of cores, GPUs, facility number, and CPU frequency. Then, the multimodal feature fusion module concatenates the numerical features with a 384-dimensional semantic vector using tensors. The resulting high-dimensional dense matrix is input into the PCS-CatBoost inference module, which performs pre-prediction by periodically loading and updating the latest model parameters from the model pool. The output stage retrieves the number of requested nodes from the input, multiplies and restores the single-node prediction values output by the engine to obtain a global power consumption estimate. Subsequently, data persistence is performed, and the maximum, minimum, and average power consumption of the intelligent computing task are output, directly feeding back to the underlying system to support green computing power deployment.
[0035] To ensure strong generalization capabilities of the system, this invention employs an adaptive feature extraction and alignment method tailored to the hardware topologies and log recording standards of different supercomputing platforms. Regardless of the underlying cluster's original log format, the system dynamically maps it to a unified standard feature space, extracting the following six core feature dimensions: user_id (username), job_name (task type), server_id (computing facility number), num_cores_req (requested CPU cores), num_gpus_req (requested GPUs), and node frequency (requested CPU frequency).
[0036] Based on the aforementioned system architecture and feature selection, in order to achieve high-precision pre-prediction and adaptive evolution in the face of dynamic loads, this invention designs a complete prediction workflow as follows: Figure 2 This is a flowchart illustrating the power consumption prediction model training method provided by the present invention, as shown below. Figure 2 As shown, the method includes the following: S21. Extract historical executed intelligent computing task data within a preset time window from the historical task data pool.
[0037] In this embodiment of the invention, during the initial stage of system startup, the algorithm retrieves data from the historical task data pool. Extracting the past The initial training set is constructed using data from tasks completed within the past day. The system sets a time window size α (retaining historical task data from the past α days) and a retraining frequency β (triggering parameter updates every β days). The algorithm intercepts and collects data from these retraining sessions. From time to The records of all completed tasks within this time period form the initial training set.
[0038] S22. Perform multimodal feature extraction and alignment processing on the second metadata of the historical executed intelligent computing task data to obtain the historical fusion feature vector, and perform single-node normalization, logarithmic smoothing and sample weighting processing based on the power consumption data of the historical executed intelligent computing tasks, where the power consumption target value is lower than the preset power consumption threshold, to obtain the training target value.
[0039] During the training and preparation phase of historical data, each task submitted to the intelligent computing center has its inherent energy consumption baseline. To simultaneously eliminate absolute energy consumption deviations caused by differences in resource allocation scale and resource heterogeneity among different tasks, the system establishes a target modeling approach of single-node normalization + heterogeneous feature retention: on the one hand, node / resource heterogeneity features such as server_id, num_gpus_req, and node frequency are retained in the input features; on the other hand, historical power consumption is normalized to single-node values according to the actual number of computing nodes requested or allocated to task j. Definition Let be the number of nodes actually requested for task j, and the normalized minimum node power consumption over the entire execution cycle of this task. Average node power consumption and maximum node power consumption They are defined as follows: Through the aforementioned normalization formula, the system extracts the macroscopic cluster prediction target into the inherent intrinsic power consumption attribute of the task. Based on this, addressing the pain points of extreme long-tailed distribution of power consumption in real-world computational tasks and the oversensitivity of traditional mean squared error to large numerical samples, the system performs log1p log-smoothing on the normalized true power consumption target value, effectively compressing the target value range and preventing the model from being dominated by a very small number of large samples in the early stages of training. Simultaneously, the model assigns higher training weights to samples with power consumption target values below a preset power consumption threshold in the training loss function, forcing the prediction network to allocate more attention to low-power tasks during optimization, laying a benchmark for subsequent high-precision regression, and ultimately obtaining the training target value.
[0040] S23. Input the historical fusion feature vector and the training target value into the gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model.
[0041] S24. Discard historical intelligent computing task data that exceeds the preset time window according to a preset frequency and a time sliding window mechanism, and retrain and update the power consumption prediction model based on the latest completed intelligent computing task data.
[0042] For the secondary metadata of historically executed intelligent computing tasks, the system employs a parallel dual-track encoding strategy. For numerical and fixed-category variables, corresponding numerical indices are assigned and INT Encoding mapping is performed. For implicit multimodal text such as task names and user identifiers, a pre-trained SBERT large language model is invoked to map them to a continuous 384-dimensional high-dimensional semantic latent space. This deeply extracts the correlation between similar research tasks while achieving irreversible desensitization of sensitive user data. Specifically, the system concatenates the username and task name into a semantic sequence, inputs it into the pre-trained SBERT encoding network, and SBERT extracts the global contextual dependencies of the sequence through its internal Transformer encoder combined with pooling layers, ultimately outputting a fixed-length 384-dimensional dense semantic vector. Subsequently, the numerical encoded vector is concatenated with the 384-dimensional semantic embedding vector to obtain the historical fusion feature vector.
[0043] Furthermore, the historical fusion feature vector and training target value are input into a gradient boosting decision tree model based on a fully symmetric tree structure for training. This model employs a fully symmetric tree structure, forcing all internal nodes at the same depth to share the same splitting feature and the same threshold. This mechanism ensures that data can only be split horizontally and vertically, preventing the generation of extreme branches to accommodate sporadic noise; and regardless of the tree's depth, the full sample data of the same layer is always used when determining the splitting condition. During the iterative process of constructing the regression tree, the algorithm uses a second-order Taylor expansion to approximate the loss function and introduces a strict regularization mechanism to control model complexity. To establish the complex mapping relationship between specific computing power requirements and nonlinear power mutations, the algorithm calculates the partial derivative of the objective function and derives the optimal power prediction increment for the j-th leaf node under the existing operator state partitioning. : in, Let j be the set of samples mapped to the j-th leaf node. and These are the first-order gradient and second-order Hessian derivative of the loss function, respectively. This is the regularization penalty coefficient. This extremum-solving mechanism based on high-order approximation significantly enhances the model's generalization ability, thereby achieving accurate predictions. A fully symmetric tree is constructed iteratively based on the optimal prediction increment to obtain the power consumption prediction model.
[0044] Furthermore, the weights of the trained power prediction model are uniformly stored in the model pool for periodic loading and calling during the online inference process.
[0045] Furthermore, the system continuously runs according to physical time and monitors the elapsed time since the last model training ended. When the system's accumulated time step reaches the preset retraining frequency threshold β, the adaptive update process of the model is triggered. The algorithm slides its observation data window forward, extracting only historical task execution data from the most recent α days to form a completely new training set, and automatically discarding outdated data samples that exceed this time boundary. Subsequently, the PCS-CatBoost model is periodically retrained on this new training set, redetermining the splitting features, splitting threshold, and leaf node output values of the fully symmetric tree. This continuous sliding window retraining mechanism fully utilizes the batch submission characteristic of tasks, enabling the model to dynamically adapt to the workload characteristics evolution caused by changes in user iteration, general computing tasks, intelligent computing inference, and intelligent computing training, as well as changes in the access and proportion of various computing power applications in the production environment. After completing the retraining based on the latest time window, the system strips away the old training state and locks the latest model parameters as a valid inference instance, returning to continue processing the continuous stream of newly submitted task requests. This cyclical mechanism ensures that the prediction framework can adapt to the evolution of the system while maintaining extremely low inference latency at the millisecond level in practical applications.
[0046] Based on the above steps, the core mathematical modeling and operating mechanism of the above algorithm are analyzed in detail below: 1) Construction of the computational power feature mapping domain After multimodal feature fusion, the input feature space exhibits high dimensionality and sparseness. The system sets the time window size. That is, to preserve the past Historical mission data and retraining frequency That is, every The parameter update is triggered daily. The algorithm first intercepts and collects data from... From time to The algorithm records all completed tasks within a given time period to form the initial training set. It then utilizes PCS-CatBoost to construct a nonlinear mapping relationship by integrating K fully symmetric trees to learn the characteristics of intelligent computing tasks. To power consumption The mapping pattern.
[0047] 2) Solving for extrema of computational power characteristics based on higher-order approximation During the iterative construction of the regression tree, the algorithm approximates the loss function using a second-order Taylor expansion and introduces a strict regularization mechanism to control model complexity. To establish the complex mapping relationship between specific computing power requirements and nonlinear power fluctuations, the algorithm calculates the partial derivative of the objective function and derives the optimal power prediction increment for the j-th leaf node under the existing operator state partitioning. : in, Let j be the set of samples mapped to the j-th leaf node. and These are the first-order gradient and second-order Hessian derivative of the loss function, respectively. This is the regularization penalty coefficient. This extremum solution mechanism based on higher-order approximation significantly enhances the model's generalization ability, thereby achieving accurate predictions.
[0048] 3) Adaptive sliding window update mechanism To ensure the reliability of long-term predictions, this framework introduces a learning mechanism based on a sliding time window. This treats large-scale intelligent computing task data as a continuous data stream, periodically discarding outdated samples and incorporating the latest ones. This indicates that at time step t, the current sliding time window is located... This dataset contains all known completed intelligent computing tasks. The optimization objective function of the computational mapping model is as follows: in, The loss function is used to measure prediction bias. For the front The cumulative prediction output of round iterations, The predicted values for the newly added tree structure. The regularization term controls the complexity of the tree. This periodic model reconstruction mechanism leverages the physical phenomenon in real-world intelligent computing centers where users tend to submit similar feature tasks in batches, reducing computational overhead and improving the generalization ability of quantifying power characteristics when facing unknown intelligent computing tasks.
[0049] 4) Power consumption prediction After the update is complete, the system removes the historical training state and locks the latest model weight parameters. Whenever the scheduling system captures a newly submitted unexecuted task, it directly inputs its multimodal fusion feature tensor into the latest slice's PCS-CatBoost tree ensemble structure for branch traversal, and the model directly outputs the corresponding power consumption prediction value. This inference process is completely decoupled from model training, ensuring that the system completes the direct mapping between "task and power consumption" within millisecond latency, and directly delivers the output power consumption prediction value to the underlying hardware scheduler.
[0050] Figure 3 This is one of the flowcharts illustrating the power consumption prediction method for intelligent computing center computing power tasks provided by this invention, such as... Figure 3 As shown, the method includes the following: S31. Obtain the first metadata of the intelligent computing task to be predicted, and perform multimodal feature extraction and alignment processing on the first metadata to obtain a fused feature vector.
[0051] When a user submits a computing task to the scheduling queue of the intelligent computing center, the system intercepts the first metadata of the task to be predicted in real time before allocating any hardware resources. The system parses the data based on the underlying cluster architecture and log differences, uniformly extracting and transforming it into the aforementioned six standard features: user_id, job_name, server_id, num_cores_req, num_gpus_req, and node frequency, establishing an initial multi-dimensional feature profile of the task to be predicted. To address the issue of models failing in real-time prediction due to features containing future execution information, the system strictly removes all post-task execution metrics during the feature aggregation and statistical mapping stages, aggregating features only according to the submission stream dimensions such as user account. Simultaneously, to enhance the model's robustness, the system sets uniform default values to fill in any incomplete or failed-to-extract fields.
[0052] For the first metadata extracted above, the system executes a parallel dual-track encoding strategy. For numerical and fixed-category variables such as server_id, num_cores_req, num_gpus_req, and node frequency, corresponding numerical indices are assigned and INT Encoding mapping is performed to obtain numerical encoded vectors; for unstructured text features such as user_id and job_name, the pre-trained SBERT large language model is invoked to map them to a continuous 384-dimensional high-dimensional semantic latent space.
[0053] Specifically, the system concatenates the extracted username and task name to construct a complete sequence representing the semantic context of the task. : Then, the sequence In the pre-trained SBERT encoding network, SBERT extracts global contextual dependencies of sequences through an internal Transformer encoder combined with pooling layers, and finally outputs a fixed-length 384-dimensional dense semantic vector. : On the one hand, SBERT can spontaneously calculate the cosine similarity of texts in a high-dimensional latent space, classifying implicit tasks belonging to the same research project or with similar computational intensity into one category in the feature space, thereby improving the downstream model's ability to identify and cluster unknown power consumption patterns. On the other hand, the user identity and task description plaintext are irreversibly converted into floating-point matrices, achieving desensitization and privacy protection of sensitive data.
[0054] Finally, the numerical encoding vector and the 384-dimensional semantic embedding vector are concatenated by tensors to construct the fusion feature space that is ultimately used as input to the PCS-CatBoost inference engine.
[0055] For any submitted intelligent computing task j, its final fused feature vector Represented as: in, This indicates a vector concatenation operation. The resulting merged vector... It includes precise hardware layout requirements (such as time constraints, memory limits, and number of GPUs) and rich 384-dimensional semantic tracking clues, breaking through the technical bottleneck of traditional power consumption prediction models with single feature dimensions and wasted natural language information.
[0056] S32. Input the fused feature vector into the pre-trained power prediction model for inference to obtain the single-node power prediction value of the intelligent computing task to be predicted on a single node.
[0057] S33. Based on the number of application nodes for the intelligent computing task to be predicted, the power consumption prediction value of the single node is globally restored to obtain the global power consumption prediction value of the intelligent computing task to be predicted.
[0058] fuse feature vectors The pre-trained power prediction model is used for inference. This model is a gradient boosting decision tree model based on a fully symmetric tree structure, which performs pre-prediction by periodically loading and updating the latest model parameters from the model pool. The model quickly traverses the tree structure for inference, directly outputting the predicted power consumption value of a single node for the intelligent computing task to be predicted, including the minimum predicted power consumption value, the average predicted power consumption value, and the maximum predicted power consumption value of a single node. This inference process is completely decoupled from model training, ensuring that the system completes the direct mapping between "task and power consumption" within millisecond latency.
[0059] Furthermore, an inverse logarithmic transformation is performed on the single-node power consumption prediction value to map the single-node power consumption prediction value from the logarithmic space back to the original power consumption value domain; the mapped single-node power consumption prediction value is multiplied by the number of requested nodes to obtain the global power consumption prediction value.
[0060] The present invention provides a power consumption prediction method for intelligent computing center computing power tasks. This method involves acquiring the first metadata of the intelligent computing task to be predicted, performing multimodal feature extraction and alignment on the first metadata to obtain a fused feature vector; inputting the fused feature vector into a pre-trained power consumption prediction model for inference to obtain a single-node power consumption prediction value for the intelligent computing task on a single node; and globally restoring the single-node power consumption prediction value based on the number of nodes requested by the intelligent computing task to obtain a global power consumption prediction value for the intelligent computing task. The power consumption prediction model is trained as follows: extracting historical executed intelligent computing task data within a preset time window from a historical task data pool; performing multimodal feature extraction and alignment on the second metadata of the historical executed intelligent computing task data to obtain a historical fused feature vector; and performing single-node normalization, logarithmic smoothing, and sample weighting processing (where the power consumption target value is lower than a preset power consumption threshold) based on the power consumption data of the historical executed intelligent computing tasks to obtain a training target value; and inputting the historical fused feature vector and the training target value into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model. Compared to existing technologies that rely on measured data after task execution, resulting in prediction lag, ignore the semantic features of task text causing waste of multimodal information, make it difficult for static models to adapt to dynamic load evolution and cause concept drift, and can only output a single mean that cannot reflect power extremes, this method realizes multi-dimensional pre-power prediction based on task submission metadata, supporting green computing power deployment and energy efficiency capping decisions.
[0061] Figure 4 This is the second flowchart of the power consumption prediction method for intelligent computing center computing power tasks provided by the present invention, as shown below. Figure 4 As shown, the method includes the following: S41. Obtain the first metadata of the intelligent computing task to be predicted. The first metadata includes numerical and category feature data and text feature data.
[0062] In this embodiment of the invention, when a user submits a computing task to the scheduling queue of the intelligent computing center, the system intercepts the first metadata of the intelligent computing task to be predicted in real time before allocating any hardware resources. The system parses the metadata based on the architecture and log differences of the underlying cluster, uniformly extracts and transforms it into 6-dimensional standard features, and establishes an initial multi-dimensional feature profile of the task to be predicted. The 6-dimensional standard features include: user_id (username), job_name (task type), server_id (computing facility number), num_cores_req (requested number of CPU cores), num_gpus_req (requested number of GPUs), and nodefrequency (requested CPU frequency). Among these, user_id and job_name are textual feature data, while server_id, num_cores_req, num_gpus_req, and node frequency are numerical and categorical feature data. To improve the problem of models failing in real-time prediction due to features containing future execution information, the system strictly removes all post-task execution metrics during the feature aggregation and statistical mapping stage, and only performs feature aggregation based on the submission stream dimensions such as user account.
[0063] S42. Perform integer encoding on the numerical and category feature data in the first metadata to obtain a numerical encoding vector.
[0064] For the numerical and categorical feature data acquired in S41, the system performs numerical filtering. For server_id, num_cores_req, num_gpus_req, and node frequency, the system defines them as a discrete and numerical feature set F_discrete. The system constructs a mapping function Φ, preserving the original magnitude of all regular numerical features, while performing integer mapping on features with fixed enumeration classes. Simultaneously, to enhance the model's robustness, the system sets uniform default values to fill in missing or failed truncation fields. For any discrete feature components of task j... Its normalization transformation formula can be expressed as: go through After function mapping, all discrete resource features of task j are seamlessly concatenated to generate a fixed-length basic numerical vector. , as the numerical encoding vector.
[0065] S43. Perform semantic embedding encoding on the text feature data in the first metadata to obtain a semantic embedding vector.
[0066] For the text feature data obtained in S41, namely user_id and job_name, as well as submission stream fields such as account, queue, container image name, or model framework version expanded according to project needs, the system introduces the large language model SBERT for sentence-level feature embedding. First, the system concatenates the extracted discrete text fragments to construct a complete sequence representing the semantic context of the task. : Then, the sequence The input is fed into the pre-trained SBERT encoding network. SBERT extracts global contextual dependencies of the sequence through an internal Transformer encoder combined with pooling layers, and finally outputs a fixed-length 384-dimensional dense semantic vector. As the semantic embedding vector.
[0067] On the one hand, SBERT can spontaneously calculate the cosine similarity of texts in a high-dimensional latent space, classifying implicit tasks belonging to the same research project or with similar computational intensity into one category in the feature space, thereby improving the downstream model's ability to identify and cluster unknown power consumption patterns. On the other hand, the user identity and task description plaintext are irreversibly converted into floating-point matrices, achieving desensitization and privacy protection of sensitive data.
[0068] S44. The numerical encoding vector and the semantic embedding vector are concatenated to obtain the fused feature vector.
[0069] After completing the hybrid encoding, the feature engineering module needs to concatenate the basic numerical vector and the deep semantic vector into tensors to construct the final fused feature space used as input to the PCS-CatBoost inference engine. For any submitted intelligent computing task j, its final fused feature vector... Represented as: in, This indicates a vector concatenation operation. The resulting merged vector... It includes precise hardware layout requirements (such as time constraints, memory limits, and number of GPUs) and rich 384-dimensional semantic tracking clues, breaking through the technical bottleneck of traditional power consumption prediction models with single feature dimensions and wasted natural language information.
[0070] S45. Input the fused feature vector into the pre-trained power prediction model for inference to obtain the single-node power prediction value of the intelligent computing task to be predicted on a single node.
[0071] The fused feature vector obtained from S44 The pre-trained power prediction model is used for inference. This model is a gradient boosting decision tree model based on a fully symmetric tree structure. It performs pre-prediction by periodically loading and updating the latest model parameters from the model pool. The model rapidly traverses and infers based on the fully symmetric tree structure, directly outputting the predicted power consumption value for each node corresponding to the intelligent computing task to be predicted. The predicted power consumption value for each node includes the minimum predicted power consumption value, the average predicted power consumption value, and the maximum predicted power consumption value. This inference process is completely decoupled from model training, ensuring that the system completes the direct mapping between "task-power consumption" within milliseconds.
[0072] S46. Perform an inverse logarithmic transformation on the single-node power consumption prediction value to map the single-node power consumption prediction value from the logarithmic space back to the original power consumption value domain.
[0073] Because the prediction engine uses log1p logarithmic smoothing during the training phase, when performing data restoration, the system first performs an inverse logarithmic transformation (i.e., expm1 operation) on the single-node power consumption prediction value output by S45, mapping it back from the logarithmic space to the original power consumption domain. Specifically, for the power consumption target value that has undergone log1p transformation during the training phase, its corresponding inverse transformation is exp(x)-1, thereby restoring the logarithmic domain prediction value output by the model to the original power consumption dimension.
[0074] S47. Multiply the mapped single-node power consumption prediction value by the number of applied nodes to obtain the global power consumption prediction value.
[0075] After S46 completes the data restoration, the system retrieves the number of application nodes for the intelligent computing task to be predicted from the task submission end. The mapped single-node power consumption prediction value is compared with the number of applied nodes. The values are multiplied and a global reconstruction is performed to calculate the global power consumption prediction for the task in a real-world execution environment. The global power consumption prediction includes the global minimum power consumption prediction, the global average power consumption prediction, and the global maximum power consumption prediction. Finally, the system persists the prediction data and writes it to the Predictions table, while simultaneously outputting the minimum, average, and maximum power consumption predictions for the task to the underlying scheduler. This output will serve as a priori evidence for collaborative computing, directly supporting subsequent decisions on green computing power allocation and energy efficiency capping.
[0076] To facilitate understanding and implementation of this invention by those skilled in the art, specific examples are provided below to further illustrate the invention. It should be noted that the Natural Language Embedding Model (SBERT) involved in this invention is an existing basic algorithm technology. These embodiments are merely used to illustrate the workflow and effects of the prediction architecture and adaptive mapping mechanism of this invention, and are not intended to limit the scope of this invention. After reading this invention, any modifications of this invention in various equivalent forms by those skilled in the art fall within the scope defined by the appended claims.
[0077] To simulate and verify the effectiveness of this method in solving the power consumption prediction problem of intelligent computing tasks, this patent uses a Python integrated development environment, combined with computing libraries such as pcs-catboost, sentence-transformers, and scikit-learn, to model and simulate the intelligent computing task scheduling and power consumption monitoring environment involved. The experiment simulates a scenario in the daily operation environment of an intelligent computing center, using historical task execution metadata and real node power consumption feedback to perform pre-quantitative evaluation of the minimum, average, and maximum power consumption of a single node for newly submitted tasks in the scheduling queue. Specific experimental parameters are shown in Table 1. Table 1 Specific Experimental Parameters In the simulation environment, the PCS-CatBoost algorithm performed a strict sliding window iteration with physical time steps. The model followed... The system automatically discards expired features and triggers retraining at a frequency of [number] days, with each retraining iteration only absorbing past features. The multimodal fusion dataset within a day uses the mean squared error to calculate the gradient of the regression loss function.
[0078] Comprehensive experimental data shows that the present invention exhibits significantly lower deviations in various power consumption indicators compared to traditional static offline models, and is far superior to conventional machine learning baselines that rely solely on simple integer encoding. This algorithm demonstrates extremely high robustness in the face of concept drift phenomena caused by changes in the access and proportion of various computing power applications, such as new user influx, general computing tasks, intelligent inference, and intelligent training, in supercomputing systems. In conclusion, this algorithm effectively balances the optimization relationship between the overhead of automatic model updates and the accuracy of prior prediction, thus successfully fulfilling the power consumption prediction and scheduling support services for intelligent computing center tasks within the new power-computing collaborative framework.
[0079] This invention provides a power consumption prediction method for computing tasks in intelligent computing centers. It designs a power consumption prediction framework based on SBERT multimodal semantic encoding and PCS-CatBoost, enabling multi-dimensional power consumption feature prediction for high-performance intelligent computing tasks before resource allocation. This significantly improves the prior perception efficiency of node-level energy efficiency in heterogeneous computing centers without intruding on underlying hardware entities. Addressing the long-tail distribution characteristics and dynamic evolution of high-performance computing loads, it constructs a normalized target model, logarithmic smoothing, and a loss compensation mechanism weighted by small-value samples to prevent the model from being biased by a few extremely large samples in the early stages of training. Simultaneously, it coordinates a feature aggregation strategy based on account dimensions to reduce the risk of overfitting and ensure high reliability of the model in real-time prediction environments. Finally, it employs a fully symmetric tree regression mapping algorithm with a dynamic time sliding window mechanism to optimize power consumption prediction accuracy in concept drift environments, balancing model generalization accuracy with automated update costs. This improves the power capping and resource scheduling efficiency of computing centers under a computer-computer collaborative architecture, promoting the green and energy-saving operation of the system.
[0080] The following describes the power consumption prediction device for intelligent computing center computing power tasks provided by the present invention. The power consumption prediction device for intelligent computing center computing power tasks described below and the power consumption prediction method for intelligent computing center computing power tasks described above can be referred to in correspondence.
[0081] Figure 5 This is a schematic diagram of the power consumption prediction device for intelligent computing center computing power tasks provided by the present invention, specifically including: The data acquisition and processing module 501 is used to acquire the first metadata of the intelligent computing task to be predicted, and to perform multimodal feature extraction and alignment processing on the first metadata to obtain a fused feature vector. For detailed explanations, please refer to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0082] The input inference module 502 is used to input the fused feature vector into the pre-trained power prediction model for inference, thereby obtaining the single-node power prediction value of the intelligent computing task to be predicted on a single node. For detailed explanations, please refer to the relevant descriptions in the above method embodiments; they will not be repeated here.
[0083] The prediction module 503 is used to globally restore the single-node power consumption prediction value based on the number of application nodes for the intelligent computing task to be predicted, thereby obtaining the global power consumption prediction value of the intelligent computing task to be predicted. For detailed explanations, please refer to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0084] The model training module 504 is used to extract historical executed intelligent computing task data within a preset time window from the historical task data pool; perform multimodal feature extraction and alignment processing on the second metadata of the historical executed intelligent computing task data to obtain a historical fusion feature vector; and perform single-node normalization, logarithmic smoothing, and sample weighting processing based on the power consumption data of the historical executed intelligent computing tasks, where the power consumption target value is lower than a preset power consumption threshold, to obtain a training target value; input the historical fusion feature vector and the training target value into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model. For detailed explanations, please refer to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0085] Figure 6 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 6 As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630, and a communication bus 640, wherein the processor 610, communications interface 620, and memory 630 communicate with each other through the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute a power consumption prediction method for intelligent computing center computing power tasks. This method includes: acquiring first metadata of the intelligent computing task to be predicted, and performing multimodal feature extraction and alignment processing on the first metadata to obtain a fused feature vector; inputting the fused feature vector into a pre-trained power consumption prediction model for inference to obtain a single-node power consumption prediction value of the intelligent computing task to be predicted on a single node; and globally restoring the single-node power consumption prediction value based on the number of nodes requested by the intelligent computing task to be predicted to obtain a global power consumption prediction value of the intelligent computing task to be predicted. The power consumption prediction model is trained as follows: historical executed intelligent computing task data within a preset time window is extracted from the historical task data pool; multimodal feature extraction and alignment processing is performed on the second metadata of the historical executed intelligent computing task data to obtain a historical fusion feature vector; single-node normalization, logarithmic smoothing, and sample weighting processing with power consumption target values lower than a preset power consumption threshold are performed based on the power consumption data of the historical executed intelligent computing tasks to obtain a training target value; the historical fusion feature vector and the training target value are input into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model.
[0086] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0087] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the power consumption prediction method for intelligent computing center computing power tasks provided by the above methods. The method includes: acquiring first metadata of the intelligent computing task to be predicted, and performing multimodal feature extraction and alignment processing on the first metadata to obtain a fused feature vector; inputting the fused feature vector into a pre-trained power consumption prediction model for inference to obtain a single-node power consumption prediction value of the intelligent computing task to be predicted on a single node; and adjusting the single-node power consumption based on the number of nodes requested by the intelligent computing task to be predicted. The predicted values are globally restored to obtain the global power consumption prediction value of the intelligent computing task to be predicted. The power consumption prediction model is trained as follows: historical executed intelligent computing task data within a preset time window is extracted from the historical task data pool; multimodal feature extraction and alignment processing is performed on the second metadata of the historical executed intelligent computing task data to obtain a historical fusion feature vector; single-node normalization, logarithmic smoothing, and sample weighting processing (where the power consumption target value is lower than a preset power consumption threshold) are performed based on the power consumption data of the historical executed intelligent computing tasks to obtain a training target value; the historical fusion feature vector and the training target value are input into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model.
[0088] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements a power consumption prediction method for intelligent computing center computing power tasks provided by the above-described methods. This method includes: acquiring first metadata of the intelligent computing task to be predicted, and performing multimodal feature extraction and alignment processing on the first metadata to obtain a fused feature vector; inputting the fused feature vector into a pre-trained power consumption prediction model for inference to obtain a single-node power consumption prediction value for the intelligent computing task to be predicted on a single node; and globally restoring the single-node power consumption prediction value based on the number of nodes requested by the intelligent computing task to be predicted to obtain the power consumption prediction value for the intelligent computing center computing power task. The global power consumption prediction value of the intelligent computing task to be predicted; wherein, the power consumption prediction model is trained in the following way: extracting historical intelligent computing task data within a preset time window from the historical task data pool; performing multimodal feature extraction and alignment processing on the second metadata of the historical intelligent computing task data to obtain a historical fusion feature vector, and performing single-node normalization, logarithmic smoothing and sample weighting processing based on the power consumption data of the historical intelligent computing tasks, where the power consumption target value is lower than a preset power consumption threshold, to obtain a training target value; inputting the historical fusion feature vector and the training target value into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model.
[0089] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0090] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A power consumption prediction method for computing power tasks in intelligent computing centers, characterized in that, include: Obtain the first metadata of the intelligent computing task to be predicted, and perform multimodal feature extraction and alignment processing on the first metadata to obtain a fused feature vector; The fused feature vector is input into the pre-trained power prediction model for inference to obtain the single-node power prediction value of the intelligent computing task to be predicted on a single node. The power consumption prediction value of a single node is globally restored based on the number of application nodes for the intelligent computing task to be predicted, so as to obtain the global power consumption prediction value of the intelligent computing task to be predicted. The power consumption prediction model is trained in the following way: Extract historical executed intelligent computing task data from the historical task data pool within a preset time window; Multimodal feature extraction and alignment processing are performed on the second metadata of the historical executed intelligent computing task data to obtain historical fusion feature vectors. Based on the power consumption data of the historical executed intelligent computing tasks, single-node normalization, logarithmic smoothing, and sample weighting processing with power consumption target values lower than preset power consumption thresholds are performed to obtain training target values. The historical fusion feature vector and the training target value are input into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model.
2. The method according to claim 1, characterized in that, The first metadata includes numerical and category feature data and text feature data; The process of performing multimodal feature extraction and alignment on the first metadata to obtain a fused feature vector includes: Integer encoding is performed on the numerical and category feature data in the first metadata to obtain a numerical encoding vector; Semantic embedding encoding is performed on the text feature data in the first metadata to obtain a semantic embedding vector; The numerical encoding vector and the semantic embedding vector are concatenated to obtain the fused feature vector.
3. The method according to claim 2, characterized in that, The text feature data includes the username and task name; The step of performing semantic embedding encoding on the text feature data in the first metadata to obtain a semantic embedding vector includes: The username and the task name are concatenated into a semantic sequence, and the semantic sequence is input into a pre-trained sentence-level encoding network to obtain a fixed-length dense semantic vector as the semantic embedding vector.
4. The method according to claim 1, characterized in that, The number of application nodes is the number of computing nodes expected to be allocated to the intelligent computing task to be predicted, and the single node power consumption prediction value is the equivalent node power consumption normalized according to the number of nodes. The process of globally restoring the single-node power consumption prediction value based on the number of application nodes for the intelligent computing task to be predicted, to obtain the global power consumption prediction value for the intelligent computing task to be predicted, includes: Perform an inverse logarithmic transformation on the single-node power consumption prediction value to map the single-node power consumption prediction value from the logarithmic space back to the original power consumption value domain; The mapped single-node power consumption prediction value is multiplied by the number of requested nodes to obtain the global power consumption prediction value.
5. The method according to claim 1, characterized in that, The power consumption data based on historically executed intelligent computing tasks undergoes single-node normalization, logarithmic smoothing, and sample weighting processing (where the power consumption target value is lower than a preset power consumption threshold) to obtain training target values, including: Divide the minimum power consumption, average power consumption, and maximum power consumption of the historically executed intelligent computing tasks by the actual number of nodes allocated to obtain the minimum power consumption, average power consumption, and maximum power consumption of a single node. Logarithmic smoothing transformation is performed on the minimum power consumption, average power consumption, and maximum power consumption of a single node to obtain the training target value; based on the comparison result between the training target value and the preset power consumption threshold, training weights are set for the corresponding samples, and the training weights are introduced into the loss function of model training.
6. The method according to claim 1, characterized in that, The single-node power consumption prediction values include the minimum power consumption prediction value, the average power consumption prediction value, and the maximum power consumption prediction value for a single node; the global power consumption prediction values include the global minimum power consumption prediction value, the global average power consumption prediction value, and the global maximum power consumption prediction value.
7. The method according to claim 5, characterized in that, The method further includes: After performing single-node normalization on the power consumption data of the historically executed intelligent computing tasks, the computing facility number, the number of requested GPUs, the number of requested cores, and the CPU frequency are retained as resource heterogeneity features in the historical fusion feature vector, so that the power consumption prediction model can learn the nonlinear mapping relationship between different computing resource configurations and power consumption.
8. The method according to claim 5, characterized in that, The step of inputting the historical fusion feature vector and the training target value into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model includes: The historical fusion feature vector, the training target value, and the training weights are input into a gradient boosting decision tree model based on a fully symmetric tree structure. The gradient boosting decision tree model uses a second-order Taylor expansion to approximate the loss function and introduces a regularization mechanism to control the model complexity. Based on the first-order gradient and second-order Hessian derivative of the loss function, the optimal prediction increment of the leaf node is solved. The power consumption prediction model is obtained by constructing a fully symmetric tree based on the optimal prediction increment iteration.
9. The method according to claim 8, characterized in that, The method further includes: According to a preset frequency, historical data of executed intelligent computing tasks that exceed the preset time window are discarded based on a time sliding window mechanism, and the power consumption prediction model is retrained and updated based on the latest completed intelligent computing task data.
10. The method according to claim 9, characterized in that, The step of discarding historical intelligent computing task data that exceeds the preset time window according to a preset frequency and a time sliding window mechanism, and retraining and updating the power consumption prediction model based on the latest completed intelligent computing task data, includes: When the time elapsed since the end of the last training session reaches the preset frequency, the preset time window is slid forward, retaining only the historically executed intelligent computing task data within the most recent preset time period, and a new training set is formed based on the latest completed intelligent computing task data. The power consumption prediction model is retrained based on the new training set.
11. A power consumption prediction device for computing power tasks in intelligent computing centers, characterized in that, include: The data acquisition and processing module is used to acquire the first metadata of the intelligent computing task to be predicted, and to perform multimodal feature extraction and alignment processing on the first metadata to obtain a fused feature vector. The input inference module is used to input the fused feature vector into the pre-trained power prediction model for inference, and obtain the single-node power prediction value of the intelligent computing task to be predicted on a single node. The prediction module is used to globally restore the single-node power consumption prediction value based on the number of application nodes of the intelligent computing task to be predicted, so as to obtain the global power consumption prediction value of the intelligent computing task to be predicted. The model training module is used to extract historical executed intelligent computing task data within a preset time window from the historical task data pool; perform multimodal feature extraction and alignment processing on the second metadata of the historical executed intelligent computing task data to obtain historical fusion feature vectors; and perform single-node normalization, logarithmic smoothing and sample weighting processing based on the power consumption data of the historical executed intelligent computing tasks, where the power consumption target value is lower than a preset power consumption threshold, to obtain the training target value. The historical fusion feature vector and the training target value are input into a gradient boosting decision tree model based on a fully symmetric tree structure for training to obtain the power consumption prediction model.
12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the power consumption prediction method for computing power tasks in intelligent computing centers as described in any one of claims 1 to 10.
13. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the power consumption prediction method for computing power tasks in intelligent computing centers as described in any one of claims 1 to 10.
14. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the power consumption prediction method for computing power tasks in intelligent computing centers as described in any one of claims 1 to 10.
