paper-with-me

홈 › Papers

Task Memory Engine (TME): A Structured Memory Framework with Graph-Aware Extensions for Multi-Step LLM Agent Tasks

2025-04-11 · Ye Ye

Large Language Models (LLMs) are increasingly used as autonomous agents for multi-step tasks. However, most existing frameworks fail to maintain a structured understanding of the task state, often relying on linear prompt concatenation or shallow memory buffers. This leads to brittle performance, frequent hallucinations, and poor long-range coherence. In this work, we propose the Task Memory Engine (TME), a lightweight and structured memory module that tracks task execution using a hierarchical Task Memory Tree (TMT). Each node in the tree corresponds to a task step, storing relevant input, output, status, and sub-task relationships. We introduce a prompt synthesis method that dynamically generates LLM prompts based on the active node path, significantly improving execution consistency and contextual grounding. Through case studies and comparative experiments on multi-step agent tasks, we demonstrate that TME leads to better task completion accuracy and more interpretable behavior with minimal implementation overhead. A reference implementation of the core TME components is available at https://github.com/biubiutomato/TME-Agent, including basic examples and structured memory integration. While the current implementation uses a tree-based structure, TME is designed to be graph-aware, supporting reusable substeps, converging task paths, and shared dependencies. This lays the groundwork for future DAG-based memory architectures.

📄 PDF Abstract BibTeX arXiv:2504.08525

Code (1)

biubiutomato/tme-agent 공식 구현

Similar Papers 제목 키워드 기반

Memory Bear AI Memory Science Engine for Multimodal Affective Intelligence: A Technical Report

2026-03-18 · Deliang Wen, Ke Sun, Yu Wang arxiv

Affective judgment in real interaction is rarely a purely local prediction problem. Emotional meaning often depends on prior trajectory, accumulated context, and multimodal evidence that may be weak, noisy, or incomplete…

Multimodal Emotion Recognition

SAGE: A Self-Evolving Agentic Graph-Memory Engine for Structure-Aware Associative Memory

2026-05-12 · Juntong Wang, Haoyue Zhao, guanghui Pan, Xiyuan Wang 외 arxiv

Long-term memory is becoming a central bottleneck for language agents. Exsting RAG and GraphRAG systems largely treat memory graphs as static retrieval middleware, which limits their ability to recover complete evidence …

Cognitive-structured Multimodal Agent for Multimodal Understanding, Generation, and Editing

2026-07-09 · Feng Wang, Canmiao Fu, Zhipeng Huang, Chen Li 외 arxiv

Recent unified multimodal models show a single architecture can jointly perform vision/language understanding and image generation/editing. However, they repeatedly feed all historical visual and textual inputs into a sh…

Reinforcement LearningImage Generation

GraphBit: A Graph-based Agentic Framework for Non-Linear Agent Orchestration

2026-03-08 · Yeahia Sarker, Md Rahmat Ullah, Musa Molla, Shafiq Joty arxiv

Agentic LLM frameworks that rely on prompted orchestration, where the model itself determines workflow transitions, often suffer from hallucinated routing, infinite loops, and non-reproducible execution. We introduce Gra…

Task Memory Engine: Spatial Memory for Robust Multi-Step LLM Agents

2025-05-26 · Ye Ye

Large Language Models (LLMs) falter in multi-step interactions -- often hallucinating, repeating actions, or misinterpreting user corrections -- due to reliance on linear, unstructured context. This fragility stems from …

Scheduling