A cognitive health degree evaluation method and system based on rule graph topological features

By constructing a rule graph and performing hierarchical mapping of topological parameters and construction of the noise canonical potential function, combined with modularity-guided four-level adaptive computation, the problems of lag and poor noise robustness in the health monitoring of cognitive systems in existing technologies are solved. This enables real-time health assessment of cognitive systems and early identification of degradation trends, supporting industrial-grade edge deployment.

CN123178678APending Publication Date: 2026-11-27罗浩
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies cannot effectively distinguish between ordered convergence and barren rigidity in cognitive systems, lack sensitivity to fragmented rules with low support, cannot monitor the health status of large-scale cognitive systems in real time, and existing evaluation methods suffer from lag and poor noise robustness.

Method used

By constructing a rule graph, performing hierarchical mapping of topological parameters, constructing a noise canonical potential function, and adopting a four-level adaptive calculation guided by modularity, the cognitive index volume is calculated and health assessment is performed. Combined with time-series trend early warning, a closed-loop monitoring system is formed.

Benefits of technology

It enables real-time health monitoring of the cognitive system, has the ability to suppress directional noise, can identify cognitive degradation trends at an early stage, reduce the risk of unplanned downtime, provide multi-dimensional diagnosis and error tracing, and supports industrial-grade edge deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178678A_ABST
    Figure CN123178678A_ABST
Patent Text Reader

Abstract

The application discloses a cognitive health degree evaluation method and system based on rule graph topology features, and belongs to the technical field of cognitive computing and intelligent monitoring. Active cognitive rules are extracted from a rule base of a monitored system, time sequence lag mutual information between rules is calculated to construct a weighted rule graph, core rules and noise fragment rules are distinguished according to rule support, graph theory layer parameters are extracted and mapped to a modular space topology parameter and a Fenchel-Nielsen continuous parameter of a hyperbolic surface with a crown through a module decomposition structure, a noise canonical potential function on a degenerate boundary of the modular space is constructed, a cognitive index volume is solved in the form of a Weil-Petersson volume, and a hierarchical health degree, multi-dimensional auxiliary diagnosis and three types of time sequence early warnings are output. The application is noise robust and has high hierarchical distinction, adopts four-level adaptive calculation guided by a modularity and supports hardware acceleration, and can be used for long-term operation monitoring of systems such as industrial robots, automatic driving and unmanned aerial vehicle clusters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of cognitive computing and intelligent monitoring technology, specifically relating to a cognitive health assessment method and system based on regular graph topological features, electronic equipment, computer-readable storage medium, and computer program product. Background Technology

[0002] Existing large-scale rule-based cognitive systems primarily monitor their health status using first-order statistics such as semantic entropy and cognitive free energy. Structured semantic entropy calculates self-consistency based on rule activation probabilities and mutual information, while cognitive free energy calculates steady-state stability based on the divergence between predicted and actual distributions. These measures suffer from three inherent flaws: First, they cannot distinguish between "orderly convergence" and "barren rigidity." An overly convergent, barren rule system and a healthy, convergent hierarchical rule system may have similarly low semantic entropy, but the former has lost its environmental adaptability. Second, they are insensitive to fragmented rules with low support. A small number of noisy rules have limited impact on entropy values ​​but are early signals of cognitive degradation, leading to delayed warnings. Third, they lack the ability to measure hierarchical structure, modularity, and topological stability, thus failing to characterize the structural health of the cognitive system.

[0003] In the field of hyperbolic cognition research, the Poincaré hyperbolic embedding method has been used to represent hierarchical conceptual networks. However, this type of method focuses on the spatial embedding of discrete nodes, failing to reach the level of the overall geometric properties of regular structures. Furthermore, the computational cost of high-dimensional embedding increases with the node size, making it difficult to support real-time monitoring of large-scale systems. Evaluation methods based on external task performance indicators suffer from severe lag, only reflecting output results after a failure occurs and failing to perceive hidden risks such as fragmentation, rigidity, and instability within the cognitive system. In the direction of complex network health monitoring, existing solutions mainly employ graph theory methods such as structural entropy, attribute graph entropy, and critical node and cascade resilience analysis. Their measurement objects are still network connectivity statistics, failing to establish a topological mapping from regular structures to hyperbolic surface modulus space, and lacking the ability to exponentially suppress cusp noise.

[0004] The exponential volume theory of capped hyperbolic modulus provides a geometrical approach to solving the above problems: mapping the topological structure of the rule system to a capped hyperbolic surface, and characterizing cognitive health through the volume of the modulus space with exponential weights, which can naturally suppress the interference of noise fragments, while distinguishing between orderliness and richness, thus overcoming the inherent blind spots of first-order statistical measures. However, this theory is still in the basic research stage and has not yet formed a systematic evaluation scheme that can be implemented in engineering. It lacks clear rule-surface mapping rules, reproducible computational processes, and industrial-grade hardware adaptation solutions. Summary of the Invention

[0005] To address the aforementioned deficiencies in existing technologies, the purpose of this application is to provide a cognitive health assessment method and system based on regular graph topological features. This method engineered the crowned hyperbolic modulus space exponential volume theory into a feasible technical solution, addressing the technical problems of poor noise robustness, low hierarchical differentiation, and insufficient real-time performance in large-scale scenarios in cognitive system health monitoring, thereby reducing the risk of unplanned downtime.

[0006] This application constructs a closed-loop process of "rule graph extraction → topology parameter hierarchical mapping → noise canonical potential function construction → four-level adaptive volume calculation → health level assessment → time-series trend early warning". Through modular decomposition and structured mapping, the topological features of the regular network are mapped to hyperbolic mode space parameters. The noise canonical potential function is constructed to achieve directional noise suppression. A four-level adaptive calculation scheme guided by modularity is adopted to balance accuracy and efficiency. Finally, the normalized health index, multi-dimensional complementary diagnosis and error source tracing results are output.

[0007] In this application, the data source for the method steps is uniformly described as the long-term storage area of ​​the rule base. The hyperbolic surface with cusps and geodesic boundaries (referred to as a crowned hyperbolic surface) refers to a hyperbolic Riemannian surface with cusps (crown ends) and variable-length geodesic boundaries; its modulus space is the parameter space characterizing all hyperbolic structures on the surface, on which Weil-Petersson symplectic structures and volume forms are naturally defined. Two levels need to be distinguished: the cusps on the rule-aware surface are the infinitely farthest points of the surface, while the cusp degenerate boundary (Deligne-Mumford boundary divider) in the modulus space corresponds to the limit where the length of an internal waistline approaches zero, and is the boundary after compactification of the modulus space; the noise potential in this application is defined on the modulus space and acts on the degenerate boundary, rather than directly on the surface cusps. The infinite extension of the hyperbolic metric in the cusp region leads to divergence of the classical volume integral. By introducing a canonical potential function to construct an exponential volume form, the cusp divergence can be renormalized to obtain a finite exponential volume, which is determined by the surface topology and boundary parameters. The basic unit of pants (pair of pants, three-hole spherical surface) is a basic segment obtained by decomposing the curved surface along the inner waistband. It is only a geometric decomposition unit and is not the same as the network module obtained by community discovery.

[0008] In this application, the rule graph, crowned hyperbolic surface, modulus space, cusp, cusp degenerate boundary, geodesic boundary, noise canonical potential function, Weil-Petersson volume form, cognitive index volume, cognitive health index, and various auxiliary diagnostic quantities are all information equivalent quantities calculated online from system operation data. The processor or hardware acceleration unit performs the calculation and outputs the treatment signal acting on the monitored system. The related geometric names are only engineering names and do not represent physical spacetime, physical thermodynamic quantities, or subjective cognitive states. This application does not involve the rules of intellectual activities themselves.

[0009] This application contains five technical solutions.

[0010] First aspect: Cognitive health assessment method based on rule graph topological features

[0011] This invention provides a cognitive health assessment method, which is repeatedly executed by the control unit of the monitored cognitive system according to an assessment cycle. Each assessment cycle sequentially completes the following steps: rule graph construction (S1), support calculation and topological parameter hierarchical mapping (S2), noise canonical potential function construction (S3), cognitive index volume calculation (S4), and health level assessment (S5). Between assessment cycles, time-series monitoring and trend early warning are continuously performed (S6). The technical solution is described step-by-step below, with specific implementations and values ​​for each step given in one embodiment.

[0012] S1. Rule Graph Construction and Maintenance. The system extracts all currently active cognitive rules from the long-term storage of the rule base at a fixed evaluation cycle (engineering default of 100 control cycles). It then calculates the activation time sequence of each rule, computes the temporal lag mutual information between rules, and constructs a weighted undirected rule graph after symmetry and normalization. .

[0013] In one implementation, time-lag mutual information is based on lag. The binary activation sequence is computed step by step, with a default lag order. Its meaning is: under known rules Under the condition of whether it is currently active, the rule Lag How much the uncertainty of whether a step activates this event is reduced, thus quantifying the temporal predictive information of one rule for the subsequent activation of another rule: (1)

