A long-term memory enhancement-based voice agent personalized interaction method and system
By converting user historical interaction data into hierarchical memory units and generating a long-term memory state table, the problem of inaccurate retrieval of historical information in voice intelligence agents is solved, the stability and consistency of personalized interaction strategies are achieved, and the response effect of voice broadcasting, SMS follow-up and human agent collaboration is improved.
Patent Information
- Application Number
- CN202611690532.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
In the process of personalized interaction with voice intelligent agents, the insufficient expression of the state of historical interaction data, constraint matching, and feedback updates lead to problems such as an excessively wide range of historical information retrieval, difficulty in distinguishing the degree of credibility, repeated queries for confirmed information, retrieval of expired information, and unstable timing of human agent transfers.
The user's historical interaction data set is converted into hierarchical memory units, and a long-term memory state table is generated based on the hierarchical memory units. Candidate memory sets are filtered through scene matching, semantic matching, time decay, confidence gating, and conflict state judgment. A comprehensive score of the candidate interaction actions is calculated to generate personalized interaction strategies, and the long-term memory state table is updated after execution.
Improved the response consistency of the voice broadcast component, SMS follow-up component, task management component, and human agent collaboration component, reduced the problem of repeatedly asking for confirmed information, avoided calling expired information and unstable timing of human agent transfer, and improved the personalization and accuracy of the interaction strategy.
Smart Images

