Utility decay prediction-based large language model prompt word asset life cycle management method and device
By acquiring the operational metrics and drift characteristics of prompt word templates, and using a utility decay prediction model to predict the decline in the utility of prompt word templates, the passive nature of prompt word template management in existing technologies is solved, enabling predictive maintenance and seamless upgrades, and reducing the risk of business interruption.
Patent Information
- Application Number
- CN202611059338.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-16
- Publication Date
- 2026-11-24
AI Technical Summary
Existing prompt word template management tools lack the ability to proactively perceive and adaptively respond to utility decay, resulting in a high risk of business interruption and delayed optimization response, especially when upgrading large language model versions, they cannot predict performance degradation.
By acquiring the operational metrics data and drift feature set of the target prompt word template, the utility decay prediction model is used to predict the utility decline trend of the prompt word template, determine the re-optimization scheduling strategy, and perform feature update operations, thereby realizing the management leap from passive alarm to predictive maintenance.
This has enabled a management leap from passive alerts to predictive maintenance, improved resource utilization efficiency, ensured seamless integration of model version upgrades and prompt word optimization, and reduced the risk of business interruption.
Smart Images

Figure CN123159337A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of artificial intelligence, and in particular to a method and apparatus for lifecycle management of cue words based on a large language model for utility decay prediction. Background Technology
[0002] In enterprise-level large language model applications, prompt word templates are core assets connecting business needs and model capabilities. A carefully optimized prompt word template often embodies weeks or even months of debugging experience and is an important component of the enterprise's contextual assets. However, prompt word templates are not static documents; their effectiveness decays over time. In real-world production environments, the decline in the effectiveness of prompt word templates is driven by three core factors: data drift (user input distribution changes over time, reducing the adaptability of the original template to the new distribution), model version drift (after upgrading the underlying large language model, the performance of the original optimized prompt words may regress due to changes in model behavior), and business requirement drift (updates to business rules and compliance requirements cause the original constraints to become invalid).
[0003] Existing prompt word management tools (such as Prompt Hub and Lang Chain Hub) primarily provide version control and static metadata management, lacking the ability to proactively perceive and adaptively respond to the decay of prompt word template utility over time. Their utility monitoring is mostly based on passive threshold alerts (e.g., optimization triggered when the success rate falls below 60%). This reactive approach cannot perform predictive maintenance before the decay occurs, leading to high business interruption risks, delayed optimization responses, and passive resource scheduling. More seriously, when a new version of the underlying large language model is released, enterprises often only discover the significant performance degradation of the original prompt word templates after full deployment, by which time substantial business losses have already occurred. Summary of the Invention
[0004] This application provides a method and apparatus for lifecycle management of prompt words assets based on a large language model with utility decay prediction, in order to solve the problems of static prompt word template management, passive utility monitoring, and unpredictable version upgrade risks in the prior art.
[0005] Firstly, this application provides a method for lifecycle management of cue words assets based on a large language model for utility decay prediction, including: Obtain the operational index data of the target prompt word template within its historical operating cycle, and extract the drift feature set associated with the target prompt word; input the operational index data and the drift feature set into a pre-constructed utility decay prediction model for processing, to obtain the expected time when the comprehensive utility score of the target prompt word template drops to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time; based on the expected time and the prediction confidence interval, determine the target re-optimization scheduling strategy for the target prompt word template; perform feature update operations on the target prompt word template according to the target re-optimization scheduling strategy to obtain the re-optimized target prompt word template.
[0006] In one possible implementation, the distribution divergence between the input text distribution of the current running cycle and the input text distribution of the historical running cycles is obtained as an input drift feature; the change records of compliance rules associated with the constraint condition area are obtained as rule drift features; and the input drift features and the rule drift features are combined into the drift feature set.
[0007] In one possible implementation, a first feature vector of the input text in the current running cycle and a second feature vector of the input text in the historical running cycles are obtained; the spatial distance between the first feature vector and the second feature vector is calculated; a divergence score is calculated based on the spatial distance, and the divergence score is used as the distribution divergence to quantize the input drift feature; The larger the spatial distance, the larger the corresponding divergence score, and the stronger the input drift feature.
[0008] In one possible implementation, a utility survival probability curve for the target prompt word template is constructed based on a preset baseline risk distribution function and the drift feature set; the time point corresponding to when the utility survival probability curve drops to the preset utility critical threshold is extracted as the expected time; multiple simulated survival trajectories are constructed by resampling the operational indicator data multiple times, and the prediction confidence interval corresponding to the expected time is determined based on the quantile dispersion of the multiple simulated survival trajectories.
[0009] In one possible implementation, the expected time is compared with a preset first decay time threshold and a preset decay time threshold, wherein the first decay time threshold is less than the second decay time threshold; when the expected time is less than the first decay time threshold and the width of the prediction confidence interval is less than a preset width threshold, the target re-optimization scheduling strategy of the target prompt word template is determined to trigger a feature update mechanism; when the expected time is between the first decay time threshold and the second decay time threshold, the target re-optimization scheduling strategy of the target prompt word template is determined to execute a hot-switching mechanism when the request processing load is lower than a preset low threshold.
[0010] In one possible implementation, when the expected time is less than the first decay time threshold and the width of the prediction confidence interval is not less than a preset width threshold, the target re-optimization scheduling strategy of the target prompt word template is determined as a mechanism to increase the frequency of operation indicator data collection; wherein, the wider the width of the prediction confidence interval, the higher the frequency of operation indicator data collection is adjusted.
[0011] In one possible implementation, the version update identifier of the underlying large language model is obtained; the traffic splitting ratio is determined according to the current system processing load; according to the traffic splitting ratio, the online access traffic for the old version of the language model is copied as shadow traffic, and the shadow traffic is routed to the new version of the large language model; the output result of the new version of the large language model for the shadow traffic is compared with the original output result of the old version of the language model, and the version regression loss value is calculated.
[0012] In one possible implementation, the version regression loss value is compared with a preset tolerance threshold; when the version regression loss value is greater than the preset tolerance threshold, the feature update operation is triggered on the target prompt word template before the new version of the large language model is fully launched. The larger the version regression loss value, the higher the priority of the computing resources allocated to the feature update operation.
[0013] Secondly, this application provides a large language model-based cue word asset lifecycle management device based on utility decay prediction, comprising: The acquisition module is used to acquire the operation index data of the target prompt word template in the historical operation cycle, and extract the drift feature set associated with the target prompt word; The processing module is used to input the running index data and the drift feature set into a pre-built utility decay prediction model for processing, to obtain the expected time when the comprehensive utility score of the target prompt word template drops to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time; The determination module is used to determine the target re-optimization scheduling strategy for the target prompt word template based on the expected time and the prediction confidence interval; The update module is used to perform feature update operations on the target prompt word template according to the target re-optimization scheduling strategy to obtain the re-optimized target prompt word template.
[0014] Thirdly, this application provides a computer device, including a processor and a memory, wherein the processor is configured to execute a large language model cue word asset lifecycle management program based on utility decay prediction stored in the memory, so as to implement the large language model cue word asset lifecycle management method based on utility decay prediction as described in any one of the first aspects above.
[0015] Fourthly, this application provides a storage medium storing one or more programs that can be executed by one or more processors to implement the large language model cue word asset lifecycle management method based on utility decay prediction as described in any of the first aspects above.
[0016] The method for lifecycle management of prompt words assets based on utility decay prediction provided in this application obtains the operational indicator data of the target prompt word template within its historical operating cycle and extracts the drift feature set associated with the target prompt word. The operational indicator data and the drift feature set are input into a pre-constructed utility decay prediction model for processing, obtaining the expected time when the comprehensive utility score of the target prompt word template decreases to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time. Based on the expected time and the prediction confidence interval, a target re-optimization scheduling strategy for the target prompt word template is determined. Feature update operations are performed on the target prompt word template according to the target re-optimization scheduling strategy to obtain the re-optimized target prompt word template. This achieves a management leap from passive alarm to predictive maintenance; it also implements a differentiated scheduling strategy, significantly improving resource utilization efficiency; and it achieves seamless integration between model version upgrades and prompt word optimization. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0020] Figure 1 A flowchart illustrating a method for managing the lifecycle of cue words based on a large language model for utility decay prediction, provided in an embodiment of this application; Figure 2 A flowchart illustrating the process of determining the drift feature set in another large language model-based asset lifecycle management method for utility decay prediction provided in this application embodiment; Figure 3 A flowchart illustrating the process of determining the expected time and prediction confidence interval in another large language model-based asset lifecycle management method based on utility decay prediction provided in this application embodiment; Figure 4 A flowchart illustrating the process of determining the target re-optimization scheduling strategy in another large language model-based cue word asset lifecycle management method based on utility decay prediction provided in this application embodiment; Figure 5 This application provides a schematic diagram of the structure of a large language model-based asset lifecycle management device for utility decay prediction; Figure 6 This application provides a schematic diagram of the structure of a computer device. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0022] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0023] Figure 1A flowchart illustrating a method for managing the lifecycle of cue words based on a large language model for utility decay prediction, as provided in this application embodiment, is shown below. Figure 1 The method specifically includes: S11. Obtain the operation index data of the target prompt word template in the historical operation cycle, and extract the drift feature set associated with the target prompt word.
[0024] The cue word asset lifecycle management method based on utility decay prediction provided in this application embodiment is applied to a large language model cue word management platform, which is responsible for the full lifecycle management of enterprise-level cue word templates. The system first obtains the operational indicator data of the target cue word template within its historical operating cycle. This operational indicator data refers to the multi-dimensional utility indicator time series continuously collected by the system for each target cue word template running online, used to comprehensively characterize the operational status of the cue word template; this operational indicator data forms the basis for subsequent utility decay prediction.
[0025] Specifically, the target prompt word template refers to the prompt word text that has been deployed and is running in the production environment, carrying specific business tasks, along with its associated contextual knowledge, variable slots, and version history. The historical operating period refers to the complete time period from the template's deployment to the current time. During this time period, the system continuously collects six-dimensional utility metrics, including task success rate, output consistency, format compliance rate, token efficiency, call frequency trend, and version regression score, forming time-series data. It also extracts a set of drift features associated with the target prompt word template. This set of drift features is used to quantify the external driving factors that cause template utility decay, including at least input drift features and rule drift features. Input drift features characterize the degree to which user input distribution changes over time, while rule drift features characterize changes in business rules or compliance requirements. The system stores the operating metric data and the drift feature set together in a time-series database as input to the subsequent utility decay prediction model.
[0026] In this embodiment, the six-dimensional utility index can be: Task Success Rate: The percentage of tasks that are correctly completed, as output by the template. Output consistency: The stability of the output structure when called multiple times under the same input; Format Compliance Rate: The percentage of outputs that conform to the preset format declaration; Token efficiency: The amount of effective information produced per unit of token consumption; Invocation Frequency Trend: The trend of template invocation volume per unit of time; Version Regression Score: The degree to which template performance is maintained after a new underlying model version is released.
[0027] S12. Input the operational index data and the drift feature set into the pre-built utility decay prediction model for processing to obtain the expected time when the comprehensive utility score of the target prompt word template drops to the preset utility critical threshold, and the prediction confidence interval corresponding to the expected time.
[0028] After acquiring the operational metric data and drift feature set, the system inputs them into a pre-built and trained utility decay prediction model. This model is based on survival analysis theory and is used to predict the utility decay trend of prompt word templates.
[0029] Specifically, the utility decay prediction model uses the Cox proportional hazards model or the Weibull distribution as the baseline risk distribution function, and uses each feature in the drift feature set as a covariate. The regression coefficients of each covariate are obtained by training with historical template failure data.
[0030] Furthermore, the model's processing includes: First, constructing a utility survival probability curve for the target prompt word template based on the baseline risk distribution function and drift feature set. This curve describes the decay trajectory of the template's overall utility score over time. Second, extracting the time point corresponding to the curve's decline to a preset utility critical threshold as the expected time. This preset utility critical threshold is typically set to 50% of the initial overall utility score, i.e., the utility half-life. Finally, constructing multiple simulated survival trajectories by performing multiple Bootstrap resampling operations on the operational index data, and determining the prediction confidence interval corresponding to the expected time based on the quantile dispersion of these simulated survival trajectories. This confidence interval is used to quantify the uncertainty of the prediction. The system uses the expected time and prediction confidence interval as the core basis for subsequent scheduling strategy decisions.
[0031] S13. Based on the expected time and the predicted confidence interval, determine the target re-optimization scheduling strategy for the target prompt word template.
[0032] After obtaining the expected time and the predicted confidence interval, the system dynamically determines the target re-optimization scheduling strategy for the target prompt word template based on a comprehensive judgment of these two parameters, thereby achieving differentiated processing of templates with different recession risks.
[0033] Specifically, the system compares the expected time with a preset first decay time threshold and a second decay time threshold. The first decay time threshold (e.g., 7 days) is used to define the emergency decay boundary, and the second decay time threshold (e.g., 30 days) is used to define the early warning decay boundary. The system also evaluates the width of the prediction confidence interval, which reflects the degree of certainty in the prediction. Based on the combination of expected time and confidence interval width, the system categorizes the target re-optimization scheduling strategy into three types: for templates with expected times less than the first decay time threshold and narrow confidence intervals, a feature update mechanism is triggered, i.e., emergency re-optimization is initiated immediately; for templates with expected times between the first and second decay time thresholds, a hot-switching mechanism is executed during off-peak periods; for templates with expected times greater than the second decay time threshold, only the monitoring frequency is increased, without triggering re-optimization. For templates with short expected times but wide confidence intervals, the system prioritizes increasing the collection frequency, and makes a decision only after the confidence interval narrows.
[0034] S14. Perform feature update operation on the target prompt word template according to the target re-optimization scheduling strategy to obtain the re-optimized target prompt word template.
[0035] In this embodiment, based on the target re-optimization scheduling strategy determined in the above steps, the corresponding feature update operation is performed on the target prompt word template to generate the re-optimized target prompt word template.
[0036] Specifically, for templates that trigger the feature update mechanism, the system immediately initiates an automatic re-optimization pipeline: First, it suspends new call allocation for the template, and already allocated requests are transferred to a degradation strategy; then, it performs root cause analysis based on SHAP values to identify the features that contribute most to the decrease in utility; next, it performs targeted optimization of functional areas based on the root cause: if the root cause is input distribution drift, it focuses on optimizing the context injection area and example area; if the root cause is a model version change, it focuses on optimizing the role definition area and output specification area; if the root cause is a business rule update, it focuses on optimizing the constraint area and task instruction area; finally, after optimization is completed, it is verified through A / B testing before traffic is restored. For templates that implement a hot-swap mechanism, the system completes re-optimization and shadow traffic verification during off-peak business hours to achieve seamless switching. The system updates the re-optimized target prompt word template to the template library and records the version number and triggering reason for this update.
[0037] The method for lifecycle management of prompt words assets based on utility decay prediction provided in this application obtains the operational indicator data of the target prompt word template within its historical operating cycle and extracts the drift feature set associated with the target prompt word. The operational indicator data and the drift feature set are input into a pre-constructed utility decay prediction model for processing, obtaining the expected time when the comprehensive utility score of the target prompt word template decreases to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time. Based on the expected time and the prediction confidence interval, a target re-optimization scheduling strategy for the target prompt word template is determined. Feature update operations are performed on the target prompt word template according to the target re-optimization scheduling strategy to obtain the re-optimized target prompt word template. This achieves a management leap from passive alarm to predictive maintenance; it also implements a differentiated scheduling strategy, significantly improving resource utilization efficiency; and it achieves seamless integration between model version upgrades and prompt word optimization.
[0038] Figure 2 A flowchart illustrating the process of determining the drift feature set in another large language model-based cue word asset lifecycle management method based on utility decay prediction provided in this application embodiment is shown below. Figure 2 The method specifically includes: S21. Obtain the first feature vector of the input text in the current running cycle and the second feature vector of the input text in the historical running cycles.
[0039] The drift feature set determination method provided in this application is applied to the feature engineering module of a prompt word management platform. This module is responsible for converting the original input text into numerical features that can be used for model training. The system first obtains the feature vectors of the user input text in the current running cycle and historical running cycles, which are then used to calculate the degree of change in the input distribution.
[0040] Specifically, the current running period refers to the set of input texts submitted by users to the target prompt word template within a recent preset time period (e.g., the last 7 days), while the historical running period refers to the set of input texts from the template's launch until the start of the current running period. The system performs vectorization processing on the input texts of the two periods separately: first, preprocessing operations such as word segmentation, stop word removal, and stemming are performed on the text; then, TF-IDF or a pre-trained language model (e.g., BERT) are used to convert the text into fixed-dimensional numerical vectors; finally, average pooling or max pooling is performed on all vectors within the same period to obtain the first feature vector and the second feature vector representing the overall input distribution of that period. The first feature vector and the second feature vector are both located in the same semantic space and have the same dimension to ensure the effectiveness of subsequent distance measurements.
[0041] S22. Calculate the spatial distance between the first feature vector and the second feature vector.
[0042] After obtaining the first feature vector and the second feature vector, the system calculates the spatial distance between them. This spatial distance is used to quantify the degree of deviation of the current input distribution relative to the historical input distribution.
[0043] Specifically, the system uses a distribution divergence metric to calculate spatial distance. Optional metrics include KL divergence, JS divergence, and Wasserstein distance. KL divergence measures the asymmetric difference between two probability distributions; a larger value indicates a greater difference between the two distributions. JS divergence is a symmetric improvement of KL divergence, with values ranging from 0 to 1, making it more suitable as a normalized distance metric. Wasserstein distance measures the minimum cost required to move one distribution to another and is more sensitive to the degree of distribution overlap. In a preferred embodiment of this application, the system simultaneously calculates KL divergence, JS divergence, and Wasserstein distance, and obtains a comprehensive spatial distance through weighted fusion to improve the robustness of drift detection. A larger spatial distance indicates a greater difference between the current input distribution and historical input distributions, and a stronger input drift.
[0044] S23. Calculate the divergence score based on the spatial distance, and use the divergence score as the distribution divergence to quantize the input drift feature.
[0045] After calculating the spatial distance, the system normalizes it and maps it to a divergence score between 0 and 1. This divergence score is the distribution divergence, which is used to quantify the input drift characteristics. The larger the spatial distance, the larger the corresponding divergence score, and the stronger the input drift characteristics.
[0046] Specifically, the system divides the spatial distance by the theoretical upper limit or scales it to the [0,1] interval using the Min-Max normalization method. When the divergence score is close to 0, it indicates that the current input distribution is highly consistent with the historical input distribution, the input drift is weak, and the template utility is minimally affected by input changes. When the divergence score is close to 1, it indicates that the current input distribution differs greatly from the historical input distribution, the input drift is severe, and the template utility is likely to decrease significantly due to its inability to adapt to the new input distribution. The system uses this divergence score as an input drift feature and inputs it into the subsequent utility decay prediction model, as one of the important factors affecting the template utility decay rate.
[0047] S24. Obtain the change records of the compliance rules associated with the constraint condition area as rule drift characteristics.
[0048] While extracting input drift features, the system also obtains the change records of compliance rules associated with the constraint condition area of the target prompt word template, as rule drift features.
[0049] Specifically, the system obtains change records of rules associated with the constraint section by subscribing to change events on the rule management platform or periodically scanning version differences in the rule base. Each change record includes at least a rule identifier, change type (new, modified, or abolished), change time, and a summary of the rule content before and after the change. The system encodes these change records as rule drift features. For example, it can count the number of changes to rules associated with the constraint section in the last 30 days, or map the rule change type to discrete values (new = 1, modified = 0.5, abolished = -0.5). Alternatively, it can convert the text content of the rule changes into vector features using a text embedding model. Rule drift features are used to quantify the risk of template utility decay due to business rule updates. When rules change frequently, the constraint section of the template may need to be adjusted accordingly to adapt to new compliance requirements.
[0050] S25. Combine the input drift features and the rule drift features into the drift feature set.
[0051] The system combines the input drift features obtained in S23 with the regular drift features obtained in S24 to form a complete set of drift features.
[0052] Specifically, the system concatenates the input drift features and rule drift features to form a multi-dimensional feature vector. This drift feature set can further include model version change indicator variables (recording the version number, release date, and key capability adjustments in the change log of the underlying large language model) and call frequency decay features (recording the trend of call volume changes per unit time). The system uses the constructed drift feature set as an important input feature of the utility decay prediction model to quantify the comprehensive impact of external environmental changes on the utility of prompt word templates. This drift feature set, together with the operational indicator data obtained in S11, constitutes the complete input of the utility decay prediction model.
[0053] Figure 3 A flowchart illustrating the determination of expected time and prediction confidence interval in another large language model-based asset lifecycle management method based on utility decay prediction provided in this application is shown below. Figure 3 The method specifically includes: S31. Based on the preset baseline risk distribution function and the drift feature set, construct the utility survival probability curve of the target prompt word template.
[0054] The method for determining the expected time and predicted confidence interval provided in the application regulations is applied to the prediction engine module of the prompt word management platform. This module is responsible for modeling and predicting the utility decay of prompt word templates based on survival analysis theory. The system first constructs the utility survival probability curve of the target prompt word template based on a preset baseline risk distribution function and drift feature set.
[0055] Specifically, the system uses the Cox proportional hazards model or the Weibull distribution as the baseline risk distribution function. Taking the Cox proportional hazards model as an example, the system first loads the regression coefficient vector obtained by training with historical template failure data, and then linearly combines each feature value in the drift feature set obtained in S25 with the corresponding regression coefficient to obtain the risk index.
[0056] The system substitutes the risk index into the risk function formula of the Cox proportional hazards model to calculate the risk value at each time point, and then obtains the survival function through integration. This survival function is the utility survival probability curve of the target prompt word template, describing the decay trajectory of the template's overall utility score over time. The horizontal axis of the curve represents time (in days), and the vertical axis represents the retention rate of the overall utility score (initially 1, gradually approaching 0 as it decays).
[0057] S32. Extract the time point corresponding to when the utility survival probability curve drops to the preset utility critical threshold, and use it as the expected time.
[0058] After constructing the utility survival probability curve, locate the time point on the curve when the comprehensive utility score drops to the preset utility critical threshold. This time point is the expected time.
[0059] Specifically, the preset utility threshold is typically set to 50% of the initial comprehensive utility score, i.e., the utility half-life. The system solves the equation S(t)=0.5 to obtain the corresponding time point t_half.
[0060] For example, if the utility survival probability curve of a template drops to 0.5 at t=15 days, then the expected lifespan of the template is 15 days, meaning that the template's overall utility score is expected to drop to half of its initial value after 15 days. The shorter the expected lifespan, the faster the template's utility decays, and the more urgent the intervention required. The system uses this expected lifespan as one of the core bases for subsequent scheduling strategy decisions.
[0061] S33. By resampling the operational index data multiple times, multiple simulated survival trajectories are constructed, and the prediction confidence interval corresponding to the expected time is determined based on the quantile dispersion of the multiple simulated survival trajectories.
[0062] Based on the calculated expected time, to further assess the uncertainty of the prediction, the prediction confidence interval corresponding to the expected time is determined by the Bootstrap resampling method.
[0063] Specifically, the system randomly selects samples with replacement from historical operational indicator data to construct multiple Bootstrap sample sets (e.g., 1000). For each Bootstrap sample set, the system repeats steps S31 and S32 to refit the survival analysis model and calculate the expected time, thus obtaining 1000 estimated expected time values. The system sorts these estimates and uses the 2.5% quantile and 97.5% quantile as the lower and upper limits of the prediction confidence interval, forming a 95% confidence interval. For example, if the 2.5% quantile is 10 days and the 97.5% quantile is 22 days, then the prediction confidence interval is [10 days, 22 days], meaning that the expected time of this template has a 95% probability of falling between 10 and 22 days. The confidence interval width (22-10=12 days) reflects the uncertainty of the prediction: a narrow width indicates that the model has a high degree of confidence in the decay law of the template, and the prediction result is reliable; a wide width indicates that the template is greatly affected by random factors, the prediction uncertainty is high, and the prediction result needs to be treated with caution. The system outputs the expected time and the predicted confidence interval together for use in subsequent scheduling strategy decisions.
[0064] Figure 4 A flowchart illustrating the process of determining the target re-optimization scheduling strategy in another large language model-based cue word asset lifecycle management method based on utility decay prediction provided in this application embodiment is shown below. Figure 4 The method specifically includes: S41. The expected time is compared with a preset first decay time threshold and a second decay time threshold, wherein the first decay time threshold is less than the second decay time threshold.
[0065] The target re-optimization scheduling strategy determination method provided in this application embodiment is applied to the scheduling decision module of the prompt word management platform. This module is responsible for dynamically generating differentiated re-optimization scheduling strategies based on the prediction results. First, the expected time obtained in S32 is compared with two preset decay time thresholds to initially classify the health status level of the template.
[0066] Specifically, a first decay time threshold (e.g., 7 days) is used to define the boundary of an emergency recession, and a second decay time threshold (e.g., 30 days) is used to define the boundary of a warning recession. The expected time is compared with these two thresholds: if the expected time is less than the first decay time threshold, it is initially determined to be an emergency recession; if the expected time is between the first and second decay time thresholds, it is initially determined to be a warning recession; if the expected time is greater than the second decay time threshold, it is initially determined to be a healthy state. The shorter the expected time, the faster the template utility decays, and the more urgent the intervention required.
[0067] S42. When the expected time is less than the first decay time threshold and the width of the prediction confidence interval is less than the preset width threshold, the target re-optimization scheduling strategy of the target prompt word template is determined as the trigger feature update mechanism.
[0068] When the expected time is less than the first decay time threshold and the prediction confidence interval is narrow, the system determines that the template faces an emergency decay risk and the prediction certainty is high, and immediately triggers the feature update mechanism.
[0069] Specifically, the system performs the following operations: First, it suspends new call allocation for the template, and already allocated requests are transferred to a degradation strategy, such as switching to a backup template or transferring them to manual processing, to ensure that business operations are not affected by the declining template. Second, the system immediately initiates an automatic re-optimization pipeline, performing root cause analysis based on SHAP values to identify the features that contribute most to the decline in utility. Then, it performs targeted optimization of functional areas based on the root cause. If the root cause is input distribution drift, the focus is on optimizing the context injection area and the example area; if the root cause is a model version change, the focus is on optimizing the role definition area and the output specification area; if the root cause is a business rule update, the focus is on optimizing the constraint area and the task instruction area. Finally, after optimization, the new template undergoes A / B testing in shadow traffic for verification. Once verification is successful, traffic allocation is restored. This strategy ensures that template updates are completed before business operations are impaired, minimizing the risk of business interruption.
[0070] S43. When the expected time is between the first decay time threshold and the second decay time threshold, the target re-optimization scheduling strategy of the target prompt word template is determined to execute a hot switching mechanism when the request processing load is lower than a preset low threshold.
[0071] When the expected time is between the first decay time threshold and the second decay time threshold, the system determines that the template is in a warning decay state and will execute a hot switch mechanism during the off-peak business period.
[0072] Specifically, the system monitors the current system load. When the load is detected to be below a preset low-frequency threshold, a re-optimization process is initiated. The preset low-frequency threshold can be set to the 10th percentile of the total daily call volume, typically reached between 2:00 AM and 5:00 AM. After re-optimization, the new template is first validated in shadow traffic to ensure its performance is no less than the old template. Once validation is successful, the system automatically switches between the old and new templates during off-peak hours, without any noticeable impact on the business. This strategy ensures business continuity while achieving timely template updates, avoiding a decline in business quality due to template degradation.
[0073] In an optional embodiment of this application, when the expected time is less than the first decay time threshold and the width of the prediction confidence interval is not less than a preset width threshold, the target re-optimization scheduling strategy of the target prompt word template is determined as a mechanism to increase the frequency of operation indicator data collection; wherein, the wider the width of the prediction confidence interval, the higher the frequency of operation indicator data collection is adjusted.
[0074] Specifically, this scheme is designed to address situations with high prediction uncertainty and avoid over-response due to prediction bias. If the default data collection frequency is once daily, the system increases the frequency to once every 6 hours when the confidence interval is wide; if the confidence interval is extremely wide, it further increases to once per hour. The system acquires more data points through high-frequency collection, and makes a final scheduling decision only after the confidence interval narrows.
[0075] In one optional embodiment of this application, the version update identifier of the underlying large language model is obtained; the traffic splitting ratio is determined according to the current system processing load; according to the traffic splitting ratio, the online access traffic for the old version of the language model is copied as shadow traffic, and the shadow traffic is routed to the new version of the large language model; the output result of the new version of the large language model for the shadow traffic is compared with the original output result of the old version of the language model, and the version regression loss value is calculated.
[0076] Specifically, this scheme is used for pre-detection before model version upgrades, eliminating the regression window period. When a new version of the underlying large language model is released, the system obtains the version update identifier and determines the traffic splitting ratio (typically 1%) based on the current system processing load. The system replicates 1% of production requests as shadow traffic and routes it to the new version of the large language model for execution, while keeping the main traffic running on the old version model. The system compares the output results of the new and old models under the same input, comparing multiple dimensions such as task success rate, output consistency, format compliance rate, and token efficiency, and calculates the version regression loss value. The larger the regression loss value, the greater the impact of the new model on the performance of the prompt word template.
[0077] In one optional embodiment of this application, the version regression loss value is compared with a preset tolerance threshold; when the version regression loss value is greater than the preset tolerance threshold, the feature update operation is triggered on the target prompt word template before the new version of the large language model is fully launched; wherein, the larger the version regression loss value, the higher the priority of the computing resources allocated to the feature update operation.
[0078] Specifically, this solution ensures that the deployment of new models and the optimization of prompt word templates are completed simultaneously. A preset tolerance threshold can be set to 10%, meaning that when the regression loss exceeds 10%, the system automatically triggers re-optimization of the affected templates. For templates with a regression loss of less than 10%, the system still records minor degradation indicators and includes them in the early warning and degradation monitoring of the next cycle, achieving tiered management of addressing minor issues early and preventing major issues from escalating. The higher the regression loss value of a version, the higher the priority of the computing resources allocated to that template by the system, ensuring that high-risk templates are repaired first.
[0079] The method for lifecycle management of prompt words assets based on utility decay prediction provided in this application obtains the operational indicator data of the target prompt word template within its historical operating cycle and extracts the drift feature set associated with the target prompt word. The operational indicator data and the drift feature set are input into a pre-constructed utility decay prediction model for processing, obtaining the expected time when the comprehensive utility score of the target prompt word template decreases to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time. Based on the expected time and the prediction confidence interval, a target re-optimization scheduling strategy for the target prompt word template is determined. Feature update operations are performed on the target prompt word template according to the target re-optimization scheduling strategy to obtain the re-optimized target prompt word template. This achieves a management leap from passive alarm to predictive maintenance; it also implements a differentiated scheduling strategy, significantly improving resource utilization efficiency; and it achieves seamless integration between model version upgrades and prompt word optimization.
[0080] Figure 5 This application provides a schematic diagram of the structure of a large language model-based asset lifecycle management device for utility decay prediction, as shown in the figure. Figure 5 The device specifically includes: The acquisition module 501 is used to acquire the operation index data of the target prompt word template in the historical operation cycle, and extract the drift feature set associated with the target prompt word; Processing module 502 is used to input the running index data and the drift feature set into a pre-built utility decay prediction model for processing, to obtain the expected time when the comprehensive utility score of the target prompt word template drops to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time; The determination module 503 is used to determine the target re-optimization scheduling strategy of the target prompt word template based on the expected time and the prediction confidence interval; The update module 504 is used to perform a feature update operation on the target prompt word template according to the target re-optimization scheduling strategy to obtain the re-optimized target prompt word template.
[0081] Figure 6This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Figure 6 The computer device 600 shown includes at least one processor 601, a memory 602, at least one network interface 604, and other user interfaces 603. Various components in the mobile terminal 600 are coupled together via a bus system 605. It is understood that the bus system 605 is used to implement communication between these components. In addition to a data bus, the bus system 605 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in… Figure 6 The general designated all buses as Bus System 605.
[0082] The user interface 603 may include a display, keyboard, or clicking device (e.g., mouse, trackball, touchpad, or touchscreen).
[0083] It is understood that the memory 602 in this embodiment of the invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 602 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0084] In some implementations, memory 602 stores elements, executable units or data structures, or subsets thereof, or extended sets thereof: operating system 6021 and application program 6022.
[0085] The operating system 6021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 6022 includes various applications, such as a media player and a browser, used to implement various application functions. The program implementing the method of this embodiment can be included in the application program 6022.
[0086] In this embodiment of the invention, by calling the program or instructions stored in memory 602, specifically the program or instructions stored in application program 6022, processor 601 executes the method steps provided in each method embodiment, including, for example: Obtain the operational index data of the target prompt word template within its historical operating cycle, and extract the drift feature set associated with the target prompt word; input the operational index data and the drift feature set into a pre-constructed utility decay prediction model for processing, to obtain the expected time when the comprehensive utility score of the target prompt word template drops to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time; based on the expected time and the prediction confidence interval, determine the target re-optimization scheduling strategy for the target prompt word template; perform feature update operations on the target prompt word template according to the target re-optimization scheduling strategy to obtain the re-optimized target prompt word template.
[0087] In one possible implementation, the distribution divergence between the input text distribution of the current running cycle and the input text distribution of the historical running cycles is obtained as an input drift feature; the change records of compliance rules associated with the constraint condition area are obtained as rule drift features; and the input drift features and the rule drift features are combined into the drift feature set.
[0088] In one possible implementation, a first feature vector of the input text in the current running cycle and a second feature vector of the input text in the historical running cycles are obtained; the spatial distance between the first feature vector and the second feature vector is calculated; a divergence score is calculated based on the spatial distance, and the divergence score is used as the distribution divergence to quantize the input drift feature; The larger the spatial distance, the larger the corresponding divergence score, and the stronger the input drift feature.
[0089] In one possible implementation, a utility survival probability curve for the target prompt word template is constructed based on a preset baseline risk distribution function and the drift feature set; the time point corresponding to when the utility survival probability curve drops to the preset utility critical threshold is extracted as the expected time; multiple simulated survival trajectories are constructed by resampling the operational indicator data multiple times, and the prediction confidence interval corresponding to the expected time is determined based on the quantile dispersion of the multiple simulated survival trajectories.
[0090] In one possible implementation, the expected time is compared with a preset first decay time threshold and a preset decay time threshold, wherein the first decay time threshold is less than the second decay time threshold; when the expected time is less than the first decay time threshold and the width of the prediction confidence interval is less than a preset width threshold, the target re-optimization scheduling strategy of the target prompt word template is determined to trigger a feature update mechanism; when the expected time is between the first decay time threshold and the second decay time threshold, the target re-optimization scheduling strategy of the target prompt word template is determined to execute a hot-switching mechanism when the request processing load is lower than a preset low threshold.
[0091] In one possible implementation, when the expected time is less than the first decay time threshold and the width of the prediction confidence interval is not less than a preset width threshold, the target re-optimization scheduling strategy of the target prompt word template is determined as a mechanism to increase the frequency of operation indicator data collection; wherein, the wider the width of the prediction confidence interval, the higher the frequency of operation indicator data collection is adjusted.
[0092] In one possible implementation, the version update identifier of the underlying large language model is obtained; the traffic splitting ratio is determined according to the current system processing load; according to the traffic splitting ratio, the online access traffic for the old version of the language model is copied as shadow traffic, and the shadow traffic is routed to the new version of the large language model; the output result of the new version of the large language model for the shadow traffic is compared with the original output result of the old version of the language model, and the version regression loss value is calculated.
[0093] In one possible implementation, the version regression loss value is compared with a preset tolerance threshold; when the version regression loss value is greater than the preset tolerance threshold, the feature update operation is triggered on the target prompt word template before the new version of the large language model is fully launched. The larger the version regression loss value, the higher the priority of the computing resources allocated to the feature update operation.
[0094] The methods disclosed in the above embodiments of the present invention can be applied to processor 601, or implemented by processor 601. Processor 601 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 601 or by instructions in the form of software. The processor 601 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software units in the decoding processor. The software units may be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 602. Processor 601 reads the information in memory 602 and, in conjunction with its hardware, completes the steps of the above method.
[0095] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.
[0096] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
[0097] The computer device provided in this embodiment may be as follows: Figure 6 The computer device shown can perform, for example Figure 1-4 This involves all steps of a large language model-based asset lifecycle management method based on utility decay prediction, thereby achieving... Figure 1-4 The technical effectiveness of the large language model-based cue word asset lifecycle management method based on utility decay prediction is shown in the figure. Please refer to [link / reference] for details. Figure 1-4 The relevant descriptions are presented concisely and will not be elaborated upon here.
[0098] This invention also provides a storage medium (computer-readable storage medium). This storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; it may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and it may also include combinations of the above types of memory.
[0099] When one or more programs in the storage medium can be executed by one or more processors to implement the above-mentioned large language model prompt word asset lifecycle management method based on utility decay prediction executed on the device side of the large language model prompt word asset lifecycle management device.
[0100] The processor is used to execute a large language model cue word asset lifecycle management program based on utility decay prediction stored in the memory, so as to implement the following steps of the large language model cue word asset lifecycle management method based on utility decay prediction executed on the device side: Obtain the operational index data of the target prompt word template within its historical operating cycle, and extract the drift feature set associated with the target prompt word; input the operational index data and the drift feature set into a pre-constructed utility decay prediction model for processing, to obtain the expected time when the comprehensive utility score of the target prompt word template drops to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time; based on the expected time and the prediction confidence interval, determine the target re-optimization scheduling strategy for the target prompt word template; perform feature update operations on the target prompt word template according to the target re-optimization scheduling strategy to obtain the re-optimized target prompt word template.
[0101] In one possible implementation, the distribution divergence between the input text distribution of the current running cycle and the input text distribution of the historical running cycles is obtained as an input drift feature; the change records of compliance rules associated with the constraint condition area are obtained as rule drift features; and the input drift features and the rule drift features are combined into the drift feature set.
[0102] In one possible implementation, a first feature vector of the input text in the current running cycle and a second feature vector of the input text in the historical running cycles are obtained; the spatial distance between the first feature vector and the second feature vector is calculated; a divergence score is calculated based on the spatial distance, and the divergence score is used as the distribution divergence to quantize the input drift feature; The larger the spatial distance, the larger the corresponding divergence score, and the stronger the input drift feature.
[0103] In one possible implementation, a utility survival probability curve for the target prompt word template is constructed based on a preset baseline risk distribution function and the drift feature set; the time point corresponding to when the utility survival probability curve drops to the preset utility critical threshold is extracted as the expected time; multiple simulated survival trajectories are constructed by resampling the operational indicator data multiple times, and the prediction confidence interval corresponding to the expected time is determined based on the quantile dispersion of the multiple simulated survival trajectories.
[0104] In one possible implementation, the expected time is compared with a preset first decay time threshold and a preset decay time threshold, wherein the first decay time threshold is less than the second decay time threshold; when the expected time is less than the first decay time threshold and the width of the prediction confidence interval is less than a preset width threshold, the target re-optimization scheduling strategy of the target prompt word template is determined to trigger a feature update mechanism; when the expected time is between the first decay time threshold and the second decay time threshold, the target re-optimization scheduling strategy of the target prompt word template is determined to execute a hot-switching mechanism when the request processing load is lower than a preset low threshold.
[0105] In one possible implementation, when the expected time is less than the first decay time threshold and the width of the prediction confidence interval is not less than a preset width threshold, the target re-optimization scheduling strategy of the target prompt word template is determined as a mechanism to increase the frequency of operation indicator data collection; wherein, the wider the width of the prediction confidence interval, the higher the frequency of operation indicator data collection is adjusted.
[0106] In one possible implementation, the version update identifier of the underlying large language model is obtained; the traffic splitting ratio is determined according to the current system processing load; according to the traffic splitting ratio, the online access traffic for the old version of the language model is copied as shadow traffic, and the shadow traffic is routed to the new version of the large language model; the output result of the new version of the large language model for the shadow traffic is compared with the original output result of the old version of the language model, and the version regression loss value is calculated.
[0107] In one possible implementation, the version regression loss value is compared with a preset tolerance threshold; when the version regression loss value is greater than the preset tolerance threshold, the feature update operation is triggered on the target prompt word template before the new version of the large language model is fully launched. The larger the version regression loss value, the higher the priority of the computing resources allocated to the feature update operation.
[0108] 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.
[0109] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, 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.
[0110] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.
[0111] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for lifecycle management of cue words assets based on a large language model for utility decay prediction, characterized in that, The method includes: Obtain the operational metrics data of the target prompt word template within the historical operation cycle, and extract the drift feature set associated with the target prompt word; The operational index data and the drift feature set are input into a pre-built utility decay prediction model for processing to obtain the expected time when the comprehensive utility score of the target prompt word template drops to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time. Based on the expected time and the predicted confidence interval, determine the target re-optimization scheduling strategy for the target prompt word template; According to the target re-optimization scheduling strategy, the target prompt word template is subjected to feature update operation to obtain the re-optimized target prompt word template.
2. The method according to claim 1, characterized in that, The extraction of the drift feature set associated with the target cue word includes: Obtain the distribution divergence between the input text distribution of the current running cycle and the input text distribution of the historical running cycles, as an input drift feature; Obtain the change records of the compliance rules associated with the constraint condition area as rule drift characteristics; The input drift features and the rule drift features are combined to form the drift feature set.
3. The method according to claim 2, characterized in that, The step of obtaining the distribution divergence between the input text distribution of the current running cycle and the input text distribution of the historical running cycles, as an input drift feature, includes: Obtain the first feature vector of the input text in the current running cycle, and the second feature vector of the input text in the historical running cycles; Calculate the spatial distance between the first feature vector and the second feature vector; The divergence score is calculated based on the spatial distance, and the divergence score is used as the distribution divergence to quantize the input drift feature; The larger the spatial distance, the larger the corresponding divergence score, and the stronger the input drift feature.
4. The method according to claim 1, characterized in that, The step of inputting the operational index data and the drift feature set into a pre-built utility decay prediction model for processing, to obtain the expected time when the comprehensive utility score of the target prompt word template drops to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time, includes: Based on the preset baseline risk distribution function and the drift feature set, the utility survival probability curve of the target prompt word template is constructed; Extract the time point at which the utility survival probability curve drops to the preset utility critical threshold, and use it as the expected time. By resampling the operational index data multiple times, multiple simulated survival trajectories are constructed, and the prediction confidence interval corresponding to the expected time is determined based on the quantile dispersion of the multiple simulated survival trajectories.
5. The method according to claim 1, characterized in that, The step of determining the target re-optimization scheduling strategy for the target prompt word template based on the expected time and the predicted confidence interval includes: The expected time is compared with a preset first decay time threshold and a second decay time threshold, wherein the first decay time threshold is less than the second decay time threshold. When the expected time is less than the first decay time threshold and the width of the prediction confidence interval is less than the preset width threshold, the target re-optimization scheduling strategy of the target prompt word template is determined as the trigger feature update mechanism. When the expected time is between the first decay time threshold and the second decay time threshold, the target re-optimization scheduling strategy of the target prompt word template is determined to execute a hot switching mechanism when the request processing load is lower than a preset low threshold.
6. The method according to claim 5, characterized in that, The method further includes: When the expected time is less than the first decay time threshold and the width of the prediction confidence interval is not less than the preset width threshold, the target re-optimization scheduling strategy of the target prompt word template is determined as a mechanism to increase the frequency of operation indicator data collection. The wider the prediction confidence interval, the higher the frequency of data collection for the operational indicators.
7. The method according to claim 1, further comprising: Obtain the version update identifier of the underlying large language model; Determine the traffic splitting ratio based on the current system load; According to the aforementioned traffic splitting ratio, online access traffic for the old version of the language model is copied as shadow traffic, and the shadow traffic is routed to the new version of the large language model. The version regression loss value is calculated by comparing the output of the new version of the large language model for the shadow traffic with the original output of the old version of the language model.
8. The method according to claim 7, characterized in that, The method further includes: The regression loss value of the aforementioned version is compared with a preset tolerance threshold; When the regression loss value of the version is greater than the preset tolerance threshold, the feature update operation is triggered on the target prompt word template before the new version of the large language model is fully launched. The larger the version regression loss value, the higher the priority of the computing resources allocated to the feature update operation.
9. A large language model-based asset lifecycle management device based on utility decay prediction, characterized in that, The device includes: The acquisition module is used to acquire the operation index data of the target prompt word template in the historical operation cycle, and extract the drift feature set associated with the target prompt word; The processing module is used to input the running index data and the drift feature set into a pre-built utility decay prediction model for processing, to obtain the expected time when the comprehensive utility score of the target prompt word template drops to a preset utility critical threshold, and the prediction confidence interval corresponding to the expected time; The determination module is used to determine the target re-optimization scheduling strategy for the target prompt word template based on the expected time and the prediction confidence interval; The update module is used to perform feature update operations on the target prompt word template according to the target re-optimization scheduling strategy to obtain the re-optimized target prompt word template.
10. A computer device, characterized in that, include: A processor and a memory, the processor being configured to execute a large language model cue word asset lifecycle management program based on utility decay prediction stored in the memory, to implement the large language model cue word asset lifecycle management method based on utility decay prediction as described in any one of claims 1-8.
11. A storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the large language model cue word asset lifecycle management method based on utility decay prediction as described in any one of claims 1-8.
