Digital personality management method, system, device and medium
By acquiring multi-source heterogeneous information from user behavior events to update personality maps and feature vectors, the problems of high data transmission costs, low security, and unstable updates in existing personality management technologies are solved, enabling dynamic adaptation and efficient personalized recommendations of digital personalities.
Patent Information
- Application Number
- CN202611272415.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies for user personality management suffer from problems such as large data transmission volume, high communication power consumption, risk of personal information exposure, incomplete personality expression, unstable personality status updates, difficulty in locating and reversing personality drift, and unreasonable update strategies.
By acquiring multi-source heterogeneous information on valid behavioral events initiated by users, we update the personality map and personality feature vector. We then use event feature vectors for stability gating and conflict verification to ensure the dynamic adaptation of the digital personality and its accurate reflection of the user's true self.
It achieves dynamic self-adaptation and continuous evolution of digital personality, improves computational efficiency in complex logical reasoning and personalized recommendations, overcomes noise interference, and ensures the stability and security of personality state.
Smart Images

Figure CN123157944A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of artificial intelligence technology, specifically to a digital personality management method, system, computer device, and computer-readable storage medium. Background Technology
[0002] Existing smart terminals collect users' original content or behavioral data, which are then analyzed by cloud models or recommendation systems to generate user profiles, memory entries, interest tags, or personalized service results. These results are stored in accounts, applications, or cloud databases, and are subsequently used to provide personalized services during interactions.
[0003] However, the above solution has the following drawbacks: 1. Existing solutions mostly rely on the collection and uploading of raw audio, raw images, raw videos, text content or communication content that has not been anonymized, resulting in large amounts of data transmitted between the end and the cloud, high communication power consumption, and increased risk of exposure of raw personal information.
[0004] 2. Representing user status as static tags, profiles, or vector indexes cannot fully express user personality.
[0005] 3. It relies on large models for black-box reasoning about personality, which is easily affected by differences in model version, prompt words, context length and training data, and lacks an interpretable and verifiable personality state update mechanism.
[0006] 4. User behavior data is directly used to update user profiles or directly injected into model context. Accidental behavior, short-term fluctuations, and model misjudgments can all change personality representations without hindrance. Long-term accumulation leads to personality drift. The digital personality gradually deviates from the user's real and stable personality traits, and the drift process cannot be detected, located, or reversed.
[0007] 5. Current personality status updates are mostly done by direct writing without considering the historical fluctuations of the target dimension itself. Occasional noise data can cause drastic fluctuations in personality traits. Furthermore, using a uniform update strategy for personality statuses with different stability requirements leads to large deviations in the updated personality.
[0008] 6. Due to the imperfections in the existing personality version recording mechanism, it may be difficult to pinpoint specific events when personality drift occurs, and it may be difficult to revoke the personality according to the specified version. Summary of the Invention
[0009] To address at least one of the aforementioned problems, this application provides a digital personality management method, system, computer device, and computer-readable storage medium.
[0010] According to a first aspect of this application, a digital personality management method is provided, comprising: acquiring event feature vectors of valid behavioral events initiated by a user, wherein the event feature vectors are obtained based on multi-source heterogeneous information collected from the valid behavioral events; acquiring a pre-stored digital personality of the user, wherein the digital personality includes a personality map and a personality feature vector; and updating the personality map and the personality feature vector based on the event feature vectors.
[0011] According to a second aspect of this application, a processing system is provided, the processing system being configured to acquire event feature vectors of valid behavioral events initiated by a user, the event feature vectors being obtained based on multi-source heterogeneous information collected from the valid behavioral events; acquire a pre-stored digital personality of the user, the digital personality including a personality map and a personality feature vector; and update the personality map and the personality feature vector based on the event feature vectors.
[0012] According to a third aspect of this application, a digital personality management system is provided, including a processing system as described in any embodiment of this application, serving as a second processing system, and the first processing system being configured to send an event feature vector of a valid behavioral event initiated by a user to the second processing system.
[0013] According to a fourth aspect of this application, a computer device is provided, including a processor and a memory, wherein the memory stores a program that, when executed by the processor, implements the steps of the digital personality management method provided in any embodiment of this application.
[0014] According to a fifth aspect of this application, a computer-readable storage medium is provided, wherein instructions are stored on the computer-readable storage medium, which, when executed by a processor, implement the steps of the digital personality management method provided in any embodiment of this application.
[0015] Advantageously, any embodiment of the digital personality management method, system, computer device, and computer storage medium provided herein has the following beneficial effects: by acquiring valid behavioral events initiated by users and updating the digital personality in real time based on their event feature vectors, the limitations of traditional static and unchanging digital personalities are broken. Thus, as users' real behaviors accumulate, the evolution of users' new preferences, habits, and thinking patterns can be continuously captured, making the digital personality a dynamic digital asset. This allows it to increasingly accurately reflect the user's true self through long-term interaction, achieving dynamic self-adaptation and continuous evolution of the digital personality.
[0016] Simultaneously, in terms of the update mechanism, this solution updates both the personality graph and the personality feature vector. The personality graph reflects the network topology of a user's knowledge system, social relationships, and logical cognition at a macro level, while the personality feature vector provides a quantitative representation in a high-dimensional space at a micro level. The coordinated updating of the two ensures the structural accuracy of the digital personality in complex logical reasoning and scene matching, while also improving the computational efficiency at the algorithm level of similarity calculation and personalized recommendation, thus achieving a three-dimensional and refined management of the digital personality.
[0017] Furthermore, the event feature vector is obtained based on multi-source heterogeneous information. Thus, through cross-validation and deep fusion of multimodal data, the one-sidedness or noise interference that may be brought about by a single data source is effectively overcome, thereby extracting more representative and robust event feature vectors, providing high-quality data support for the updating of digital personality. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the specific embodiments of this application, the specific embodiments of this application will be briefly described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below represent some embodiments of this application. For those skilled in the art, other improvements can be obtained based on these drawings without creative effort.
[0019] Figure 1 A flowchart illustrating a digital personality management method according to an embodiment of this application is shown; Figure 2 This illustration shows a structural diagram of a digital personality provided in an embodiment of this application; Figure 3 A flowchart illustrating a digital personality management method according to another embodiment of this application is shown; Figure 4 This invention provides a schematic diagram of the structure of a processing system according to an embodiment of the present application. Figure 5 This application provides a schematic diagram of the structure of a digital personality management system. Figure 6 This illustration shows a schematic diagram of the specific structure of a digital personality management system provided in an embodiment of this application; Figure 7 This illustration shows a data flow diagram based on a digital personality management system provided in an embodiment of this application; Figure 8 This illustration shows a structural diagram of a computer device provided in one embodiment of this application. Detailed Implementation
[0020] To make the above and other features and advantages of this application clearer, the application is further described below with reference to the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explanation to those skilled in the art, and are exemplary only, not restrictive.
[0021] In the following description, numerous specific details are set forth to provide a thorough understanding of this application. However, it will be apparent to those skilled in the art that the specific details are not required to practice this application. In other instances, well-known steps or operations have not been described in detail to avoid obscuring this application.
[0022] Before describing the digital personality management method provided in this application, the technical concept of this application is first introduced: The applicant proposes to use a personality graph as the core data model and an event-driven personality evolution mechanism as the core technology to achieve the generation, continuous evolution, unified management, standardized services, and cross-model, cross-device, and cross-application sharing of digital personalities. Specifically, an independent personality state layer is established between the user and the artificial intelligence model or application layer, decoupling the digital personality from the capabilities of the model and application layer. This allows the digital personality to evolve independently of any specific model and application layer, maintaining continuity across different models, terminals, and applications, thus providing the infrastructure for future cross-model, cross-device, and cross-application personality continuity. In particular, when triggering various large models to generate content or make decision-making inferences, the approach of directly injecting massive amounts of original dialogue history into the context window is abandoned. Instead, the structured summary information of this composite structure is extracted and input. This summary accurately covers core elements such as user preferences, behavioral patterns, current scene, relevant memories, and multi-dimensional confidence, which serve as constraints for model generation.
[0023] To ensure the stability and security of personality states, the output generated by the model must not be directly overwritten or tampered with the underlying personality map. All feedback data generated by the model must be uniformly incorporated into the same personality update pipeline as regular events. The system must sequentially execute verification processes such as stability gating filtering, logical conflict verification, and dynamic confidence updates. Only after passing the above end-to-end compliance verification can the relevant data be formally absorbed and thus have a substantial impact on the digital personality.
[0024] One embodiment of this application provides a digital personality management method. Figure 1 This application provides a schematic flowchart of a digital personality management method according to an embodiment of the present application. Figure 1 As shown, this digital personality management method includes the following steps.
[0025] S11, Obtain the event feature vector of a valid action event initiated by the user.
[0026] One embodiment of this application relates to user-initiated valid behavioral events, which are user behavior records that have been determined to meet preset valid event triggering conditions. Furthermore, valid behavioral events are events related to the evolution of digital personality.
[0027] An embodiment of this application relates to an event feature vector obtained based on multi-source heterogeneous information of collected valid behavioral events.
[0028] Among them, multi-source heterogeneous information may include, but is not limited to, interactive information, audio information, visual information, physiological state information, motion posture information, content consumption information, behavioral information, scene information, device status information, and application service usage information.
[0029] An embodiment of this application involves an event feature vector that includes at least an event identifier, a user identifier or anonymous user identifier, a device identifier, a timestamp, an event type, a feature source type, a set of feature values, a combined trigger score, an event strength, a scene label, and a device status. Furthermore, the event feature vector may also include, but is not limited to, de-identified hashes, idempotent keys, integrity check values, and encrypted signatures.
[0030] In one embodiment of this application, the event feature vector can be represented using JSON, binary encoding, Protocol Buffers, TLV, CBOR, or other structured encoding methods.
[0031] S12, Obtain the pre-stored digital personality of the user, the digital personality including a personality map and a personality feature vector; One embodiment of this application involves a personality graph that is an attribute graph, consisting of several nodes and directed edges connecting the nodes; the personality feature vector is a set of state values and confidence scores for each node dimension. Thus, the two coexist and reference each other, together constituting a complete digital personality. The state value refers to the quantitative value representing the user's current tendency on a certain feature dimension of the personality feature vector, and its value range can be [0,1] or [-1,1]. A larger value indicates a stronger tendency on that dimension. The confidence score represents the credibility of the state value corresponding to the feature dimension, determined by the number, intensity, source credibility, multi-source consistency, and time since the last update of the valid behavioral events supporting the state value. Its value range can be [0,1], and a larger value indicates more sufficient evidence for the state value.
[0032] Figure 2 This application provides a schematic diagram of the structure of a digital personality according to an embodiment of the present application. Figure 2As shown, the personality graph is constructed based on personality nodes, behavior nodes, preference nodes, memory nodes, device nodes, and the relationship edges between each node. That is, the personality graph is centered on the personality node and connects the core identity node, preference node, behavior node, memory node, scene node, and device node through relationship edges.
[0033] It should be noted that, Figure 2 Solid lines in the diagram represent relational edges, while dashed lines represent mutual references between the personality map and the personality trait vector.
[0034] Among them, the identity core node is used to carry stable information such as the user's core values and long-term goals; the preference node is used to express the user's preference for specific objects, topics or activities (such as preference for coffee); the behavior node is used to express the user's stable behavior pattern (such as morning running); the memory node is used to carry event memories and mark its memory level; the scene node and device node are used to express the scene in which the event takes place (such as commuting) and the device involved (such as smart glasses), respectively.
[0035] Each node possesses a unique Global Identifier (UUID) for node location. Furthermore, each node can include its node type, attribute set, creation timestamp, and latest update timestamp, thus ensuring data traceability and manageability, providing data support for subsequent memory association and personality evolution.
[0036] Figure 2 The relationship edges connecting the nodes are not simple lines, but directed edges, and are objects with attributes. The basic attributes of a relationship edge include at least relationship type, weight, confidence level, edge weight decay coefficient, and timestamp. The relationship type clearly defines the nature of the association between nodes. The edge weight decay coefficient controls the rate at which the association decays over time, conforming to the human forgetting curve. For example, if a user hasn't engaged with a certain interest for a long time, the weight of the corresponding relationship edge will gradually decrease, preventing outdated memories from affecting personality accuracy. The weight of the relationship edge represents the strength of the association between two nodes. The timestamp can include the creation time and the latest update time, used to trace the formation and changes of the association. Figure 2 The thickness of the solid lines represents the relative magnitude of the weights; for example, the weight of the "personality node - preference node (coffee)" edge is higher than that of the "personality node - behavior node (morning run)" edge. Accordingly, the evolution of digital personality is visually represented on the graph as the establishment and disappearance of nodes, the establishment and weight changes of relationship edges, and the flow of memory nodes between memory levels.
[0037] It should be noted that, Figure 2 The subgraph consisting of preference nodes and their connected edges is the preference graph mentioned in this application; the preference graph is a component of the personality graph, rather than a separate structure independent of the personality graph.
[0038] In addition, the relationship edge also includes attribute fields such as context, emotion weight, frequency of interaction, and last interaction time, which are used to represent the triggering context, emotional tendency, interaction frequency, and time decay characteristics of preferences.
[0039] like Figure 2 As shown, the personality feature vector is used to represent the user's state value under the personality dimension, behavior dimension, preference dimension or scenario dimension corresponding to each node, and a corresponding confidence level is configured for each dimension. Figure 2 Examples are provided for dimensions such as openness, extraversion, conscientiousness, risk preference, and decision-making speed, along with their corresponding state values and confidence level pairs (e.g., openness 0.72 · 0.85). Personality trait vectors are not plotted as nodes in the graph but are stored independently as a set of numerical values, forming the other half of the composite structure alongside the personality graph.
[0040] It should be noted that the feature dimensions in the personality trait vectors discussed in this article may include, but are not limited to, core personality dimensions such as openness, conscientiousness, extraversion, agreeableness, and neuroticism, extended personality dimensions such as risk preference, time preference, decision-making speed, and self-confidence, as well as behavioral dimensions, preference dimensions, and scenario dimensions.
[0041] In a personality graph, personality nodes can carry and point to corresponding feature dimensions in a personality feature vector; the evolution of the state values of each feature dimension in the personality feature vector is reflected in the changes of the state of the corresponding node and the weight of the relation edges in the personality graph. It is this mutual referencing relationship that binds the structural expression (i.e., the personality graph) and the numerical expression (personality feature vector) into a unified, evolvable, and verifiable digital personality.
[0042] In one embodiment of this application, the nodes in the personality graph and their corresponding personality trait dimensions can be divided into different personality levels according to stability requirements. These personality levels may include, but are not limited to, a core personality level, a trait personality level, and a contextual personality level.
[0043] Specifically, the core personality layer includes core identity nodes and the personality trait dimensions they point to, which are used to carry long-term stable information such as the user's values and long-term goals.
[0044] The personality trait layer, including preference nodes, behavioral nodes, and the personality trait dimensions they point to, is used to carry medium-term stable information such as user preferences and habits.
[0045] The personality context layer, which includes scene nodes, device nodes, current task identifiers, current emotional states and the personality trait dimensions they point to, is used to carry real-time information.
[0046] It should be noted that the update cycles of the three personality levels decrease sequentially, that is, the update cycle of the core personality level is longer than that of the personality trait level, and the update cycle of the personality trait level is longer than that of the personality situation level.
[0047] In one embodiment of this application, when a user does not have a pre-stored digital personality, an initial digital personality is used as the user's pre-stored digital personality. The user's initial digital personality can be an initialized event feature vector generated based on the user's declared information.
[0048] S13, update the personality map and personality feature vector based on the event feature vector.
[0049] Specifically, nodes and / or relationship edges in the personality graph are updated based on event feature vectors, as are state values and confidence values in the personality feature vectors.
[0050] In some of the above embodiments, a composite structure of personality graphs and personality feature vectors, which coexist and reference each other, represents digital personality. The personality graph expresses the relationships between states using nodes and directed edges with attributes, while the personality feature vectors express the quantified values of each feature dimension using state values and confidence levels. Compared to static tags, profiles, or vector indexes, this composite structure supports both graph-based association retrieval and scene matching, as well as vector-based similarity calculation, improving the computational efficiency of retrieval and matching.
[0051] In some embodiments of this application, S13, updating the personality map and personality feature vector based on event feature vector includes: determining first candidate update information for the personality map and second candidate update information for the personality feature vector based on the event feature vector; performing stability gating processing and conflict verification based on the second candidate update information and the event feature vector; determining a corresponding processing strategy based on the stability gating processing result and the conflict verification result; when the processing strategy includes an update strategy, updating the personality map and personality feature vector according to the update strategy based on the first candidate update information and the second candidate update information.
[0052] One embodiment of this application relates to a processing strategy used to indicate processing operations on first candidate update information and second candidate update information.
[0053] One embodiment of this application relates to an update strategy used to instruct the updating of the weights of relation edges according to the target relation edge update formula, and to update nodes. It is also used to instruct the updating of the state values of the target personality trait dimension according to the target state value update formula, and the updating of the confidence level of the target trait dimension according to the target confidence level update formula.
[0054] In one embodiment of this application, determining the first candidate update information of the personality map and the second candidate update information of the personality feature vector based on the event feature vector may include: parsing the event feature vector to obtain the first candidate update information containing the set of related node references and the second candidate update information containing the set of related personality dimension references corresponding to the effective behavioral event.
[0055] In one embodiment of this application, the associated node reference set is a set of nodes in a personality graph related to a valid behavioral event, and the associated personality dimension reference set is a set of personality feature dimensions in a personality feature vector related to a valid behavioral event.
[0056] In one embodiment of this application, the event feature vector is parsed to obtain the set of associated node references and the set of associated personality dimension references corresponding to the effective behavioral event. This includes: extracting the feature value set, event type, scene label and device status from the event feature vector; parsing the feature value set, event type, scene label and device status; and mapping the parsed data to the corresponding associated nodes and associated feature dimensions.
[0057] This enables the mapping and transformation of effective behavioral events into digital personalities, and the results of the mapping and transformation serve as the basis for subsequent updates to the digital personalities.
[0058] In one embodiment of this application, the first candidate update information may include each node in the associated node reference set and its associated relation edges.
[0059] For the first candidate update information, the update strategy may include performing the following update process for each node in the associated node reference set: if the node is not included in the personality graph, then create the node in the personality graph and establish relationship edges between the node and other nodes in the associated node reference set.
[0060] The initial attributes of the created nodes, as well as the relationship type, weight, confidence level, edge weight decay coefficient, and timestamp of the established relation edges, are all determined based on the event feature vector. Furthermore, the initial weight of the newly created relation edge is determined by the event strength of the effective behavior event, and the initial confidence level of the newly created node and relation edge is a preset initial confidence level value, such as 0.30.
[0061] If the node is already included in the personality graph, then update the existing relationship edges between the node and other nodes in the associated node reference set.
[0062] Updating existing relation edges can include updating their weights. Additionally, it updates the node timestamps and source distribution counts.
[0063] It should be noted that the set of associated node references corresponding to a valid behavioral event can include both nodes that are not included and nodes that are already included. In this case, the update operation on the former is to perform creation processing, and the update operation on the latter is to perform update processing. The two are not mutually exclusive.
[0064] In one embodiment of this application, the update strategy further includes updating the weight of the relation edge using the following formula.
[0065] new_weight = old_weight × decay_factor+ event_strength × (1 -old_weight) Where new_weight represents the updated weight value of the relation edge, old_weight represents the original weight value, decay_factor represents the time decay factor, and event_strength represents the event strength.
[0066] In one embodiment of this application, event strength characterizes the intensity of the association reinforcement of the relation edge by the current effective behavioral event. Event strength can be obtained using the following formula: EventStrength= clamp(λ1 × S + λ2 × SourceConfidence + λ3 ×ContinuityFactor, 0, 1) Where S represents the combined trigger score of the valid behavioral event; SourceConfidence represents the confidence of the event source, which is determined based on the event source type and device credibility; ContinuityFactor represents the trigger persistence, which is the ratio of the number of times the event continuously meets the trigger conditions within a preset time window to the preset maximum number of times; λ1, λ2 and λ3 are the corresponding weight coefficients, and λ1 + λ2 + λ3 = 1; clamp represents the clamping function.
[0067] It should be noted that the event intensity is event-level and shared across all personality feature dimensions. The combined trigger score is carried in the event feature vector and obtained during the determination of valid behavioral events.
[0068] In one embodiment of this application, λ1 = 0.5, λ2 = 0.3, and λ3 = 0.2.
[0069] In another embodiment of this application, the event strength can be the result of weighted summation of each feature value in the feature value set of the event feature vector according to its corresponding weight, that is, EventStrength = Σ ( u_k × f_k ), where f_k represents the k-th feature value, u_k represents the weight corresponding to the k-th feature value, and Σ u_k = 1.
[0070] For example, for content consumption events, the feature set can include three features: completion, active interaction, and duration intensity. The corresponding weights can be configured as 0.4, 0.4, and 0.2, respectively. EventStrength = completion × 0.4 + active interaction × 0.4 + duration intensity × 0.2.
[0071] In one embodiment of this application, decay_factor = exp(-decay_coef × Δt), where Δt is the time since the last update. decay_coef is the edge weight time decay coefficient, used to control the decay rate over time, conforming to the forgetting law (i.e., the larger the value, the faster the decay).
[0072] One embodiment of this application relates to second candidate update information including each personality feature dimension in the associated personality dimension reference set.
[0073] One embodiment of this application involves stability gating and conflict verification, which are two pre-verification mechanisms performed to ensure the stability of personality states and the absence of logical conflicts. Specifically, stability gating assesses the magnitude and risk of changes in each personality trait dimension, while conflict verification evaluates the logical rationality of all changes in personality trait dimensions.
[0074] In some embodiments of this application, stability gating and conflict verification are performed based on the second candidate update information and the event feature vector, including: calculating the stability value of each personality feature dimension in the second candidate update information based on the second candidate update information, determining the stability level corresponding to each personality feature dimension based on the stability value of each personality feature dimension, outputting the stability gating result based on the stability level of each personality feature dimension; and verifying whether there is a conflict between the valid behavioral event and the current state of the digital personality based on the event feature vector, and outputting the conflict verification result.
[0075] In one embodiment of this application, the stability value of each personality feature dimension in the second candidate update information is calculated based on the second candidate update information. Specifically, this includes: for each personality feature dimension in the second candidate update information, obtaining the historical state value change sequence of each personality feature dimension within a preset time window; calculating the standard deviation of the historical state value change sequence of each personality feature dimension; and determining the stability value of each personality feature dimension based on the standard deviation of each personality feature dimension.
[0076] The historical state value change sequence includes a preset number of historical state value changes prior to this update.
[0077] Specifically, the stability value Stability_j of the j-th personality trait dimension can be calculated based on the variance of the change in the most recent n state values ΔT_j, and can be expressed as the following formula, where n is not less than 3.
[0078] Stability_j = clamp(1 -σ(ΔT_j1, ΔT_j2, …, ΔT_jn) / σ_ref, 0, 1) Where σ is the standard deviation of the nth variation; σ_ref is the preset reference standard deviation. Optionally, σ_ref is 0.045.
[0079] In one embodiment of this application, when the number of historical state value changes in the j-th personality feature dimension is less than a preset number, the stability value of the j-th personality feature dimension is determined to be a preset initial stability value.
[0080] In another embodiment of this application, when the number of changes in the historical state values of the j-th personality feature dimension is less than a preset number, the standard deviation is calculated using all the changes in the historical state values of the j-th personality feature dimension.
[0081] In addition, stability values can also be calculated based on moving averages, anomaly detection, Bayesian updates, statistical thresholds, or lightweight models.
[0082] In some embodiments of this application, determining the stability level corresponding to each personality feature dimension based on its stability value may include: when the stability value Stability_j of the j-th personality feature dimension is not less than a first threshold and not greater than a second threshold, the update of the j-th personality feature dimension by the effective behavioral event is moderately stable, and the stability gating coefficient of the j-th personality feature dimension is determined as the first gating coefficient g_s1. This makes the evolution of the digital personality smoother and avoids drastic shifts in personality features caused by a single moderate-intensity interaction; when the stability value Stability_j of the j-th personality feature dimension is greater than the second threshold, the update of the j-th personality feature dimension by the effective behavioral event is highly stable, and the stability gating coefficient of the j-th personality feature dimension is determined as the second gating coefficient g_s2. Wherein, the first gating coefficient g_s1 is less than the second gating coefficient g_s2.
[0083] In one embodiment of this application, when the stability value Stability_j of the j-th personality feature dimension is less than a first threshold, the update of the j-th personality feature dimension by the valid behavioral event is considered low-stability. Therefore, update operations on personality nodes and relationship edges need to be intercepted, and the valid behavioral event is written into a short-term memory cache. This prevents erroneous mutations in personality. Simultaneously, it preserves the original data for possible subsequent backtracking analysis while isolating its immediate impact on the core personality layer.
[0084] It should be noted that the stability output includes the stability level corresponding to each personality trait dimension. When the stability level is not low stability, the stability output may also include the stability gating coefficient.
[0085] In some of the above embodiments, this application effectively improves the robustness of digital personality evolution by calculating stability values dimension-by-dimensionally and adopting a hierarchical gating strategy. On the one hand, by implementing interception and short-term memory caching mechanisms for low-stability personality trait dimensions, noisy data and accidental behaviors are precisely isolated, preventing erroneous mutations in the digital personality. On the other hand, by introducing gating coefficients for medium-stability personality dimensions and performing weighted updates, smooth absorption of new information is achieved, avoiding drastic shifts in personality traits. Furthermore, this dimension-by-dimensional adaptive processing mechanism breaks the limitations of globally unified updates, enabling fine-tuning based on the inherent attributes of different personality traits, significantly improving the accuracy and realism of digital personality modeling. Moreover, no personality trait dimension has a channel for significant rewriting in a single event, suppressing personality drift from its source.
[0086] One embodiment of this application relates to conflict verification, which refers to verifying whether there is a conflict between the current valid behavioral event and the current state of the digital personality. Conflict verification may include, but is not limited to, verification of conflicts such as direction conflicts, weight conflicts, semantic conflicts, value conflicts, frequency conflicts, scene and device conflicts, etc.
[0087] In one embodiment of this application, based on event feature vectors, verifying whether there is a conflict between valid behavioral events and the current state of the digital personality specifically includes: calculating the evolutionary direction deviation between valid behavioral events and long-term personality nodes to detect whether there is a directional conflict; evaluating the weight difference between valid behavioral events and existing preference relationship edges to detect whether there is a weight conflict; analyzing the semantic similarity between valid behavioral events and long-term memory nodes to detect whether there is a semantic conflict; determining whether valid behavioral events violate the preset value constraints of identity core nodes to detect whether there is a value conflict; statistically analyzing the occurrence frequency of valid behavioral events and comparing it with historical behavioral baselines to detect whether there is a frequency conflict; and comparing the device state and scene state of valid behavioral events with existing device state and scene state to detect whether there is a conflict between device state and scene state.
[0088] In some embodiments of this application, the stability gating result is used to characterize whether the second candidate update information meets the update execution conditions, thereby indicating whether the update can be performed. The conflict check result is used to characterize whether the first candidate update information and the second candidate update information meet the logical consistency conditions, thereby indicating whether the update can be performed.
[0089] In one embodiment of this application, the processing strategy is based on the joint evaluation result of stability gating processing and conflict verification results.
[0090] Specifically, when the stability gating processing result of the target personality trait dimension represents a full update and the conflict verification result indicates that the update is allowed, the processing strategy is determined as follows: perform a full update on the first candidate update information and the second candidate update information.
[0091] When the stability gating result of the target personality trait dimension indicates a reduction update and the conflict check result indicates that the update is allowed, the processing strategy is determined as follows: perform a reduction update on the first candidate update information and the second candidate update information.
[0092] When the stability gating result or conflict verification result of the target personality trait dimension indicates rejection of update, the following processing strategy is determined: intercept the update operations of the first candidate update information and the second candidate update information.
[0093] In one embodiment of this application, a corresponding processing strategy is determined based on the stability gating processing result and the conflict verification result, including: when the stability level of the target personality feature dimension is higher than a preset stability level and the conflict verification result indicates an update, the processing strategy is determined to be the following update strategy: controlling the update magnitude of the target personality feature dimension and the update magnitude of the corresponding node in the first candidate information based on the stability gating coefficient corresponding to the stability level of the target personality feature dimension; when the stability level of the target personality feature dimension is the preset stability level, or the conflict verification result indicates no update, the processing strategy is determined to be: intercepting the first candidate update information and the second candidate update information, and writing the effective behavioral event into the short-term memory cache.
[0094] In one embodiment of this application, the preset stability level can be low stability.
[0095] Specifically, when the stability value of the target personality feature dimension is not less than a first threshold and not greater than a second threshold (i.e., the stability level is medium stability), the stability gating coefficient is the first gating coefficient g_s1. When the stability value of the target personality feature dimension is greater than the second threshold (i.e., the stability level is high stability), the stability gating coefficient is the second gating coefficient g_s2. In other words, the update magnitude of the target personality feature dimension and the update magnitude of the weights of the relation edges between the nodes corresponding to the target personality feature dimension in the first candidate information are adjusted using either the first or second gating coefficient.
[0096] In some of the above embodiments, stability gating and conflict verification are performed on valid behavioral events before the update, and the evolution weight of those that fail is reduced or only written into short-term memory. This avoids personality drift caused by accidental behavior and short-term fluctuations changing the digital personality state without hindrance.
[0097] The applicant recognizes that digital personalities possess multiple coexisting attributes in multidimensional scenarios. The differences in the state of the same digital personality in different scenarios are essentially scenario-specific rather than logically conflicting. Suppressing these differences using traditional conflict resolution mechanisms would lead to the misrepresentation of genuine scenario-specific differences.
[0098] For example, the same digital personality might exhibit rigorous and rational characteristics in a "professional office" scenario (corresponding to historical valid behavioral events), while in a "leisure and entertainment" scenario it might exhibit humorous and lively characteristics (corresponding to current valid behavioral events). If directional conflict verification is performed solely based on the event feature vectors of valid behavioral events, these two states often show significant directional conflict in the mathematical space. Directly adopting conflict resolution strategies (such as forced smoothing or refusing to update) would cause the digital personality's performance to converge in different scenarios, resulting in a loss of situational adaptability.
[0099] To this end, the applicant proposed a scenario separability judgment mechanism, which aims to solve the state compatibility problem of digital personality in different interaction scenarios, so as to ensure the polymorphic expression ability of digital personality in complex interaction environments.
[0100] In some embodiments of this application, when the conflict verification result indicates that there is a directional conflict, the processing strategy further includes: performing a scenario separability determination of the effective behavioral event and the historical effective behavioral event; when the determination result indicates that the scenario is separable, skipping the conflict resolution strategy and determining to establish a scenario-limiting relationship edge for the effective behavioral event in the personality map; when the determination result indicates that the scenario is indivisible, performing the conflict resolution strategy.
[0101] Specifically, when a directional conflict is detected, the contextual relevance between the current valid behavioral event and historical behavioral events is further analyzed using a contextual separability determination mechanism. If the determination result indicates that the context is separable, it is determined that the directional conflict is a reasonable contextual specificity rather than a logical error. At this point, conventional conflict resolution strategies are skipped, and contextually constrained relationship edges are established in the personality map, while the original relationship edges remain unchanged.
[0102] The scenario-limited relationship edges involved in this application serve as a structured constraint in the graph, anchoring the effective behavioral event to a specific scenario node, thus achieving the coexistence of multiple personality traits.
[0103] Conversely, if the judgment result indicates that the situation is indivisible, it means that there are logically mutually exclusive behavioral tendencies in the same situation. In this case, a conflict resolution strategy should be implemented to maintain the consistency of the digital personality.
[0104] In some of the above embodiments, by using the above scenario separability determination, this application can greatly enrich its expressiveness and flexibility in complex interactive environments while ensuring that the core logic of digital personality does not contradict itself.
[0105] In one embodiment of this application, the scenario separability determination can be performed as follows: extracting the scenario label set of the current effective behavioral event and the scenario label set of historical effective behavioral events associated with the personality characteristic dimension involved in the conflict; calculating the ratio of the number of intersection elements to the number of union elements of the two; when the ratio is lower than a preset scenario separability threshold, determining that the current effective behavioral event and the historical effective behavioral event scenarios are scenario-separable.
[0106] In another embodiment of this application, the nodes in the personality graph are also associated with situational anchor vectors. Each component of the situational anchor vector is obtained by normalizing the frequency of occurrence of the historical valid behavioral events associated with the node under the corresponding situational label.
[0107] For example, the dimension of the context anchor vector is equal to the total number of context labels in the personality graph (e.g., work, social, entertainment, family, etc.). If a node is never triggered in an entertainment context, the corresponding entertainment component in its context anchor vector will be 0.
[0108] The scenario separability determination can be performed as follows: extract the current scenario feature vector of the current valid behavior event, calculate the matching degree between the current scenario feature vector of the current valid behavior event and the scenario anchor vector, and determine that the valid behavior event and the historical valid behavior event are scenario separable when the matching degree is lower than the preset scenario separability threshold.
[0109] The matching degree involved in one embodiment of this application can be obtained by calculating the cosine similarity between the current scenario feature vector and the scenario anchor vector.
[0110] In the above embodiments, by introducing context anchor vectors for matching degree calculation, the semantic differences of the scene can be accurately captured through a high-dimensional vector space. This enables the digital personality to keenly identify the user's different scenarios in order to display personality traits under different scenarios, thereby improving the anthropomorphism of the digital personality.
[0111] In one embodiment of this application, one end of the scene-limiting relationship edge is connected to the node involved in the current valid behavior event, and the other end is the newly created scene node of the current valid behavior event.
[0112] In some embodiments of this application, before determining the corresponding processing strategy based on the stability gating processing results and conflict verification results, the digital personality management method further includes: registering valid behavioral events on the event timeline and determining the temporal characteristic information of valid behavioral events according to the index of the event timeline; and performing hierarchical memory transfer on valid behavioral events based on the temporal characteristic information to determine the event memory level corresponding to the valid behavioral events.
[0113] An embodiment of this application relates to an event timeline that can be understood as a user's life timeline, used to record the user's structured and valid behavioral events. The event timeline contains multiple event nodes, each representing a valid behavioral event of the user and serving as the data source for the evolution of the digital personality. Event nodes do not store any raw data (such as raw audio or text), but only structured event feature vectors, thus fundamentally protecting user privacy.
[0114] In one embodiment of this application, an event node includes the following core attributes: event type, event timestamp, event feature vector, and a list of associated nodes. The event type can be used to specify the type of event, such as "dialogue event," "emotional event," "behavioral event," or "environmental event." The list of associated nodes records the UUIDs of all personality nodes related to the valid behavioral event, achieving deep binding between the event and the personality graph. For example, for the event "user listens to Jay Chou songs," the list of associated nodes includes the UUIDs of "user," "Jay Chou," and "popular music."
[0115] An embodiment of this application relates to an index of event timelines that is an index of event nodes organized in chronological order, which can support fast retrieval of event nodes of any time period and any type.
[0116] The temporal feature information involved in one embodiment of this application may include, but is not limited to, event sequences, event intervals, and historical distributions.
[0117] One embodiment of this application involves event memory levels that can be short-term memory, medium-term memory, long-term memory, and other levels of memory (such as identity core memory).
[0118] It should be noted that different event memory levels correspond to different decay periods, promotion conditions, and evolution weights. Furthermore, promotion of an event memory level only takes effect after the stability gating results and conflict verification results have been updated.
[0119] In one embodiment of this application, hierarchical memory transfer may include: first, determining the initial memory level of valid behavioral events. For example, valid behavioral events that have occurred recently and have not yet been stably verified are classified as short-term memory events; valid behavioral events that recur within a preset time window or have high event intensity of preferences, behaviors, or scenario patterns are classified as medium-term memory events; and user preferences, behavioral patterns, or core personality information that have been verified multiple times, have low conflict, high confidence, and are stable are classified as long-term memory events.
[0120] Then, the conditions for promotion, decay, or regression are determined. Specifically, a short-term memory event can be promoted to a medium-term memory event if: the frequency of similar events reaching a preset threshold; the average intensity of the event reaching a preset threshold; the event recurring within a preset time span; the event not strongly conflicting with the current personality state; and the confidence level of the event source exceeding a preset threshold. A medium-term memory event can be promoted to a long-term memory event if: the confidence level exceeds a preset threshold; consistent evidence appears in multiple scenarios or devices; no reverse conflict occurs within a preset period; the user actively confirms or indirectly verifies the event through behavior; and a stable relationship is formed with a long-term personality node.
[0121] If the memory event is not triggered again within the preset time period, or if a reverse conflict event occurs, decay or rollback can be performed.
[0122] When the memory weight of a valid behavioral event is lower than a preset threshold, the long-term memory event can be regressed to a medium-term memory event, the medium-term memory event can be regressed to a short-term memory event, and the short-term memory event can be deleted or archived.
[0123] In one embodiment of this application, the memory weight can be calculated using the following formula.
[0124] MemoryWeight_t = MemoryWeight_0 × e^(-λ_m×t) Where λ_m is the memory decay coefficient, t is the time from the last trigger, MemoryWeight_0 is the initial memory weight, and MemoryWeight_t is the decayed memory weight.
[0125] It should be noted that the promotion of memory level involved in the embodiments of this application only takes effect after the stability gating process and conflict verification are passed; if the stability gating process result or conflict verification result does not indicate an update, the promotion will not take effect, and the memory node will maintain the memory level before the promotion.
[0126] In some embodiments of this application, a corresponding processing strategy is determined based on the stability gating processing result and the conflict verification result, including: determining the corresponding processing strategy based on the stability gating processing result, the conflict verification result, and the event memory level.
[0127] In one embodiment of this application, the processing strategy may include the following update strategy: when both the stability gating processing result and the conflict verification result are updated, for a short-term memory event, a memory node corresponding to the event and the relationship edges between the memory node and the scene node and the device node are created or updated in the personality graph; the identity core node and the long-term personality node are not updated, nor are their related relationship edges updated; the weight of the relationship edge is calculated with the update coefficient η as the first update coefficient η1, and the first update coefficient η1 is less than the preset benchmark update coefficient η0; the state value of the corresponding personality feature dimension is not updated or is only written to the short-term memory cache.
[0128] It should be noted that valid behavioral events that do not update the state value do not generate changes in the state value and are not included in the change sequence used for stability value calculation.
[0129] For intermediate memory events, the memory node corresponding to the event is created or updated in the personality graph, as well as the relationship edges between the memory node and the preference node and behavior node; the weight of the relationship edge is calculated based on the update coefficient η0; and the state value and confidence of the corresponding personality feature dimension are updated according to the aforementioned state value update formula.
[0130] For long-term memory events, in addition to updating the corresponding intermediate memory events, it is also allowed to establish or update the relationship edges between the memory node and the identity core node and the long-term personality node; the weight of the relationship edge is calculated with the update coefficient η being the second update coefficient η2, and the second update coefficient η2 is greater than the baseline update coefficient η0; and the confidence limit of the corresponding personality characteristic dimension is increased from the first confidence limit to the second confidence limit. For example, the first confidence limit can be 0.90, and the second confidence limit can be 0.95.
[0131] In one embodiment of this application, η0 = 0.1, η1 = 0.3, and η2 = 0.5.
[0132] In other embodiments of this application, the weight update formula for relation edges is as follows: new_weight = old_weight × decay_factor + η × g × event_strength ×(1 - old_weight) Where η represents the update coefficient, used to adjust the impact of this event on the weight of the relation edge, and its value is determined based on the event memory level of this valid action event. g is the update weight coefficient of the relation edge, determined based on the stability gating result and the conflict verification result, reflecting the credibility of this valid action event.
[0133] In one embodiment of this application, g is the product of the stability gating coefficient and the conflict reduction coefficient, and the update weight coefficient g of the relation edge is the minimum value among the update weight coefficients of all personality feature dimensions associated with the relation edge.
[0134] In one embodiment of this application, the update weight coefficient g_j of the j-th personality feature dimension can be obtained by the following formula.
[0135] g_j = g_s,j × g_c Where g_j is the update weight coefficient of the j-th personality feature dimension associated with the relation edge. g_s,j is the stability gating coefficient of the j-th feature dimension, and g is the minimum value of g_j. g_c is the conflict reduction coefficient, which is 1 when no conflict is detected.
[0136] In one embodiment of this application, if the relation edge is not associated with any personality feature dimension, then the minimum value of all personality feature dimensions involved in this valid behavioral event is taken.
[0137] In one embodiment of this application, when a conflict is detected, the conflict reduction coefficient g_c can be calculated using the following formula.
[0138] g_c = clamp(1-k× ConflictStrength, g_min, 1) ConflictStrength = clamp( Σ ( v_c × C_c ), 0, 1 ) Where k is the conflict reduction intensity coefficient, g_min is the lower limit of conflict reduction, C_c represents the normalized conflict quantity obtained from the c-th type of conflict verification, and is 0 when no such conflict is detected; v_c represents the weight corresponding to the c-th type of conflict verification.
[0139] Optionally, k is 0.8 and g_min is 0.2.
[0140] In some embodiments of this application, the state value can be updated using the following formula: NewTrait_j = OldTrait_j + α × EventImpact × Confidence_j ×Direction_j Wherein, NewTrait_j represents the state value of the j-th personality feature dimension after the update; OldTrait_j represents the state value of the j-th personality feature dimension before the update; α represents the learning rate; Confidence_j represents the confidence level of the j-th personality feature dimension before the update; Direction_j represents the direction of the event's effect on the j-th personality feature dimension, which can include, but is not limited to, 1 (indicating the same), 0 (indicating no effect), and -1 (indicating the opposite); EventImpact represents the event's impact value. The learning rate α can be dynamically adjusted based on the personality evolution stage, stability value, event source confidence level, event intensity, device type, or user authorization level.
[0141] In one embodiment of this application, the event impact value is calculated based on the emotion intensity, frequency, semantic strength, source confidence, and time weight.
[0142] Among them, the emotional intensity is obtained by analyzing at least one of the audio features and visual features in the multi-source heterogeneous features; the semantic intensity is determined by the degree of semantic correlation between the event content and related nodes; the occurrence frequency is the normalized value of the occurrence frequency of similar events; the event source confidence is obtained based on the event source type and device credibility; the time weight is determined based on the event occurrence time, and the more recent the event occurrence time, the higher the time weight.
[0143] Specifically, EventImpact = clamp(( EmotionIntensity × FreqNorm × SemanticStrength × SourceConfidence × TimeWeight )^(1 / 5),0,1).
[0144] In another embodiment of this application, the state value of the j-th personality feature dimension can be updated using the following formula: NewTrait_j = clamp( OldTrait_j + α × g_j × EventStrength × H_j ×Direction_j, 0, 1 ) Where EventStrength represents the event strength, α represents the learning rate, g_j is the update weight coefficient applicable to the j-th personality feature dimension, H_j represents the margin factor, H_j = 1 - OldTrait_j when Direction_j is 1, and H_j = OldTrait_j when Direction_j is -1; and clamp represents the clamping function.
[0145] In some embodiments of this application, the confidence level can be updated based on the strength of positive evidence, the strength of conflict, and the time decay results.
[0146] In one implementation of this application, the confidence level can be updated according to the following formula.
[0147] NewConfidence = OldConfidence +β× EvidenceStrength -γ×ConflictStrength -δ× TimeDecay Here, NewConfidence represents the updated confidence level, OldConfidence represents the original confidence level, ConflictStrength represents the conflict strength, EvidenceStrength represents the strength of positive evidence, and Time Decay represents the time decay result, which can be obtained based on the time of the last valid behavioral event. β, γ, and δ represent the positive evidence update coefficient, conflict penalty coefficient, and confidence time decay coefficient, respectively. The confidence time decay coefficient is used to control the degree to which confidence decays over time.
[0148] In one embodiment of this application, Time Decay = 1 - exp( -decay_coef_c × Δt_c ), where Δt_c is the time elapsed since the last update of the personality trait dimension; and decay_coef_c is the confidence decay rate coefficient.
[0149] In one embodiment of this application, the Evidence Strength can be calculated using the following formula.
[0150] EvidenceStrength = clamp( w1 × FreqFactor + w2 × ContinuityFactor +w3 × SourceConfidence, 0, 1 ) Wherein, FreqFactor is the ratio of the number of occurrences of the same type of valid behavioral events within a preset statistical period to a preset upper limit; ContinuityFactor is the ratio of the number of consecutive days that the personality trait dimension is triggered within a preset time window to the number of days in that time window; SourceConfidence is the confidence level of the event source; w1 + w2 + w3 = 1.
[0151] In another embodiment of this application, the update formula for the confidence level of the memory feature can be as follows: NewConfidence = OldConfidence× e^(-0.05 ×Time) Wherein, Time represents the number of days since the last event was triggered.
[0152] In another embodiment of this application, the upper limit of the confidence level of a single feature dimension is 0.95, the maximum daily increase is ≤0.02, and the maximum daily decrease is ≤0.01.
[0153] In one embodiment of this application, the overall confidence level is calculated as clamp(average confidence level of each core feature dimension, 0, 0.92).
[0154] In some embodiments of this application, if no valid event triggers the corresponding personality trait dimension update for 7 consecutive days, the confidence level automatically decays by 0.01.
[0155] In some embodiments of this application, if no valid event is triggered for 30 consecutive days, the corresponding personality trait is marked as a "silent trait" and stops participating in digital personality generation.
[0156] In some of the above embodiments, the update of the digital personality state is driven by the event feature vector according to the preset parsing mapping rules and update formula. The basis, magnitude and timestamp of each update are recorded, making the personality state update process interpretable and traceable, independent of the model version, prompt word organization method or context window length.
[0157] In some embodiments of this application, before determining the corresponding processing strategy based on the stability gating processing result and the conflict verification result, the digital personality management method further includes: determining the personality level corresponding to each personality feature dimension in the second candidate update information.
[0158] In some embodiments of this application, a corresponding processing strategy is determined based on the stability gating processing result and the conflict verification result, including: determining the corresponding processing strategy based on the stability gating processing result, the conflict verification result, and the personality level.
[0159] One embodiment of this application involves a personality hierarchy used to determine the evolution rate coefficient corresponding to each personality trait dimension applicable to the second candidate update information. This evolution rate coefficient is used to adjust the update magnitude of state values in the second candidate information. Specifically, the evolution rate coefficient of the personality core layer is smaller than that of the personality trait layer, and the evolution rate coefficient of the personality trait layer is smaller than that of the personality situation layer.
[0160] In the above embodiments, by setting different evolution rates for different personality levels, the core personality layer that carries values and long-term goals can be kept unchanged by short-term behavioral fluctuations.
[0161] In another embodiment of this application, the processing strategy includes: the state value of the j-th personality feature dimension can be updated using the following formula: NewTrait_j = clamp( OldTrait_j + α×ρ_l,j×g_j × EventStrength × H_j × Direction_j, 0, 1 ) Where ρ_l,j represents the evolution rate corresponding to the j-th personality feature dimension.
[0162] One embodiment of this application relates to a processing strategy that includes updating state values using a state value update formula that includes the evolution rate.
[0163] In some embodiments of this application, the processing strategy includes: if the j-th personality feature dimension belongs to the personality trait layer or the personality core layer, then based on the constraint coefficient of the j-th personality feature dimension by the personality core layer, the update weight coefficient g_j applicable to the j-th personality feature dimension is adjusted.
[0164] In one embodiment of this application, the processing strategy includes: the updated weight coefficient g_j applicable to the j-th personality feature dimension can be expressed as the following formula.
[0165] g_j = g_s,j × g_c × g_core,j Where g_core,j represents the constraint coefficient of the j-th personality feature dimension.
[0166] In one embodiment of this application, the constraint coefficient is determined based on the direction of action of the current effective behavioral event and the value constraints contained in the identity core node of the personality core layer.
[0167] For example, if the direction of action belongs to the set of directions allowed by the value constraint, the constraint coefficient is 1; if the direction of action does not belong to the set of directions allowed by the value constraint, the constraint coefficient is 0, indicating that the state value is not updated; if the direction of action is within the transition range of the value constraint, the constraint coefficient is a value between 0 and 1, indicating that the state value is updated with a reduction.
[0168] For example, in the scenario where a user uses their device after 2 AM for three consecutive days, the event points to the "Routine Sleep Pattern" dimension (personality trait layer), with a state value of 0.55, a direction of action of -1 (decreasing), and an event strength of 0.85. The core identity node carries the value constraint of "Paying Attention to Health".
[0169] The update process is as follows: S1, determine the memory level of the event. The current valid behavioral event is determined to be a mid-term memory event after the hierarchical memory flow.
[0170] S2, Stability gating coefficient calculation: The most recent changes in this personality trait dimension are σ = 0.02, Stability_j = clamp(1 - 0.02 / 0.045, 0, 1) ≈ 0.556, which falls between the first threshold of 0.50 and the second threshold of 0.80. Therefore, the update strategy is determined to be a moderately stable update, i.e., g_s,j = g_s1 = 0.5.
[0171] S3, Conflict check: The direction of this update does not directly conflict with the core identity node, g_c = 1.
[0172] S4, the core constraint, has a relationship edge between the core identity nodes "Emphasis on Health" and "Regular Sleep Schedule," with a weight w = 0.75 and confidence C = 0.80. Therefore, the constraint strength is Strength = 0.75 × 0.80 = 0.60. The relationship edge records an approval direction of AllowedDir = +1 (improving regular sleep schedule), while Direction_j = -1 in this case, indicating the opposite direction and falling into the transition range. g_core,j = (0.80 - 0.60) / (0.80 - 0.30) = 0.40.
[0173] S5, calculate the updated weight coefficients, g_j = 0.5 × 1 × 0.4 = 0.2.
[0174] S6, Determine the evolution rate. This personality trait dimension belongs to the personality trait layer, and the evolution rate ρ_l,j = 1.0.
[0175] S7, determine the updated state value, H_j = OldTrait_j = 0.55, NewTrait_j = clamp(0.55+ 0.03 × 1.0 × 0.2 × 0.85 × 0.55 × (-1), 0, 1) ≈ 0.55 - 0.0028 = 0.547.
[0176] In some embodiments of this application, the processing strategy for the core personality layer further includes: when the stability gating processing result and the conflict verification result indicate an update, and the current valid behavioral event is a long-term memory event, updating the nodes of the core personality layer and the personality characteristic dimensions they point to.
[0177] In one embodiment of this application, the processing strategy for the core personality layer further includes: when the effective behavioral event is not a long-term memory event, the core personality layer does not perform an update.
[0178] In some embodiments of this application, the digital personality management method further includes: determining a personality hash value corresponding to the updated digital personality based on the updated personality map and personality feature vector.
[0179] In one embodiment of this application, the specific steps for calculating the personality hash value are as follows: the node state, relation edge weight, personality feature vector, confidence level, identity core state, and global version number of the personality graph are serialized and concatenated in a fixed field order, and the personality hash value is calculated using a cryptographic hash function.
[0180] persona_hash = HASH(user_id | PGMS_version | graph_node_state | graph_edge_weight | trait_vector | trait confidence | identity_core | global_version) Here, persona_hash represents the personality hash value, HASH represents the hash function, PGMS_version represents the version identifier of the digital personality management system used to generate the personality hash value, which is used to distinguish the serialization rules and field order under different system versions, graph_node_state represents the node state of the personality graph, trait_vector represents the personality feature vector, trait confidence represents the confidence level, identity_core represents the identity core state, which comes from the identity core event, and global_version represents the global version number.
[0181] One embodiment of this application relates to a personality hash value that can be used to identify and verify the consistency and integrity of a digital personality in a specific version state.
[0182] In some embodiments of this application, the digital personality management method further includes: storing the updated digital personality and personality hash value in a standardized personality state structure, and providing a query service for the digital personality using a personality state interface.
[0183] In this way, personality states and related personality abilities are encapsulated as standardized personality services. External entities cannot directly access the underlying storage structure of the original interaction records and personality graphs, and can achieve unified access, access control, identity authentication, version management, and cross-device synchronization.
[0184] In some embodiments of this application, after generating the personality hash value corresponding to the determined and updated digital personality, the digital personality management method further includes: generating an evolution log record for this update.
[0185] The evolution log records include the global version number, update timestamp, event identifier of the valid behavioral event that triggered this update, personality hash value before update, personality hash value after update, node identifier and personality feature dimension identifier involved in this update, stability gating processing result, conflict verification result, and relevant coefficients applicable to this update, such as update coefficient and stability gating coefficient.
[0186] In this way, through evolutionary logging, any change in personality state can be precisely located to a specific triggering event and its corresponding version number. The system can then revert changes one by one based on the target version number and use the personality hash value to verify the integrity of the rollback results. Thus, personality drift is transformed into a detectable, localizable, and reversible explicit version change, thereby achieving full lifecycle traceability and secure state management of the digital personality evolution process.
[0187] In some embodiments of this application, the digital personality management method further includes: responding to a rollback request carrying a target version number, reading evolution log records in reverse chronological order starting from the current version; based on the personality hash value before the update and the relevant identifiers recorded in the evolution log records, revoking the changes to the corresponding nodes, relationship edges, and personality feature dimensions one by one until the target version number is reached, so as to roll back the personality evolution state of the digital personality to the version corresponding to the target version number; verifying whether the personality hash value generated after the rollback is consistent with the personality hash value corresponding to the target version number; if the verification is consistent, confirming that the rollback is successful; if the verification is inconsistent, rejecting this rollback and maintaining the current version.
[0188] Thus, since the personality hash value is a unique digest calculated based on the graph topology and node states, any malicious tampering with the evolution log records or abnormal interruption of the reversal process will cause the final generated personality hash value to mismatch with the standard hash value corresponding to the target version number. The personality hash verification mechanism ensures the absolute atomicity and data integrity of the rollback operation, preventing logical breakdowns of the digital personality during the rollback process.
[0189] In some embodiments of this application, the digital personality management method further includes: obtaining a personality state summary associated with the intelligent task of the intelligent module through a personality state interface; and converting the personality state summary into a standardized context input adapted to the intelligent module according to a preset mapping rule.
[0190] One embodiment of this application involves a personality state summary that may include, but is not limited to, at least one of the following: personality feature vector, preference graph summary, current scene state, relevant memory nodes, confidence information for each dimension, comprehensive confidence for each dimension, personality hash value, and behavioral decision constraints. Among these, the execution information for each dimension refers to the confidence of each dimension, relation edge, and memory node. Behavioral decision constraints refer to the rules and heuristics derived from the digital personality by the decision model and output by the constraint model, such as risk aversion, reward sensitivity, social dependence, and conditional-action preference rules. The comprehensive confidence is the product of the confidence of the personality feature dimensions in the personality state summary and the scene confidence.
[0191] In one embodiment of this application, the combined confidence of the j-th personality feature dimension is calculated using the following formula.
[0192] CombinedConfidence = clamp( Confidence_j × SceneConfidence, 0, 1 ) Where Confidence_j is the confidence level of the j-th personality feature dimension; SceneConfidence is the scene confidence level, which represents the credibility of the current scene judgment result. It is determined based on the combined trigger score of the multi-source heterogeneous features corresponding to the current scene label and the duration of the scene label within the preset time window, and the value range is [0,1].
[0193] It should be noted that when the overall confidence level is lower than the preset threshold, the personality trait dimension corresponding to that overall confidence level, along with its confidence level and state value, will be marked or deleted in the personality state summary.
[0194] For example, if the confidence level of a certain personality trait dimension is 0.90, while the confidence level of the current scenario is only 0.50, then the overall confidence level of that item is 0.45. If the preset threshold is 0.50, this personality trait dimension will be marked or not included in the personality state summary, thereby avoiding the application of an inapplicable personality state due to scenario misjudgment.
[0195] The intelligent module involved in one embodiment of this application may include, but is not limited to, different types of artificial intelligence models (such as large language models, recommendation models, etc.), AI agents, and other intelligent systems.
[0196] In this way, the intelligent module acts as a replaceable reasoning plugin to invoke the digital personality, and the intelligent module does not directly access the original interaction records and the underlying structure of the personality graph, thereby enabling the reuse of the same digital personality among different intelligent modules.
[0197] In one embodiment of this application, the digital personality management method further includes: when generating a personality state summary, if the target node has two or more scene-limiting relationship edges, the following processing is performed: matching the scene label of the current task with the scene nodes connected by each scene-limiting relationship edge; only including the successfully matched scene-limiting relationship edges and their weights in the personality state summary; if none of them are successfully matched, including the scene-limiting relationship edge with the highest weight and its weight in the personality state summary, and marking the scene-limiting relationship edge as not being the current scene in the personality state summary.
[0198] In one embodiment of this application, during the process of generating a personality state summary, the activation value of the target node is calculated and the activation value is incorporated into the personality state summary.
[0199] In one embodiment of this application, the activation value ActivationValue can be calculated according to the following formula.
[0200] ActivationValue = Trait × σ(Context Anchor Vector × Current Context Feature Vector + b) Wherein, Trait is the state value of the personality trait dimension of the target node; σ is the normalization function, which takes values in the range of [0,1]; b is the bias term; the dot product represents the degree of matching between the current scenario and the historical scenario distribution of the node. The higher the degree of matching, the closer the activation value is to the state value itself.
[0201] In some embodiments of this application, the output of the artificial intelligence model is not directly written into or overwrites the digital personality; the output, as an event to be verified, is normalized into an event feature vector and subjected to the same stability gating and conflict verification as valid behavioral events before it is allowed to influence the evolution of the digital personality; wherein, the output that does not pass the stability gating or conflict verification is reduced in evolution weight, written only to short-term memory or not written at all.
[0202] In this way, the evolution of digital personality is ultimately anchored to the user's real behavior, rather than the model's inferences about the user. This, together with stability gating (to prevent noise mutations), conflict verification (to prevent contradiction contamination), and hierarchical constraints (to prevent the core from being subverted by short-term preferences), constitutes four complementary anti-drift measures.
[0203] In one embodiment of this application, source confidence is configured for the event to be verified according to the event source type. The source confidence of an event inferred by an artificial intelligence model is lower than that of an event directly collected by a sensor. For continuous evidence in the same direction from sources that are all outputs of artificial intelligence models, the strength of the evidence decreases. And for evidence from pure artificial intelligence models, the cumulative confidence does not exceed a preset memory promotion threshold.
[0204] Among them, the sources are continuous evidence from the same direction output by the model, and the strength of the evidence is counted in descending order of ζ raised to the power of (k-1), that is, the strength of the evidence counted in the kth time is EvidenceStrength × ζ^(k-1).
[0205] In some embodiments of this application, the digital personality management method further includes obtaining a digital personality from a personality status interface and providing access and invocation support for the digital personality to smart terminal devices and various industry AI applications.
[0206] In some embodiments of this application, before S11, the digital personality management method further includes: collecting multi-source heterogeneous information on user behavior, extracting features from the multi-source heterogeneous information to obtain multi-source heterogeneous features; determining whether the multi-source heterogeneous features meet preset valid event triggering conditions, and if so, determining that the user behavior belongs to a valid behavior event, and generating an event feature vector of the valid behavior event based on the multi-source heterogeneous features.
[0207] One embodiment of this application involves multi-source heterogeneous features, which may include, but are not limited to, at least one of the following: interaction features, audio features, visual features, physiological state features, motion posture features, content consumption features, behavioral features, scene features, device state features, and application service usage features. Among these, multi-source heterogeneous features are structured features whose original information cannot be restored.
[0208] In one embodiment of this application, multi-source heterogeneous features are classified into collection-type features and declaration-type features according to the feature source type.
[0209] Collected features refer to features obtained by collecting user behavior from the edge perception layer. As mentioned above, they must be processed after valid event triggering conditions are determined before an event feature vector is generated.
[0210] Declaration-type features refer to structured information actively submitted by users through an interactive interface, including but not limited to at least one of the following: social role information, life stage information, self-assessment scale results, and biometric information. Declaration-type features are not subject to valid event triggering conditions based on feature change and consecutive trigger count.
[0211] When responding to a user's instruction to submit information, an event feature vector for an initialization event is generated directly based on the submitted structured information. The feature source type is marked as the declaration class, and the event intensity is the preset initial event intensity.
[0212] In one embodiment of this application, the data format of multi-source heterogeneous features may include, but is not limited to, numerical values, labels, vectors, hashes, binary codes, or other structured codes.
[0213] In one embodiment of this application, the multi-source heterogeneous information of collected user behavior is processed by real-time buffering, feature extraction, noise reduction, outlier filtering, desensitization encoding, structured compression and encrypted signature to obtain multi-source heterogeneous features.
[0214] The table below provides example features of multi-source heterogeneous features to help understand them. The effective event triggering conditions in one embodiment of this application can be set according to at least one of the following: the change in each dimension of multi-source heterogeneous features, the combined trigger score, and the number of consecutive triggers.
[0215] For example, valid event triggering conditions may include at least one of the following conditions: the change in the feature is not less than the preset change threshold, the combined trigger score is not less than the preset trigger threshold, and the number of consecutive triggers meets the preset frequency control upper limit.
[0216] In one embodiment of this application, the combined trigger score S can be the result of a weighted sum of the changes in each feature dimension in the multi-source heterogeneous features according to their corresponding weights, and it is calculated according to the following formula: S = Σ ( w_i × ΔF_i ) Where ΔF_i is the change of the i-th feature dimension relative to the historical feature baseline in the multi-source heterogeneous features, and w_i represents the weight corresponding to the i-th feature dimension in the multi-source heterogeneous features. The values of S, ΔF_i, and w_i are all in the range [0,1].
[0217] In another embodiment of this application, w_i can be an adaptive weight, for example, with 0.5 as the baseline, the weight is linearly increased or decreased by a ratio of 0.002 according to the difference between the measured value and the threshold, and the value range of w_i is [0.2, 0.8].
[0218] The specific calculation formula is as follows: W_i = clamp(0.5 + 0.002 × (current measured value - baseline threshold), 0.2, 0.8), which calculates the basic weights corresponding to each feature dimension, and then normalizes w_i = clamp(W_i / Σ W_i, 0, 1), where the weights corresponding to each feature dimension are evenly distributed when Σ W_i = 0. Here, clamp represents the clamping function.
[0219] In one embodiment of this application, if the combined trigger score S of a user behavior is ≥0.7 and the trigger is satisfied 2 or more times consecutively within 3 minutes, the user behavior is determined to be a valid behavior event.
[0220] In one embodiment of this application, w_i can be preset in a smart terminal device, or issued by a digital personality management platform, or adaptively updated based on historical event distribution, personality evolution stage, device type, scene context, or system operating status.
[0221] In one embodiment of this application, if the conditions are not met, multi-source heterogeneous features are filtered, discarded, or cached locally for a short period of time.
[0222] In addition, when it is determined based on multi-source heterogeneous characteristics that the device is not being worn, sensor data is abnormal, the duration of feature changes is less than the preset duration, the combined trigger score is less than the trigger threshold, or the number of consecutive triggers is insufficient, the user behavior is determined to be an invalid behavior event.
[0223] When multi-source heterogeneous features are detected and matched with historical noise features, the user behavior is determined to be a noise event and not a valid behavior event. When multi-source heterogeneous features are matched with random event criteria or low-confidence criteria, the user behavior is determined to be a random event or a low-confidence event and not a valid behavior event.
[0224] In one embodiment of this application, the personality context layer modulates a preset trigger threshold of the personality trait layer. In determining the effective event triggering condition, the preset trigger threshold of the event associated with a node in the personality trait layer is determined by the following formula: Threshold = BaseThreshold × ( 1 - γ_s × Relevance) Here, BaseThreshold is the baseline trigger threshold for the event associated with this node; Relevance_j is the relevance between the current state of the personality context layer and this node, determined based on the weights of the relationship edges between the current scene node, the current device node, and this node, as well as the current emotion intensity EmotionIntensity, with a value range of [0,1]; γ_s is the threshold modulation coefficient, with a value range of [0,1), for example, γ_s = 0.3. Therefore, in situations highly correlated with a certain trait, events related to that trait are more likely to be judged as valid behavioral events; conversely, it is more difficult if the correlation is weak.
[0225] In some embodiments of this application, the digital personality management method further includes: generating an event feature vector of an initialization event based on the declaration category characteristics, wherein the feature source type of the event feature vector of the initialization event is marked as the declaration category, and its event intensity is taken as a preset initial event intensity; and establishing the user's initial digital personality based on the initialization event.
[0226] In one embodiment of this application, establishing the user's initial digital personality based on the initialization event includes: creating an identity core node and its attributes in a personality graph based on objective factual information in the structured information, and configuring a first initial confidence level for the initial state value of the corresponding personality feature dimension; mapping self-assessment information in the structured information to the initial state value of the corresponding personality feature dimension, and configuring a second initial confidence level for it, wherein the second initial confidence level is less than the first initial confidence level.
[0227] In one embodiment of this application, the initialization event generated based on the declaration category feature is not subjected to stability gating processing, but only conflict verification is performed; and if the number of state value updates completed in the personality feature dimension is less than the preset statistical number, the stability value of the feature dimension is taken as the preset initial stability value.
[0228] It should be noted that the initial digital personality is not a static profile. It is written with a low confidence level and continuously corrected by data collection events with higher credibility. Therefore, it gradually approaches the user's actual state as the number of interactions increases.
[0229] To further understand the digital personality management method provided in the embodiments of this application, Figure 3 This document illustrates a flowchart of a digital personality management method according to another embodiment of this application, as shown below. Figure 3 As shown, the digital personality management method may include steps S31-S312.
[0230] S31, collect multi-source heterogeneous information on user behavior; Specifically, multi-source heterogeneous information can be collected through microphones, vision sensors, IMUs, physiological sensors, touch modules, application interfaces, and device status interfaces.
[0231] S32, extract features from multi-source heterogeneous information to obtain multi-source heterogeneous features; Specifically, feature extraction, noise reduction, desensitization coding, and structured compression are performed on multi-source heterogeneous information to generate end-to-end multi-source heterogeneous features that cannot be restored to the original information.
[0232] S33, based on multi-source heterogeneous features, performs valid event judgment to determine whether a valid behavior event has been generated.
[0233] Specifically, based on the multi-source heterogeneous features, the feature change amount and combined trigger score are obtained. It is then determined whether the feature change amount, combined trigger score, and number of consecutive triggers meet the preset valid event triggering conditions, thereby determining whether a valid behavioral event is generated.
[0234] S34, In the case of generating valid behavioral events, generate event feature vectors based on multi-source heterogeneous features.
[0235] S35, Encrypted transmission event feature vector.
[0236] S36 performs a validation on the event feature vector.
[0237] Specifically, the event feature vector is subjected to signature verification, integrity verification, idempotency verification, and device permission verification.
[0238] S37 performs parsing and mapping of event feature vectors, event time sequence registration, memory association, and hierarchical memory flow.
[0239] Specifically, parsing and mapping refer to parsing and mapping the feature value set, event type, scene label, and device status in the event feature vector into entity references (i.e., associated nodes) and dimension references (i.e., associated personality features) that can be recognized by the personality map. Event time sequence registration refers to registering the effective behavioral event to the event timeline according to the timestamp, updating the event sequence and historical event distribution. Memory association and hierarchical memory transfer refer to establishing or strengthening the relationship edge between the effective behavioral event and the existing memory node (calculating weight update values), and performing hierarchical memory transfer according to promotion, decay, and regression conditions.
[0240] S38 performs stability gating and conflict checking on valid behavioral events.
[0241] Among them, the stability gating process includes calculating the stability value of the most recent changes in personality traits, and determining whether to allow updates and the allowed update range based on the threshold of the stability value.
[0242] Conflict checking refers to determining the conflict between the current event and the state values in memory nodes, personality graphs, and personality feature vectors based on factors such as direction, weight, semantics, value, frequency, and scenario / device matching. Entries that fail the check are downgraded and only written to short-term memory, terminating the update process.
[0243] S39, Perform a personality map update.
[0244] Specifically, it involves establishing or updating the nodes and relationships in the personality graph, namely updating the type and affiliation of personality nodes, behavior nodes, preference nodes, scene nodes, device nodes, core identity nodes, and relationships.
[0245] S310, Update the state value and confidence level of the personality feature vector.
[0246] S311, Generate personality hash value.
[0247] S312 encapsulates digital personality and personality hash value into a service.
[0248] Another embodiment of this application provides a processing system configured to acquire event feature vectors of valid behavioral events initiated by a user; acquire a pre-stored digital personality of the user, the digital personality including a personality map and personality feature vectors; and update the personality map and personality feature vectors based on the event feature vectors.
[0249] In some embodiments of this application, Figure 4 This application provides a schematic diagram of the structure of a processing system according to an embodiment of the present application. Figure 4 As shown, the processing system 40 may include a personality evolution layer 41. The personality evolution layer 41 is used to describe the data organization method and personality evolution process within the personality map.
[0250] In one embodiment of this application, the personality evolution layer 41 is configured to: acquire event feature vectors of valid behavioral events initiated by the user; acquire a pre-stored digital personality of the user, the digital personality including a personality map and a personality feature vector; and update the personality map and the personality feature vector based on the event feature vectors.
[0251] In one embodiment of this application, the personality evolution layer 41 is configured to determine first candidate update information of the personality map and second candidate update information of the personality feature vector based on the event feature vector; perform stability gating processing and conflict verification based on the second candidate update information and the event feature vector; determine the corresponding processing strategy based on the stability gating processing result and the conflict verification result; and when the processing strategy includes an update strategy, update the personality map and the personality feature vector according to the update strategy based on the first candidate update information and the second candidate update information.
[0252] In some embodiments of this application, such as Figure 4 As shown, the personality evolution layer 41 may include a feature mapping layer 411, an event sequence layer 412, a memory association layer 413, a personality ontology layer 414, a personality state layer 415, and a personality consistency engine 416. Among them, the personality consistency engine spans the personality ontology layer 414 and the personality state layer 415.
[0253] In one embodiment of this application, the feature mapping layer 411 is configured to parse the event feature vector to obtain first candidate update information containing a set of associated node references and second candidate update information containing a set of associated personality dimension references corresponding to the effective behavioral event.
[0254] In one embodiment of this application, the personality consistency engine 416 is configured to calculate the stability value of each personality feature dimension in the second candidate update information based on the second candidate update information, determine the stability level corresponding to each personality feature dimension based on the stability value of each personality feature dimension, output the stability gating processing result based on the stability level of each personality feature dimension; and verify whether there is a conflict between the effective behavioral event and the current state of the digital personality based on the event feature vector, output the conflict verification result; and determine the corresponding processing strategy based on the stability gating processing result and the conflict verification result.
[0255] In one embodiment of this application, the personality ontology layer 414 and the personality state layer 415 are configured to update the personality map and the personality feature vector according to the update strategy based on the first candidate update information and the second candidate update information when the processing strategy includes an update strategy.
[0256] Specifically, the personality ontology layer 414 is configured to update the personality graph and the personality feature vector according to the update strategy when the processing strategy includes an update strategy, update the nodes and / or the relationship edges between the nodes in the personality graph, and update the relationship edges between the nodes in the personality graph according to the update strategy.
[0257] The personality state layer 415 is configured to update the confidence and state values in the personality feature vector according to the update strategy when the processing strategy includes an update strategy.
[0258] In one embodiment of this application, the personality state layer 415 is configured to also store a sequence of recent state value changes for each personality trait dimension, for the personality consistency engine 516 to read when calculating the stability value.
[0259] In one embodiment of this application, the personality consistency engine 416 is configured to, after verifying the existence of a directional conflict, perform a scenario separability determination of the effective behavioral event and the historical effective behavioral event; if the determination result indicates that the scenario is separable, skip the conflict resolution strategy and determine to establish a scenario-limiting relationship edge for the effective behavioral event in the personality graph; if the determination result indicates that the scenario is indivisible, execute the conflict resolution strategy.
[0260] In one embodiment of this application, the event timing layer 412 is configured to register the valid behavioral events on the event timeline and determine the timing characteristic information of the valid behavioral events based on the index of the event timeline.
[0261] The memory association layer is configured to perform hierarchical memory flow of the effective behavioral events based on the temporal feature information, so as to determine the event memory level corresponding to the effective behavioral event.
[0262] The personality ontology layer 414 and the personality state layer 415 are configured to determine corresponding processing strategies based on the stability gating processing results, the conflict verification results, and the event memory level.
[0263] In some embodiments of this application, the personality consistency engine 416 is configured to determine the personality level corresponding to each personality feature dimension in the second candidate update information, wherein the personality level includes a personality core layer, a personality trait layer, and a personality context layer.
[0264] The personality ontology layer 414 and the personality state layer 415 are configured to determine corresponding processing strategies based on the stability gating processing results, the conflict verification results, and the personality level. The personality level is used to determine the evolution rate coefficients applicable to each personality feature dimension in the second candidate update information, and the evolution rate coefficients are used to adjust the update amplitude of the second candidate information.
[0265] In one embodiment of this application, the personality consistency engine 416 is configured to determine the personality hash value corresponding to the updated digital personality based on the updated personality map and personality feature vector.
[0266] In another embodiment of this application, the feature mapping layer 411 is configured to parse and map the feature value set, event type, scene label and device status in the event feature vector into node references that can be identified by the personality graph and personality dimension references that can be identified by the feature vector.
[0267] Feature mapping layer 411 performs the mapping transformation from events to graph entities, but does not perform persistent updates of personality data. It is the unified entry point for events to enter the personality graph.
[0268] The event time series layer 412 is configured to register verified events to the event timeline by timestamp, recording the event sequence, event interval, and historical event distribution. This event time series layer 412 provides an evidentiary basis for evolutionary calculations, and the event trigger frequency, number of consecutive triggers, time weight, and time decay are all based on the records of this layer.
[0269] The memory association layer 413 is configured to store memory nodes and the relationships between memory nodes and between memory nodes and other nodes. It performs the establishment, reinforcement, and decay of these relationships and executes the hierarchical flow of layered memories (short-term / episodic memory, medium-term / semantic memory, long-term memory, and identity core memory) based on promotion, decay, and regression conditions. Low-confidence events that fail stability gating or conflict verification are only written into the short-term memory of this layer and do not enter the personality ontology layer 414 or the personality state layer 415.
[0270] The personality ontology layer 414 is configured to store the personality graph of the digital personality, which may include, but is not limited to, the establishment and maintenance of personality nodes, behavior nodes, preference nodes, scene nodes, device nodes, and identity core nodes, as well as the type, affiliation, and structural relationships of relation edges. This personality ontology layer 414 represents the structural skeleton of the digital personality.
[0271] The personality state layer 415 is configured to store and update the state values and confidence levels of each personality dimension. This personality state layer 415 represents the current numerical state of the digital personality.
[0272] The personality consistency engine 416 is configured as a verification and closure logic layer, and does not persistently store personality data itself. It intervenes at two points in a single personality update process: pre-write gatekeeping, that is, before the updated personality data is written to the personality ontology layer 414 and the personality state layer 415, it performs stability gating and conflict verification; post-write closure, that is, after the digital personality update is completed, it generates a personality hash value.
[0273] The feature mapping layer 411 to the personality state layer 415 constitute the data layer, while the personality consistency engine 416 constitutes the logic layer. The data layer carries the data content of the digital personality, while the logic layer performs reading and verification of the data layer without holding the data itself. In one embodiment of this application, as Figure 4 As shown, the processing system 40 may include a personality service layer 42.
[0274] The personality service layer 42 is configured to store the updated digital personality and personality hash value in a standardized personality state structure, and to provide a query service for the digital personality using the personality state interface.
[0275] In another embodiment of this application, the personality service layer 42 is configured to provide a one-time recommendation service. Specifically, the personality service layer is configured with a personality inference engine to predict user behavior based on a personality state summary.
[0276] In one embodiment of this application, as Figure 4 As shown, the processing system 40 may include a model collaboration layer 43.
[0277] The model collaboration layer 43 is configured to obtain a personality state summary associated with the intelligent task of the intelligent module through the personality state interface; and convert the personality state summary into a standardized context input adapted to the intelligent module according to a preset mapping rule.
[0278] In this way, it is possible to invoke digital personalities that are independent of the intelligent module.
[0279] In one embodiment of this application, as Figure 4 As shown, the processing system 40 may include an application ecosystem layer 44.
[0280] Application ecosystem layer 44 is configured to obtain digital personality from the personality state interface and provide access and invocation support for digital personality to different smart terminal devices and various industry AI applications.
[0281] In one embodiment of this application, the application ecosystem layer 44 can realize cross-device migration of digital personalities. The process of cross-device migration of digital personalities includes, when a user actively triggers the migration, the processing system performs identity verification, personality hash verification, data encryption, device synchronization, and integrity verification. Specifically, the specific process of cross-device migration is as follows: Users can actively trigger the export, migration, restoration, or deletion of digital personalities through smart terminals, mobile applications, cloud accounts, or other authorized methods. Before migration, the processing system performs identity verification, which may include one or a combination of account verification, device key verification, voiceprint hash verification, biometric verification, multi-factor authentication, device binding relationship verification, or user active authorization confirmation. After successful verification, the new device initiates a migration request; the system verifies the user's identity, device identity, and authorization status; reads the personality hash value corresponding to the digital personality to be migrated; encrypts and packages the digital personality's data; synchronizes the encrypted data, personality hash, version number, integrity check value, and encrypted signature to the new device; the new device sequentially performs integrity check, personality hash check, and signature verification; if all three pass, a personality snapshot is loaded; if any fails, the request is rejected and resynchronization is requested; migration logs are recorded after migration is complete; users can choose to retain, freeze, or delete the old device's local snapshot.
[0282] In practical applications, when a user changes devices, the digital personality can be seamlessly migrated in the following ways: export the digital personality as a standard JSON-LD format file; transfer the file to the new device via Bluetooth or local Wi-Fi; the new device's digital personality management system imports the file and rebuilds the complete personality network; during the migration process, all data can be transferred locally without passing through any cloud servers.
[0283] Another aspect of this application provides a digital personality management system. Figure 5 This application provides a schematic diagram of the structure of a digital personality management system, as shown in the following example. Figure 5 As shown, the digital personality management system 50 includes a first processing system 51 and a processing system 40 as described in any embodiment of this application, serving as a second processing system 52. Both the first processing system 51 and the second processing system 52 can be installed on a smart terminal device. The first and second processing systems can communicate with each other through an internal interface or process.
[0284] Alternatively, the first processing system 51 can be located on a smart terminal device, while the second processing system 52 can be deployed on a digital personality management platform. This digital personality management platform can be built using a multi-cloud or localized architecture; that is, the deployment form of the digital personality management platform can be a central cloud, edge cloud, private server, or user local server. Furthermore, the first processing system 51 and the second processing system 52 can interact with each other via an encrypted communication channel.
[0285] It should be noted that the smart terminal devices mentioned in this article may include, but are not limited to: smartphones, personal laptops, tablets, smart glasses, smart headphones, smartwatches, smart rings, smart speakers, in-vehicle terminals, augmented reality devices, virtual reality devices, and other forms of smart terminals.
[0286] In some embodiments of this application, the first processing system 51 is configured to send an event feature vector of a valid action event initiated by a user to the second processing system 52.
[0287] Figure 6 This application provides a schematic diagram illustrating the specific structure of a digital personality management system according to an embodiment of the present application. Figure 6 As shown, the first processing system 51 includes an edge-side perception layer 511 and an event processing layer 512. The edge-side perception layer 511 is configured to collect multi-source heterogeneous information about user behavior and extract features from the multi-source heterogeneous information to obtain multi-source feature vectors.
[0288] The event processing layer is configured to determine whether the multi-source heterogeneous features meet the preset valid event triggering conditions. If the conditions are met, the user behavior is determined to be a valid behavior event, and an event feature vector of the valid behavior event is generated based on the multi-source heterogeneous features.
[0289] If the conditions are not met, multi-source heterogeneous features are filtered, discarded, or cached locally for a short period of time.
[0290] Furthermore, the event processing layer is configured to determine that no valid behavioral event exists when, based on multi-source heterogeneous features, the device is not being worn, sensor data is abnormal, the duration of feature changes is less than a preset duration, the combined trigger score is less than a trigger threshold, or the number of consecutive triggers is insufficient. Additionally, when multi-source heterogeneous features are detected to match historical noise patterns, the event is determined to be a noise event and not a valid behavioral event; or the event is judged to be an accidental behavior or a low-confidence event, and is therefore considered a valid behavioral event.
[0291] Among them, events that meet one of the following conditions are judged as low-confidence events and marked as accidental behavior: source confidence is below the threshold, only occurs once or twice (not consecutive frequency), semantic model confidence is <0.8, or is in a low-stability state.
[0292] Specifically, after the event processing layer completes the signature, integrity, idempotency and device permission verification of the multi-source heterogeneous features, it outputs the event feature vector related to the valid behavior event.
[0293] The event feature vector may include, but is not limited to, event identifier, device identifier, timestamp, event type, feature value set, combined trigger score, scene label, idempotent key, and integrity check value.
[0294] Figure 7 This application provides a schematic diagram illustrating the data flow of a digital personality management system according to an embodiment of the present application. Figure 6 As shown, multi-source heterogeneous information about user behavior is collected by the edge perception layer 511, processed into event feature vectors by the event processing layer 512, and input into the personality evolution layer 41. After processing through the six-layer structure of the personality evolution layer, the updated digital personality is output. The digital personality is encapsulated by the personality service layer 42, which provides a personality state summary to the model collaboration layer 43 for different intelligent modules to call for intelligent tasks. The output of the model collaboration layer 43 is fed back into the event processing layer 512. The model system collaboration layer 55 provides the output to the application ecosystem layer 44 to provide users with a personalized experience.
[0295] In some of the above embodiments, a four-level progressive mechanism cascaded along the personality writing path suppresses drift at its source; and a personality hash versioning mechanism makes residual drift detectable and traceable. Thus, multi-level gating and version solidification work together to suppress personality drift.
[0296] Specifically, before any write operation occurs, the changes in the target dimension in the personality state layer over the most recent several times are read, a stability value is calculated, and the allowable update range is determined based on the stability value. Accordingly, the impact of a single event on the digital personality is limited to a range commensurate with the historical stability of that dimension; there is no channel for any dimension to be "significantly rewritten by a single event."
[0297] Meanwhile, only events that pass the conflict verification can be written into the digital personality; those that fail are downgraded and written as short-term memory events into the short-term memory nodes of the memory association layer.
[0298] Furthermore, through hierarchical memory flow, new and effective behavioral events can initially enter short-term memory only in the form of episodic memory. They must meet promotion conditions (such as repeated occurrences over a period of time, over multiple days, or across different scenarios) before they can be promoted to semantic memory and then long-term memory. Those that do not meet the conditions naturally fade away according to the decay rule. Accordingly, drift is forgotten before it can gain the qualification to change personality through "failed promotion," thus inhibiting the drift of digital personality.
[0299] Finally, events are assigned source credibility based on their source type (e.g., sensor-directed behavior 1.0, explicit user statements 0.9, user behavioral responses to model outputs 0.7, model inferences below 0.4), and it is stipulated that continuous evidence from the same source in the same direction decreases in cumulative contribution, and pure model-source evidence cannot push any dimension above the memory promotion threshold on its own. Accordingly, the self-reinforcing loop (echo chamber effect) of "model guessing → writing into personality → making stronger guesses based on the contaminated personality" is mechanistically broken.
[0300] Furthermore, the personality consistency engine generates personality hash values using ontology-level node states and relational edge weights, state-level feature vectors and confidence levels, core identity states, and global version numbers as inputs, forming a version chain that evolves over time. Each personality change corresponds to a unique version, and the content of the change can be precisely located through version comparison. Abnormal changes can be traced back to the triggering event and can be reverted to previous versions. What are subtle, undetectable drifts in existing technologies become, in this application, explicit version changes that are traceable and reversible.
[0301] It should be understood that the specific features, operations, and details described herein with respect to the methods of this application can also be similarly applied to the apparatus and system of this application, or vice versa. Furthermore, each step of the methods of this application described above can be performed by a corresponding component or unit of the apparatus or system of this application.
[0302] It should be understood that the various modules / units of the apparatus of this application can be implemented wholly or partially through software, hardware, firmware, or a combination thereof. Each module / unit can be embedded in the processor of a computer device in hardware or firmware form or independent of the processor, or it can be stored in the memory of a computer device in software form for the processor to call to execute the operation of each module / unit. Each module / unit can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.
[0303] In another aspect, this application provides a computer device. Figure 8 This illustration shows a structural diagram of a computer device according to an embodiment of this application, such as... Figure 8 As shown, the computer device 80 includes a processor 81 and a memory 82, on which a program is stored, which, when executed by the processor, implements the steps of the digital personality management method provided in any of the above embodiments.
[0304] In one embodiment, the computer device 80 may include a processor, memory, network interface, communication interface, etc., connected via a system bus. The processor of the computer device 80 can be used to provide necessary computing, processing, and / or control capabilities. The memory of the computer device 80 may include non-volatile storage media and internal memory. The non-volatile storage media may store an operating system, computer programs, etc. The internal memory can provide an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface and communication interface of the computer device 80 can be used to connect and communicate with external devices via a network.
[0305] This application also provides a computer-readable storage medium storing instructions that, when executed by a processor, implement the steps of the digital personality management method provided in any of the above embodiments.
[0306] Those skilled in the art will understand that the method steps of this application can be performed by a computer program instructing related hardware, such as a computer device or processor. The computer program can be stored in a non-transitory computer-readable storage medium, and its execution causes the steps of this application to be performed. Depending on the context, any reference herein to memory, storage, or other media may include non-volatile or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state drive, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.
[0307] The technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification, provided that such combination does not contain contradictions.
[0308] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A digital personality management method, characterized in that, include: Obtain the event feature vector of the valid behavior event initiated by the user, the event feature vector being obtained based on the multi-source heterogeneous information of the collected valid behavior event; Obtain the pre-stored digital personality of the user, the digital personality including a personality map and personality feature vectors; The personality graph and the personality feature vector are updated based on the event feature vector.
2. The digital personality management method according to claim 1, characterized in that, The process of updating the personality map and the personality feature vector based on the event feature vector includes: Based on the event feature vector, determine the first candidate update information of the personality map and the second candidate update information of the personality feature vector; Based on the second candidate update information and the event feature vector, stability gating and conflict verification are performed. Based on the stability gating results and the conflict verification results, the corresponding processing strategy is determined. When the processing strategy includes an update strategy, the personality map and the personality feature vector are updated according to the update strategy based on the first candidate update information and the second candidate update information.
3. The digital personality management method according to claim 2, characterized in that, The step of determining the first candidate update information of the personality map and the second candidate update information of the personality feature vector based on the event feature vector includes: The event feature vector is parsed to obtain a first candidate update information containing a set of related node references and a second candidate update information containing a set of related personality dimension references corresponding to the effective behavioral event.
4. The method according to claim 2, characterized in that, Based on the second candidate update information and the event feature vector, stability gating and conflict verification are performed, including: Based on the second candidate update information, calculate the stability value of each personality feature dimension in the second candidate update information, and determine the stability level corresponding to each personality feature dimension based on the stability value of each personality feature dimension. Output the stability gating processing result based on the stability level of each personality feature dimension; and Based on the event feature vector, verify whether there is a conflict between the valid behavioral event and the current state of the digital personality, and output the conflict verification result; The process of determining the corresponding processing strategy based on the stability gating results and conflict verification results includes: When the stability level of the target personality feature dimension is higher than the preset stability level and the conflict verification result indicates an update, the processing strategy is determined to include the following update strategy: controlling the update magnitude of the target personality feature dimension and the update magnitude of the weight of the relation edge of the corresponding node in the first candidate information based on the stability gating coefficient corresponding to the stability level of the target personality feature dimension. When the stability level of the target personality trait dimension is a preset stability level, or when the conflict verification result indicates no update, the processing strategy is determined to include: intercepting the first candidate update information and the second candidate update information, and writing the effective behavioral event into the short-term memory cache.
5. The method according to claim 4, characterized in that, When the conflict check result indicates that a directional conflict exists, the processing strategy further includes: Determine the separability of the scenario between the executed effective behavior event and the historical effective behavior event; When the judgment result indicates that the scenario is separable, the conflict resolution strategy is skipped, and the scenario-limiting relationship edge for establishing the effective behavioral event in the personality map is determined. When the determination result indicates that the scenario is indivisible, a conflict resolution strategy is executed.
6. The method according to claim 2, characterized in that, Before determining the corresponding processing strategy based on the stability gating processing results and conflict verification results, the following steps are also included: The effective behavioral events are registered on the event timeline, and the temporal characteristics of the effective behavioral events are determined according to the index of the event timeline. Based on the temporal feature information, the effective behavioral events are subjected to hierarchical memory flow to determine the event memory level corresponding to the effective behavioral events; The process of determining the corresponding processing strategy based on the stability gating results and conflict verification results includes: Based on the stability gating results, the conflict verification results, and the event memory hierarchy, a corresponding processing strategy is determined.
7. The method according to claim 2, characterized in that, Before determining the corresponding processing strategy based on the stability gating processing results and conflict verification results, the following steps are also included: Determine the personality level corresponding to each personality trait dimension in the second candidate update information. The personality level includes the core personality layer, the personality trait layer, and the personality situational layer. The process of determining the corresponding processing strategy based on the stability gating results and conflict verification results includes: Based on the stability gating processing result, the conflict verification result, and the personality level, a corresponding processing strategy is determined. The personality level is used to determine the evolution rate coefficients applicable to each personality feature dimension in the second candidate update information, and the evolution rate coefficients are used to adjust the update amplitude of the second candidate information.
8. The method according to claim 1, characterized in that, Also includes: Based on the updated personality map and personality feature vector, determine the personality hash value corresponding to the updated digital personality.
9. The method according to claim 8, characterized in that, It also includes storing the updated digital personality and personality hash value in a standardized personality state structure, and providing a query service for the digital personality using the personality state interface.
10. The method according to claim 9, characterized in that, Also includes: The personality state interface is used to obtain a summary of the personality state associated with the intelligent task of the intelligent module; and according to the preset mapping rules, the summary of the personality state is converted into a standardized context input that is adapted to the intelligent module.
11. The method according to claim 9, characterized in that, Also includes: The digital personality is obtained from the personality status interface, and access and invocation support for the digital personality is provided to different smart terminal devices and various industry AI applications.
12. A processing system, characterized in that, The processing system is configured to acquire event feature vectors of valid behavioral events initiated by the user, the event feature vectors being obtained based on multi-source heterogeneous information collected from the valid behavioral events; acquire the user's pre-stored digital personality, the digital personality including a personality map and personality feature vectors; and update the personality map and personality feature vectors based on the event feature vectors.
13. A digital personality management system, characterized in that, include: The processing system as described in claim 9, as a second processing system, and, The first processing system is configured to send the event feature vector of a valid action event initiated by the user to the second processing system.
14. The system according to claim 13, characterized in that, The first processing system includes an edge-side perception layer and an event processing layer; The edge-side perception layer is configured to collect multi-source heterogeneous information about user behavior and extract features from the multi-source heterogeneous information to obtain multi-source feature vectors. The event processing layer is configured to determine whether the multi-source heterogeneous features meet the preset valid event triggering conditions. If the conditions are met, the user behavior is determined to be a valid behavior event, and an event feature vector of the valid behavior event is generated based on the multi-source heterogeneous features.
15. A computer device, characterized in that, It includes a processor and a memory, the memory storing a program that, when executed by the processor, implements the steps of the digital personality management method as described in claims 1-11.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed by a processor, implement the steps of the digital personality management method as described in claims 1-11.