Figure CN123178587A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent agent interaction technology, specifically relating to a personalized interaction method and system for voice intelligent agents based on long-term memory enhancement. Background Technology
[0002] In the personalized interaction process of voice intelligent agents, the data decision-making path typically includes: collecting current conversation voice data and business context data; converting the current conversation voice data into current conversation text data; performing intent classification, slot extraction, and emotion state recognition on the current conversation text data through a semantic understanding model to form the current conversation semantic state; matching the current conversation semantic state with user profile tags, historical business records, and knowledge base content; outputting interactive actions through a rule engine, dialogue strategy model, or generative model; and executing the interactive actions by a voice broadcast component, SMS component, task management component, or human agent collaboration component.
[0003] In the aforementioned path, user profile tags, historical business records, and historical call records are typically used as supplementary input data into the dialogue strategy model or business rule engine to adjust response content, script templates, or transfer rules. However, in continuous interaction scenarios across conversations, tasks, and business phases, the state representation, constraint matching, and feedback updates of historical interaction data still have room for improvement for voice agents. Historical interaction data is usually stored in the form of call records, text records, tag records, or work order records. Whether historical interaction data is stable, expired, consistent with the current business scenario, or semantically conflicting with the current conversation is often not uniformly converted into state variables that can participate in real-time interaction strategy decisions. When voice agents call historical interaction data, they are prone to issues such as overly broad historical information retrieval scope, difficulty in distinguishing the credibility of historical information, failure to constrain subsequent scripts with historical rejection reasons, repeated questioning of confirmed information, continued retrieval of expired information, and unstable timing of human agent transfers. Summary of the Invention
[0004] This invention overcomes the shortcomings of the prior art and provides a personalized interaction method and system for a voice intelligent agent based on long-term memory enhancement.
[0005] To achieve the above objectives, the technical solution adopted by this invention is: a personalized interaction method for a voice-based intelligent agent based on long-term memory enhancement, comprising the following steps: S1: Collect the current conversation data, user historical interaction data, and business scenario data of the voice intelligent agent, and generate the current conversation semantic state, user historical interaction data set, and current business scenario identifier; S2: Convert the user's historical interaction data set into hierarchical memory units, and generate a long-term memory state table based on the hierarchical memory units; S3: Based on the current session semantic state and the current business scenario identifier, filter the candidate memory set from the long-term memory state table, and determine the callable state of the hierarchical memory units in the candidate memory set; S4: Generate a set of candidate interaction actions based on the current session semantic state, the current business scenario identifier, and the candidate memory set, and calculate the comprehensive score of each candidate interaction action in the set of candidate interaction actions; S5: Determine the target interaction action from the candidate interaction action set based on the comprehensive score, and output the personalized interaction strategy corresponding to the target interaction action; S6: Update the hierarchical memory units in the long-term memory state table based on the execution result of the target interaction action.
[0006] Furthermore, in step S2, converting the user's historical interaction data set into hierarchical memory units includes segmenting and semantically merging historical interaction events, and generating hierarchical memory units that contain memory content, business scenario identifiers, intent categories, user preferences, confirmation sources, generation time, most recent call time, confidence level, validity period, conflict identifiers, sensitivity levels, and memory categories.
[0007] Furthermore, in step S2, an initial confidence level is assigned to the hierarchical memory unit. The initial confidence level is calculated based on the confirmation source, consistency of historical feedback, business completion status, and human agent annotations.
[0008] Furthermore, in step S2, an expiration period, conflict flag, and sensitivity level are set for the hierarchical memory unit. The expiration period is determined based on the memory category and business rules. The conflict flag indicates the consistency status between the hierarchical memory unit and similar historical content or new feedback. The sensitivity level is used to restrict the scope of access to the hierarchical memory unit under different business permissions.
[0009] Furthermore, in step S3, the selection of candidate memory sets includes business scenario matching, semantic matching, time decay calculation, confidence gating and conflict state judgment, and the callable state of the hierarchical memory unit is determined based on the above states, including direct call, degraded call, call after confirmation and prohibited call.
[0010] Furthermore, in step S4, a set of candidate interactive actions is generated, including personalized reply actions, confirmation question actions, objection handling actions, SMS follow-up actions, reduced reach actions, human agent transfer actions, and task status update actions, and an action coding state is constructed for each candidate interactive action.
[0011] Further, in step S4, the comprehensive score of the candidate interaction action is calculated, which includes a weighted combination of the current semantic matching score, memory consistency score, business goal score, repeated interaction penalty item, historical rejection avoidance item and manual transfer trigger item, and is used to determine the action selection basis of the candidate interaction action under the current session semantic state, candidate memory set and current business scenario identifier.
[0012] Furthermore, in step S5, determining the target interaction action includes comprehensively scoring and ranking the candidate interaction action set, and performing compliance rule verification, sensitivity level verification, prohibited call status verification, and business process node verification.
[0013] Furthermore, in step S6, updating the long-term memory state table includes extracting interactive feedback events, establishing a consistency relationship between feedback events and invoked hierarchical memory units, updating the confidence level of hierarchical memory units, updating the validity period and the most recent call time, updating the conflict identifier, adjusting the memory category, performing hierarchical memory unit merging and invalidation processing, and writing the updated hierarchical memory units back to the long-term memory state table.
[0014] Another technical solution provided by the present invention: a personalized interactive system for a voice intelligent agent based on long-term memory enhancement, used to implement the above method, including a data acquisition and synchronization module, a conversation semantic state generation module, a long-term memory state modeling module, a candidate memory screening module, an interaction strategy decision output module, and an interaction feedback update module; Among them, the data acquisition and synchronization module is connected to the session semantic state generation module and the long-term memory state modeling module, and is used to receive current session data, user historical interaction data and business scenario data and send them to the corresponding modules. The conversation semantic state generation module is used to generate the current conversation semantic state and output it to the candidate memory filtering module and the interaction strategy decision output module; The long-term memory state modeling module is used to generate and maintain the long-term memory state table and receive the memory update results returned by the interactive feedback update module; The candidate memory filtering module is used to generate a set of candidate memories and output it to the interactive strategy decision output module; The interaction strategy decision output module is used to determine the target interaction action and output the corresponding personalized interaction strategy to the external voice broadcast component, SMS component, task management component and human agent collaboration component; The interactive feedback update module is used to receive the execution result of the target interactive action and generate a memory update result to feed back to the long-term memory state modeling module.
[0015] This invention addresses the shortcomings of the prior art and has the following beneficial effects: This invention transforms user historical interaction data sets into hierarchical memory units and forms a long-term memory state table based on these hierarchical memory units. This transforms historical interaction data from log-recorded states into state-constrained data that can participate in real-time interaction action decisions. Simultaneously, through candidate memory set filtering, callable state determination, comprehensive scoring of candidate interaction actions, personalized interaction strategy output, and feedback updates of target interaction action execution results, the interaction action selection of the voice agent no longer relies solely on the current conversation semantic state or static user profile. This overcomes problems such as repeatedly asking for confirmed information, ignoring historical rejection reasons, calling expired or conflicting historical information, and unstable timing of human agent transfers. Consequently, it improves the consistency of the response of the voice broadcast component, SMS follow-up component, task management component, and human agent collaboration component to user interaction states.
[0016] On one hand, this invention transforms historical user interaction data sets into hierarchical memory units containing memory content, business scenario identifiers, intent categories, user preferences, confirmation sources, generation time, most recent call time, confidence level, validity period, conflict identifiers, sensitivity levels, and memory categories. Based on these hierarchical memory units, a long-term memory state table is generated, transforming historical interaction events from unstructured records into memory state data with scenario boundaries, timeliness boundaries, credibility boundaries, conflict boundaries, and call boundaries. Through scenario matching, semantic matching, time decay, confidence gating, validity period judgment, conflict state judgment, and sensitivity level judgment, hierarchical memory units in the candidate memory set are assigned callable states such as direct call, de-weighted call, call after confirmation, or prohibited call. This overcomes the problems of misuse of historical information, reuse of expired information, and parallel call of conflicting information that easily occur when traditional voice agents call historical interaction data as ordinary text prompts or static labels. Furthermore, it ensures that the voice broadcast component is constrained by business scenarios and state boundaries when calling user historical preferences, confirmed facts, short-term tasks, rejection of objections, and risk warnings.
[0017] On the other hand, this invention generates a set of candidate interactive actions based on the current session semantic state, the current business scenario identifier, and the candidate memory set. It then determines a comprehensive score for each candidate interactive action by combining current semantic matching relationships, memory consistency relationships, business process matching relationships, repeated interaction restriction relationships, historical rejection avoidance relationships, and manual transfer triggering relationships. This transforms the candidate interactive action from a single-round intent response state to a decision state jointly constrained by long-term memory state, business process nodes, and historical feedback states. Through comprehensive scoring and ranking, as well as compliance rule verification, sensitivity level verification, prohibited call state verification, and business process node verification, the target interactive action is jointly constrained by the callable state of candidate memories and the business execution boundary before output. This overcomes the decision failure mode that easily leads to repeated follow-ups, continued triggering of historical rejection reasons, ignoring manual transfer triggering conditions, and outputting mismatched business process nodes when candidate interactive actions are generated solely based on the current intent. Furthermore, it ensures that the personalized interaction strategies received by the SMS follow-up component, task management component, and human agent collaboration component remain consistent with the user's historical behavior state and the current task stage.
[0018] By combining hierarchical memory units and candidate interaction action scoring, the long-term memory state table provides callable state boundaries for candidate interaction actions. The execution results of candidate interaction actions, in turn, update the confidence level, validity period, most recent call time, conflict identifier, memory category, merging state, and invalidation state of the hierarchical memory units. This allows historical interaction data to continuously change its participation in decision-making based on the execution results of voice interactions. In subsequent conversations, the voice agent can reduce the repeated collection of confirmed information, decrease the probability of calling conflicting and prohibited memories, and adjust the target interaction action when historical rejections, risk warnings, or human agent collaboration requests occur. This improves the collaborative response between voice broadcasting, SMS follow-up, task status updates, and human agent transfers. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Figure 1 This is a flowchart of a personalized interaction method for a voice-based intelligent agent based on long-term memory enhancement; Figure 2 This is an architecture diagram of a personalized interaction system for a voice-activated intelligent agent based on long-term memory enhancement. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein. Therefore, the scope of protection of the invention is not limited to the specific embodiments disclosed below.
[0022] Example 1: This embodiment relates to a personalized interaction method for voice agents based on long-term memory enhancement. The decision-making object is the selection of interaction actions by the voice agent under the combined influence of the current conversation semantic state, the current business scenario identifier, and the user's historical interaction data set. In existing voice agents, during continuous interactions across conversations, tasks, and business stages, historical interaction data is typically used in dialogue strategy generation as unstructured text, log records, or coarse-grained tags. This leads to an overly broad scope of historical information retrieval, failure to limit subsequent dialogue based on historical rejection reasons, repeated questioning of confirmed information, and continued retrieval of expired information. This embodiment converts the user's historical interaction data set into a long-term memory state and incorporates this state into candidate interaction action scoring and feedback updates, enabling the voice agent to output a personalized interaction strategy that matches the current user expression, business scenario, and historical interaction state.
[0023] Existing voice agent data decision-making processes typically begin with current conversational voice data and business context data, proceeding through speech recognition, semantic understanding, intent classification, slot extraction, and dialogue strategy generation before outputting interactive actions. While user profile tags, historical business records, and historical call records can serve as supplementary input data into the dialogue strategy model or business rule engine, historical interaction data lacks a unified state representation based on memory category, business scenario identifier, generation time, confirmation source, confidence level, validity period, conflict identifier, and sensitivity level before entering the candidate interaction action generation process. Due to this lack of state representation in historical interaction data, the voice agent struggles to distinguish between stable preference memories, fact-confirming memories, short-term task memories, rejection / dissent memories, and risk warning memories within the current conversation. Consequently, the candidate interaction action scoring process primarily revolves around the current intent category, the current slot set, and static profile tags.
[0024] This embodiment converts the user's historical interaction data set into hierarchical memory units, and generates a long-term memory state table based on these hierarchical memory units. This transforms historical voice interaction records, historical speech-to-text, historical intent recognition results, historical slot information, historical user feedback, historical human agent follow-up results, and historical business processing results from log states into searchable, filterable, constrainable, and updatable long-term memory states. Furthermore, this embodiment filters candidate memory sets from the long-term memory state table based on the current conversation semantic state and the current business scenario identifier. The hierarchical memory units in the candidate memory sets are then converted into constraint and adjustment variables in the candidate interaction action scoring process. This ensures that memory consistency, repeated interaction penalties, historical rejection avoidance, scenario adaptation, and human agent referral trigger conditions all participate in determining the target interaction action. After the target interaction action is executed, the hierarchical memory units in the long-term memory state table are updated based on the execution result.
[0025] like Figure 1 As shown, a personalized interaction method for a voice-based intelligent agent based on long-term memory enhancement includes the following steps: S1: Collect the current conversation data, user historical interaction data, and business scenario data of the voice intelligent agent, and generate the current conversation semantic state, user historical interaction data set, and current business scenario identifier; S2: Convert the user's historical interaction data set into hierarchical memory units, and generate a long-term memory state table based on the hierarchical memory units; S3: Based on the current session semantic state and the current business scenario identifier, filter the candidate memory set from the long-term memory state table, and determine the callable state of the hierarchical memory units in the candidate memory set; S4: Generate a set of candidate interaction actions based on the current session semantic state, the current business scenario identifier, and the candidate memory set, and calculate the comprehensive score of each candidate interaction action in the set of candidate interaction actions; S5: Determine the target interaction action from the candidate interaction action set based on the comprehensive score, and output the personalized interaction strategy corresponding to the target interaction action; S6: Update the hierarchical memory units in the long-term memory state table based on the execution result of the target interaction action.
[0026] In the above method, current session data, user historical interaction data, and business scenario data are first converted into current session semantic state, user historical interaction data set, and current business scenario identifier. The current session semantic state represents the current user's expressed intent category, current slot set, current emotional state, current task stage, current dialogue turn, and current session semantic vector. The current business scenario identifier limits the scope of access to hierarchical memory units in the long-term memory state table. The user historical interaction data set is segmented by events, semantically merged, memory category determined, and state field assigned to form hierarchical memory units. Multiple hierarchical memory units are written into the long-term memory state table according to user identity identifier, business scenario identifier, memory category, and generation time.
[0027] During the current round of interactive decision-making, the current session semantic state and the current business scenario identifier drive the long-term memory state table to complete scenario matching, semantic matching, time decay, confidence gating, and conflict state judgment. The candidate memory set consists of hierarchical memory units that meet the calling conditions. After the candidate memory set enters the candidate interactive action scoring process, the callable score, memory category, confidence, conflict identifier, and sensitivity level of the hierarchical memory units are applied to the memory consistency score, repeated interaction penalty item, historical rejection avoidance item, and manual transfer trigger item, respectively. The comprehensive scoring and ranking results are then constrained by compliance rules, sensitivity levels, and business process nodes to form the target interactive action. The target interactive action is further converted into a voice broadcast strategy, a next round of questioning strategy, an SMS follow-up strategy, a reach frequency control strategy, a manual agent transfer strategy, or a task status update strategy. The execution result of the target interactive action is updated in reverse in the long-term memory state table after the interactive feedback event is identified, so that the next session selects interactive actions based on the long-term memory state after feedback correction.
[0028] Example 2: This embodiment further elaborates on the personalized interaction method for voice agents based on long-term memory enhancement described in Embodiment 1. After the voice agent accesses the current user session, step S1 forms the current session semantic state, the user's historical interaction data set, and the current business scenario identifier based on the pre-collected objects.
[0029] For example, the implementation process of step S1 includes the following steps in sequence: S1-1: Collect current session data.
[0030] The speech agent acquires the current conversation's speech stream after the current user session begins and converts it into a text stream. The current conversation's speech stream includes user speech segments, start and end times of the speech segments, silence duration, interruption markers, and speech playback round markers. The current conversation's text stream includes the speech-recognized text, text generation time, the round to which the text belongs, and speech recognition confidence. The start and end times of the speech segments in the current conversation's speech stream are used to maintain the temporal relationship between the user's expression and the speech playback round; the silence duration describes the pauses in the current user session; the interruption markers describe the interruption of the user's expression to the speech playback content; and the speech recognition confidence describes the reliability of the speech-recognized text originating from the current conversation's speech stream.
[0031] S1-2: Generate the current session semantic state.
[0032] The speech agent maps the current conversation text stream to the word embedding layer and position encoding layer of the semantic coding model. The semantic coding model performs context encoding on the text segments with round markers to obtain the current conversation semantic vector.
[0033] The semantic encoding model employs a 12-layer Transformer encoder with 768 hidden layers and 12 multi-head attention heads. The output includes an intent classification branch, a slot labeling branch, and an emotion state branch. The intent classification branch outputs the current intent category based on the current conversation semantic vector; the slot labeling branch outputs the current slot set based on the current conversation semantic vector; and the emotion state branch outputs the current emotion state based on the current conversation semantic vector. The current task stage and current dialogue turn are jointly determined based on the current business task identifier, the text turn number, and the voice broadcast turn number. The current conversation semantic state, composed of the current intent category, current slot set, current emotion state, current task stage, current dialogue turn, and current conversation semantic vector, serves as the semantic input state for candidate memory set selection and candidate interaction action scoring.
[0034] The training dataset for the semantic coding model consists of historical speech-to-text, manually annotated intent labels, manually annotated slot labels, and business result labels. The training data is divided into training, validation, and test sets according to the user session dimension. The loss function of the semantic coding model is... In the formula, This represents the total loss used to constrain the multi-task output during the training of the semantic coding model. This represents the cross-entropy loss of the intent category corresponding to the current intent category. This represents the cross-entropy loss of the slot sequence labels corresponding to the current slot set. This represents the cross-entropy loss of the current emotional state classification. Action matching loss represents the correspondence between historical dialogue actions and business results. , and These represent the weight coefficients of slot sequence labeling loss, emotion state classification loss, and action matching loss in the total loss, respectively.
[0035] S1-3: Obtain the user's historical interaction data set.
[0036] The voice intelligence agent queries historical voice interaction records, historical speech-to-text transcripts, historical intent recognition results, historical slot information, historical user feedback, historical human agent follow-up results, historical business processing results, historical SMS follow-up results, and historical complaint risk annotations based on user identification. Historical voice interaction records indicate the audio and conversation sources in past voice interactions; historical speech-to-text transcripts indicate the user's historical expressions; historical intent recognition results and historical slot information indicate the user's historical business intent and elements; historical user feedback indicates the user's confirmation, rejection, silence, or repeated follow-up questions; historical human agent follow-up results and historical business processing results indicate the status of human intervention and business completion; and historical SMS follow-up results and historical complaint risk annotations indicate the follow-up status and risk status of non-voice channels.
[0037] S1-4: Generate the current business scenario identifier.
[0038] The voice agent generates a current business scenario identifier based on the current business task identifier, current interaction channel identifier, task flow node, outbound or inbound call type, business line identifier, and compliance policy identifier. The current business task identifier defines the business task corresponding to the current user session; the current interaction channel identifier defines the interaction entry point corresponding to the current user session; the task flow node defines the position of the current user session within the business flow; the outbound or inbound call type defines the trigger direction of the current user session; the business line identifier defines the business scope corresponding to the current user session; and the compliance policy identifier defines the range of information that can be accessed and the range of interactive actions that can be output within the current user session.
[0039] After forming a set of user historical interaction data in step S1, step S2 converts the log-based historical interaction data into a long-term memory state that can participate in the decision-making of subsequent interaction actions based on the set of user historical interaction data.
[0040] For example, the implementation process of step S2 includes the following steps in sequence: S2-1: Perform historical interaction event segmentation.
[0041] The voice agent identifies event boundaries in the user's historical interaction data set based on session number, business task number, dialogue round, and interaction result, and segments the user's historical interaction data set into multiple historical interaction events. Each historical interaction event includes historical user expression, historical voice agent response, historical business node, historical user feedback, and historical processing result. The session number is used to identify the session to which the historical interaction event belongs, the business task number is used to identify the business task to which the historical interaction event belongs, the dialogue round is used to identify the round position between the historical user expression and the historical voice agent response, and the interaction result is used to identify the corresponding confirmation, rejection, silence, repeated follow-up question, successful transfer, business completion, complaint risk, or manual correction status of the historical interaction event.
[0042] S2-2: Perform semantic merging of historical interaction events.
[0043] The voice agent semantically encodes the historical user expressions and historical voice agent responses in each historical interaction event, obtaining a semantic vector for the historical interaction event. For multiple historical interaction events under the same user identity, the same business scenario identity, the same intent category, or the same slot content, the voice agent calculates the semantic similarity between the historical interaction events, which is represented as... In the formula, Indicates the first The first historical interaction event and the first Semantic similarity between historical interaction events Indicates the first Semantic vectors of historical interaction events Indicates the first Semantic vectors of historical interaction events This represents the cosine similarity.
[0044] The semantic vector of historical interaction events is used to represent the semantic state formed by historical user expressions, historical voice agent responses, and historical business nodes. Semantic similarity is used to determine whether multiple historical interaction events describe the same user preference, the same factual confirmation, the same follow-up task, the same reason for rejection, or the same risk warning. When the semantic similarity reaches the merging threshold and the business scenario identifier meets the consistency condition, the voice agent merges multiple historical interaction events into the same candidate memory source group; when the semantic similarity does not reach the merging threshold or the business scenario identifier does not meet the consistency condition, the voice agent retains the source differences between multiple historical interaction events.
[0045] S2-3: Generate hierarchical memory units.
[0046] The voice agent extracts memory content, business scenario identifier, intent category, user preference, confirmation source, generation time, most recent call time, confidence level, validity period, conflict identifier, sensitivity level and memory category from each candidate memory source group to form a hierarchical memory unit.
[0047] Hierarchical memory units are represented as In the formula, Indicates the first Hierarchical memory units Indicates the content to be remembered. Indicates the business scenario identifier. Indicates the category of intent. Indicates user preferences, This indicates that the source has been confirmed. Indicates the generation time. Indicates the most recent call time. Indicates the confidence level. Indicates the validity period. Indicates a conflict symbol. Indicates the sensitivity level. Indicates the category of memory.
[0048] The memory content originates from reusable semantic fragments in historical user expressions, historical voice agent responses, and historical processing results; the business scenario identifier originates from historical business nodes, business task numbers, and business line identifiers; the intent category originates from historical intent recognition results; user preferences originate from confirmations, rejections, preference expressions, or risk expressions in historical user feedback; the confirmation source is used to distinguish between explicit user confirmations, system inferences, and human agent annotations; the generation time originates from the occurrence time of historical interaction events; the most recent call time can be null or the initial time when the hierarchical memory unit is first generated; confidence is formed in S2-5; the validity period is assigned based on the memory category and business rules; the conflict identifier is used to indicate whether the hierarchical memory unit is inconsistent with similar historical content or new feedback; the sensitivity level is used to limit the scope of calls to the hierarchical memory unit under different business permissions; the memory category is used to determine the constraining effect of the hierarchical memory unit in the scoring of subsequent candidate interaction actions.
[0049] S2-4: Determine the memory category.
[0050] Based on the semantic content, business results, and user feedback status in the candidate memory source group, the voice agent labels the hierarchical memory units as stable preference memory, fact confirmation memory, short-term task memory, rejection of objection memory, or risk warning memory.
[0051] Contact method preferences, communication time preferences, and conversation style preferences were marked as stable preference memories. Stable preference memories mainly influence personalized response actions and reach frequency control strategies in subsequent steps.
[0052] Confirmed identity information, business needs, product status, and service status are marked as fact-confirmed memories. Fact-confirmed memories mainly restrict repeated questioning in subsequent steps.
[0053] Unfinished task progress, follow-up items, and temporary appointment information are marked as short-term task memory. Short-term task memory mainly affects the next round of questioning strategy, SMS follow-up strategy, and task status update strategy in subsequent steps.
[0054] The user's reason for refusal, objection type, refusal strength, and expression of not wanting to be contacted again are marked as refusal objection memory. In subsequent steps, the refusal objection memory mainly forms a ranking restriction on candidate interactive actions that trigger the same refusal reason.
[0055] Complaint risks, fraud risks, compliance risks, and manual review prompts are marked as risk warning memories. These risk warning memories mainly affect the manual agent transfer strategy and risk review actions in subsequent steps.
[0056] S2-5: Calculate the initial confidence level of the hierarchical memory unit.
[0057] The voice agent calculates initial confidence based on source confirmation, consistency of historical feedback, service completion status, and human agent annotation status. The initial confidence calculation formula is as follows: In the formula, Indicates the first The initial confidence level of each hierarchical memory unit, This represents the Sigmoid function. This indicates that the source score has been confirmed. This indicates the consistency score of user feedback. This indicates that the business results support the score. This indicates that the human agent's seat is marked with a support score. This indicates the weighting coefficient for confirming the source score. The weighting coefficients representing the consistency score of user feedback. This indicates the weighting coefficients that support the score based on business results. This represents the weighting coefficient of the score supported by the human agent's annotation.
[0058] The source confirmation score is used to characterize the difference between the source of the hierarchical memory unit and the source of the memory unit, namely, explicit confirmation by the user, inference by the system, or annotation by the human agent; the user feedback consistency score is used to characterize the support relationship between the user's historical feedback and the memory content; the business result support score is used to characterize the support relationship between the business completion status and the memory content; and the human agent annotation support score is used to characterize the confirmation relationship between the human agent and the memory content.
[0059] S2-6: Determine the validity period, conflict flag, and sensitivity level of the hierarchical memory unit.
[0060] The voice agent assigns validity periods to hierarchical memory units based on memory categories and business rules. Stable preference memories are configured with validity periods corresponding to long-term communication preferences; fact confirmation memories are configured with validity periods corresponding to business status maintenance cycles; short-term task memories are configured with validity periods corresponding to task follow-up cycles; rejection / dissent memories are configured with validity periods corresponding to compliance outreach cycles; and risk warning memories are configured with validity periods corresponding to risk review cycles.
[0061] The voice agent further detects inconsistencies in content among hierarchical memory units under the same user identity, business scenario, intent category, or slot content. When multiple hierarchical memory units provide different expressions for the same business fact, user preference, or risk status, the voice agent assigns a conflict flag to the inconsistent hierarchical memory units. Sensitivity levels are assigned based on the identity information, business information, complaint risk, fraud risk, and compliance risk involved in the remembered content.
[0062] S2-7: Generate a long-term memory state table.
[0063] The voice agent writes multiple hierarchical memory units into a long-term memory state table according to user identity, business scenario, memory category, and generation time. The long-term memory state table stores conflict relationships, merging relationships of similar units, and call records between hierarchical memory units. Conflict relationships describe inconsistencies between different hierarchical memory units in terms of memory content, user preferences, or business status; merging relationships describe the merging status of multiple hierarchical memory units with the same content, business scenario, and memory category; call records describe the most recent call time, call scenario, and call action of a hierarchical memory unit in the subsequent interaction decision-making process.
[0064] After generating the long-term memory state table in step S2, step S3, based on the current session semantic state, the current business scenario identifier, and the long-term memory state table, filters out candidate memory sets that can participate in the current interaction strategy decision from the long-term memory state table, and determines the callable state of the hierarchical memory units in the candidate memory sets.
[0065] For example, the implementation process of step S3 includes the following steps in sequence: S3-1: Read the long-term memory state table and form a set of memories to be filtered.
[0066] The voice agent, based on the user identity identifier corresponding to the current user session, reads multiple hierarchical memory units associated with the user identity identifier from the long-term memory state table, forming a set of memories to be filtered. Each hierarchical memory unit in the set of memories to be filtered includes memory content, business scenario identifier, intent category, user preference, confirmation source, generation time, most recent call time, confidence level, validity period, conflict identifier, sensitivity level, and memory category. The user identity identifier is used to limit the reading scope of the long-term memory state table, preventing hierarchical memory units of other users from entering the candidate memory set of the current user session.
[0067] S3-2: Perform business scenario matching.
[0068] The voice agent maps the current business scenario identifier and the business scenario identifier of each hierarchical memory unit in the memory set to business scenario encoding vectors, and calculates the scenario consistency between the current business scenario identifier and the business scenario identifier of each hierarchical memory unit. The scenario consistency calculation formula is as follows: In the formula, Indicates the first Consistency of scenarios in each hierarchical memory unit Indicates the current business scenario identifier. Indicates the first Business scenario identifiers within hierarchical memory units This represents the coding function for the business scenario. This represents cosine similarity. The current business scenario identifier is formed by the current business task identifier, the current interaction channel identifier, the task process node, the outbound or inbound call type, the business line identifier, and the compliance policy identifier. The business scenario identifier in the hierarchical memory unit comes from historical business nodes, business task numbers, and business line identifiers.
[0069] Scene consistency is used to represent the degree of fit between the business scope, task stage, and compliance policies corresponding to historical interaction data and the current user session. When scene consistency is lower than the scene filtering threshold, the voice agent will remove the corresponding hierarchical memory unit from the set of memories to be filtered; when scene consistency reaches the scene filtering threshold, the voice agent will retain the corresponding hierarchical memory unit and enter the semantic matching process.
[0070] S3-3: Perform semantic matching.
[0071] The speech agent calculates the similarity between the current conversation semantic vector and the memory content vector of the hierarchical memory unit. The formula for semantic relevance calculation is as follows: In the formula, Indicates the first Semantic relevance of hierarchical memory units Represents the semantic vector of the current session. Indicates the first The memory content vector of each hierarchical memory unit. The current session semantic vector comes from the semantic state obtained by the current session text flow through the semantic encoding model, and the memory content vector comes from the semantic state obtained by the memory content in the hierarchical memory unit through the same semantic encoding process.
[0072] Semantic relevance is used to represent the degree of content association between the current user's expression and historical memory content. For business problems already covered by the current intent category and the current slot set, semantic relevance is used to select historical information related to the current business intent, current business element, or current user expression tendency from hierarchical memory units. For business problems with missing slots in the current slot set, semantic relevance is used to select factual confirmation memories or short-term task memories that can supplement the current slot set. Hierarchical memory units with semantic relevance below the semantic filtering threshold are not included in the candidate memory set, while hierarchical memory units with semantic relevance reaching the semantic filtering threshold enter the time decay calculation process.
[0073] S3-4: Calculate the time decay state.
[0074] The voice agent calculates the time decay state based on the time interval between the current time and the generation time of the hierarchical memory unit. The formula for calculating the time decay state is as follows: In the formula, Indicates the first The time decay state of each hierarchical memory unit Indicates the current time and the number of... The time interval between the generation of each hierarchical memory unit Representation and memory categories The corresponding decay period, Indicates the first Memory categories of hierarchical memory units.
[0075] The time decay state describes the availability of hierarchical memory units over time. A larger time decay state indicates that the hierarchical memory unit is closer to failure or needs to be downgraded. Stable preference memory corresponds to a decay period that matches long-term communication preference; fact confirmation memory corresponds to a decay period that matches the business status maintenance period; short-term task memory corresponds to a decay period that matches the task follow-up period; rejection of objections memory corresponds to a decay period that matches the compliance outreach period; and risk warning memory corresponds to a decay period that matches the risk review period.
[0076] S3-5: Perform confidence gating and conflict state judgment.
[0077] The voice agent reads the confidence level, validity period, conflict identifier, and sensitivity level of each hierarchical memory unit, and determines whether the hierarchical memory unit meets the preconditions for calling based on the confidence level gating condition, validity period condition, conflict state condition, and business permission condition.
[0078] Confidence level indicates the degree to which the hierarchical memory unit originates from explicit user confirmation, consistency with historical feedback, support from business results, and support from human agent annotations; validity period indicates the available range of the historical information corresponding to the hierarchical memory unit within the business cycle; conflict indicator indicates whether there is inconsistency between the hierarchical memory unit and similar historical content or new feedback; sensitivity level indicates whether the hierarchical memory unit is allowed to be invoked under the current business permissions. Hierarchical memory units with a confidence level below the confidence level threshold enter the candidate range for invocation after confirmation or prohibition; hierarchical memory units that have exceeded their validity period enter the candidate range for prohibition; hierarchical memory units with minor conflicts enter the candidate range for invocation after confirmation; hierarchical memory units with strong conflicts enter the candidate range for prohibition; hierarchical memory units with a sensitivity level exceeding the current business permissions enter the candidate range for prohibition.
[0079] S3-6: Calculate the callable score.
[0080] The voice agent calculates the recall score for each hierarchical memory unit based on scene consistency, semantic relevance, confidence level, time decay status, and conflict flags. The recall score calculation formula is as follows: In the formula, Indicates the first The recall rating of each hierarchical memory unit. This indicates consistency across scenarios. Indicates semantic relevance. Indicates the confidence level. Indicates the time decay state. Indicates a conflict symbol. This indicates the weighting coefficient of scenario consistency in the callable rating. This represents the weighting coefficient of semantic relevance in the callability score. This represents the weighting coefficient of confidence in the callable score. This represents the weighting factor for time decay status in the callable score. This indicates the deduction weighting factor for conflict identifiers in the callable score.
[0081] Scenario consistency gives hierarchical memory units that match the business scenario a higher inclination to be called; semantic relevance gives hierarchical memory units that are related to the current user expression a higher inclination to be called; confidence gives hierarchical memory units that have been confirmed by the user, supported by business results, or supported by human agents' annotations a higher inclination to be called; time decay status reduces the inclination of expired or near-expired hierarchical memory units to enter the candidate memory set; conflict flags reduce the inclination of hierarchical memory units that are inconsistent with new feedback or similar historical content to enter the candidate memory set.
[0082] S3-7: Determine the callable status of the hierarchical memory unit.
[0083] The voice agent determines the callability status of each hierarchical memory unit based on its callability score, sensitivity level, memory category, validity period, and conflict flag. Callability statuses include direct call, degraded call, call after confirmation, and prohibited call. A hierarchical memory unit is marked for direct call when its callability score reaches the direct call threshold, its conflict flag is non-conflicting, its validity period has not expired, and its sensitivity level does not exceed the current business permissions.
[0084] The "Direct Invocation" status indicates that the hierarchical memory unit can participate in the memory consistency score calculation in step S4 and can be referenced or received by the target interaction action in step S5. When the callable score is in the de-weighted range, its validity period has not expired, and the conflict identifier is no conflict or low conflict, the hierarchical memory unit is marked as de-weighted invocation. The de-weighted invocation status indicates that the hierarchical memory unit can enter step S4, but the callable score corresponding to the hierarchical memory unit is de-weighted in the memory consistency score calculation. When the hierarchical memory unit has low confidence or minor conflict, it is marked as invocation after confirmation. The invocation after confirmation status indicates that the hierarchical memory unit is not directly used as the basis for factual receipt, but rather drives step S4 to generate a confirmatory question action or drives step S5 to generate a confirmatory response. When the hierarchical memory unit exceeds its validity period, has a strong conflict, or its sensitivity level exceeds the current business permissions, it is marked as prohibited from invocation. The prohibited invocation status indicates that the hierarchical memory unit does not enter the candidate interaction action scoring process in step S4.
[0085] S3-8: Generate a candidate memory set.
[0086] The voice agent writes the hierarchical memory units that are directly invoked, invoked with reduced weight, and invoked after confirmation into the candidate memory set, and retains the invokeability score, invokeability status, memory category, confidence level, validity period, conflict identifier, sensitivity level, business scenario identifier, and memory content corresponding to each hierarchical memory unit. The candidate memory set does not contain hierarchical memory units in the prohibited invocation state.
[0087] After generating the candidate memory set and determining the callable state of the hierarchical memory unit in step S3, step S4 generates a candidate interaction action set based on the current session semantic state, the current business scenario identifier, and the candidate memory set, and calculates the comprehensive score of each candidate interaction action in the candidate interaction action set.
[0088] For example, the implementation process of step S4 includes the following steps in sequence: S4-1: Generate a set of candidate interactive actions.
[0089] The voice agent generates a set of candidate interaction actions based on the current intent category, the current slot set, the current task stage, and business rules. In the formula, Represents the set of candidate interactive actions. Indicates the first One candidate interactive action, This indicates the number of candidate interaction actions. The set of candidate interaction actions includes personalized response actions, confirmation question actions, objection handling actions, SMS follow-up actions, actions to reduce contact, actions to transfer to human agents, and tasks status update actions.
[0090] The current intent category is used to limit the business direction of candidate interaction actions; the current slot set is used to limit the business elements that candidate interaction actions need to supplement, confirm, or undertake; the current task stage is used to limit the executable scope of candidate interaction actions in the business process; and the business rules are used to limit whether candidate interaction actions conform to business process nodes and compliance policy identifiers. Direct call hierarchical memory units in the candidate memory set allow the generation of personalized response actions that inherit historical information; confirmation call hierarchical memory units in the candidate memory set drive the generation of confirmation-style question actions; rejection / objection memories in the candidate memory set drive the generation of objection handling actions or actions to reduce reach; and risk warning memories in the candidate memory set drive the generation of human agent transfer actions.
[0091] S4-2: Construct candidate interactive action encoding states.
[0092] The voice agent decomposes each candidate interaction action in the candidate interaction action set into action elements. These action elements include action type, script template identifier, target slot, reference memory category, reference hierarchical memory unit identifier, business process node, output channel, and compliance restriction identifier. The voice agent then maps these action elements to action encoding vectors. In the formula, Indicates the first Action encoding vectors of candidate interactive actions.
[0093] Action type is used to distinguish between voice reply, question, SMS follow-up, task transfer, and human transfer; script template identifier is used to limit the language expression framework of candidate interaction actions; target slot is used to limit the business information that candidate interaction actions need to confirm or supplement; reference memory category is used to limit the relationship between candidate interaction actions and stable preference memory, fact confirmation memory, short-term task memory, rejection objection memory, or risk warning memory; reference hierarchical memory unit identifier is used to record the hierarchical memory unit source of candidate interaction action calls; business process node is used to limit the execution position of candidate interaction actions in business tasks; output channel is used to limit the execution direction of voice broadcast, SMS follow-up, task management, or human agent collaboration; compliance restriction identifier is used to limit the output scope of candidate interaction actions.
[0094] S4-3: Calculate the current semantic matching score.
[0095] The speech agent calculates the current semantic matching score between each candidate interaction action and the current conversation semantic state. The formula for calculating the current semantic matching score is: In the formula, Indicates the first The current semantic matching score of each candidate interaction action. Indicates the first Action encoding vectors of candidate interactive actions, Represents the semantic vector of the current session. The cosine similarity is represented. The current conversation semantic vector originates from the semantic state obtained by the semantic encoding model of the current conversation text flow, while the action encoding vector originates from the action element mapping of candidate interaction actions. The current semantic matching score is used to represent the response relationship of candidate interaction actions to the current user expression, current intent category, current slot set, and current emotional state. Candidate interaction actions with lower current semantic matching scores are retained in the candidate interaction action set, but receive lower semantic response weights in the comprehensive score calculation; candidate interaction actions with higher current semantic matching scores receive higher semantic response weights when entering the comprehensive score calculation.
[0096] S4-4: Calculate the memory consistency score.
[0097] The voice agent calculates the memory consistency score for each candidate interaction action based on the hierarchical memory units of direct and de-weighted calls within the candidate memory set. The formula for calculating the memory consistency score is as follows: In the formula, Indicates the first The memory consistency score of each candidate interaction action. This indicates the number of hierarchical memory units in the candidate memory set. Indicates the first The recall rating of each hierarchical memory unit. Indicates the first The hierarchical memory unit and the first Consistency markers among candidate interaction actions. Determined based on whether candidate interactive actions reference, comply with, ignore, or conflict with hierarchical memory units.
[0098] When a candidate interaction action references communication time preferences from stable preference memory, confirmed business information from fact confirmation memory, or follow-up items from short-term task memory, a consistency flag is generated. Take a positive value; when the candidate interaction action has no business relationship with the hierarchical memory unit, the consistency mark is set. Set to zero; when a candidate interaction action repeatedly asks for factual confirmation of confirmed content in memory, triggers rejection reasons in memory, or ignores risk warnings or manual review prompts in memory, the consistency flag is set. Take the negative value. For hierarchical memory units with reduced weighting, the voice agent has a callable score. The weighted results from step S3 are retained, so that hierarchical memory units with low confidence, large time decay, or mild conflict have a smaller impact on memory consistency scores.
[0099] S4-5: Calculate the penalty for repeated interactions.
[0100] The voice agent calculates a repetitive interaction penalty term for candidate interaction actions based on fact-confirming memory and short-term task memory. The formula for calculating the repetitive interaction penalty term is as follows: In the formula, Indicates the first Repeated interaction penalty for each candidate interaction action Indicates the first The question asks whether the candidate interaction action is repeated. The markers indicating the confirmed content of each hierarchical memory unit. Indicates the first The confidence level of each hierarchical memory unit is used. Identity information, business requirements, product status, or service status in the fact-confirming memory are used to determine whether a candidate interaction action repeatedly queries already confirmed information; task progress, follow-up items, or temporary appointment information in the short-term task memory are used to determine whether a candidate interaction action repeatedly executes already scheduled follow-up actions. When a candidate interaction action re-queries fact-confirming memory content with a higher confidence level, the duplicate interaction penalty increases with the confidence level; when a candidate interaction action only performs verification queries on hierarchical memory units invoked after confirmation, the duplicate interaction penalty decreases according to the status of the invoked memory unit after confirmation.
[0101] S4-6: Calculate historical rejection avoidance items.
[0102] The voice agent calculates historical rejection avoidance terms for candidate interaction actions based on its rejection objection memory. The formula for calculating historical rejection avoidance terms is as follows: In the formula, Indicates the first The history of candidate interaction actions is rejected and avoided. Indicates the first The intensity of rejection in a memory of objection. Indicates the first Does the first candidate interaction action trigger the first...? Each objection is marked with a corresponding reason for rejection. Rejection strength. This is based on explicit expressions of refusal, frequency of refusal, intensity of refusal tone, expressions of not wanting to be contacted again, and risk of complaints, all derived from historical user feedback. Trigger flags. The determination is based on whether the wording of the candidate interaction action, the frequency of contact, the business recommendation content, and the target slot are consistent with the rejection reason corresponding to the rejection objection memory.
[0103] When a candidate interaction action repeatedly triggers business recommendations, timing of engagement, wording style, or channels that the user has already rejected, a flag is triggered. Take a positive value; when a candidate interaction action avoids the rejection objection and remembers the corresponding rejection reason, a flag is triggered. Zero out. Historical rejection avoidance items are deducted from the overall score, which lowers the ranking of candidate interaction actions that trigger the same rejection reason, and allows objection handling actions, reduced reach actions, or human agent transfer actions to enter the target interaction action candidate range.
[0104] S4-7: Calculate the business objective score and the manual transfer of trigger items.
[0105] The voice-activated agent calculates the business objective score based on the current business scenario identifier, the current task stage, and the business process node. Based on risk warnings, current emotional state, complaint risk labels, human agent labels, and compliance policy identifiers, the triggers for manual referral are calculated. .
[0106] Business Target Score Indicates the first The degree of matching between each candidate interaction action and the current business process node, and the business objective score. The selection is determined based on whether the candidate interaction action advances the current task stage, completes the current slot set, conforms to the current business task identifier, and meets the compliance policy identifier.
[0107] Artificial transfer of hair item Indicates the first The degree to which each candidate interactive action satisfies the conditions for human agent transfer, and the triggering item for human agent transfer. The determination is based on the recall status of the risk warning memory, the negative emotional state in the current emotional state, the complaint risk label, the human agent label, and the current business permissions.
[0108] When a risk warning memory is marked for direct invocation, or when the current emotional state and the complaint risk label together meet the conditions for manual transfer, the manual transfer action receives a high trigger value for manual transfer. Conversely, when the current business scenario indicates that manual transfer is not allowed or the risk warning memory is in a prohibited invocation state, the manual transfer action does not receive a trigger value for manual transfer. The business objective score and the manual transfer trigger value mean that the candidate interaction action scoring process is simultaneously constrained by both business process objectives and risk handling conditions.
[0109] S4-8: Calculate the overall score of candidate interactive actions.
[0110] The voice-activated agent combines the current semantic matching score, memory consistency score, business objective score, repeated interaction penalty item, historical rejection avoidance item, and manual transfer trigger item into a comprehensive score. The comprehensive score is calculated using the following formula: In the formula, Indicates the first The overall score of each candidate interactive action. This indicates the current semantic matching score. Indicates the memory consistency score, Indicates the score for business objectives. This indicates a penalty for repeated interactions. This indicates that history refuses to be avoided. Indicates artificial transfer of the trigger. The weight coefficients represent the current semantic matching score. The weighting coefficients representing the memory consistency score. The weighting coefficients representing the scores of business objectives. This represents the deduction weight coefficient for the repeated interaction penalty item. This represents the deduction weighting coefficient for historical rejection and avoidance items. This represents the weighting coefficient of the artificially transferred triggering term.
[0111] The current semantic matching score connects candidate interaction actions with the current user expression; the memory consistency score connects candidate interaction actions with long-term memory states; the business objective score connects candidate interaction actions with business process nodes; the repeated interaction penalty item restricts repeated inquiries and repeated outreach; the historical rejection avoidance item restricts triggering historical rejection reasons; and the manual transfer trigger item puts the risk warning status and manual agent transfer conditions into the candidate interaction action sorting.
[0112] S4-9: Generate candidate interactive action rating results.
[0113] The voice agent writes the comprehensive score of each candidate interaction action, the current semantic matching score, the memory consistency score, the business goal score, the repeated interaction penalty item, the historical rejection avoidance item, the manual transfer trigger item, the reference hierarchical memory unit identifier, the reference hierarchical memory unit callable status, and the compliance restriction identifier into the candidate interaction action score result.
[0114] After the candidate interaction action score is generated in step S4, step S5 converts the score into a personalized interaction strategy that the voice agent can execute based on the comprehensive score of each candidate interaction action in the candidate interaction action set, the callable state of the reference hierarchical memory unit, the compliance restriction identifier and the current business process node.
[0115] For example, the implementation process of step S5 includes the following steps in sequence: S5-1: Rank the candidate interactive action set by comprehensive scoring.
[0116] The voice agent reads the candidate interaction action scoring results generated in step S4 and performs them according to the comprehensive score. Sort the set of candidate interaction actions. Overall score. Indicates the first The selection criteria for each candidate interaction action are determined by the current semantic state of the session, the candidate memory set, and the current business scenario identifier. During the ranking process, the voice agent simultaneously reads the current semantic matching score, memory consistency score, business objective score, repeated interaction penalty item, historical rejection avoidance item, and manual transfer trigger item corresponding to the candidate interaction action, so that the ranking result retains the correspondence between the candidate interaction action and the current user expression, hierarchical memory unit, business process node, and manual agent transfer condition.
[0117] S5-2: Perform output verification.
[0118] The voice agent reads candidate interaction actions sequentially according to the comprehensive score ranking results, and performs compliance rule verification, sensitivity level verification, prohibited call status verification, and business process node verification on the candidate interaction actions. Compliance rule verification determines whether the candidate interaction action conforms to the compliance policy identifier corresponding to the current business scenario identifier; sensitivity level verification determines whether the hierarchical memory unit referenced by the candidate interaction action is allowed to participate in output under the current business permissions; prohibited call status verification determines whether the candidate interaction action references a hierarchical memory unit with a prohibited call status; and business process node verification determines whether the candidate interaction action is suitable for the current task stage and task process node.
[0119] When the candidate interaction action with the highest comprehensive score involves a hierarchical memory unit that is prohibited from being invoked, or whose sensitivity level exceeds the current business permissions or is not allowed to be output according to compliance rules, the voice agent removes the candidate interaction action with the highest comprehensive score and continues to perform pre-output verification among the remaining candidate interaction actions.
[0120] S5-3: Determine the target interaction action.
[0121] The voice agent identifies candidate interactive actions that have passed pre-output verification and meet the action output conditions as target interactive actions. Action output conditions include: the overall score reaching the action output threshold; the candidate interactive action not referencing hierarchical memory units with prohibited access states; the sensitivity level of the hierarchical memory units referenced by the candidate interactive action not exceeding the current business permissions; the candidate interactive action adapting to the current business process node; and the candidate interactive action meeting compliance rules. Target interactive actions include personalized reply actions, confirmatory question actions, objection handling actions, SMS follow-up actions, actions to reduce contact, actions to transfer to human agents, or task status update actions.
[0122] S5-4: Generate personalized response content.
[0123] The voice agent generates personalized responses based on the target interaction action, candidate memory set, and current conversation semantic state. For target interactions that directly reference stable preference memories and fact-confirming memories, the voice agent incorporates corresponding historical information into the personalized response, ensuring the response continues the user's past communication preferences or already confirmed business information. For target interactions that reference hierarchical memory units invoked after confirmation, the voice agent generates confirmatory questions, allowing low-confidence or slightly conflicting historical information to enter the user's confirmation process first, rather than being directly incorporated as factual content. For target interactions that reference rejection / disagreement memories, the voice agent adjusts its delivery, avoiding business recommendations, contact times, channels, or delivery styles corresponding to historical rejection reasons. For target interactions that reference risk warning memories, the voice agent generates risk review content or a summary of human agent transfers.
[0124] S5-5: Output personalized interaction strategies.
[0125] The voice-activated agent translates target interactive actions into personalized interaction strategies. These personalized interaction strategies include voice broadcast strategies, next-round question strategies, SMS follow-up strategies, contact frequency control strategies, human agent transfer strategies, and task status update strategies.
[0126] The voice broadcast strategy includes the text content and broadcast round markers that the voice broadcast component needs to broadcast; the next round question strategy includes the next round slot target and question path that the dialogue state tracking component needs to update; the SMS follow-up strategy includes the SMS content, sending timing, and business task association identifier that the SMS component needs to send; the reach frequency control strategy includes the reach interval, reach channel, and reach number limit that the task scheduling component needs to update; the human agent transfer strategy includes the transfer timing, transfer summary, and risk warning content that the human agent collaboration component needs to receive; and the task status update strategy includes the task status change instructions that the business system needs to execute.
[0127] S5-6: Record the target interactive action invocation status.
[0128] After outputting a personalized interaction strategy, the voice agent records the target interaction action, the hierarchical memory unit invoked by the target interaction action, the callable state of the hierarchical memory unit, the output time, and the current business process node. The target interaction action invocation state describes the long-term memory state referenced by the target interaction action in the current user session, the referencing method, and the output time.
[0129] After outputting the personalized interaction strategy and recording the target interaction action call status in step S5, step S6 updates the hierarchical memory units in the long-term memory state table based on the target interaction action call status and the target interaction action execution result.
[0130] For example, the implementation process of step S6 includes the following steps in sequence: S6-1: Extract interactive feedback events.
[0131] The voice-activated intelligent agent reads the execution results of the target interactive action, user feedback data, business completion status, human agent annotation data, complaint risk annotation data, and follow-up result data, and extracts interactive feedback events from the execution results of the target interactive action.
[0132] Interactive feedback events include confirmation events, rejection events, silence events, repeated follow-up questions events, successful transfer events, business completion events, complaint risk events, and manual correction events. Confirmation events indicate that the user has given a positive response to the hierarchical memory unit content referenced by the target interaction action; rejection events indicate that the user has given a negative response to the hierarchical memory unit content, business recommendation content, or reach method referenced by the target interaction action; silence events indicate that the user has not provided clear voice feedback to the target interaction action; repeated follow-up questions events indicate that the user does not understand or has not confirmed the response or business information to the target interaction action; successful transfer events indicate that the human agent collaboration component has completed the current user session; business completion events indicate that the business process node has reached the completion state; complaint risk events indicate that the current user session has triggered a complaint risk label; and manual correction events indicate that the human agent has corrected the hierarchical memory unit content, memory category, or risk status.
[0133] S6-2: Establish a consistent relationship between interactive feedback events and invoked hierarchical memory units.
[0134] The voice agent reads the target interaction action, the hierarchical memory unit called by the target interaction action, the callable status of the hierarchical memory unit, the output time, and the current business process node recorded in the target interaction action call status, and matches the interaction feedback event with the called hierarchical memory unit.
[0135] For stable preference memories and fact-confirmed memories that are directly invoked, explicit user confirmation, business completion events, or human agent confirmation are marked as consistent feedback; explicit user rejection, human correction events, or complaint risk events are marked as conflicting feedback.
[0136] For hierarchical memory units invoked after confirmation, a positive response from the user to a confirmatory question is marked as consistent feedback, a negative response from the user to a confirmatory question is marked as conflicting feedback, and a silent event or a repeated follow-up question is marked as feedback to be observed.
[0137] For rejections and objections, if the user expresses the same reason for rejection again in subsequent interactions, it is marked as consistent feedback; if the user clearly expresses their willingness to change, it is marked as conflicting feedback.
[0138] For risk warnings, complaints about risk events, requests for manual review, or confirmations from human agents are marked as consistent feedback, while the removal of risk labels by human agents is marked as conflicting feedback.
[0139] S6-3: Update the confidence of hierarchical memory units.
[0140] The voice agent updates the confidence level of the invoked hierarchical memory units based on the consistency relationship between interactive feedback events and the invoked hierarchical memory units. The confidence update formula is as follows: In the formula, Indicates the first The confidence level of each hierarchical memory unit after update Indicates the first Confidence level of each hierarchical memory unit before update Indicates the interaction feedback event and the first Consistent labeling of hierarchical memory units Indicates the interaction feedback event and the first A marker for conflicts in hierarchical memory units. This represents the consistent feedback increment coefficient. This represents the conflict feedback deduction coefficient. This represents a boundary handling function that limits the confidence level to between 0 and 1.
[0141] Confidence level represents the degree of credibility of hierarchical memory units as the basis for subsequent interaction decisions; the consistent feedback increment coefficient describes the extent to which user confirmation, business result support, or human agent confirmation improves credibility; the conflict feedback deduction coefficient describes the extent to which user denial, changes in business status, or manual correction reduces credibility. Explicit user confirmation, business completion events, or human agent confirmation... Take valid values and increase confidence; user explicit rejection, manual correction events, or complaint risk events make... Take the valid value and lower the confidence level; observe the feedback and do not directly change the confidence level or only adjust the confidence level according to the preset small coefficient.
[0142] S6-4: Update validity period and last invoked time.
[0143] The voice agent updates the validity period and most recent call time of the hierarchical memory unit based on the memory category, interactive feedback events, and the current business process node. The most recent call time is updated to the output time of the target interactive action or the return time of the target interactive action execution result, and is used to calculate the call interval of the hierarchical memory unit in cross-session scenarios.
[0144] The validity period update rules are implemented according to the memory category: stable preference memories have their validity period extended after multiple consistent feedbacks; fact-confirming memories have their validity period recalculated after a business completion event or a change in business status; short-term task memories become invalid or have their validity period shortened after a business completion event occurs; rejection and objection memories have their validity period shortened after the user clearly changes their intention, and have their validity period extended after the user repeatedly expresses the same reason for rejection; risk warning memories have their validity period adjusted according to the manually corrected event after manual review.
[0145] S6-5: Update conflict flags.
[0146] The voice agent detects whether there are inconsistencies between new interactive feedback events and hierarchical memory units in the long-term memory state table under the same user identity, business scenario, memory category, intent category, or slot content.
[0147] If the new interactive feedback event matches the content of a historical hierarchical memory unit, the voice agent maintains the conflict-free state of the historical hierarchical memory unit or reduces its conflict level. If the new interactive feedback event does not match the content of a historical hierarchical memory unit, the voice agent generates a conflict identifier for the historical hierarchical memory unit and generates a new candidate hierarchical memory unit based on the new interactive feedback event. The conflict identifier is used to indicate the inconsistency between the historical memory content and the current user feedback, business status, or manual correction result.
[0148] S6-6: Adjust memory categories.
[0149] The voice agent adjusts the memory categories of hierarchical memory units based on interactive feedback events, current business process nodes, and human agent annotation data. Short-term task memories are converted into fact-confirmation memories or enter an invalid state after the business completion event occurs; factual information retrieved after confirmation is converted into fact-confirmation memories after the user explicitly confirms it; rejection / objection memories maintain the rejection / objection memory category and update the rejection strength after the user repeatedly expresses the same reason for rejection; risk warning memories maintain the risk warning memory category after the human agent confirms the risk, and reduce the risk warning level or enter an invalid state after the human agent removes the risk annotation.
[0150] S6-7: Perform hierarchical memory unit merging processing.
[0151] The voice agent retrieves hierarchical memory units from the long-term memory state table that have the same content, the same business scenario identifier, the same memory category, and a time interval that meets the merging condition, and then merges the hierarchical memory units that meet the merging condition. The merging process retains the memory content description with higher confidence, and merges the generation time, most recent call time, confirmation source, confidence level, validity period, conflict identifier, sensitivity level, and call record.
[0152] The combined confidence level is formed based on the confidence levels of multiple hierarchical memory units, the source of confirmation, and the number of consistent feedbacks, for example, by weighting. In the formula, This indicates the combined confidence level. This indicates the number of hierarchical memory units involved in the merging process. Indicates the first The source weights corresponding to the hierarchical memory units participating in the merging process. Indicates the first The confidence level of each hierarchical memory unit participating in the merging. Source weights are used to reflect the different levels of support from explicit user confirmation, human agent annotation, and system inference in the merge confidence level.
[0153] S6-8: Perform hierarchical memory unit failure handling.
[0154] The voice agent detects whether hierarchical memory units in the long-term memory state table meet the failure conditions. Failure conditions include exceeding the validity period, confidence level below the failure threshold, conflict state reaching the failure condition, short-term task memory corresponding to the completed task, risk warning memory being manually reviewed and removed, and compliance policy marking prohibiting continued retention. For hierarchical memory units that meet the failure conditions, the voice agent marks the hierarchical memory unit as failed and stops it from entering the subsequent candidate memory set for selection. For hierarchical memory units that do not yet meet the failure conditions but have feedback to be observed, the voice agent retains the hierarchical memory unit and reduces its callability tendency.
[0155] S6-9: Write back the updated long-term memory state table.
[0156] The voice agent writes the updated confidence level, validity period, most recent call time, conflict identifier, memory category, merge status, and invalidation status back to the long-term memory state table, and records the update time, update source, and update reason. The update time describes when feedback correction occurs in the long-term memory state table; the update source distinguishes between user feedback, business completion status, human agent annotation, complaint risk annotation, and follow-up result data; and the update reason describes the triggering event corresponding to changes in confidence level, changes in validity period, generation of conflict identifiers, adjustment of memory categories, merging processing, or invalidation processing.
[0157] Example 3: This embodiment provides a personalized interaction system for a voice agent based on long-term memory enhancement. The personalized interaction system for a voice agent based on long-term memory enhancement is used to implement the personalized interaction method for a voice agent based on long-term memory enhancement described in Embodiments 1 and 2.
[0158] like Figure 2 As shown, the personalized interaction system of the voice intelligent agent based on long-term memory enhancement includes a data acquisition and synchronization module, a conversation semantic state generation module, a long-term memory state modeling module, a candidate memory screening module, an interaction strategy decision output module, and an interaction feedback update module.
[0159] The data acquisition and synchronization module is connected to the session semantic state generation module and the long-term memory state modeling module. It is used to receive current session data, user historical interaction data and business scenario data, and send the current session data to the session semantic state generation module, the user historical interaction data to the long-term memory state modeling module, and the business scenario data to the session semantic state generation module, the long-term memory state modeling module and the candidate memory filtering module.
[0160] The session semantic state generation module is connected to the candidate memory filtering module and the interaction strategy decision output module. It is used to generate the current session semantic state based on the current session data and output the current session semantic state to the candidate memory filtering module and the interaction strategy decision output module.
[0161] The long-term memory state modeling module is connected to the candidate memory filtering module and the interactive feedback update module. It is used to generate a long-term memory state table based on the user's historical interaction data and output the long-term memory state table to the candidate memory filtering module. The long-term memory state modeling module is also used to receive the memory update results returned by the interactive feedback update module and maintain the long-term memory state table based on the memory update results.
[0162] The candidate memory filtering module is connected to the interaction strategy decision output module. It is used to generate a candidate memory set based on the current session semantic state, the current business scenario identifier, and the long-term memory state table, and output the candidate memory set and the callable state of the hierarchical memory units in the candidate memory set to the interaction strategy decision output module.
[0163] The interaction strategy decision output module is connected to the interaction feedback update module, and also connects to external voice broadcasting components, SMS follow-up components, task management components, and human agent collaboration components. It determines the target interaction action based on the current conversation semantic state, the current business scenario identifier, and the candidate memory set, and outputs a personalized interaction strategy corresponding to the target interaction action. The external voice broadcasting component, SMS follow-up component, task management component, and human agent collaboration component execute the corresponding interaction action according to the personalized interaction strategy.
[0164] The interactive feedback update module is connected to the long-term memory state modeling module. It is used to receive the execution result of the target interactive action, generate the memory update result based on the execution result of the target interactive action, and feed the memory update result back to the long-term memory state modeling module.
[0165] During operation, current session data, user historical interaction data, and business scenario data enter the data acquisition and synchronization module; current session data is processed by the session semantic state generation module to form the current session semantic state; user historical interaction data is processed by the long-term memory state modeling module to form a long-term memory state table; the candidate memory filtering module generates a candidate memory set based on the current session semantic state, the current business scenario identifier, and the long-term memory state table; the interaction strategy decision output module outputs personalized interaction strategies based on the candidate memory set; and the interaction feedback update module generates memory update results based on the execution results of the personalized interaction strategies and feeds the memory update results back to the long-term memory state modeling module.
[0166] For example, the data acquisition and synchronization module includes a session data acquisition unit, a historical data reading unit, a business scenario synchronization unit, and a data format verification unit. The session data acquisition unit receives the voice stream, text stream, turn markers, silence markers, and interruption markers from the current interaction process of the voice agent. The historical data reading unit reads the user's historical interaction data based on the user's identity identifier. The business scenario synchronization unit generates a current business scenario data package based on the current business task identifier, current interaction channel identifier, task flow node, and business line identifier. The data format verification unit is connected to the session data acquisition unit, the historical data reading unit, and the business scenario synchronization unit, respectively. The data format verification unit performs field verification, time stamp verification, and user identity identifier verification on data from different sources, and outputs the verified data to the corresponding subsequent modules.
[0167] For example, the conversation semantic state generation module includes a speech-to-text conversion unit, a semantic understanding unit, an intent slot recognition unit, and a current conversation state encapsulation unit. The speech-to-text conversion unit converts the current conversation speech stream into a current conversation text stream, retaining the start and end times of speech segments, speech recognition confidence, and turn markers. The semantic understanding unit is connected to the speech-to-text conversion unit and generates a current conversation semantic vector based on the current conversation text stream. The intent slot recognition unit is connected to the semantic understanding unit and generates a current intent category and a current slot set based on the current conversation semantic vector. The current conversation state encapsulation unit is connected to the intent slot recognition unit and encapsulates the current intent category, current slot set, current emotional state, current task stage, current dialogue turn, and current conversation semantic vector into a current conversation semantic state.
[0168] For example, the long-term memory state modeling module includes a historical interaction event segmentation unit, a memory unit generation unit, a memory category labeling unit, a long-term memory state table maintenance unit, a memory state storage unit, and a memory update receiving unit. The historical interaction event segmentation unit is used to segment the user's historical interaction data set into historical interaction events. The memory unit generation unit is connected to the historical interaction event segmentation unit and is used to generate hierarchical memory units from historical interaction events. The memory category labeling unit is connected to the memory unit generation unit and is used to label the hierarchical memory units with stable preference memories, fact-confirming memories, short-term task memories, rejection-dissent memories, or risk-warning memories. The long-term memory state table maintenance unit is connected to the memory category labeling unit and is used to establish and maintain a long-term memory state table based on the hierarchical memory units. The memory state storage unit is connected to the long-term memory state table maintenance unit and is used to store the long-term memory state table and provide a searchable interface to the candidate memory filtering module. The memory update receiving unit is connected to the interactive feedback update module and the long-term memory state table maintenance unit. The memory update receiving unit is used to receive the memory update result output by the interactive feedback update module and send the memory update result to the long-term memory state table maintenance unit.
[0169] For example, the candidate memory filtering module includes a scenario matching unit, a semantic matching unit, a confidence level filtering unit, a conflict state judgment unit, and a callable status marking unit. The scenario matching unit filters hierarchical memory units related to the current business scenario based on the current business scenario identifier. The semantic matching unit, connected to the scenario matching unit, filters hierarchical memory units related to the current user expression based on the current session semantic state. The confidence level filtering unit, connected to the semantic matching unit, determines whether a hierarchical memory unit meets the calling conditions based on its confidence level and validity period. The conflict state judgment unit, connected to the confidence level filtering unit, identifies hierarchical memory units with conflict identifiers, expired states, or mismatched sensitivity levels. The callable status marking unit, connected to the conflict state judgment unit, marks hierarchical memory units as directly callable, degraded callable, callable after confirmation, or prohibited from callable.
[0170] For example, the interaction strategy decision output module includes a candidate interaction action generation unit, an action scoring unit, a target interaction action determination unit, a strategy encapsulation unit, and a strategy distribution unit. The candidate interaction action generation unit generates a set of candidate interaction actions based on the current session semantic state, the current business scenario identifier, and business process nodes. The action scoring unit, connected to the candidate interaction action generation unit, determines the scoring result of each candidate interaction action in the candidate interaction action set based on the current session semantic state and the candidate memory set. The target interaction action determination unit, connected to the action scoring unit, determines the target interaction action based on the scoring result, compliance rules, sensitivity level, and business process nodes. The strategy encapsulation unit, connected to the target interaction action determination unit, encapsulates the target interaction action into a personalized interaction strategy. The strategy distribution unit, connected to the strategy encapsulation unit, an external voice broadcast component, an SMS follow-up component, a task management component, and a human agent collaboration component, sends the personalized interaction strategy to the corresponding external components.
[0171] For example, the interactive feedback update module includes an execution result receiving unit, a feedback event identification unit, a memory update generation unit, a conflict identifier generation unit, and an update result feedback unit. The execution result receiving unit receives execution results returned by the voice broadcast component, SMS follow-up component, task management component, and human agent collaboration component. The feedback event identification unit is connected to the execution result receiving unit and is used to identify confirmation events, rejection events, silence events, repeated follow-up events, successful transfer events, business completion events, complaint risk events, and manual correction events based on the execution results. The memory update generation unit is connected to the feedback event identification unit and is used to generate confidence update results, validity period update results, most recent call time update results, and memory category adjustment results based on the feedback event and the target interactive action call status. The conflict identifier generation unit is connected to the feedback event identification unit and the memory update generation unit and is used to generate conflict identifier update results when there is inconsistency between the feedback event and the invoked hierarchical memory unit. The update result feedback unit is connected to the memory update generation unit, the conflict identifier generation unit, and the long-term memory state modeling module. The update result feedback unit is used to send the memory update result to the long-term memory state modeling module.
[0172] The interactive feedback update module and the long-term memory state modeling module form a feedback connection. The interactive feedback update module converts the feedback state after the target interactive action is executed into a memory update result, and the long-term memory state modeling module maintains the long-term memory state table based on the memory update result, so that the long-term memory state table is continuously updated during cross-session interactions.
[0173] Based on the preferred embodiments of the present invention described above, those skilled in the art can make various changes and modifications without departing from the inventive concept. The technical scope of this invention is not limited to the contents of the specification, but must be determined according to the scope of the claims.
Claims
1. A personalized interaction method for a voice-based intelligent agent based on long-term memory enhancement, characterized in that, Includes the following steps: S1: Collect the current conversation data, user historical interaction data, and business scenario data of the voice intelligent agent, and generate the current conversation semantic state, user historical interaction data set, and current business scenario identifier; S2: Convert the user's historical interaction data set into hierarchical memory units, and generate a long-term memory state table based on the hierarchical memory units; S3: Based on the current session semantic state and the current business scenario identifier, filter the candidate memory set from the long-term memory state table, and determine the callable state of the hierarchical memory units in the candidate memory set; S4: Generate a set of candidate interaction actions based on the current session semantic state, the current business scenario identifier, and the candidate memory set, and calculate the comprehensive score of each candidate interaction action in the set of candidate interaction actions; S5: Determine the target interaction action from the candidate interaction action set based on the comprehensive score, and output the personalized interaction strategy corresponding to the target interaction action; S6: Update the hierarchical memory units in the long-term memory state table based on the execution result of the target interaction action.
2. The method according to claim 1, characterized in that, In step S2, converting the user's historical interaction data set into hierarchical memory units includes segmenting and semantically merging historical interaction events, and generating hierarchical memory units that contain memory content, business scenario identifiers, intent categories, user preferences, confirmation sources, generation time, most recent call time, confidence level, validity period, conflict identifiers, sensitivity levels, and memory categories.
3. The method according to claim 2, characterized in that, In step S2, an initial confidence level is assigned to the hierarchical memory unit. The initial confidence level is calculated based on the confirmation source, consistency of historical feedback, business completion status, and human agent annotations.
4. The method according to claim 2, characterized in that, In step S2, an expiration period, conflict flag, and sensitivity level are set for the hierarchical memory unit. The expiration period is determined based on the memory category and business rules. The conflict flag indicates the consistency status between the hierarchical memory unit and similar historical content or new feedback. The sensitivity level is used to restrict the scope of access to the hierarchical memory unit under different business permissions.
5. The method according to claim 1, characterized in that, In step S3, the selection of candidate memory sets includes business scenario matching, semantic matching, time decay calculation, confidence gating and conflict state judgment, and the callable state of the hierarchical memory unit is determined based on the above states. The callable state includes direct call, degraded call, call after confirmation and prohibited call.
6. The method according to claim 5, characterized in that, In step S4, a set of candidate interactive actions is generated, including personalized reply actions, confirmation question actions, objection handling actions, SMS follow-up actions, reduced reach actions, human agent transfer actions, and task status update actions. An action coding state is constructed for each candidate interactive action.
7. The method according to claim 6, characterized in that, In step S4, the comprehensive score of the candidate interaction action is calculated, which includes a weighted combination of the current semantic matching score, memory consistency score, business goal score, repeated interaction penalty item, historical rejection avoidance item and manual transfer trigger item. This is used to determine the action selection basis of the candidate interaction action under the current session semantic state, candidate memory set and current business scenario identifier.
8. The method according to claim 7, characterized in that, In step S5, determining the target interaction action includes comprehensively scoring and ranking the candidate interaction action set, and performing compliance rule verification, sensitivity level verification, prohibited call status verification, and business process node verification.
9. The method according to claim 8, characterized in that, In step S6, updating the long-term memory state table includes extracting interactive feedback events, establishing a consistency relationship between feedback events and called hierarchical memory units, updating the confidence level of hierarchical memory units, updating the validity period and the most recent call time, updating the conflict identifier, adjusting the memory category, performing hierarchical memory unit merging and invalidation processing, and writing the updated hierarchical memory units back to the long-term memory state table.
10. A personalized interactive system for a voice-activated intelligent agent based on long-term memory enhancement, used to implement the method according to any one of claims 1 to 9, characterized in that, It includes a data acquisition and synchronization module, a conversation semantic state generation module, a long-term memory state modeling module, a candidate memory filtering module, an interaction strategy decision output module, and an interaction feedback update module; Among them, the data acquisition and synchronization module is connected to the session semantic state generation module and the long-term memory state modeling module, and is used to receive current session data, user historical interaction data and business scenario data and send them to the corresponding modules. The conversation semantic state generation module is used to generate the current conversation semantic state and output it to the candidate memory filtering module and the interaction strategy decision output module; The long-term memory state modeling module is used to generate and maintain the long-term memory state table and receive the memory update results returned by the interactive feedback update module; The candidate memory filtering module is used to generate a set of candidate memories and output it to the interactive strategy decision output module; The interaction strategy decision output module is used to determine the target interaction action and output the corresponding personalized interaction strategy to the external voice broadcast component, SMS component, task management component and human agent collaboration component; The interactive feedback update module is used to receive the execution result of the target interactive action and generate a memory update result to feed back to the long-term memory state modeling module.
