An attacker-type-specific dynamic security investment optimization method

By estimating AI penetration in real time and constructing a composite vulnerability function, security investments are dynamically adjusted, solving the problem of investment mismatch in the AI ​​threat environment and improving the effectiveness and investment efficiency of the defense system.

CN123184907APending Publication Date: 2026-11-27GUANBAO NETWORK SECURITY TECHNOLOGY (GUANGDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611346876.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies cannot effectively distinguish between AI attackers and human attackers, leading to a mismatch in security investment allocation, diminishing defense effectiveness, and an inability to dynamically adjust investment direction and intensity in the context of AI threats.

Method used

We employ a Bayesian-Gaussian mixture model to estimate AI penetration in real time, construct a composite vulnerability function, adjust the allocation of security investment through a chain product structure, and perform dynamic optimization using the Gordon-Loeb model to ensure that the optimal investment increases monotonically with the threat intensity and that the endpoints are strictly conserved.

Benefits of technology

It enables dynamic adjustment of security investment based on real-time AI penetration, improving the efficiency of security investment, ensuring the improvement of the technical indicators of the defense system, and avoiding the mismatch between investment allocation and threat intensity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184907A_ABST
    Figure CN123184907A_ABST
Patent Text Reader

Abstract

The application discloses a dynamic security investment optimization method for different attacker types, which is applied to an investment decision module of a network security defense system, and constitutes the same general inventive concept with a perception estimation method and a honeypot deployment method applied on the same day. The method receives an AI penetration degree theta, constructs a type-specific composite vulnerability function v(theta), obtains an optimal investment =(1 / lambda)·ln(lambda·v(theta)·L) (0 is taken when lambda·v(theta)·L<=1) from an extended Gordon-Loeb model, and distributes the total investment on a human and AI defense double path according to the vulnerability weighting, and converts deployment instructions through a mapping table. The application implements differentiated and accurate investment for two types of attacks, and significantly improves the defense investment efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of cybersecurity investment optimization technology, specifically to a dynamic security investment optimization method based on attacker type identification. This method dynamically adjusts security investment allocation strategies within a cybersecurity defense system based on real-time identified AI attacker penetration levels. This invention belongs to the interdisciplinary field of artificial intelligence security defense and critical infrastructure protection, and is particularly applicable to adaptive security investment decisions in generative AI security defense scenarios. It should be clarified that this invention addresses the resource scheduling problem of cybersecurity defense systems—specifically, how to optimally allocate a limited defense budget between "human defense" and "AI defense" technologies based on the threat landscape. The investment decision results are ultimately translated into specific technical configuration instructions for the defense system (such as firewall policy adjustments, intrusion detection system threshold changes, and anomaly detection model retraining scheduling). It possesses clear technical implementation methods and application effects, rather than being a management or business planning method. Background Technology

[0002] With the rapid development of generative artificial intelligence (AIGC) technology, AI-driven automated attacks have become one of the primary security threats facing critical information infrastructure. Building an efficient and adaptive AI security defense investment decision-making system is one of the core technical challenges in improving the overall effectiveness of cybersecurity defense. In this context, the ability to accurately allocate security investments directly affects the overall effectiveness of the defense system.

[0003] The Gordon-Loeb model is a classic model in the field of cybersecurity investment optimization (LA Gordon, MPLoeb, “The Economics of Information Security Investment,” ACM Transactions on Information and System Security (TISSEC), vol. 5, no. 4, 2002, pp. 438-457, DOI: 10.1145 / 581271.581274). Its core conclusion is that optimal security investment should be less than half of potential losses. However, this model is based on the assumption of “homogeneous attackers,” making it difficult to effectively address the security threats posed by AI attackers. According to publicly available research reports in recent years, the cost of a single AI automated attack can be as low as a few dollars (several orders of magnitude lower than traditional manual attacks). This difference in scale is publicly recognized in the industry, and this invention does not rely on specific values ​​from any particular literature.

[0004] Traditional security investment strategies employ static budget allocation methods, failing to dynamically adjust investment direction and intensity based on changes in the threat environment. In environments with high AI attacker penetration, traditional static strategies lead to inefficient investment and expose enterprises to greater security risks. Recent public research further demonstrates that AI automated attacks pose a structural challenge to traditional offensive and defensive economics in terms of cost and scale: automated attack tools can launch probes at low cost and high concurrency, causing traditional static investment models based on the assumption of "homogeneous attackers" to "fail" in AI threat scenarios—that is, their investment decisions will deviate significantly from the optimal value, resulting in a significant decrease in defensive effectiveness (the risk reduction per unit of investment) and ineffective budget allocation. The technical root cause lies in the static model's inability to distinguish attacker types, leading to a mismatch between the allocation ratio of investment budget between human and AI defenses and the real threat environment, resulting in diminishing marginal returns on defensive effectiveness. This "investment failure" manifests technically as a deterioration in quantifiable technical indicators of the defense system: increased alarm response latency, abnormally high false positive and false negative rates in intrusion detection systems (IDS), and concept drift in anomaly detection models due to training sample distribution shifts, resulting in a significant decrease in the expected losses that can be eliminated under the same defense budget. This limitation has been pointed out in numerous industry white papers and conference papers on the evolution of attack and defense costs in the AI ​​era (for example, publicly available industry reports have given quantitative conclusions that the cost of a single AI automated attack can be as low as a few dollars, several orders of magnitude lower than traditional manual attacks; this difference is publicly recognized in the industry, and this invention does not rely on specific values ​​from any particular document). The technical problem this invention aims to solve is to overcome the aforementioned defects of investment mismatch and diminishing defense effectiveness caused by the indistinguishability of attacker types, and to provide a solution that can dynamically adjust investment allocation according to AI penetration, thereby translating the optimized investment allocation results into specific defense system configuration instructions and improving the aforementioned technical indicators such as alarm response, IDS detection, and model drift.

[0005] The closest existing technologies and their differences: In subsequent attempts to improve the Gordon-Loeb model, existing literature has attempted to address the "attacker heterogeneity" problem, but their technical approaches are fundamentally different from this invention, constituting the closest existing technology type, specifically including: (a) Improvements based on game theory—modeling attackers and defenders as non-zero-sum game participants, and determining the investment level by solving the Nash equilibrium. Although this type of method introduces attacker types, the equilibrium solution relies on numerical iteration and cannot obtain the randomness of the attackers. (a) Continuously adjustable explicit analytical solutions; (b) Improvements based on simple weighted paths—submitting the vulnerabilities of different attacker types into the classic GL model after linear weighting. Although this method also distinguishes attacker types in form, the linear weighting only combines the two types of vulnerabilities by arithmetic average, lacking the chain decomposition meaning of the attack probability, and cannot guarantee the economic property of "investment monotonically increasing with threat intensity" and the consistency of endpoint degradation at the optimal investment level. The distinguishing feature of this invention from the closest prior art is: Chain-product composite vulnerability structure directly derived from statistical definition For the first time, an extended GL model under the premise of "continuously variable attacker type" is endowed with a vulnerability geometric weighting structure with a clear probabilistic foundation—this structure is naturally derived from the cascaded risks (conditionally independent) of two types of attacks occurring independently, guaranteeing optimal investment. Follow Monotonically increasing and strictly conserved at the endpoints ( Degenerate to human standards , Degenerate into AI benchmark This provides a guarantee of modeling rationality and decision consistency in real-time dynamic investment decision-making scenarios for large-scale assets, rather than merely parameterizing and weighting attacker types.

[0006] Representative comparative literature and its essential differences from the present invention: As the closest existing technology in the field, the following two types of representative works can be referenced to highlight the differences of the present invention: (1) Improvements based on game equilibrium path (such as the research on IT security investment game by Cavasoglu, Raghunathan & Yue in Journal of Management Information Systems, and the defender-attacker random game MSD in conferences such as IEEE S&P / USENIX Security) - This type of method solves the Nash / equilibrium investment after prior classification of attacker types. Its "prior classification + equilibrium numerical iteration" path has a single solution complexity of 0. Quantity and cannot follow Continuous real-time adjustment; (2) Extended GL path based on linear / piecewise weighted vulnerability (such as several IEEE TDSC / ACM TOPS papers that set the vulnerability as a linear combination of attacker types and then input it into the GL model) — Although this type of method distinguishes attacker types in form, the linear weighting combines the two types of vulnerabilities by arithmetic average, which lacks the chain decomposition meaning of the probability of attack, and its investment curve cannot guarantee that it will be in the medium The interval monotonically increases with threat intensity and is strictly conserved at its endpoints. The essential difference between this invention and the two existing technologies mentioned above is: ① The processing method changes from "prior classification / exogenous weighting" to "based on..." "Modeling the real-time mixed threat distribution of continuous variables"; ② In vulnerability modeling, the "arithmetic average weighting" is transformed into a "chain product (conditionally independent cascaded risk) structure," enabling the extended GL model to, for the first time, give vulnerability a clear probabilistic cascaded risk meaning while maintaining analytical closure solutions, thus ensuring optimal investment. Follow Monotonically increasing and with consistent endpoint degeneration ( / Strictly degenerate into classic GL), thereby avoiding mismatch between investment allocation and threat intensity in the medium threat range and avoiding deviation from the existing static strategy at the endpoint.

[0007] In view of this, there is an urgent need for a technical solution that can dynamically adjust security investment based on the type of attacker.

[0008] This invention, along with two other patent applications filed on the same day, constitutes a complementary solution to the same general inventive concept: regarding the penetration of AI attackers. For the real-time estimation scheme, please refer to the applicant's "A Real-Time Estimation Method for AI Attacker Penetration Based on Bayesian Gaussian Mixture Model" submitted on the same day; for a detailed scheme regarding the honeypot deployment ratio, please refer to the applicant's "An Adaptive Honeypot Deployment and Self-Recovery Mechanism Based on Stackelberg Game Theory" submitted on the same day. This patent focuses on the... At the investment allocation decision optimization level, the protection scope of the three applications is different from each other and complements each other.

[0009] It should be specifically noted that this invention does not involve arbitrarily linearly weighting the vulnerabilities of human attackers and AI attackers and then fitting them into the Gordon-Loeb model. The composite vulnerability function of this invention... By permeability The statistical definition (the proportion of AI attackers in the overall attack) is directly derived from this: and The chain decomposition probabilities, corresponding to the two independent events of "not being breached by a human attacker" and "not being breached by an AI attacker," respectively, exhibit a complementary form of their product that clearly implies a chain decomposition of breach probabilities, rather than a simple weighted combination. Under this specific structure, the optimal investment of the extended GL model... It preserves analytical closed-form solutions; while the general arithmetic average weighted solution can also obtain analytical solutions in form, it lacks the chain decomposition meaning of the breakthrough probability and cannot guarantee the solution. The savings relative to the static baseline increase monotonically with elevation and cannot strictly degenerate to a classic GL model at the endpoints. For example, if ordinary linear weighting is used... While directly substituting into the GL model can yield a formal analytical solution, its investment curve is moderate. The interval does not satisfy the economic property of monotonically increasing with threat intensity, and the endpoints are not conserved; however, the chain product structure of this invention enables the optimal investment to obtain an analytical solution. This structure naturally derives from the risk of conditionally independent series connections, ensuring the cost-saving advantage. It is monotonically increasing and the endpoints degenerate uniformly. Summary of the Invention

[0010] 1. Purpose of the invention

[0011] The purpose of this invention is to provide a dynamic security investment optimization method for different attacker types, overcoming the shortcomings of existing technologies, and achieving optimization based on real-time AI penetration. Dynamically adjust the allocation of security investments to improve their efficiency.

[0012] 2. Technical Solution

[0013] This invention, along with the applicant's other two works submitted on the same day, "A Real-Time Estimation Method for AI Attacker Penetration Based on Bayesian-Gaussian Mixture Model" and "An Adaptive Honeypot Deployment and Self-Recovery Mechanism Based on Stackelberg Game Theory," constitute an adaptive security defense system under the same general inventive concept, corresponding to the three stages of threat perception, investment decision-making, and defense execution, respectively. This invention focuses on the adaptive security defense system based on the concept of... This invention moves to the decision optimization layer for investment allocation. The technical solution adopted in this invention is as follows:

[0014] Step 1: Receive AI penetration estimate

[0015] Receive real-time data from the AI ​​penetration estimation module. The value represents the degree of penetration by AI attackers in the current environment, and the value ranges from [0, 1].

[0016] Preferably, the AI ​​penetration estimate Provided by the "Real-time Estimation Method for AI Attacker Penetration Based on Bayesian-Gaussian Mixture Model" submitted on the same day as this application, thus forming an automated closed loop between penetration perception and investment optimization; It can also come from manual settings or output from a third-party threat perception system, as a cold start or backup input, neither of which changes the general applicability of the method steps and analytical solution form described in this invention.

[0017] Step 2: Construct a composite vulnerability function

[0018] based on Values ​​are used to construct composite vulnerability functions for different attacker types (attacker type-aware, which vary with the target). The changing curve is as follows Figure 2 (as shown)

[0019]

[0020] This formula is mathematically equivalent to performing the following within the log-space of fragility: For linear interpolation of the weights, i.e. Therefore, its geometrically weighted structure is expressed as about It is a smooth convex combination rather than a simple arithmetic mean; this structural characteristic is the premise for the extended Gordon-Loeb model to maintain analytical closed solutions (see step 4 for details).

[0021] in:

[0022] - This represents the baseline vulnerability of the system to human attackers (an example value of 0.3, determined by historical attack and defense data, not a limitation on the scope of protection). It describes the conditional fragility of assets under human attack threats, and its value is equal to the conditional probability that a human attacker will successfully breach the system's defenses.

[0023] - This represents the baseline vulnerability of the system to AI attackers (an example value of 0.7, determined by historical attack and defense data, not a limitation on the scope of protection), i.e., the degree to which assets are vulnerable to AI attack threats.

[0024] - The system's complex vulnerability to hybrid threats in the current environment

[0025] Declaration of consistency between the calibration caliber and the application filed on the same day: This patent's (Baseline vulnerability of the system to AI attackers) This is related to the honeypot game solution used in the application filed on the same day as this applicant, titled "An Adaptive Honeypot Deployment and Self-Recovery Mechanism Based on Stackelberg Game Theory". (The success rate of an attacker breaching a real system) in a physical sense refers to the objective quantity of "the probability that an AI attacker successfully breaches the system's defenses." Preferably, to ensure consistency in the calibration and the coherence of the overall inventive concept when the two applications filed on the same day are combined and implemented, the descriptions in Embodiment 5 of this patent and Patent 3 filed on the same day... The same historical attack and defense dataset and the same calibration standard (i.e., both calibrated using the measured breakthrough rate statistics of AI attack samples on the attack surface of real systems) should be used to ensure that the investment allocation and honeypot deployment ratio of this invention are coordinated under a unified vulnerability benchmark, avoiding inconsistencies in decision-making due to differences in the two calibration standards. It should be specifically noted that this calibration coordination is a preferred, but not necessary, approach when implementing the two patents together; when this patent is implemented alone, The calibration can be determined entirely by the independent calibration procedure described in Example 5, which is fully disclosed in this specification and does not rely on any content filed on the same day. This paragraph is a calibration coordination description and does not constitute a continuation of the previous application. Limitations on the value selection or calibration method.

[0026] Special note: Vulnerability , It refers to the conditional attributes of system assets under specific threat types, not the attributes of the attacker themselves; what the attacker possesses is attack capability / threat level, and this invention is based on... Describe its degree of penetration, in order to , Characterize the system's vulnerability to the two types of attacks.

[0027] Explaining the chain-product structure from a probabilistic perspective (addressing obviousness challenges): The composite vulnerability function in this invention is not an arbitrary linear weighting of the vulnerabilities of human attackers and AI attackers, but rather has a clear chain-product decomposition meaning of the probability of breach. Here... Statistically defined as "the proportion of AI attackers in all attack events", then Indicates in The probability of "not being breached by a human attacker" under the threat of a human attacker. Indicates in The probability of "not being breached by AI attackers" under a proportional threat of AI attackers; the product of these two events as two independent chain-like (product-like) events of attack types. That is, the probability of "not being breached as a whole under mixed threats", which can be expressed in complementary form as composite vulnerability. Formal Derivation (Mathematical Necessity from Mixed Threat Distribution to Chain Product Structure): Let the attacker type distribution be... , ;make This indicates that "when the attacker type is..." The conditional probability of the event "the system has not been compromised" is: (in , These represent the system's conditional vulnerability under two types of threats. At the "breach event" level, the overall probability of non-breach should be a type-weighted mixture:

[0028]

[0029] This is a linear hybrid form. This invention further assumes that the failure events under the two types of attacks are conditionally independent (i.e., ...). This independence is a modeling assumption designed to depict an attack and defense scenario where "attackers of varying proportions attempt independently, and any success in any one type is considered a breach of the asset." Therefore, the overall probability of not being breached takes a chain-like (productive) form:

[0030]

[0031] Complementary vulnerability is obtained by taking complementary measures. This derivation shows that the chain-product structure is not an artificially weighted combination, but a mathematical structure inevitably derived from the mixed threat distribution under the modeling assumption of "type distribution + conditional independence". If this conditional independence is abandoned (such as by using arithmetic mean linear mixing), the resulting vulnerability function can still be substituted into GL to obtain a first-order conditional analytical solution in form, but this linear mixing lacks the cascaded risk meaning that "the success of any type of attacker is regarded as the asset being compromised", and cannot guarantee that the optimal investment increases monotonically with the threat intensity, nor can it strictly degenerate into the classic GL model at the endpoints. It is evident that the modeling rationality (cascaded risk probability meaning) and decision consistency (monotonicity and endpoint conservation) of the chain-product structure of this invention have clear derivation basis and are not obvious.

[0032] Justification for the Conditional Independence Assumption (Modeling Basis): The aforementioned assumption of "conditional independence of unbroken events under two types of attacks" is not arbitrarily set, but is consistent with the physical structure of typical network attack and defense scenarios. In actual operation and maintenance, human attackers (such as internal violations, social engineering, and traditional vulnerability exploitation) and AI attackers (such as automated vulnerability mining, adversarial examples, and intelligent phishing) usually launch parallel and independent attempts against target assets. The two are independent of each other in terms of attack channels, exploit payloads, and triggering timing. As long as either type of attacker succeeds in breaking through, the asset is considered to have been compromised (i.e., the "sequential risk" modeling logic: overall unbroken ⇔ neither type of attack succeeded). This scenario corresponds precisely to the assumption of "conditional independence of unbroken events," the mathematical form of which is the chain product of the probabilities of the two types of unbroken attacks. In other words, the conditional independence assumption of this invention corresponds to a specific and identifiable category of attack and defense scenarios—that is, a hybrid threat environment under "parallel, unrelated attack channels," rather than claiming to be applicable to all hybrid threat environments. This invention uses this assumption only to derive the form of the composite vulnerability function itself, and the claims are expressed in the form of a function definition (claim 2), without relying on this assumption for excessive limitation; even if the independence deviates slightly in some highly coupled attack scenarios (such as when the same initial intrusion point is automatically used by AI and then moved laterally by humans), the composite vulnerability function defined in this invention is still an engineeringly reasonable first-order approximation of the overall vulnerability under the hybrid threat and is independently effective - its closed solution provides an efficient reference for initial investment decisions, and those skilled in the art can combine numerical fine-tuning based on this analytical solution to adapt to coupled scenarios, so this invention is also applicable to coupled scenarios in terms of practicality.

[0033] The difference from the closest existing technology (enhancing the argument for innovation): Subsequent improvements to the Gordon-Loeb model mostly focus on (a) setting vulnerability as a piecewise constant of asset heterogeneity, (b) introducing budget constraints or game interactions under the assumption of fixed attacker homogeneity, or (c) solving for optimal investment using numerical programming. None of these improvements introduce "attacker type" as a continuous variable; even if some literature sets the vulnerability parameter as a function of an exogenous variable, the linear or piecewise function form used lacks the chain-like decomposition meaning of the attack probability, failing to guarantee that optimal investment monotonically increases with threat intensity, and failing to strictly degenerate to a classic GL model at the endpoints. The essential difference between this invention and such existing technologies lies in: The chain-product vulnerability structure directly derived from statistical definitions, for the first time, endows the extended GL model with a vulnerability geometric weighting structure that has a clear meaning of cascaded risk probabilities under the premise of "continuously variable attacker types," thus guaranteeing optimal investment. Follow It is monotonically increasing and strictly conserves endpoints, thus providing a guarantee of modeling rationality and decision consistency in real-time dynamic investment decision-making scenarios for large-scale assets.

[0034] Step 3: Extend the Gordon-Loeb model

[0035] A composite vulnerability function is introduced into the Gordon-Loeb model to construct a dynamic optimization objective. The probability of breach is expressed in an exponentially decaying form.

[0036]

[0037] in For complex vulnerability, This is a parameter for investment efficiency. The expected total cost is the sum of investment and expected loss.

[0038]

[0039] This index form satisfies the conditions that the marginal return on investment is positive and the probability of loss increases with... Strictly decreasing, ensuring The higher the value, the greater the advantage of this invention over the static baseline.

[0040] Step 4: Solve for the dynamic optimal investment

[0041] Find the first-order conditions for the extended model, and let the expected total cost function be conditional on... The derivative is zero, and after simplification and... Solving within the effective interval yields the analytical solution for the optimal investment decision adopted in this invention:

[0042]

[0043] The analytical solution is in Valid at that time. At that time, the expected total cost increases with investment. Monotonically increasing, optimal investment is taken at the boundary value The aforementioned boundary determination rules, as part of the parameter validity verification, allow the system to directly output a zero-investment decision when the asset value or threat intensity is below a preset threshold, thus avoiding numerical calculation anomalies and ensuring the numerical robustness of the investment allocation plan.

[0044] Step 5: Allocate investment weights for different attacker types

[0045] Based on the dual-path allocation of total investment according to complex vulnerabilities, the investment weights for human defense and AI defense are determined by vulnerability weighting:

[0046]

[0047]

[0048] The weights satisfy: As AI threats increase, the weight of human defense decreases accordingly, and investment shifts towards AI defense (e.g., the ratio of human defense to AI defense in a dual-path allocation). Figure 5 (As shown). The honeypot deployment ratio is solved by a separate Stackelberg game (to be applied for separately) and is not included in the total investment allocation for this step. The composition of each functional unit and the data flow connection relationship of the dynamic security investment optimization system of this invention are as follows. Figure 1 As shown.

[0049] To transform investment allocation schemes into executable defense resource scheduling instructions, this invention configures an investment-measure mapping table. This mapping table is based on the optimal investment... and its sub-items Jointly determined, pre-compiled lookup table functions Its formal definition is:

[0050]

[0051] That is: investing in human defense AI defense investment As a composite index, the table lookup returns a set of pre-compiled defense measures that fall within the corresponding limit range. This table is a set of pre-configured, standardized defense measures mapping entries, pre-compiled and configured based on historical best practices, and updated by the security operations team every calibration period (typically 30 days) in conjunction with new threat intelligence reviews. To avoid fixing absolute value thresholds at asset size... Failure when changes occur (due to) , Enlarging will not cause (Linear amplification), mapping table threshold with optimal total investment The proportion is defined to dynamically scale with the optimal solution and maintain consistency for different asset sizes. An example entry is as follows (Note: the threshold is based on the percentage of the optimal total investment). The proportional values ​​defined, such as 0.3 and 0.7, are exemplary division ratios. Those skilled in the art can flexibly adjust them according to asset structure and defense practices, which does not constitute a limitation of this invention.

[0052] Investment Types Investment amount range (as a percentage of the optimal total investment) Proportion) Mapping measures Implementation frequency Human defense investment Threat Intelligence Subscription (Basic) + Security Awareness Training (Annual) Quarter Human defense investment The above + enhanced access control policies + red team drills (quarterly) Monthly AI defense investment Anomaly detection model threshold increased + enhanced log auditing Monthly AI defense investment The above + model retraining (weekly) + API anomaly detection Weekly

[0053] This mapping table is a constituent part of step 5 of the method of this invention: the optimal investment analytical solution described in weight 1 and the weight allocation described in weight 4 jointly drive the table lookup, converting the numerical investment scheme into executable defense resource scheduling instructions. The threshold of the mapping table is based on the optimal total investment. The ratio (e.g., 0.3, 0.7) is used to define the proportion, rather than a fixed absolute value, to avoid the influence of asset size. Different reasons for the invalidation of credit limit ranges - due to Asset value The exponential change only made By varying the magnitude of the change, a fixed absolute threshold would prevent large-asset enterprises from triggering high-level measures, while triggering them prematurely for small-asset enterprises. Using a proportional threshold, each quota range dynamically scales with the optimal solution, maintaining consistency across different asset sizes. The specific proportional cut-off point can be based on the inflection point of the expected loss eliminated by the unit budget under historical investment tiers, ensuring that each quota range corresponds to a relatively stable combination of measures with marginal defensive returns. Those skilled in the art can adjust the cutting-off ratio and specific measures of the mapping table according to the asset structure and compliance requirements of the network environment, without altering the investment allocation logic described in this invention.

[0054] Regarding output smoothness at the boundaries of the mapping table (optional engineering enhancement): the mapping table uses a threshold (such as...) , ) Refer to the table for tiered investment amounts, and select the optimal investment... or When it falls exactly near the boundary of an adjacent tier, the tiny Measurement errors or parameter fluctuations may cause lookup results to jump between adjacent levels, leading to a switch in mapping measures. To mitigate this boundary sensitivity, embodiments of the present invention support the introduction of a "boundary buffer" as an optional engineering enhancement into the lookup logic of the mapping table: when a certain sub-investment falls within a certain neighborhood of the level threshold (e.g., ... ,Right now When there is a 2% buffer above and below the threshold, measures at adjacent low and high thresholds are triggered simultaneously. Conflicting or overlapping measures are finalized and implemented by safety operations personnel. The width and neighborhood of this buffer band can be calibrated based on the variance of historical investment-performance data, serving as a debouncing mechanism to prevent the output from being overly sensitive to small input disturbances. The aforementioned buffer band is an optional engineering measure and does not constitute a limitation on the lookup decision logic described in claim 1, nor does it affect the mapping table. Returns the core implementation of pre-compiled measures combination for composite indexes.

[0055] Specific implementation description of "based on historical investment-efficiency data calibration" in step S5: The above-mentioned clustering and segmentation process based on marginal returns is a preferred implementation of the "based on historical investment-efficiency data calibration" described in step S5; those skilled in the art can also use the quantile method or expert experience based on domain knowledge to set the threshold, without changing the lookup decision logic of the mapping table described in this invention. Regardless of the threshold calibration method used, the mapping table is based on... Perform a lookup for a composite index and return a pre-compiled combination of defenses; the lookup decision logic itself is unaffected by the choice of calibration method.

[0056] The specific algorithm for threshold calibration (sufficiency of disclosure supplement): The determination of the threshold for the mapping table can adopt the following clustering and segmentation process based on marginal returns, which can be implemented by those skilled in the art without relying on a specific data file:

[0057] Input: Historical dataset D = {(z_i, v_i, L_i, loss_i)} (z_i is the investment amount, v_i is the corresponding vulnerability, L_i is the potential asset loss, and loss_i is the actual loss (realized loss) calculated by the asset management system according to event type and written to the log, including quantitative items such as business interruption loss, recovery cost, and compliance fines, and can be jointly derived by combining the asset damage events recorded in the SIEM system with the security investment amount within the corresponding time window; the loss_i is the historical actual loss summary value obtained by summarizing the post-event loss average according to the investment amount, which is different from the expected loss predicted by the model in step 3 of this invention); the operable collection method of loss_i is - using the event records of SIEM and the asset management system as the data source, for each security event Each event is uniquely assigned to a specific time window and investment tier at that point in time (the same event is counted only in one time window and one investment tier, without being counted repeatedly across windows or tiers). Within that tier, the event is weighted according to its type (data breach, service interruption, ransomware, compliance penalties, etc.), and the arithmetic mean is calculated to obtain the loss_i for that tier. For compound losses that cannot be uniquely attributed to a single attack event, each event record is recorded in its corresponding time window, and the loss is naturally diluted by the tier mean (no need for precise causal attribution for each event). The number of clusters K is [number missing].

[0058] Output: Threshold set {th_1, ..., th_{K-1}}

[0059] 1. For each sample, calculate the marginal revenue MR_i = (loss_{i-1} - loss_i) / (z_i - z_{i-1}) based on adjacent price levels.

[0060] 2. Using MR_i as the index feature, cluster the samples into K classes according to K-means (within-class MR stable).

[0061] (This corresponds to a range of measures with relatively constant marginal defensive benefits)

[0062] 3. Take the point with the largest distance between the cluster centers of adjacent clusters as the threshold split point th_k for the credit limit interval.

[0063] 4. Output the sorted {th_1 < ... < th_{K-1}} as the boundaries of each quota interval in the mapping table.

[0064] The input features of the above algorithm (historical investment amount, vulnerability, potential loss and actual expected loss) have been defined in Examples 4.1 and 5 of this specification. Those skilled in the art can generate or collect historical datasets according to the same definitions and reproduce the threshold calibration without creative effort.

[0065] 3. Technical Effects

[0066] Compared with the prior art, the present invention has the following advantages:

[0067] - Dynamism: Able to adapt to real-time conditions Dynamically adjust security investment to achieve adaptive defense.

[0068] - Targeted: Vulnerability functions tailored to different attacker types can accurately reflect the current threat environment.

[0069] - Economic efficiency: Under typical asset values ​​and parameter ranges, it has a significant cost-saving advantage over the static GL strategy (this invention differs from the static generalized linear model in different...). The cost savings rate is as follows: Figure 4 As shown); within the typical parameter range ( , , Within ) the savings rate The monotonicity increases and tends to saturate, and can be derived and verified by the method of this invention itself without relying on any specific external data file (see the monotonicity verification in Example 4 for details).

[0070] - Endpoint compatibility and smooth transition: In The composite vulnerability function degenerates into The investment decision-making process of this invention is mathematically consistent with traditional static decision-making based on human attacker models, without introducing deviations from existing static strategies, thus ensuring the compatibility of the solution at the endpoints.

[0071] - Scalability: Supports different asset sizes ( Enterprise deployment

[0072] - Modeling rationality and decision consistency: Since the chain-like product structure of the composite vulnerability function is naturally derived from conditionally independent serial risks, the optimal investment... Obtain an explicit analytical solution, and guarantee that... Monotonically increasing and strictly degenerates to the classic GL model at the endpoints; while using ordinary linear weighting... While substituting into the GL model yields a formal analytical solution, it lacks the probabilistic meaning of cascaded risk, and its investment curve falls within the medium range. The interval does not satisfy the economic property of monotonically increasing with threat intensity, and the endpoints are not conserved, which may lead to a mismatch between investment allocation and threat intensity. The chain-product structure of this invention makes the analytical solution available in all... Maintaining monotonicity and endpoint consistency within the intervals avoids investment mismatch and provides a guarantee of decision consistency for real-time dynamic investment decisions on large-scale network assets.

[0073] Note: The above-mentioned cost-saving advantages are derived and verified by the method of this invention within typical parameter ranges, and the saving rate varies with... The property of monotonically increasing and tending to saturate has been theoretically supported by the monotonicity verification in Example 4, without relying on any specific external data files. The specific savings in a real-world network environment are influenced by multiple factors such as asset structure, threat distribution, and defense baseline; therefore, this patent does not constitute a general commitment to performance in any real-world network environment.

[0074] Robustness explanation regarding the probability of breakthrough deviating from the exponential decay assumption: The probability of breakthrough function in step 3 of this invention The invention employs the exponential decay form of the classic Gordon-Loeb model, which corresponds to the typical attack and defense setting of "safe investment continuously reducing the probability of loss exponentially." To demonstrate the robustness of this invention in real-world scenarios despite the potential "threshold effect" (i.e., vulnerability decreases slowly below a certain threshold and rapidly above it, rather than exhibiting strict exponential decay), the following sensitivity analysis is provided: even with a true probability of breach... Deviating from the exponential decay assumption, the core distinguishing feature of this invention still does not depend on this specific functional form—firstly, the composite vulnerability structure. By permeability The statistical definition is established independently of the form of the breakthrough probability function, and its chain-product structure ensures that the composite vulnerability varies with... Monotonic and conserved at its endpoints, this property holds true regardless of whether the probability of breakthrough takes any monotonically decaying form; secondly, the investment decision of this invention is based on "following the trend". The mechanism of "dynamically adjusting investment allocation and tilting the budget towards highly vulnerable attacker types" can still adjust based on real-time data even when the probability of breach deviates from exponential decay. Thirdly, the optimal investment analytical solution provides a more reasonable allocation of defense resources compared to a static baseline. In this patent, even if the actual breakthrough probability deviates from the assumption, those skilled in the art can still recalibrate the breakthrough probability function according to their actual deployment environment and reuse the complete decision-making process of steps 1-5 of this invention. Therefore, the solution of this invention still maintains the technical effect of "type-aware + dynamic allocation" as the core decision-making logic superior to the static baseline when the breakthrough probability deviates from the exponential decay assumption, and it does not become invalid due to the choice of the specific breakthrough probability function form; the above argument is a qualitative description at the sensitivity analysis level and does not constitute a general commitment to performance under any real attack and defense curve.

[0075] Industrial Application Statement: The method steps and parameter calibration process described in this invention have been fully disclosed in this specification. Those skilled in the art can carry out industrial deployment and reproduction based on the formulas, parameter ranges and calibration processes recorded in this specification, without relying on specific undisclosed data or proprietary code. Attached Figure Description

[0076] Figure 1 This is a schematic diagram showing the composition of each functional unit and the data flow connection relationship of the dynamic security investment optimization system of the present invention.

[0077] Figure 2 The composite vulnerability function of this invention Follow A schematic diagram of the changing curve.

[0078] Figure 3 For the optimal investment level of this invention Follow A schematic diagram of the dynamically adjusted curve.

[0079] Figure 4 The method of this invention differs from the static generalized linear model in different ways. A diagram showing the cost savings rates compared to the previous one.

[0080] Figure 5 For the human defense investment of this invention ( ) and AI defense investment ( A pie chart illustrating the dual-path allocation ratio (this chart only shows the dual-path investment allocation weight; the honeypot deployment ratio is solved independently by patent 3 filed on the same day and is not included in the total investment allocation of this patent). Detailed Implementation

[0081] Example 1: (In an environment free from AI attacks)

[0082] 1. Complex vulnerability (Equal to the benchmark for human attackers)

[0083] 2. Optimal Investment (Analytical closed-form solution, , ), expected total cost (No significant difference from traditional strategies)

[0084] 3. Investment Weighting: That is, all of it is investment in human defense; at this point, the composite vulnerability function degenerates into This ensures that the investment decisions of this invention are mathematically consistent with those of traditional human attacker-based models, guaranteeing the compatibility and smooth transition of the technical solution at the endpoints (without introducing deviations from existing static strategies).

[0085] Example 2: (Medium AI penetration)

[0086] 1. Complex vulnerability

[0087] 2. Optimal Total Investment (Analytical Closed-Form Solution) ; Corresponding loss probability Expected total cost (The expected total cost is comprised of security investment) Compared with expected loss It consists of two parts, and the two concepts are different. The industrial mapping example below will illustrate them separately.

[0088] 3. Investment Weighting: That is, human defense accounts for approximately 30%, while AI defense accounts for approximately 70%.

[0089] 4. Cost-saving advantages: Within typical parameter ranges, it offers significant cost savings compared to static GL baselines, with the savings rate increasing with... The increase is monotonically increasing and tends to saturate (this property has been theoretically supported by the monotonicity verification in Example 4, and the specific magnitude is affected by multiple factors such as asset structure and threat distribution).

[0090] 5. Industrialization Mapping Example: Using an annualized security budget of 1 million yuan (i.e., the normalized asset value in this example) Taking a provincial government cloud platform (mapped to 1 million yuan) as an example, when At that time, this invention proposes to set the total security investment at approximately 75,900 yuan (analytical closed-loop solution), of which AI defense modules (such as intelligent WAF and anomaly detection) receive approximately 53,100 yuan (accounting for 70%) and human defense approximately 22,800 yuan, reducing the expected total cost to approximately 207,000 yuan; compared with the static GL baseline (expected total cost of approximately 257,000 yuan), under the same budget, approximately 20% of ineffective investment can be reduced, ensuring that the limited budget is accurately allocated to the highest risk gap. The mapping relationship up to 1 million yuan is merely a normalized scale illustration in this embodiment, used to help understand the magnitude of the investment amount, and is not a limitation on the asset scale to which this invention applies; in actual deployment... It is denominated in a normalized currency unit and does not require a fixed conversion relationship with any specific fiat currency amount.

[0091] Example 3: (Complete AI penetration)

[0092] 1. Complex vulnerability (Equal to the benchmark for AI attackers)

[0093] 2. Optimal Total Investment (Analytical Closed-Form Solution) ; Corresponding loss probability Expected total cost

[0094] 3. Investment Weighting: That is, all investments are inclined towards AI defense.

[0095] 4. Cost-saving advantages: Within typical parameter ranges, it offers significant cost savings compared to static GL baselines. The rate of increase further and tends towards saturation reflects the enhanced investment efficiency of this invention as AI penetration increases (this property has been theoretically supported by the monotonicity verification in Example 4).

[0096] Example 4: Endpoint numerical stability and monotonicity boundary verification

[0097] (Note: This Example 4 is parallel to Examples 4.1 to 4.4 below, and supports the feasibility of the present invention from five aspects: endpoint conservation / numerical stability / monotonicity boundary, typical parameter performance verification, simplest implementation example, end-to-end delay, and mapping instruction generation; the numbering system remains consistent.)

[0098] Endpoint conservation: when hour, Weight Invest in the defense of all humanity, consistent with traditional GL strategies (the principle of no harm); when hour, Weight Invest all resources in AI defense. Both endpoints degenerate into single-type defenses, verifying the endpoint conservation property of the composite vulnerability function.

[0099] Numerical stability: when At that time, analytical solution If a non-positive logarithm occurs, this embodiment of the invention sets the optimal investment in that case to zero. This means that no additional security investment will be made to avoid logarithmic divergence; the boundary handling is implemented by the solution module determining the lower bound of the parameters before the log operation (it does not depend on specific values ​​and is an optional engineering protection).

[0100] Monotonicity verification: In and , conditions, With savings rate Monotonically increasing and tending to saturate, which is consistent with the "saving rate increases with" described in Article 3 of the technical effect of this invention. The phrase "increases, rises, and tends to saturate" is consistent with this.

[0101] Example 4.1 (Performance Verification under Typical Parameters)

[0102] To illustrate the cost-saving advantages of this invention compared to static GL baselines, those skilled in the art can verify it themselves within typical parameter ranges based on all the method steps disclosed in this specification, without relying on any specific external data files. Typical verification settings are as follows: simulating a system containing... Individual asset nodes, annualized total potential loss (Normalized Currency Unit) enterprise network; the probability of breach is expressed using the exponential decay form of this invention. The investment efficiency parameter takes a typical value. Human and AI baseline vulnerabilities are respectively taken as follows: , Static GL baseline based on optimal investment in classical GL Calculate (or equivalently for a fixed) Pick exist (Evaluation under a constant strategy that does not change with time). Under this setting, this method is evaluated in real time. Dynamic allocation and follow Increased investment will be directed toward defenses against highly vulnerable AI, with the expected total cost being lower than the static baseline. The ratio of the difference between the two to the static baseline cost is the savings rate.

[0103] Statement: The above , , , , All numerical values ​​and parameter values ​​appearing in the embodiments of this specification are exemplary parameters and do not constitute a limitation on the scope of protection of this invention. Those skilled in the art can arbitrarily select them within a reasonable range according to the asset structure and threat distribution of the network environment, and their selection does not affect the general applicability of the method steps and analytical solution forms described in this invention.

[0104] Those skilled in the art can reproduce the following qualitative conclusions using the disclosed parameters above: In moderate AI penetration ( Under this invention, compared to a static baseline, the effectiveness of a limited security budget (the expected loss eliminated per unit of security budget) is significantly improved, especially in cases of extreme AI penetration (…). The performance improvement further increased and effectively avoided the investment mismatch of static strategies under AI threats (i.e., a significant decrease in defensive returns under the same budget); the savings rate and performance improvement increased with The monotonically increasing and saturating property has been theoretically supported by the monotonicity verification in Example 4. The verification process can use a fixed random seed and set the number of repetitions (typically 30 independent repetitions) to control the Monte Carlo sampling variance, demonstrating that the cost-saving advantage of this method has statistical stability. Those skilled in the art can reproduce the above qualitative conclusions based on the disclosure in this specification without relying on any specific data files. It should be noted that the fixed random seed is only for controlling the repeatability of simulation verification; the actual deployment of the method of this invention does not depend on any random seed or specific random number generation process. Those skilled in the art can also implement this invention using any random number sequence or deterministic calibration data.

[0105] Example 4.2 (Simplest implementation example, independent of the same-day application)

[0106] To demonstrate that this invention can be fully implemented as an independent decision-making method without relying on any complex estimation system, the following simplified implementation example is given: Security operations personnel use objective data to support manual judgment to set the current AI penetration level in the environment. (That is, approximately half of the attacks are initiated by AI), and the objective data support includes, but is not limited to: monthly reports on the proportion of AI attacks published by threat intelligence platforms (such as national-level CERT / industry-level ISAC), the success rate of AI tools in attack and defense exercises, or the proportion of alert events with AI characteristics in EDR logs; the above objective basis is not manually set. It possesses traceability and repeatability. It should be noted that the effectiveness of the method of this invention depends on... The accuracy of the value, but The sensitivity of the impact of errors on the final investment allocation plan can be determined by those skilled in the art through sensitivity analysis, and the method described in this invention, when inputting... It can still provide an investment allocation scheme superior to the static baseline while maintaining reasonable accuracy, and its tolerance range is covered by the typical parameter verification in Example 4.1 of this specification. It directly takes the typical benchmark vulnerability from historical statistics. , With investment efficiency parameters Potential asset losses (Normalization). Following the steps of this invention:

[0107] 1. Complex vulnerability ;

[0108] 2. Because Optimal total investment ;

[0109] 3. Weights , ,have to , ;

[0110] 4. Look up the mapping table according to step 5 (threshold to account for the optimal total investment). (The ratio is defined as 0.3 or 0.7): human defense investment (about , fall (Near the boundary) Mapped to threat intelligence subscriptions + security awareness training, AI defense investment (about , fall (Near the boundary) is mapped to the anomaly detection model for retraining + API anomaly detection.

[0111] This example relies entirely on the formulas in the instruction manual and manually set inputs, without using any Bayesian estimation devices or honeypot solver modules, and fully demonstrates the process from... The input to the generation of investment allocation schemes and mapping instructions confirms that the method described in claim 1 can be implemented independently, and that "receiving..." In the "real-time estimated value" Sources include, but are not limited to, manual assessment, third-party systems, or preferred solutions submitted on the same day.

[0112] Example 4.3 (System-level effect verification of end-to-end decision latency)

[0113] To illustrate the computational efficiency of the analytical closed-form solution of this invention at the engineering implementation level, an end-to-end latency comparison under a typical deployment scale is given (this can be reproduced by those skilled in the art without relying on specific data files): Assume the target network contains... For each asset node, the optimal security investment needs to be solved independently for the heterogeneous vulnerability of each node. Existing extended GL methods based on game equilibrium paths require iterative optimization of the Nash / equilibrium investment for each node in a single full solution, with typical implementations taking milliseconds to seconds (depending on the implementation). Present With increasing speed, a single solution for 1000 nodes takes approximately several hundred milliseconds, and requires continuous computation. (repeated solution with variations); This invention obtains an analytical closed-form solution due to its chain-product structure, and a single solution takes constant time. (Approximately microseconds, similar to asset size) (Irrelevant). In In scenarios requiring real-time updates based on the threat situation (e.g., refreshing the global investment allocation every 5 minutes), this invention reduces end-to-end decision latency from seconds in existing game equilibrium paths to microseconds, achieving a complete decision-making closed loop. (Input → Analytical Solving → Dual-Path Allocation → Mapping Instruction Issuance) The total latency is reduced by approximately one to two orders of magnitude, allowing security investments to adaptively adjust within the window of changing offensive and defensive situations. This avoids the drawbacks of static strategies, which are forced to extend the decision-making cycle and miss response opportunities due to excessive recalculation overhead. This latency advantage varies with asset size. The increase and further amplification constitute the system-level technical effect of this invention in real-time scenarios of large-scale assets.

[0114] Example 4.4 (Example of generating end-to-end investment-measure mapping instructions)

[0115] To further illustrate how the "Investment-Measure Mapping Table" in step 5 transforms numerical investment plans into executable technical instructions, the following end-to-end example is given. Assume the optimal total investment is calculated using Example 4.2. ,in (about Falling into the human defense zone ), (about Falling into the AI ​​defense zone Mapping table The table lookup and instruction generation process is as follows:

[0116] 1. With For the joint index (threshold to account for the optimal total investment) (The ratio is defined as 0.3 and 0.7). Looking up the mapping table in step 5, we get the human defense side hit entry " → Threat Intelligence Subscription (Basic) + Security Awareness Training (Annual), AI Defense Side Hit Item → Increased threshold for anomaly detection model + enhanced log auditing + model retraining (weekly) + API anomaly detection;

[0117] 2. Serialize the matched measures according to the instruction schema of the corresponding defense system (SOAR platform / firewall / IDS) to generate a structured defense resource scheduling instruction that can be automatically orchestrated and executed. Example JSON is as follows:

[0118] { "instruction_id": "DEF-2026-0811-0001", "trigger": "dynamic_investment_optimization", "human_defense": { "actions": [ {"action":"subscribe_threat_intel", "tier": "basic", "cycle": "quarterly"}, {"action": "security_awareness_training", "scope": "annual"} ]}, "ai_defense": { "actions": [ {"action": "update_waf_rule", "rule_id": "SQL_Injection_004", "threshold": "High", "priority": 1}, {"action": "adjust_ids_threshold", "sensor": "IDS-CORE", "mode": "strict"}, {"action": "retrain_anomaly_model", "dataset": "rolling_7d", "frequency": "weekly"}, {"action": "enable_api_anomaly_detection", "endpoint_group": "public_api"} ]}, "investment_tag": {"z_H": 2.5, "z_A": 5.0, "theta":0.5}}

[0119] 3. The JSON command is issued by the investment allocation execution unit (corresponding to claim 6) to the SOAR platform or firewall / IDS console, automatically completing the configuration and scheduling of the corresponding defense measures, realizing an end-to-end closed loop from "optimal investment value" to "specific technical configuration action", without the need for manual secondary interpretation.

[0120] The above examples demonstrate that the mapping table described in this invention is not an abstract numerical table, but a defense resource scheduling instruction generation mechanism with a clear output format and executable semantics. Its disclosed content is sufficient to enable those skilled in the art to transform investment allocation schemes into technical instructions.

[0121] Example 5: Calibration Method for Benchmark Vulnerability and Investment Efficiency Parameters

[0122] The baseline vulnerability of the system in this invention when facing human attackers. The baseline vulnerability of the system when facing AI attackers. and investment efficiency parameters To establish normalized parameters based on historical attack and defense data (vulnerability is a conditional attribute of system assets, not attacker attributes), a reproducible calibration process is provided below, which can be used by those skilled in the art to implement this invention:

[0123] (1) Data sources and gold standards: collecting data from past defense systems Heaven (typical) The intrusion alert logs and manually confirmed security event records are used, with human judgment as the gold standard. Each attack event is marked as "initiated by human attacker" or "initiated by AI attacker" and recorded as a binary label of successful / failed breach.

[0124] (2) Maximum likelihood estimation of baseline vulnerability: For a sample set of human attackers, the success rate of their attack without the deployment of targeted defenses is statistically analyzed. After minimax normalization, we obtain ,in This represents the empirical range of historical breach rates for similar assets; similarly, it yields the following results for the AI ​​attacker sample set. When the sample size is small, Beta-Binomial conjugate updates are used. The posterior mean is given as the calibration value, and the confidence interval is given at the first 2.5% / 97.5% percentile.

[0125] (3) Investment efficiency parameters The calibration: probability of breach It cannot be directly observed; what is actually collected is the result of the binary breakthrough. (in investment) Vulnerability Next (Whether the next observation has been compromised). Maximum likelihood estimation is performed using a generalized linear model with complementary log-log (cloglog) links: ,in The cloglog linker function (to avoid confusion with the cumulative distribution function of the standard normal distribution, it is referred to here as cloglog). (Note it); through log-likelihood Maximize solution The maximum likelihood estimate. The MLE in It does not diverge when (not yet breached), which is superior to that for the unobservable. Take the logarithm directly and perform least squares; the typical value is between 0.5 and 1.5.

[0126] (4) Calibration cycle and update: The above parameters are re-evaluated on a rolling basis according to a fixed sampling cycle (typically 30 days, which is a demonstrative calibration window. Those skilled in the art can flexibly adjust it according to the attack and defense rhythm of the network environment and the actual operation needs, which does not constitute a limitation of this invention), or upstream. The estimation system triggers recalibration when it detects distribution drift, ensuring... This is consistent with the current network environment. This embodiment can be reproduced by following the steps described above, requiring no creative effort.

[0127] Numerical calibration example: Suppose a defense system exports the following attack and defense log CSV (fields: attacker_type∈{human,ai}, breach∈{0,1}, invest_z, asset_L, obs_v). The obs_v (observed vulnerability) is not directly observed from a single log entry, but rather is an empirical vulnerability value estimated based on historical attack and defense statistics for the corresponding asset group (i.e., a statistical estimate of the breach rate of similar assets within a historical window). This value is used to complete parameter calibration in conjunction with investment amount and breach results. It should be specifically noted that this obs_v is an empirical vulnerability estimate of the corresponding asset group from historical attack and defense statistics, and is used for calibration. The feature variables used are not the composite vulnerability in step 2 of this invention. The composite vulnerability function based on weight 2 is used at runtime. The calculations are performed in real time, and the two terms have different meanings and uses; those skilled in the art should not confuse them. Human attacker sample. Successfully breached (Observations without deployed targeted defenses) AI attacker sample Successfully breached ;Empirical interval .but , (Take the nearest typical value of 0.3); , (Taking the nearest typical value of 0.7), it satisfies Regarding history Observation (e.g., three points: investment) correspond , (and two other calibration points), substitute into Solving (Falling within the typical range of 0.5 to 1.5). This example demonstrates that the calibration can be directly reproduced using the parameters described above, without any creative effort.

[0128] Complete 30-day log simulation data extension: To enhance the credibility and reproducibility of the calibration example, the above three observations can be simulated using a typical 30-day calibration cycle log (the "typical 30 days" is a demonstrative calibration window; those skilled in the art can flexibly adjust the cycle length according to the attack and defense rhythm of the network environment and actual operational needs, and it does not constitute a limitation of this invention). Specifically: using typical parameters in the embodiment... , , , The actual value is the probability of breakthrough, expressed exponentially. Simulated attack results are generated daily for 1000 asset nodes. (Fixed random seed, 30 independent repetitions to control variance), and based on actual defense investment. (Given by the analytical solution of this invention) Record the experience obs_v of invest_z and the corresponding asset group; categorize the simulation logs of 30 days, 1000 nodes, and 30 repetitions into human attacker sample sets and AI attacker sample sets according to attacker_type, and calculate the success rate of the attack respectively. , And normalized to obtain , , and then all Observation pair Perform the maximum likelihood estimation of the cloglog link as described in step (3). The extended simulation is given under a fixed random seed. , , The estimated value is consistent with the calibration results of the three examples above within a 5% relative deviation, verifying that the calibration process of this embodiment can still be stably reproduced under complete cycle data. Those skilled in the art can generate calibration data based on this without relying on any specific real data file.

[0129] (5) Robustness enhancement and anti-data pollution measures: In real calibration environments, log annotation may be affected by human mis-annotation or malicious data injection by adversaries, leading to Incorrect labeling can lead to optimization failure. To address this, this embodiment provides the following robustness enhancement measures, which can be implemented by those skilled in the art in one or a combination: (a) Anomaly detection: Before labeling, outlier screening is performed on the log samples to remove sample points whose distribution significantly deviates from the historical baseline (e.g., exceeding three standard deviations of the historical mean); (b) M-estimation substitution: Huber loss is used instead of ordinary maximum likelihood estimation to reduce the impact of outliers on the labeling results; (c) Consistency and monotonicity constraints: The labeling results are required to meet the following conditions. Furthermore, the prior constraint of #imgpt330# triggers manual review for out-of-bounds calibration results instead of direct adoption. These measures provide additional technical safeguards on top of the calibration process described in the specification, ensuring the reliability of parameter calibration in real-world adversarial environments.

Claims

1. A dynamic security investment optimization method for different attacker types, applied to the resource scheduling decision module of a network security defense system, characterized in that, The method includes the following steps: S1: Receive or read the penetration level θ of the AI ​​attacker in the current network environment, where θ is a continuous scalar value in [0,1], representing the degree of penetration of the AI ​​attacker relative to the human attacker in the current network environment; θ is the input quantity of the method of the present invention, rather than the quantity generated by the steps of the method; the source of θ includes but is not limited to manual setting, output of a third-party threat perception system, or output of an internal estimation module; preferably, θ is provided by "A Real-time Estimation Method for AI Attacker Penetration Based on Bayesian Gaussian Mixture Model" submitted on the same day as this application, so that penetration perception and investment optimization form an automated closed loop; S2: Construct a composite vulnerability function v(θ) based on the θ, where v(θ) is used to characterize the composite vulnerability of the system in the current mixed threat environment, and its specific functional form is defined by claim 2; S3: Introduce the composite vulnerability function v(θ) into the Gordon-Loeb model, and construct the expected total cost function E[Cost|z,θ]=z+L·v(θ)^(λz+1) with the total amount of safe investment z as the variable, using the exponential attack probability form S(z,v)=v^(λz+1), where λ is the investment efficiency parameter and L is the potential loss of assets; S4: Solve for the minimum value of the expected total cost function to obtain the optimal total investment level. The analytical expression (closed expression) takes the form when λ·v(θ)·L≤1. =0; the analytical expression is defined by claim 3; S5: The optimal total investment is weighted according to vulnerability and allocated between human defense and AI defense to generate an investment allocation scheme; the investment allocation scheme is transformed into differentiated defense resource scheduling instructions through a preset investment-measure mapping table; the investment-measure mapping table is a set of pre-compiled standardized defense measure mapping entries, with human defense investment z_H and AI defense investment z_A as joint indexes, the table is looked up to return the pre-compiled defense measure combination that falls within the corresponding quota range, and the combination is serialized into a defense resource scheduling instruction that can be issued by the security orchestration platform. Its quota threshold is based on historical investment-performance data, and the specific mapped defense measure type is determined by the asset structure and compliance requirements of the network environment.

2. The method according to claim 1, characterized in that, The composite vulnerability function is: v(θ) = 1 - (1 - v_H)^(1-θ) · (1 - v_A)^θ (Symbol explanation: In the claims, ^ represents exponentiation, that is, (1 - v_H)^(1-θ) is equivalent to (1 - v_H)^(1-θ) in the specification; the mathematical symbols in this claim have the same meaning as those in the specification.) Where v_H is the baseline vulnerability of the system against human attackers, and v_A is the baseline vulnerability of the system against AI attackers. Both are conditional vulnerability parameters of the system assets under the corresponding threat types, and are calibrated based on historical attack and defense data. The function form is mathematically equivalent to linear interpolation with weight θ in the logarithmic space of the attack probability (i.e., geometrically weighted v(θ)=1-exp[(1-θ)·ln(1-v_H)+θ·ln(1-v_A)], rather than a simple arithmetic convex combination). This equivalent expression further shows that the structure of the present invention is necessarily derived from the mixed threat distribution and has a clear physical basis for modeling "serialized risk".

3. The method according to claim 1, characterized in that, The probability of breach is expressed in exponential decay form S(z,v)=v^(λz+1), and the expected cost is z+L·v(θ)^(λz+1), where v(θ) is given by the composite vulnerability function defined in claim 2; the optimal total investment level z(θ) is given by the analytical expression in claim 1, that is, when λ·v(θ)·L>1, the analytical solution is z(θ)=(1 / λ)·ln(λ·v(θ)·L), and when λ·v(θ)·L≤1, the solution is... =0; where the investment efficiency parameter λ, the baseline vulnerability v_H of the system against human attackers, and the baseline vulnerability v_A of the system against AI attackers are all normalized parameters calibrated based on historical attack and defense data.

4. The method according to claim 1, characterized in that, The investment allocation scheme allocates the total investment into two paths: human defense investment and AI defense investment, according to the weights w_H=(1-θ)·v_H / ((1-θ)·v_H+θ·v_A) and w_A=1-w_H. When the zero allocation boundary case occurs in the denominator of the weight formula (1-θ)·v_H+θ·v_A=0 (i.e., v_H=v_A=0, indicating that there is no vulnerability), it is uniformly handled by the endpoint conservation rule of the weight allocation: according to the endpoint conservation, w_H=1 (corresponding to θ=0 pure human threat endpoint) or w_H=0 (corresponding to θ=1 pure AI threat endpoint). The endpoint value is continuous and consistent with the weight in the extreme sense, ensuring that the investment allocation result is unambiguous at the boundary.

5. The method according to claim 1, characterized in that, The threshold of the investment-measure mapping table described in claim 1 is determined based on historical investment-efficiency data, using quantile method or cluster analysis, and is updated periodically or triggered. The table lookup process uses human defense investment z_H and AI defense investment z_A as a joint index to return pre-compiled defense measure combinations that fall within the corresponding threshold range, and serializes these combinations into defense resource scheduling instructions that can be issued by the security orchestration platform. The specific types of defense measures mapped are determined by the asset structure and compliance requirements of the network environment.

6. A dynamic security investment optimization system for different attacker types, characterized in that, include: The system includes a penetration acquisition interface for receiving or reading the penetration level θ of an AI attacker in the current network environment from manual settings, third-party systems, or internal estimation modules. θ is a continuous scalar value within the range [0,1], representing the degree of penetration of the AI ​​attacker relative to a human attacker in the current network environment. A composite vulnerability calculation unit is used to calculate the composite vulnerability v(θ) based on the penetration level θ using the formula v(θ)=1-(1-v_H)^(1-θ)·(1-v_A)^θ, where v_H is the baseline vulnerability of the system against a human attacker, and v_A is the baseline vulnerability of the system against an AI attacker. An optimal investment solution unit is used to substitute the composite vulnerability v(θ) into the expected total cost objective function for solution, and output the analytical solution of the optimal total investment level z(θ), and output z(θ)=0 when λ·v(θ)·L≤1. The investment allocation execution unit is used to allocate funds according to the optimal total investment level. Based on vulnerability weighting, investment weights are allocated between human defense and AI defense, and resource scheduling instructions containing investment ratios or combinations of measures are generated and issued to the defense system.

7. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method of any one of claims 1 to 5.

8. The method according to claim 3, characterized in that, Before solving for the optimal total investment, a parameter validity check is included as a prerequisite step: if λ·v(θ)·L≤1, then the lower bound of the parameter is determined and output directly before solving. =0, and logarithmic operation is no longer performed; the validity of this parameter is checked once before the solution module performs logarithmic operation, so as to avoid the logarithmic operation from diverging when the asset value or threat intensity is too low, ensuring the numerical robustness of the investment allocation plan, and not affecting the validity of the analytical solution in claim 3.

9. A computer program product, comprising a computer program or computer instructions, characterized in that, When the computer program or computer instructions are executed by a processor, the method of any one of claims 1 to 5 is implemented.