基于长期记忆的智能体长程任务一致性保持方法

By generating memory snapshots and quantifying context drift entropy during long-term task execution by an agent, and using a risk prediction model to calculate risk probability values, the problem of memory promiscuity and drift after external asynchronous interruption is solved, thus improving the stability and reliability of task recovery.

CN122174867BActive Publication Date: 2026-07-17SHENZHEN LAIDA SIWEI INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN LAIDA SIWEI INFORMATION TECH CO LTD
Filing Date
2026-05-12
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In existing technologies, when an agent performs long-term tasks, the historical memory and the current target node are easily mixed and drifted after an external asynchronous interruption. This makes it difficult to accurately match the effective context during the recovery phase, and it can easily cause state judgment deviations and task execution deviations in complex scenarios, reducing the stability and reliability of long-term tasks of the agent.

Method used

During the execution of long-term tasks by the intelligent agent, it responds to external asynchronous interruption events, obtains task execution logs and current state context to generate memory snapshots, converts them into snapshot feature vectors and stores them in a vector memory bank, retrieves historical memory snapshots through similarity, quantifies context drift entropy, calculates risk probability values ​​using a risk prediction model, and generates control commands to drive state transitions or trigger memory cleaning processes to ensure consistency.

Benefits of technology

It achieves consistency and traceability of task execution during the interruption recovery phase. By quantifying the effect of context drift and entropy increase, it solves the promiscuity and drift problems of agents performing long-term tasks in existing technologies, and improves the stability and reliability of agents performing long-term tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122174867B_ABST
    Figure CN122174867B_ABST
Patent Text Reader

Abstract

本发明涉及人工智能与智能体任务控制技术领域,具体为基于长期记忆的智能体长程任务一致性保持方法,包括:在智能体基于分层有限状态机执行长程任务时,响应外部异步中断事件,获取任务执行日志和当前状态上下文,生成记忆快照并向量化存入向量记忆库;在恢复并触发状态转移时,基于当前转移目标节点检索历史记忆快照序列,进行语义散度计算以量化上下文漂移熵,并映射得到风险概率值;将风险概率值分别与预设的安全阈值、预设的危险阈值比对,分别驱动默认状态转移、局部记忆过滤或挂起长程任务并触发记忆清洗与逻辑对齐流程,以降低错误记忆拼接导致的执行偏差。
Need to check novelty before this filing date? Find Prior Art