Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Self-Evolving LLM Memory Extraction Across Heterogeneous Tasks

About

As LLM-based assistants become persistent and personalized, they must extract and retain useful information from past conversations as memory. However, the types of information worth remembering vary considerably across tasks. We formalize the \textit{heterogeneous memory extraction} task and introduce \textbf{BEHEMOTH}, a benchmark that repurposes 18 existing datasets spanning personalization, problem-solving, and agentic tasks, using a downstream utility-driven metric for systematic evaluation. Our empirical analysis confirms that no single static extraction prompt dominates across all task categories, and that existing self-evolving prompt optimization frameworks, originally designed for homogeneous distributions, degrade when training tasks are heterogeneous. To address this, we propose \textbf{CluE}, a cluster-based self-evolving strategy that groups training examples into clusters by extraction scenarios, analyzes each cluster independently, and synthesizes cross-cluster insights to update the extraction prompt. Experiments on BEHEMOTH show that CluE generalizes effectively across heterogeneous tasks ($+$9.04\% relative gain), consistently outperforming prior self-evolving frameworks.

Yuqing Yang, Tengxiao Liu, Wang Bill Zhu, Taiwei Shi, Linxin Song, Robin Jia• 2026

Related benchmarks

TaskDatasetResultRank
Long-context Memory EvaluationBEHEMOTH LongMemEval (out-of-distribution)
Accuracy63.07
6
Memory ExtractionBEHEMOTH in-distribution (test)
Personalization (MA)65.72
6
Graduate-Level ReasoningBEHEMOTH GPQA Diamond (out-of-distribution)
Accuracy48.48
6
Tool UseBEHEMOTH ToolBench (out-of-distribution)
Success Rate26.67
6
Showing 4 of 4 rows

Other info

GitHub

Follow for update