EvoEmbedding: 面向长上下文检索与智能体记忆的可演化表示
EvoEmbedding: Evolvable Representations for Long-Context Retrieval and Agentic Memory
AI总结:
提出EvoEmbedding模型,通过持续更新的潜在记忆生成可演化嵌入,实现基于动态上下文的检索,在长上下文基准上超越更大规模模型,并泛化到下游任务。
摘要:
现有的嵌入模型本质上是静态的:它们孤立地编码文本片段,忽略其周围上下文和时间顺序。本文介绍了EvoEmbedding,一种新颖的嵌入模型,可生成用于检索的可演化表示。它专为长上下文场景设计,其中信息是动态的、顺序的,并且需要连续的状态跟踪。我们的设计很简单:EvoEmbedding在顺序处理输入时维护一个持续更新的潜在记忆,并将其与原始内容一起用于联合生成可演化嵌入。因此,对于相同的查询,我们的模型会根据演化的上下文调整其表示以检索不同的目标,超越了静态语义搜索。为了使模型具备这种能力,我们构建了EvoTrain-180K,一个用于潜在记忆和检索联合优化的多样化数据集。此外,我们引入了记忆队列以防止循环编码过程中的表示崩溃,以及分段批处理技术来处理显著的长度变化并将训练加速3.8倍。大量实验表明,我们的模型不仅在各种长上下文检索基准上优于更大规模的专业模型(例如Qwen3-Embedding-8B和KaLM-Embedding-Gemma3-12B),而且在下游任务(例如个性化)中也能很好地泛化,其上下文长度是训练窗口的10倍。值得注意的是,EvoEmbedding可以无缝集成到智能体工作流中以提升性能。例如,配备我们模型的朴素RAG管道超越了专用的智能体记忆系统。项目页面:此 https URL。
英文摘要:
Existing embedding models are inherently static: they encode text segments in isolation, ignoring their surrounding context and temporal order. This paper introduces EvoEmbedding, a novel embedding model that generates evolvable representations for retrieval. It is tailored for long-context scenarios, where information is dynamic, sequential, and requires continuous state tracking. Our design is simple: EvoEmbedding maintains a continuously updated latent memory as it sequentially processes inputs, and uses it alongside the raw content to jointly generate evolvable embeddings. Consequently, for the same query, our model adapts its representation to retrieve distinct targets based on the evolving context, going beyond static semantic search. To equip the model with this capability, we construct EvoTrain-180K, a diverse dataset for the joint optimization of latent memory and retrieval. Furthermore, we introduce a memory queue to prevent representation collapse during recurrent encoding, alongside segment-batching techniques that tackle significant length variance and accelerate training by 3.8$\times$. Extensive experiments show that our model not only outperforms larger-scale specialists (e.g., Qwen3-Embedding-8B and KaLM-Embedding-Gemma3-12B) across a range of long-context retrieval benchmarks, but also generalizes well to downstream tasks (e.g., personalization) with contexts 10$\times$ longer than its training window. Notably, EvoEmbedding seamlessly integrates into agentic workflows to boost performance. For instance, a naive RAG pipeline equipped with our model surpasses dedicated agentic memory systems. Project Page: https://clare-nie.github.io/EvoEmbedding/.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。