[0014] In Equation 1, For the first Periodic rules The activation state; in logarithmic engineering, the base is 2 (in bits), changing the base only introduces a constant multiple and does not affect the subsequent normalization result. Lag order The partial autocorrelation function of the activation sequence can be selected according to the following rules: the order at which the partial autocorrelation first falls below the significance threshold is taken; the default is... For rule bases with long-term coupling, simultaneous computation is possible. And take the maximum value. Considering that some binary combinations may not appear within a finite window, and their empirical probability is zero, causing the logarithmic term to diverge, in one implementation, the joint probability and marginal probability are uniformly adopted. Additive (Laplace) smoothing, i.e., adding the count for each joint event. Add edge event count and agreed This ensures numerical stability under small sample sizes. Since hysteresis mutual information is directional and the regular graph is undirected, one implementation symmetrizes the bidirectional hysteresis to obtain undirected edge weights: (2) The symmetric result is mapped to the interval by max-min normalization. ,Right now Here, "causality" refers to the temporal predictive relationship, representing an engineered measure of causality. Intervention-based causality requiring experimental intervention is discouraged. Symmetry is used instead of directly employing a one-way lag because the structural coupling between rules lacks a specified master-slave direction. A two-way averaging avoids biases introduced by artificially specifying the direction while preserving coupling strength information. The rule map is continuously updated according to the evaluation cycle and stored in non-volatile memory as cognition evolves; the computational complexity of mutual information is O(n log n). ( (where the window length is used), in engineering, the product of activation frequencies can be used as a pre-screening measure, and mutual information can be calculated only for rule pairs with non-zero common activation counts within the same window. Edges below the preset sparsity threshold (default 0.01) are discarded to reduce computation and storage overhead under a large-scale rule base.

[0015] S2. Rule Support Calculation and Topology Parameter Hierarchical Mapping. This step strictly distinguishes between two layers: Layer L1 consists of directly computable graph theory parameters of the regular network, where the cyclotron rank is a topological quantity, and the number of noise fragment rules and the number of interaction interface rules are structural statistics; Layer L2 consists of the topology and continuous parameters of the hyperbolic modulus space, obtained through structured coarse-grained mapping, and serves as the input for subsequent volume calculations. The significance of this hierarchical approach lies in decoupling the "directly observable network statistics" from the "surface parameters used for geometric integration," making the mapping process auditable and traceable.

[0016] In one implementation, for each rule Calculate its symmetric average mutual information and rule support: (3) In equation 3, For rules The frequency of activation within the evaluation window. Support also requires that a rule is "frequently activated" and "sufficiently coupled with other rules." The product of these two requirements can simultaneously filter out dead rules that are not activated for a long time and fragmented rules that are occasionally activated but isolated.

[0017] In one implementation, when the number of active rules... When the threshold is not lower than the preset lower limit (20 by default in engineering), all rules are sorted in ascending order of support, and the threshold is taken as the 5th percentile using linear interpolation. This quantile threshold, calibrated using simulation samples encompassing three scenarios—steady-state, degradation, and high-noise—can be adjusted within the range of 1% to 10%. When the support is below the lower limit, the 5% quantile is statistically unstable. Therefore, the natural breakpoint method (maximum gap between noise clusters and core clusters) is used to determine the threshold (taking the point with the largest difference between adjacent values ​​in the support ranking as the boundary, and the midpoint between the values ​​on both sides of the boundary as the threshold), or multiple evaluation windows are merged to expand the sample before taking the quantile. This branch design ensures that the threshold still has an objective basis for small samples (such as cold starts or small subsystems). Rules with support below the threshold are marked as noise fragment rules, and the rest are core rules.

[0018] In one implementation, the L1 layer computes three parameters. Cyclic rank measures the number of independent cyclic structures in the core rule network. (4) In equation 4, The number of edges whose mutual information between core rules exceeds a preset edge weight threshold (0.05 by default in the project). For the number of core rule nodes, The number of connected components is the core rule; the cyclotron rank is the first Betti number of the network. Intuitively, this equals the number of independent closed loops in the network. The edge weight threshold is calibrated based on the bimodal valley values ​​of the normalized edge weight distribution; a default value of 0.05 is used when there is no obvious bimodal distribution. The number of noise fragment rules equals the total number of rules with support below the threshold; the number of interaction interface rules equals the number of core rules involving the external system state (sensor input, actuator output, cross-subsystem messages) in the antecedent or consequent, which is directly counted by the interface tag field in the rule metadata in engineering.

[0019] In one implementation, the L2 layer employs a modular decomposition structured mapping to achieve coarsening. This mapping is a structured approximation of the hierarchical regular network, a non-strict mathematical isomorphism, and includes discrete topological mapping and continuous geometric mapping. The discrete topological mapping is based on the network's first Betti number. With the first Betti number of the closed surface The corresponding engineering approximation is: the cyclic rank mapping is of genus and satisfies Rounding up ensures that the topological complexity is not underestimated; the number of noise rules corresponds to the number of cusps. Interface rule number versus strain length geodesic boundary number The mapping self-consistency can be expressed by the Euler characteristic of the geodesic boundary surface with cusps. Verify that it corresponds to the Euler characteristic of the graph. Both decrease with increasing structural complexity, exhibiting a monotonically increasing trend, which can serve as supporting evidence (not an equivalence) for the self-consistency of the mapping. Continuous geometric mapping uses Louvain community discovery to divide core rules into modules, determining the merging order of hierarchical recursion (substructures within a module are recursed first, then modules are glued together); the atoms of mathematical recursion are the basic units of the underpants, and their number is constant. The number of internally bonded waistbands is The number of these two does not need to be equal to the number of Louvain modules, thus avoiding mistaking "network community" for "surface patch". The internal waistline mapping yields the Fincher-Nielsen coordinates, and the geodesic length and torsion parameters are: (5) In Equation 5, the stronger the coupling and mutual information between modules, The closer to 1, the longer the adhesive waistband. Shorter; Torsional parameters The phase difference corresponding to the activation of two modules is, in engineering practice, obtained by modulo the difference in the average activation times of the two modules with the average activation period of the modules. Each interaction interface rule corresponds to a variable-length geodesic boundary, the length of which is determined by the interface coupling strength. (6) The boundary length and the inner waist length given in Equation 6 are included in the model space coordinates; the weaker the interface coupling and the larger the boundary length, the more marginal the interface is in the regular structure.

[0020] S3. Construction of the Noise Canonical Potential Function. The noise canonical potential function is a scalar field defined on the modulus space. It suppresses the divergent contribution of the cusp degenerate boundary by retargeting with exponential weights, causing the renormalized integral to converge, while simultaneously focusing the metric on the core rule structure. The design idea is that low-support noise rules geometrically correspond to directions approaching the degenerate boundary; the more and stronger the noise, the higher the potential barrier in that direction, and the higher the exponential weights. The smaller the value, the more it automatically reduces the noise contribution in the volume integral, achieving "soft suppression" rather than hard deletion.

[0021] In one implementation, for the first For each noise fragment rule, first define the normalized radius of its corresponding cusp limiting circle. The lower the support, The smaller the value, the closer the modulus space point is to the corresponding degenerate boundary; the local potential is: (7) In equation 7, For the first The degenerative boundary at the apex when the inner waistband length approaches zero. For modulo space points The Fincher-Nielsen distance to the degenerate boundary is approximated in engineering by a first-order weighted Euclidean distance based on Fincher-Nielsen coordinates (the length coordinates and torsion angle are first normalized according to their respective coordinate ranges before calculating the Euclidean distance). Constant barrier height. The location of the degradation boundary is determined by the hyperbolic structure of the degraded inner waistband, as determined by the support ratio. In one embodiment, the effective width parameter is calibrated according to the support ratio: (8) The default base width in Equation 8 The lower the support, the narrower the width of the noise rule, so that the potential of low-support noise is concentrated only near the corresponding degradation boundary.

[0022] In one implementation, the total noise canonical potential is the sum of the regular local potentials of all noise fragments: (9) In Equation 9 This is a set of noise fragment rules. This application introduces modulus-dependent points based on the constant canonical potential. The varying Gaussian spatial decay term is an engineering-oriented extension used to limit the range of a single degenerate boundary potential and prevent cross-contamination of far-field potentials; the decay form can also be replaced by exponential decay. or Lorentz decay The steady-state cognitive free energy of a system is defined as the global minimum of the noise canonical potential. The more and stronger the noise fragments, the higher the free energy, which corresponds to an increase in the degree of fragmentation. Therefore, the volume measurement of this application can be naturally aligned with the existing cognitive free energy system.

[0023] S4. Four-level adaptive calculation of the cognitive index volume. The cognitive index volume is defined as the renormalized integral over the regular structure modulus space: In equation (10), Deficient cusp number , Hyperbolic surface modulus space with a capped shape and varying geodesic boundary. The volume is in Weil–Petersson form, ignoring the globally normalized factorial constant that does not affect the relative evaluation during calculation. In Fincher–Nielsen coordinates, the volume form is: In equation (11), Each pair of inner waistbands is given two coordinates: length and torsion. Each of the variable-length geodesic boundaries is given a boundary length coordinate, therefore the real dimension of the modulus space is: Equation 12 (12) satisfies The dimension is strictly closed. For the basic unit of underwear ( ), dimension For a unique hyperbolic structure, the renormalized baseline exponential volume with exponential weights is taken as the engineering calibration analytical constant: (13) The reference volume of Equation 13 is the renormalization calibration reference, which is different from the pure mathematical normalization volume (the volume of the underwear under standard normalization is 1), and its value does not affect the relative assessment of health.

[0024] In one implementation, the system first calculates the modularity of the core rule network using the Louvain algorithm. Then, based on size, modularity, and the positive definiteness of the Hessian potential function, the algorithm adaptively switches between four levels. The specific decision order is as follows: when and A hierarchical recursive algorithm is used when... and When using the importance sampling Monte Carlo algorithm; When the potential function Hessian matrix is ​​positive definite, the saddle point semi-analytic approximation algorithm is used; when N > 100 and the Hessian matrix is ​​not positive definite, the Monte Carlo algorithm is used; when N > 10000, the pre-trained graph attention network estimation algorithm is used; when any level of algorithm fails to converge or does not meet the accuracy condition, the Monte Carlo algorithm is uniformly backed up.

[0025] In one implementation, a hierarchical recursive algorithm decomposes the complex system along module boundaries. One pair of underwear units, with two substructures along a length of... When the inner waistband of the pants is bonded, the total volume satisfies a recursive integral relationship: (14) Simplified recursive kernel extraction in equation 14 ,satisfy hour continuous, The time decays exponentially; the recursion starts from the baseline constant of Equation 13, and is glued layer by layer according to the Louvain module merging order (recursion within a module first, then gluing between modules). The overall relative high-precision numerical integration error of the hierarchical recursion is less than 1%, and the algorithm complexity is O(log n). .

[0026] In one implementation, the saddle-point semi-analytic algorithm first uses Newton iteration to solve for the global minimum point of the potential function, then performs a second-order Taylor expansion of the potential function at the minimum point, transforming the integral into a multidimensional Gaussian integral: (15) In Equation 15 The potential value at the minimum point, Let be the Hessian matrix of the potential function at the minimum point, and the applicable condition is: The minimum point is solved by a damped Newton-Raphson iteration: (16) The convergence threshold of Equation 16 is the gradient norm. When the Hessian has a negative eigenvalue, a damping term is added. It then changes direction to the steepest descent. In engineering practice, approximating the Hessian as a diagonal matrix reduces the computational complexity of the determinant from... Down to If negative eigenvalues ​​still exist after damping iteration, the saddle point approximation is deemed to have failed, and Monte Carlo regression is initiated; in high-genus, high-dimensional cases, calculations are uniformly performed in the logarithmic domain. To avoid floating-point overflow. Dense regular networks have high rank, mapping genus and large dimension. It is precisely by relying on saddle point approximation and logarithmic field computation to avoid the curse of dimensionality that high-genus cases can still be solved in real time.

[0027] In one implementation, the Monte Carlo algorithm uses a Boltzmann-type proposal distribution corresponding to the potential function. Importance sampling is performed, and the volume estimate is: (17) Equation 17 Default Sampling For each sample, the coefficient of variation of the estimated value is less than 5% as the convergence criterion. If convergence is not achieved, the sample size is doubled. The proposed distribution can be updated layer by layer using the Laplace approximation (constructing a Gaussian proposal with Hessian at the minimum point) or the adaptive sequential Monte Carlo method.

[0028] In one implementation, the graph attention network estimation algorithm employs a two-layer, four-head graph attention network with 64 hidden dimensions. Simulated samples are generated in batches using the parameter space defined by genus, modularity, and size from the first three algorithms as training labels. After training, the input rule network undergoes a single forward inference to directly regress the data. Its attention weight is calculated according to Equation 18: (18) In Equation 18 For nodes neighborhood, This involves vector concatenation. When the input network topology exceeds the training distribution after out-of-distribution detection (determined by the Mahalanobis distance between the node degree distribution, module degree, and size relative to the training set), the Monte Carlo algorithm is used to back off, ensuring that there are still convergent paths under ultra-large-scale and unfamiliar topologies.

[0029] S5. Cognitive health assessment and multidimensional complementary diagnosis. In one implementation, first assess the cognitive health of those who meet the criteria... , Dimension normalization of nontrivial regular structures: Equation 19 (19) eliminates the influence of topological scale by normalizing the dimension, making systems of different genera and different boundary numbers comparable; The basic unit of the underwear is only used as a computational primitive in hierarchical recursion and does not output health separately. Then, the normalized health main index is calculated: In equation (20), When there are sufficient samples, the peak value of the kernel density estimation of the normalized volume distribution during steady-state operation is taken. The nominal baseline is used for several cycles before cold start, and then switched after sufficient samples are available. Historical scale Exponential moving average is used for slow updates to avoid health levels jumping around the threshold due to scale jitter, and the lower limit of the scale is used. To prevent false alarms when the denominator approaches zero during long-term extremely stable periods. The health score range is... The volume is highest when it is at its optimal value. Too small a volume corresponds to excessive convergence and rigidity, while too large a volume corresponds to excessive fragmentation. The entire process uses its own historical scale as the individualized baseline.

[0030] In one implementation, health status is divided into three levels, and the response signals for each level are output to a control or learning mechanism independent of this assessment method: the health level is... The corresponding rule system is orderly and rich, and it outputs maintenance signals to maintain the current operating parameters; the sub-healthy level is... The corresponding rule system shows a trend of convergence or fragmentation, outputting a cognitive structure optimization trigger signal; the risk level is... If the corresponding rule system is severely degraded or rigid, it will output self-checking, repair, and local retraining trigger signals. The above optimization, repair, and retraining actions are all performed by independent steps; this method only outputs the evaluation results and trigger signals, and does not perform the above actions.

[0031] In one implementation, three complementary and non-overlapping auxiliary diagnostic dimensions are output simultaneously: In Equation 21 (21), cognitive richness Depicting structural diversity, For the proportion of core rules, For module diversity, For the number of core rules, For the total number of active rules, Number of community modules; cognitive orderliness Characterizes the deviation from the relative optimal structure and truncates negative values ​​to zero; instability risk value Describing the temporal fluctuations of volume. , The moving standard deviation and mean of the normalized volume. Estimated by first-order difference between adjacent periods, This is a scale for the historical average rate of volume change. Since both the coefficient of variation and the rate ratio may be greater than 1... After summation, both ends are truncated to , and Also return to oneness Richness characterizes structural diversity, instability risk characterizes temporal fluctuations, and both are cross-sectional with the volume principal index; orderliness characterizes the direction of deviation from the relative optimum, and the three perspectives do not overlap.

[0032] S6. Time-series monitoring and trend early warning. In one implementation, the system stores the health score and exponential volume for each period in a historical health score database and executes three types of early warnings: health score monotonically decreasing for five consecutive periods with a cumulative decrease exceeding 0.15, or noise canonical potential reaching a minimum. continuous One cycle (default) A monotonous increase in the cognitive index volume triggers a cognitive fragmentation and degradation warning; if the cognitive index volume remains below the lower edge of the optimal range for 10 consecutive periods and the fluctuation amplitude is less than 10% of the historical standard deviation (i.e., "low volume + low fluctuation" are both met), a cognitive rigidity warning is triggered to avoid misjudging a temporary low level as rigidity; if the volume change rate exceeds three times the standard deviation of the historical average rate, a cognitive phase transition warning is triggered. The above thresholds are the recommended default values ​​for simulation in industrial inspection scenarios and can be adjusted according to reliability requirements and evaluation cycles.

[0033] In one implementation, after triggering the early warning, error tracing is performed, and the topological deviation is calculated as the average relative deviation with zero denominator protection for the three components: genus, number of cusps, and number of geodesic boundaries. (twenty two)

[0034] The dynamic bias and the representation bias are respectively: (twenty three)

[0035] In equations 22 and 23, For healthy baseline topology parameters, Normalized volume standard deviation at a healthy baseline. The regular graph is reconstructed from the inverse mapping of the L2 layer modulus space parameters. The similarity is calculated as the structural similarity of the regular graph (in engineering, a weighted average of the edge set intersection and union ratio and the consistency rate of node labels). Each of the three components is normalized and truncated to... The total deviation is obtained by summing the results. The dominant error sources are located by the proportion of each component, thus avoiding a large number of dimensional components that are constant and dominate.

[0036] In one implementation, for a multi-system cluster, each system independently executes S1 to S4 and broadcasts its local volume. The collective volume and weight normalization are calculated according to the following mathematical formula 24: In equation (24), the default is... Equal weighted average, or based on the task load of each system. Theoretical computing power weights are used only for collective processing capacity assessment and do not participate in health weighting to avoid the computing power scale masking the risks of weak nodes; a node is removed from the set when its health falls below the isolation threshold. The collective volume is calculated after the weights of the remaining nodes are renormalized and node alarms are triggered. The collective health is calculated uniformly based on the collective volume according to Equation 20 to avoid introducing aggregation bias by directly averaging the nonlinear health index.

[0037] The second aspect: A cognitive health assessment system based on rule graph topological features.

[0038] This invention provides a cognitive health assessment system, deployed in the control unit of a cognitive system, including a rule graph construction module, a topology parameter extraction module, an exponential volume calculation module, a health assessment and early warning module, and a health history database. The rule graph construction module's input is connected to the information field data interface (i.e., the storage interface for the rule base and state vectors), and its output is connected to the topology parameter extraction module. This module extracts active cognitive rules, calculates and symmetrizes temporal lag mutual information, and constructs and maintains a weighted undirected rule graph. The topology parameter extraction module's input is connected to the rule graph construction module, and its output is connected to the exponential volume calculation module. This module calculates rule support, distinguishes between core rules and noise fragment rules, extracts L1 layer parameters, and maps them to L2 layer modulus space topology parameters and continuous parameters. The exponential volume calculation module's input is connected to the topology parameter extraction module, and its output is connected to the health assessment and early warning module. This module constructs a noise canonical potential function and adaptively calculates the cognitive exponential volume. The health assessment and early warning module's input is connected to the exponential volume calculation module. This module performs dimensionality normalization, health calculation, hierarchical assessment, output of handling signals, and trend early warning. The health history database is bidirectionally connected to both the topology parameter extraction module and the health assessment and early warning module. This database stores health data for each period, optimal values, and historical standard deviations, supporting trend analysis and historical backtracking.

[0039] In one implementation, the exponential volume calculation module incorporates a hierarchical recursive calculation unit, a saddle point approximation calculation unit, a Monte Carlo calculation unit, and a graph attention network estimation unit, which can adaptively switch according to the decision order shown in Equation 17 of the first aspect based on modularity and size. The training samples of the graph attention network are generated in batches by the first three algorithms in the parameter space composed of genus, modularity, and size. When the input topology exceeds the training distribution, it is backed up to Monte Carlo after out-of-distribution detection. Similarly, it is backed up when the recursion or saddle point does not converge.

[0040] In one implementation, the health assessment and early warning module has a built-in multi-dimensional diagnostic unit and an error tracing unit: the multi-dimensional diagnostic unit calculates three complementary indicators, richness, orderliness, and instability risk, according to Equation 21; the error tracing unit calculates three types of normalized and truncated deviation components and their proportions according to Equations 22 and 23, and locates the dominant error source.

[0041] In one implementation, the health assessment and early warning module has a built-in time-series early warning unit that executes three types of time-series monitoring and triggering logic: fragmentation degradation, stagnation, and phase transition, and outputs corresponding early warning signals and handling suggestions.

[0042] In one implementation, the system further includes a cluster collaborative evaluation module, whose input is connected to the exponential volume output of each node system. The module calculates the collective volume and collective health according to Equation 24 with default equal weight or weighted by task load. When the health of a node is lower than the isolation threshold, its weight is removed, the system is renormalized according to the remaining nodes, and node alarms and cluster-level early warning signals are output.

[0043] In one implementation, the exponential volume calculation module employs a hardware acceleration architecture that combines a field-programmable gate array (FPGA) and a general-purpose processor. The Louvain module degree calculation and the four-level algorithm branch selection are performed by the general-purpose processor, and the results are configured to the FPGA. The FPGA only performs regularized fixed-point calculations and runs in a three-stage pipeline: the first stage performs support degree calculation and topology parameter mapping; the second stage performs logarithmic operations, potential function accumulation, and saddle point diagonal approximation in parallel; and the third stage performs numerical integration, health threshold determination, and early warning signal generation. Monte Carlo random sampling, graph attention network inference, and complete Hessian eigenvalue decomposition are performed by the general-purpose processor. The FPGA and the general-purpose processor interact via an AXI bus.

[0044] Third aspect: Electronic devices

[0045] This aspect provides an electronic device including a processor and a memory. The memory stores computer program instructions, and when the processor executes the instructions, it implements the cognitive health assessment method described in any embodiment of the first aspect. The electronic device can be an embedded control unit of a cognitive system, an edge computing gateway, or a cloud monitoring server. When the monitored system is a field device, the electronic device can connect to the rule base and activation timing record interface of the monitored system via industrial Ethernet, controller area network, or fieldbus, and output a handling signal according to the assessment cycle.

[0046] Fourth aspect: Computer-readable storage media

[0047] This aspect provides a computer-readable storage medium storing computer program instructions thereon, which, when executed by a processor, implement the cognitive health assessment method described in any embodiment of the first aspect. The storage medium includes industrial-grade media such as non-volatile memory, solid-state drive, electrically erasable programmable read-only memory, random access memory, optical disk, or magnetic disk.

[0048] Fifth aspect: Computer program products

[0049] This aspect provides a computer program product, including computer program instructions that, when executed by a processor, implement the cognitive health assessment method described in any embodiment of the first aspect, to cover product forms delivered by program instructions such as online subscriptions, API calls, and container image pre-installation.

[0050] It should be noted that the cognitive health assessment results and treatment signals output in this application do not include specific cognitive structure optimization, self-checking and repair, and local retraining algorithms. The above actions are executed by independent control or learning links based on the treatment signals. This application only undertakes the functions of assessment, diagnosis, early warning and signal output.

[0051] Compared with the prior art, this application has the following beneficial effects:

[0052] (1) Geometric topological metric, breaking through the limitations of first-order statistics. Through the structured mapping from regular graph to hyperbolic modulus space, the exponential volume theory is engineered into a cognitive health metric. It has the characteristics of directional noise suppression and can simultaneously characterize orderliness and richness, making up for the shortcomings of semantic entropy in distinguishing between "ordered convergence and barren rigidity" and insensitivity to noise. Simulation results show that the relative fluctuation of cognitive exponential volume is 8.9% with a noise ratio of 40%, which is lower than the 47.2% of structured semantic entropy and the 62.1% of traditional information entropy, and can identify early degradation trends earlier.

[0053] (2) Modularity-guided four-level adaptive computation, balancing accuracy and efficiency across all scenarios. A four-level system is constructed, from precise recursion to fast estimation of graph networks. Modularity is used as the hierarchical structure criterion and backoff branches are added for scenarios without hierarchy, non-convergence, and out-of-distribution. Under medium scale, saddle point approximation reduces the complexity of high-dimensional integrals from exponential to polynomial level, and under ultra-large scale, single-sample inference of graph networks is reduced to millisecond level.

[0054] (3) Combining main and auxiliary indicators and tracing the source of errors, it has strong engineering practicality. It provides a single normalized health index for easy threshold control, and is equipped with three complementary auxiliary indicators: richness, orderliness, and instability risk, as well as three types of normalized and truncated deviation tracing, forming a closed loop of "status assessment - problem location - trend warning".

[0055] (4) Hardware acceleration adaptation supports industrial-grade edge deployment. Regularized computation can be embedded in a field-programmable gate array in parallel three-stage pipeline. Complex global operations such as modular computation, random sampling and network inference are handled by a general-purpose processor. The simulation typical single-sample computation latency does not exceed 10 milliseconds and the typical power consumption is about 8.5 watts. It can be embedded in edge devices such as industrial robots and autonomous driving.

[0056] (5) It is compatible with existing systems and has low deployment costs. The cognitive index volume is a geometrical dimensionality supplement to semantic entropy and cognitive free energy. There is a correspondence between the minimum value of noise potential and cognitive free energy. It can be connected to existing measurement systems without reconstructing the original architecture. Attached Figure Description

[0057] Figure 1 This is a flowchart illustrating the overall process of a cognitive health assessment method according to an embodiment of this application. Figure 2This is a schematic diagram of rule graph construction and topology parameter hierarchical mapping according to an embodiment of this application; Figure 3 This is a schematic diagram illustrating the construction principle of the noise canonical potential function according to one embodiment of this application; Figure 4 This is a schematic diagram illustrating the applicable scope of a four-level adaptive computing scheme according to an embodiment of this application; Figure 5 This is a schematic diagram of a cognitive health grading assessment and multidimensional diagnosis according to an embodiment of this application; Figure 6 This is a block diagram of a cognitive health assessment system according to an embodiment of this application.

[0058] Figure Label Explanation: 100 Cognitive Health Assessment System; 101 Rule Graph Construction Module; 102 Topology Parameter Extraction Module; 103 Exponential Volume Calculation Module; 104 Health Assessment and Early Warning Module; 105 Health Historical Database; 106 Cluster Collaborative Assessment Module; 107 Hardware Acceleration Unit; 108 Information Field Data Interface. 201 Rule Graph Construction Steps; 202 Support Calculation and Topology Mapping Steps; 203 Noise Canonical Potential Construction Steps; 204 Cognitive Exponential Volume Calculation Steps; 205 Health Grading Assessment Steps; 206 Time-Series Early Warning and Error Source Tracing Steps; 207 Handling Signal Output. 301 Weighted Rule Graph; 302 L1 Graph Theory Layer Parameters; 303 Module Shorts Mapping; 304 L2 Module Space Topology Parameters; 305 Continuous Geometric Parameters. 401 Support ranking threshold; 402 Cusp limiting circle radius; 403 Local potential function; 404 Total noise potential. 501 Cognitive health index; 502 Health level; 503 Sub-health level; 504 Risk level; 505 Multi-dimensional auxiliary diagnosis. 601 Size and modularity determination; 602 Hierarchical recursive calculation; 603 Saddle point semi-analytic calculation; 604 Monte Carlo approximation calculation; 605 Graph attention network estimation. Detailed Implementation

[0059] The present application will be further described below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only for explaining the present application and are not intended to limit the present application. The dimensions, thresholds, limits, iteration times, latency, and power consumption values ​​appearing in the following embodiments are all design values ​​or simulation experience values ​​under one implementation method, and can be recalibrated according to the hardware conditions of the target system, the difficulty of the task, and the stage of operation, and do not constitute a limitation on the scope of protection.

[0060] Example 1: Complete Calculation of the Entire Process of a Miniature Rule Network

[0061] This embodiment employs a simplified cognitive system with eight rules to demonstrate the complete calculation process from input timing to health output; all steps are reproducible. For simplification, a calculation window of 10 control cycles is used; engineering applications can be extended to the default 100 cycles, and adjustments can be made to the joint probability and marginal probability. Additive smoothing. The input data is a regular activation time series matrix for 10 control cycles, as shown in Table 1, where 1 represents activation and 0 represents inactivation.

[0062] Table 1: Control Cycle Rule Activation Timing Matrix

[0063] cycle R1 R2 R3 R4 R5 R6 R7 R8 1 1 1 0 1 0 0 0 0 2 1 1 1 1 0 0 0 0 3 1 1 1 0 0 0 0 0 4 0 1 1 1 0 0 0 0 5 1 0 1 1 0 0 0 0 6 1 1 0 0 1 0 0 0 7 0 1 1 0 0 1 0 0 8 0 0 1 1 0 0 1 0 9 1 0 0 1 0 0 0 1 10 1 1 1 1 0 0 0 0

[0064] Step 1: Calculate the mutual information between activation frequency and timing lag. Activation frequency is obtained by dividing the number of activations within the window by the window length. , .

[0065] To demonstrate the algorithm's characteristics, the joint counts and smoothing probabilities with a lag of one step are listed using rules R1 and R2 as examples. Nine sample pairs are used for lag statistics. and R1 in The value is R2 in The value is Joint counting and The smoothing probabilities are shown in Table 2a.

[0066] Table 2a: Joint Counting and Smoothing Probability of R1→R2 (Lag 1 Step)

[0067] Joint state count Smoothing probability (1,1) 6 7 / 13 ≈ 0.5385 (1,0) 0 1 / 13 ≈ 0.0769 (0,1) 0 1 / 13 ≈ 0.0769 (0,0) 3 4 / 13 ≈ 0.3077

[0068] The marginal probabilities are smoothed to , Substitute into Equation 1 and sum term by term:

[0069] Reverse R2→R1, follow the same steps for joint counting. Calculated with smoothing probability Symmetricalize according to Equation 2:

[0070] The original symmetric mutual information, after global max-min normalization, corresponds to 0.64 in Table 2. The above counting, smoothing, mutual information calculation, symmetry normalization, and normalization process is repeated for all rule pairs to obtain an 8×8 symmetric edge weight matrix (only the lower triangular portion is shown, rounded to two decimal places; the average mutual information is calculated with full precision), as shown in Table 2.

[0071] Table 2: Regularly Symmetric Mutual Information Edge Weight Matrix

[0072] R1 R2 R3 R4 R5 R6 R7 R8 R1 1.00 R2 0.64 1.00 R3 0.42 0.71 1.00 R4 0.58 0.39 0.65 1.00 R5 0.04 0.04 0.03 0.02 1.00 R6 0.03 0.06 0.08 0.02 0.02 1.00 R7 0.02 0.03 0.05 0.07 0.01 0.01 1.00 R8 0.04 0.02 0.03 0.06 0.01 0.01 0.02 1.00

[0073] Step 2, Support Calculation and Noise Identification. First, calculate the average mutual information for each rule using Equation 3 from Table 2. (Complete accuracy), then multiplied by the activation frequency to obtain the support, as shown in Table 3.

[0074] Table 3: Average Mutual Information and Support of Rules

[0075] rule Average mutual information Ii Activation frequency fi Support si Classification R1 0.254 0.7 0.178 core R2 0.280 0.7 0.196 core R3 0.281 0.7 0.197 core R4 0.251 0.7 0.176 core R5 0.0245 0.1 0.00245 noise R6 0.031 0.1 0.0031 core R7 0.026 0.1 0.0026 noise R8 0.024 0.1 0.0024 noise

[0076] Number of active rules in this embodiment The 5th percentile statistics are unstable, so the natural breakpoint method with the maximum gap between the noise cluster and the core cluster is used instead: support in ascending order is... The largest adjacent difference is between 0.0031 and 0.176. The upper bound of the noise cluster is 0.0026, and the lowest core support is 0.0031. The midpoint between these two values ​​is taken.

[0077] R5 (0.00245), R7 (0.0026), and R8 (0.0024) are all below the threshold and are judged as noise fragment rules (3 in total); R6 has a support of 0.0031, which is above the threshold and is retained as a core rule.

[0078] Step 3: L1 parameter calculation and L2 mapping. There are 5 core rules in total. The edges with mutual information greater than the edge weight threshold of 0.05 are R1R2, R1R3, R1R4, R2R3, R2R4, R2R6, R3R4, and R3R6, totaling 8 edges (R4R6 has a mutual information of 0.02, and R1R6 has a mutual information of 0.03, so they are not counted). The number of connected components... Calculate according to formula 4: Circle rank That is, the first Betty number of the core network. Louvain modularity. Divide , Two community modules, each used only to determine the recursive merge order.

[0079] Discrete topological mapping based on the first Betti number engineering approximation: genus cusp number Variable length geodesic boundary number (R1 and R4 are interface rules). Euler characteristic of surfaces. Euler's representation of the graph Both decrease as structural complexity increases and exhibit monotonic changes in the same direction, which can serve as supporting evidence for the self-consistency of the mapping.

[0080] The number of basic units of the underpants in the recursive decomposition is The number of internally bonded waistbands is The real dimension of the modular space is given by Equation 12: Of these, 16 dimensions come from the length of the 8 inner waistbands – torsional coordinates ( The 2D dimension comes from the lengths of two variable-length boundaries. Dimensionally closed, and The conditions for subsequent calculations are met.

[0081] Regarding continuous parameters, the average mutual information between modules is 0.52, and the maximum mutual information across the entire graph is... According to formula 5:

[0082] The torsion parameter is calculated from the activation phase difference between the two modules. The lengths of the two interface boundaries are determined by the coupling strength of their respective interfaces according to Equation 6 and are included in the model space coordinates.

[0083] Step 4, construct the noise canonical potential function. First, press... Find the normalized radii of the three noise rules, then calculate the peak local potential using Equation 7, and the effective width using Equation 8. Take R8 as an example: Similarly, R5: , R7: , The sum of the three peaks is: Finally, by combining the Fincher-Nielsen coordinate distances of each degradation boundary with the Gaussian space decay term in Equation 7, the total potential function is obtained by summing point by point according to Equation 9. .

[0084] Step 5: Solve for the minimum value of the potential function using Newton's iteration. Initially, take the center point of the modulus space symmetry (with the internal waist length taking the average value of 1.0, the torsion angle taking 0, and the boundary length taking the average value of the interface calibration), and iterate according to Equation 16. The initial potential value is 0.518, and the gradient norm is 0.217. The potential values ​​for each iteration are as follows: The gradient norms are as follows: The gradient norm of the final step is lower than Convergence, we get: This minimum value is the cognitive free energy for this period. ; Slightly less than the sum of the three noise peaks of 0.415, which is consistent with the mechanism by which the spatial attenuation term prevents the far-field potentials from superimposing.

[0085] Step 6: Calculate the cognitive index volume using the saddle point approximation. An 18-dimensional Hessian matrix is ​​constructed using the diagonal approximation (off-diagonal elements are ignored). The mean of the diagonal elements is approximately 0.5, and the determinant is:

[0086] The deviation between the diagonal approximation and the determinant calculation of the complete Hessian is less than 3%. Dimension hour Substitute according to formula 15: Then normalize the dimension according to Equation 19:

[0087] Step 7: Health score calculation, complementary diagnosis, and grading. Take the historical best normalized volume. ,scale (Already above the lower limit of the scale), according to formula 20: because The condition is classified as sub-healthy, and the corresponding rule system shows a slight fragmentation trend, outputting a cognitive structure optimization trigger signal (the specific optimization is executed by the independent learning process).

[0088] The three auxiliary diagnoses are calculated separately according to Formula 21. Cognitive richness: Cognitive orderliness: The risk value for instability, calculated using sliding statistics and two-ended truncation, is 0.18. All three indicators are consistent with the sub-health assessment.

[0089] This embodiment fully demonstrates the closed loop of "assessment - detection of sub-health - triggering optimization signals".

[0090] Example 2: Cognitive Health Monitoring of Industrial Inspection Robots

[0091] This embodiment uses an industrial inspection robot with a cognitive architecture as the application scenario. The robot performs power equipment inspection and fault diagnosis tasks. The cognitive kernel contains 200 active rules and the evaluation cycle is 100 control cycles.

[0092] In a typical operating scenario, 200 active rules are extracted. Following Equations 1 and 2, the delayed mutual information is calculated, symmetry is applied, and normalization is performed to construct a rule graph. A total of 1850 edges have mutual information greater than 0.05. Take the 5% quantile threshold of support according to Equation 3. It identified 10 noise fragment rules and 190 core rules.

[0093] Calculate the rank of the circle according to Equation 4:

[0094] Topology mapping as , , The real dimension of the modular space is given by Equation 12:

[0095] Louvain Modularity However, the number of rules is in the range of 100. The minimum point is verified to be positive definite in Hessian. A saddle-point semi-analytic algorithm is adopted according to the fourth-level decision order. Given the extremely high genus and dimension, the logarithmic form of Equation 15 is used. Normalize according to Equation 19: Take the best historical data , According to formula 20: The condition is determined to be at a healthy level, and a maintenance signal is output. The health status sequence for five consecutive cycles is... The condition does not satisfy the continuous monotonically decreasing condition, and therefore no warning is triggered. Dense rule networks have high rank, mapping genus, and large dimension. In this scenario, the curse of dimensionality is avoided by using saddle point diagonal approximation and logarithmic field computation, enabling real-time evaluation.

[0096] Anomaly warning scenario. After 1200 hours of robot operation, electromagnetic interference in the field increased, the proportion of noise rules rose to 32%, and the core rule structure became fragmented; Louvain modularity decreased. The Monte Carlo branch is entered according to the four-level decision-making order. Importance sampling is performed using the Boltzmann-type proposal distribution according to Equation 17:

[0097] When the 8200th sample was collected, the coefficient of variation of the estimated value dropped to 4.7%, satisfying the convergence criterion of being below 5%. After conversion and normalization according to Equation 19, we obtain... Deviation from the optimal value According to formula 20: This triggered a risk level warning.

[0098] Error source attribution is calculated using Equations 22 and 23: Topological bias is truncated at 0.42 (genus and cusp number increase significantly relative to healthy baseline), dynamic bias... , indicating deviation The total deviation is The proportions of each component are as follows:

[0099] The topological component had the highest proportion, indicating that topological fragmentation was the main cause. The system output a risk management signal, and the independent learning stage performed cognitive structure optimization (enhancing the association of core rules and pruning noisy rules). After 10 evaluation cycles of optimization, the proportion of noisy rules dropped back to 8%, the modularity rose to 0.65, and the health score rose to 0.68, returning to a sub-healthy state and continuing to converge towards the healthy range.

[0100] Example 3: Performance Comparison Simulation Verification

[0101] To quantify the technical effectiveness of this application, comparative simulations were conducted on fractal tree simulation rule networks and the publicly available concept dictionary dataset WordNet (version 3.1), and compared with two existing methods: structured semantic entropy and traditional information entropy. The experimental platform consisted of an Intel Xeon Gold 6248R CPU with 32GB of memory, and a Xilinx Zynq UltraScale field-programmable gate array platform. The datasets included 120 fractal tree simulation networks with 50 to 2000 nodes and a modularity of 0.3 to 0.7; a WordNet (version 3.1) cognitive science subgraph containing 1500 nodes and 1872 hierarchical relationships; and an industrial fault diagnosis rule graph containing 800 rules. The structured semantic entropy was... ,in Following the recommended values ​​of this method and calibrated through simulation, traditional information entropy is calculated based on rule activation frequency; each simulation is repeated 20 times, the results are averaged and a 95% confidence interval is given, and differences between groups are analyzed using independent samples. Verification. The following results are all simulation empirical values ​​and are subject to actual testing with a prototype.

[0102] Noise robustness comparison: When the noise proportion increases from 0 to 40%, the average relative fluctuation of the cognitive index volume of this application is 8.9%, the structured semantic entropy is 47.2%, and the traditional information entropy is 62.1%. This application has superior noise robustness. Discrimination comparison: For two networks differing by one cognitive level, the ratio of inter-group variation to intra-group variability in this application is [value missing]. The structured semantic entropy is Traditional information entropy is ( Mapping rationality comparison: Compared with random topological mapping, the structured mapping in this application improves noise robustness by approximately 3.2 times and discrimination by approximately 2.1 times. Recursive algorithm accuracy: 10 groups were selected. The small-scale network, based on high-precision numerical integration, has an overall average relative error of approximately 0.72% and less than 1% when calculated using Equation 14 for hierarchical recursion. Computational efficiency: For a hierarchical network with 10,000 rules, the saddle point approximation calculated using Equations 15 and 16 takes approximately 1.8 seconds, while the recursive scheme takes less than 0.5 seconds. The graph attention network, calculated using Equation 18, has a single-sample inference latency of no more than 5 milliseconds and a test set average absolute error of less than 2% (simulation value) with 10,000 rules.

[0103] Example 4: Assessment of Collective Cognitive Health in Multi-System Clusters

[0104] This embodiment uses a small cluster of three heterogeneous inspection robots as an example. The local normalized volume of each node is as follows: The cluster collective cognition index volume is assumed to use an equal-weighted average, according to formula 24: The theoretical peak computing power is only used to evaluate the collective processing capacity and is not included in the health weighting. The optimal collective volume is selected. ,scale According to formula 20: The cluster is deemed healthy. When a node experiences cognitive decline and its health falls below the isolation threshold, the cluster coordination module removes the node from the aggregation set according to Equation 24 and renormalizes the weights using the remaining nodes (e.g., when there are two nodes). If the collective volume decreases or the collective health is below 0.7, a cluster collaborative optimization signal is output to balance the cognitive load of each node through task redistribution.

[0105] Example 5: Hardware Acceleration Deployment Parameters for Field Programmable Gate Arrays

[0106] This embodiment provides the engineering parameters of the hardware acceleration unit. The platform is Xilinx Zynq UltraScale, the system clock frequency is 100 MHz, 16-bit fixed-point arithmetic is used, and the interface protocol is AXI4-Lite. Louvain modularity calculation and four-level algorithm branch selection are completed by a general-purpose processor, and the results are configured to a field-programmable gate array. The gate array only carries regularized fixed-point calculation and runs in a three-stage pipeline. Monte Carlo random sampling, graph attention network inference, and complete Hessian feature decomposition are also completed by a general-purpose processor. The three-stage pipeline parameters are shown in Table 4. The latency and resource usage in the table are simulation design values.

[0107] Table 4: Acceleration Parameters for a Three-Stage Flowchart

[0108] pipeline hierarchy Core Functions Single-cycle delay Main resource consumption Level 1 Support calculation, topology parameter mapping No more than 3 ms LUT×1200, FF×800, BRAM×1 Level 2 Multi-channel parallel logarithmic operation, potential function accumulation, saddle point diagonal approximation No more than 4 ms DSP×16, BRAM×2, LUT×900 Level 3 Numerical integration, health threshold determination, and early warning signal generation No more than 2 ms DSP×8, LUT×500, FF×300

[0109] The total delay of the three-level flow should not exceed The time to process data is ms, meeting the industrial real-time design requirements of no more than 10 ms, making it suitable for edge embedded deployments. Logarithmic operations and diagonal determinants in high-dimensional saddle point calculations are implemented using fixed-point piecewise approximations. On-chip overflow protection is implemented (the intermediate accumulation register is extended in the worst-case path and configured with saturation truncation logic), and a floating-point fallback path is provided by a general-purpose processor. When the piecewise relative error of the fixed-point approximation exceeds a preset threshold (2% by default in engineering) after online sampling, the calculation in that cycle automatically switches to the floating-point path of the general-purpose processor.

[0110] This application's method is applicable to cognitive systems of arbitrary rule size and topology: for low-genus, small-scale systems with clear module hierarchies, hierarchical recursive precise calculation is used; for medium-scale systems with stable minimum structures, saddle-point semi-analytic calculation is used; when the structure is unclear, saddle points fail, or other algorithms do not converge, Monte Carlo calculation is used; for very large-scale systems, graph attention network estimation is used, and Monte Carlo regression is applied when the distribution is out of bounds. All geometric quantities are information equivalent quantities calculated online from system operating data. The evaluation results are applied to the monitored system in the form of disposal signals. Specific structural optimization, self-checking and repair, and local retraining are performed by independent control or learning links. This application undertakes evaluation, diagnosis, early warning, and signal output, and belongs to industrial monitoring and control technology.

Claims

1. A cognitive health assessment method based on regular graph topological features, characterized in that, Applied to cognitive systems with rule bases and rule activation time sequence records, the following steps are included: S1. Extract all active cognitive rules within the current evaluation period from the long-term storage area of ​​the cognitive system rule base, count the activation time sequence of each rule, calculate the temporal lag mutual information between rules and perform undirected symmetry, and construct a weighted undirected rule graph with rules as nodes and symmetric mutual information as edge weights. S2. Calculate the support of each rule, distinguish core rules from noise fragment rules based on the support threshold, and extract the L1 layer parameters of the rule graph. The L1 layer parameters include the circle rank of the core rule network, the number of noise fragment rules, and the number of interaction interface rules, where the circle rank is a topological quantity, and the number of noise fragment rules and the number of interaction interface rules are structural statistics. The L1 layer parameters are then mapped through structured coarse-grained mapping to correspond to three L2 layer modulus space topological parameters: genus, number of cusps, and number of geodesic boundaries of the hyperbolic surface with cusps and geodesic boundaries. S3. Map the support of each noise fragment rule to the limit circle size at the corresponding cusp, and construct the noise canonical potential function in the modulus space. The noise canonical potential function is a scalar field defined in the modulus space of the regular structure. The potential value increases monotonically when approaching the cusp degeneracy boundary. The cusp degeneracy boundary is the compaction boundary of the modulus space when the inner waist length approaches zero. S4. Construct a regular structure module space with crowned hyperbolic surface corresponding to the topological parameters. Using the Weil-Petersson volume as the integral measure and the noise canonical potential function as the exponential weighting factor, calculate the renormalized integral on the module space to obtain the cognitive exponential volume. The renormalized integral refers to the regularized integral that makes the cusp divergent integral converge with exponential weighting. S5. Normalize the cognitive index volume by dimension to obtain the normalized volume. Calculate the normalized cognitive health index based on the deviation between the normalized volume and the historical best volume. Output the cognitive health assessment level and the handling signal for the independent control link or learning link according to the interval of the health index.

2. The method according to claim 1, characterized in that, The time-lag mutual information mentioned in step S1 is based on lag. The binary rule activation sequence is calculated step by step, quantifying the temporal predictive information of one rule activation on the subsequent activation of another rule, as shown in the formula: ,in For the first Periodic rules The activation state, default lag order The default calculation window for the project is 100 control cycles; the joint probability and marginal probability are calculated using... Additive (Laplace) smoothing is used to avoid the logarithmic term diverging due to zero probability in small samples, and a convention is made... ; The edge weights are obtained by undirected symmetry transformation of the two-way lag mutual information. The results were normalized to the interval by the maximum-min minimum. The aforementioned time-lag mutual information is an engineered causal measure that characterizes the predictive relationship between time sequences, and does not advocate interfering with causality.

3. The method according to claim 1, characterized in that, The formula for calculating the rule support in step S2 is as follows: ,in For the first The activation frequency of the rule The average of the symmetric mutual information between this rule and all other rules. The number of active rules; when the number of active rules When the support threshold is not lower than the preset lower limit, the support threshold is taken as the 5th percentile of the support of all rules, determined by linear interpolation of the ascending sequence; when the number of active rules... When the threshold is below the preset lower limit, the 5% quantile statistics are unstable. The threshold is then determined by using the natural breakpoint method of the maximum gap between the noise cluster and the core cluster, or by merging multiple evaluation windows before taking the quantile.

4. The method according to claim 1, characterized in that, The calculation method for the L1 layer parameters in step S2 is as follows: circumrank ,in This refers to the number of edges where the mutual information between core rules exceeds a preset edge weight threshold (0.05 by default in the project). The number of core rule nodes, The number of connected components in the core rule is equal to the first Betti number of the rule network; the number of noise fragment rules is equal to the total number of rules with support below the threshold; the number of interaction interface rules is equal to the number of rules in the core rule whose antecedent or consequent involves the state of the external system. The structured coarse-grained mapping is based on the network's first Betty number. With the first Betti number of the closed surface The corresponding engineering approximation, cyclic rank With genus satisfy Rounding up ensures that the topological complexity is not underestimated; the number of noise rules corresponds to the number of cusps. The number of interaction interface rules corresponds to the number of geodesic boundaries. This mapping is a structured approximation and a non-strict mathematical isomorphism.

5. The method according to claim 1, characterized in that, In step S3, the first For each noise fragment rule, first define the normalized radius of its corresponding cusp limiting circle. ,in For the support of this rule, The support threshold is given; the local potential at the cusp degenerate boundary is given. ,in For the first When the inner waistband length of the pants approaches zero, the cusp degenerates boundary of the modulus space. For modulo space points The Finch-Nielsen coordinate distance to the degenerate boundary is approximated in engineering by a first-order weighted Euclidean distance based on the Finch-Nielsen coordinates. The effective width parameter; constant barrier height. The location of the degradation boundary is determined by the support ratio and the hyperbolic structure of the internal waistband degradation; the total noise canonical potential function is the sum of the regular local potentials of all noise fragments. ,in For a set of noise fragment rules; The Gaussian space decay term is an engineering extension of the constant canonical potential, used to limit the range of action of a single degenerate boundary potential.

6. The method according to claim 5, characterized in that, The width of action parameter The calibration rules are as follows The default base width .

7. The method according to claim 1, characterized in that, The cognitive index volume mentioned in step S4 is defined as follows: ,in Deficient cusp number , Hyperbolic surface modulus space with a capped shape and varying geodesic boundary. In Weil–Petersson volume form, the global normalized factorial constant, which does not affect the relative evaluation, is ignored during calculation; in Fincher–Nielsen coordinates, Each pair of inner waistbands is given two coordinates: length and torsion. Each geodesic boundary provides a variable boundary length coordinate, in volume form as follows: The real dimension of the modular space is ,in The dimension is strictly closed; each interaction interface rule corresponds to a geodesic boundary, and its variable boundary length is calibrated by the interface coupling strength. And include the coordinates in the model space.

8. The method according to claim 1, characterized in that, In step S4, the calculation of the cognitive index volume adopts a four-level adaptive scheme. First, the modularity of the core rule network is calculated using the Louvain algorithm. Then, the algorithm is automatically switched based on the size and structural characteristics of the rule network: when the number of rules... At that time, if modularity A hierarchical recursive algorithm is adopted, based on the generalized Mirzakhani recursive formula, to decompose the complex structure into basic units of a three-hole spherical trousers, which are recursively calculated; if the modularity... The importance sampling Monte Carlo approximation algorithm is adopted; when When the potential function Hessian matrix is ​​positive definite, the saddle point semi-analytic approximation algorithm is used; when the Hessian matrix is ​​non-positive definite, the importance sampling Monte Carlo approximation algorithm is used; when When the pre-trained graph attention network direct estimation algorithm is used, a unified back-off Monte Carlo approximation algorithm is used when the hierarchical recursion or saddle point approximation does not meet the convergence or accuracy conditions.

9. The method according to claim 8, characterized in that, The saddle-point semi-analytical approximation algorithm transforms the potential function into a Gaussian integral analytical solution by performing a second-order Taylor expansion at the global minimum point. The calculation formula is as follows: ,in Let the potential function take the value at the minimum point. It is the real dimension of the modular space, and the applicable conditions are: , Let be the Hessian matrix of the potential function at the point of local minimum. In engineering, the Hessian is approximated as a diagonal matrix to reduce the computational complexity of the determinant. If negative eigenvalues ​​exist after iteration, the saddle point approximation is deemed invalid, and the Monte Carlo algorithm is rolled back. In high-genus, high-dimensional cases, computation is performed in the logarithmic field. To avoid numerical overflow.

10. The method according to claim 8, characterized in that, In the hierarchical recursive algorithm, the basic rule unit corresponds to a slit surface with genus 0, cusp 3, and boundary 0. The modulus space dimension of the slit unit is 0, corresponding to a unique hyperbolic structure, and its renormalized baseline exponential volume with exponential weight is taken as the engineering calibration analytical constant. The reference volume is a renormalized calibration reference, different from a purely mathematical normalized volume, and its specific value does not affect the relative assessment result of health; the number of basic units of the underwear in the recursive decomposition is always [missing information]. The two substructures are along a length of The total volume of the inner waistband of the pants satisfies a recursive integral relationship when it is bonded together. ,in To simplify the recursive kernel function for engineering purposes, and satisfy... continuous, Attenuation; the Louvain community module is only used to determine the recursive merging order. Substructures within a module are recursively merged first, followed by inter-module gluing. The number of modules does not need to be equal to the number of units in the "underpants" algorithm. The overall error of the hierarchical recursive algorithm relative to high-precision numerical integration is less than 1%, and the computational complexity is O(log n). .

11. The method according to claim 1, characterized in that, In step S5, for those that satisfy Modular space real dimension Dimension normalization of nontrivial regular structures , wherein The preset renormalization calibration reference constant; Then calculate the cognitive health index ,in To obtain the optimal value of the normalized volume in the history of healthy system operation, when there are sufficient samples, the peak value of the kernel density estimation of the volume distribution during steady-state operation is taken. For several periods before cold start, the nominal baseline is used, and after sufficient samples, the kernel density peak value is switched. , The standard deviation of the volume is normalized historically and updated slowly using an exponential moving average to avoid scale jitter that could cause the health level to jump around the threshold. This is the lower bound of the scale, used to prevent false alarms when the denominator approaches zero in long-term extremely stable conditions; The health index range is as follows: The value is highest when the volume is moderate, with its own historical scale as the individual baseline; the real dimension of the modulus space. The basic unit of the underwear is only used as a computational primitive in hierarchical recursion and does not output health status separately.

12. The method according to claim 1, characterized in that, The cognitive health assessment level described in step S5 is divided into three levels. The response signals at each level are output to the control or learning links that are independent of this assessment method: Health, with a health index of not less than 0.7, corresponding to an orderly and rich rule system, and outputting a maintenance signal to maintain the current operating parameters; Sub-health, with a health index not lower than 0.4 and not lower than 0.7, indicates that the corresponding rule system shows a trend of convergence or fragmentation, and outputs a cognitive structure optimization trigger signal; Risk: A health index below 0.4 indicates a severe degradation or rigidity of the rule system, triggering a self-check, repair, and local retraining action. The cognitive structure optimization, self-check, repair, and local retraining actions are performed by the independent process; this method only outputs the evaluation results and triggering signals and does not perform the aforementioned actions.

13. The method according to claim 1, characterized in that, Step S5 also simultaneously outputs three complementary and non-overlapping auxiliary diagnostic dimensions: cognitive richness, representation rule structure diversity, ,in For the proportion of core rules, For module diversity, For the number of core rules, For the total number of active rules, The number of community modules; cognitive orderliness, representing the degree of deviation from the optimal structure. And truncates negative values ​​to zero; Instability risk value, characterizing the time fluctuation of volume. ,in For normalized volume sliding standard deviation, For moving average, Estimated by first-order difference between adjacent periods, The historical average volume change rate is used as the scale; since both the coefficient of variation and the rate ratio may be greater than 1, the instability risk value is truncated at both ends after summation. Cognitive richness and cognitive orderliness were also normalized to a range. .

14. The method according to claim 1, characterized in that, The process also includes step S6: storing the cognitive health index and cognitive index volume for each assessment period into the health history database, and triggering three types of warnings through time series trend analysis: cognitive fragmentation and degradation warning, where the health index decreases monotonically for five consecutive periods with a cumulative decrease exceeding 0.15, or the noise canonical potential minimum value is continuously... One cycle (default) Monotonous increase; cognitive rigidity warning, the cognitive index volume is below the lower edge of the optimal range for 10 consecutive cycles and the fluctuation range is less than 10% of the historical standard deviation; cognitive phase transition warning, the rate of change of the cognitive index volume exceeds 3 times the standard deviation of the historical average rate.

15. The method according to claim 14, characterized in that, After triggering the warning, the error tracing steps are executed: the three types of components—topological bias, dynamic bias, and representation bias—are each normalized and truncated to [specific values]. The total deviation is obtained by summing the results. The proportion of each component is the ratio of the corresponding component to the total deviation. The component with the highest proportion is determined as the dominant error source of the current decline in health. Topology deviation is the current topology parameters Relative health baseline The average relative deviation with zero denominator protection, ; Dynamic deviation ,in The standard deviation of the normalized volume at a healthy baseline; representing the bias. ,in The regular graph reconstructed from the inverse mapping of L2 layer modulus space parameters, This represents the similarity of the regular graph structure.

16. The method according to claim 1, characterized in that, When the evaluation object is a multi-self-generated system cluster, each system independently calculates its local cognitive index volume and topology parameters and broadcasts them through the cluster communication link; the cluster collective cognitive index volume is obtained by default from the equal weighted average of the volumes of each system, or by weighted average according to the task load of each system. The theoretical computing power weight is only used for collective processing capacity evaluation and not for collective health calculation; when the health of a node is lower than the isolation threshold, its weight is removed, and the collective volume is calculated after re-normalizing and aggregating the weights of the remaining nodes, and node alarms are triggered at the same time. Collective health is calculated uniformly based on collective volume to avoid introducing aggregation bias by directly averaging nonlinear health indices.

17. A cognitive health assessment system based on regular graph topological features, characterized in that, Deployed in the control unit of the cognitive system, it includes: a rule graph construction module, whose input is connected to the information field data interface (i.e., the storage interface for the rule base and state vectors), and whose output is connected to the input of the topology parameter extraction module, used to extract active cognitive rules, calculate and symmetricize the temporal lag mutual information between rules, and construct and maintain a weighted undirected rule graph; and a topology parameter extraction module, whose input is connected to the output of the rule graph construction module, and whose output is connected to the input of the exponential volume calculation module, used to calculate rule support, distinguish core rules from noise fragment rules, extract L1 layer parameters and map them to obtain L2. The system includes: a layer-modal space topology parameter and a continuous parameter; an exponential volume calculation module, whose input is connected to the output of the topology parameter extraction module and whose output is connected to the input of the health assessment and early warning module, used to construct a noise canonical potential function and adaptively calculate the cognitive exponential volume; a health assessment and early warning module, whose input is connected to the output of the exponential volume calculation module, used to normalize the cognitive exponential volume dimension, calculate the cognitive health index, perform graded assessment, and output handling signals and trend warnings; and a health history database, bidirectionally connected to both the topology parameter extraction module and the health assessment and early warning module, used to store health data, optimal values, and historical standard deviations for each assessment period, supporting trend analysis and historical backtracking.

18. The system according to claim 17, characterized in that, The exponential volume calculation module incorporates a hierarchical recursive calculation unit, a saddle point approximation calculation unit, a Monte Carlo calculation unit, and a graph attention network estimation unit, and can adaptively switch calculation schemes according to the modularity and scale of the regular network. Furthermore, a hierarchical recursive algorithm is adopted when the modularity is not less than 0.

6. Furthermore, when the modularity is below 0.6, the Monte Carlo approximation algorithm is used. Furthermore, when the Hessian matrix is ​​positive definite, a saddle-point semi-analytical approximation algorithm is used. Furthermore, the Monte Carlo approximation algorithm is used when the Hessian matrix is ​​not positive definite. The graph attention network estimation algorithm is used. The training samples of the graph attention network are generated in batches by the first three algorithms in the parameter space composed of genus, modularity and size. When the input network topology exceeds the training distribution, the Monte Carlo approximation algorithm is used to back off after out-of-distribution detection. The Monte Carlo algorithm is also used to back off when the recursive or saddle point calculation does not converge.

19. The system according to claim 17, characterized in that, The health assessment and early warning module has a built-in multi-dimensional diagnostic unit and an error tracing unit: the multi-dimensional diagnostic unit is used to calculate three complementary auxiliary indicators: cognitive richness, cognitive orderliness, and instability risk value; the error tracing unit is used to calculate the proportion of the three types of components—normalized and truncated topological deviation, dynamic deviation, and representation deviation—after triggering an early warning, and to locate the dominant error source.

20. The system according to claim 17, characterized in that, The health assessment and early warning module has a built-in time-series early warning unit, which is used to execute three types of time-series monitoring and triggering logic: cognitive fragmentation and degradation early warning, cognitive rigidity early warning, and cognitive phase transition early warning, and output corresponding early warning signals and handling suggestions.

21. The system according to claim 17, characterized in that, It also includes a cluster collaborative evaluation module, whose input end is connected to the index volume output end of each node system. It is used to receive local volume data of each system in the cluster, calculate the collective cognitive index volume and collective health by default equal weight or weighted by task load, remove the weight of a node when the health of a node is lower than the isolation threshold, re-normalize the aggregate weights according to the remaining nodes, and output node alarms and cluster-level early warning signals.

22. The system according to claim 17, characterized in that, The exponential volume calculation module adopts a hardware acceleration architecture that combines a field-programmable gate array (FPGA) and a general-purpose processor. The Louvain module degree calculation and the four-level algorithm branch selection are completed by the general-purpose processor, and the results are configured to the FPGA. The FPGA only carries out regular fixed-point calculations and runs in a three-stage pipeline: the first stage performs support degree calculation and topology parameter mapping; the second stage performs logarithmic operations, potential function accumulation, and saddle point diagonal approximation in parallel; and the third stage performs numerical integration, health threshold determination, and early warning signal generation. Monte Carlo random sampling, graph attention network inference, and complete Hessian eigenvalue decomposition are completed by the general-purpose processor. The FPGA and the general-purpose processor interact via the AXI bus.

23. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores computer program instructions, which, when executed by the processor, implement the cognitive health assessment method based on regular graph topological features as described in any one of claims 1 to 16.

24. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the cognitive health assessment method based on rule graph topological features as described in any one of claims 1 to 16.

25. A computer program product comprising computer program instructions, characterized in that, When the computer program instructions are executed by the processor, they implement the cognitive health assessment method based on rule graph topological features as described in any one of claims 1 to 16.