HyperAIHyperAI

Command Palette

Search for a command to run...

한 달 전
에이전트
LLM

EvoArena: 동적 환경에서 강건한 LLM Agents를 위한 메모리 진화 추적

초록

대형 언어 모델(LLM) agents는 광범위한 벤치마크에서 강력한 성능을 달성했으나, 대부분의 평가는 정적 환경을 가정한다. 반면, 실제 환경에서의 배포는 본질적으로 동적이며, agents가 변화하는 환경과 업데이트된 작업 조건에 지속적으로 자신의 지식, 기술 및 행동을 조정하도록 요구한다. 이러한 격차를 해소하기 위해, 우리는 터미널, 소프트웨어, 소셜 도메인 전반에 걸쳐 점진적 업데이트의 시퀀스로 환경 변화를 모델링하는 벤치마크 스위트인 EvoArena를 소개한다. 또한, 우리는 메모리 진화를 구조화된 업데이트 이력으로 기록하여 agents가 메모리 내 변화에 기반하여 환경 진화에 대해 추론할 수 있도록 하는 패치 기반 메모리 패러다임인 EvoMem을 제안한다. 실험 결과, 현재 agents는 EvoArena에서 어려움을 보였으며, 진화하는 터미널, 소프트웨어, 소셜 선호도 도메인 전반에 걸쳐 평균 정확도 39.6%를 기록했다. EvoMem은 성능을 일관되게 향상시켜 EvoArena에서 평균 1.5%의 성능 향상을 보였으며, GAIA와 LoCoMo와 같은 표준 벤치마크에서도 각각 6.1%와 4.8%의 정확도 향상을 기록했다. 개별 작업뿐만 아니라, EvoMem은 EvoArena에서 관련 진화 하위 작업들의 연속된 시퀀스를 완료해야 성공할 수 있는 체인 수준 정확도를 3.7% 추가로 향상시켰다. 메커니즘 분석 결과, EvoMem은 메모리 내 증거 포착 능력을 향상시켜 완전한 진화 환경 상태의 더 효과적인 보존을 가능하게 하는 것으로 나타났다. 본 연구의 결과는 신뢰할 수 있는 agents 배포를 위해 평가 및 메모리 메커니즘 모두에서 진화 과정을 모델링하는 것이 중요함을 강조한다.

One-sentence Summary

To address the gap in static evaluations for large language model agents, this work introduces EvoArena, a benchmark suite modeling progressive updates across terminal, software, and social domains, and EvoMem, a patch-based memory paradigm recording memory evolution as structured update histories to enable reasoning about environmental changes, yielding an average accuracy gain of 1.5% on EvoArena and improving GAIA and LoCoMo benchmarks by 6.1% and 4.8% respectively.

Key Contributions

  • The paper introduces EvoArena, a benchmark suite that models environment changes as sequences of progressive updates across terminal, software, and social domains. Current agents struggle on this benchmark, achieving an average accuracy of 39.6% across the evolving domains.
  • The paper proposes EvoMem, a patch-based memory paradigm that records memory evolution as structured update histories to enable reasoning about environmental changes. This method enhances transparency by making memory evolution inspectable through patch histories that document changes and triggering evidence.
  • Results demonstrate that EvoMem yields an average gain of 1.5% on EvoArena and improves standard benchmarks such as GAIA and LoCoMo by 6.1% and 4.8%. Chain-level accuracy also increases by 3.7% on EvoArena for tasks requiring consecutive evolutionary subtasks.

Introduction

Large language model agents demonstrate strong performance on static benchmarks yet struggle in real-world deployments where interfaces, rules, and user preferences change continuously. Existing evaluation methods often rely on fixed environment snapshots, causing agents to fail when they overwrite useful historical context in favor of new information. To address this gap, the authors introduce EvoArena, a benchmark suite that models progressive updates across terminal, software, and social domains. They further propose EvoMem, a patch-based memory paradigm that records structured update histories to help agents reason about environmental changes without losing critical prior evidence.

Dataset

  • Dataset Composition and Sources

    • The authors construct EvoArena, a benchmark suite evaluating agents under persistent environment evolution across three distinct regimes.
    • Terminal-Bench-Evo extends 89 original Terminal-Bench tasks into executable workflow chains where the objective remains stable while execution conditions change.
    • SWE-Chain-Evo utilizes 50 evolution chains derived from 12 active GitHub repositories with reproducible dependencies.
    • PersonaMem-Evo builds on PersonaMem-v2 and PersonaHub to create 10 persona-level conversations focused on implicit behavioral evidence.
  • Key Details for Each Subset

    • Terminal-Bench-Evo: Contains 441 total task instances across 89 chains with a mean length of 4.96 versions. Updates cover I/O protocols, CLI interfaces, dependencies, and workspace organization.
    • SWE-Chain-Evo: Features 493 chain-step instances where milestones modify an average of 2.72 files. Each milestone includes Fail-to-Pass and Pass-to-Pass tests to validate functionality and regression.
    • PersonaMem-Evo: Includes 505 preference-inference questions paired with long interaction histories averaging 174.7K tokens per persona. Questions test single-pattern transfer, conflict resolution, and temporal trajectory prediction.
  • Data Usage and Processing

    • The data serves as an evaluation testbed rather than a training set, measuring Step Accuracy for individual tasks and Chain Accuracy for the full evolution sequence.
    • Terminal Processing: A five-stage pipeline generates inherited versions where environment changes persist across releases, ensuring later versions build on earlier realized states.
    • Software Processing: Repository states progress via oracle reference updates to prevent compounding agent errors during evaluation, isolating adaptation from execution failures.
    • Persona Processing: Dual-blind filtering removes questions solvable by persona profiles alone or without context to ensure reliance on conversational memory.
  • Metadata and Construction

    • Metadata records chain position, update types, changed components, and source preference evidence for diagnostic analysis of agent failures.
    • Evolution chains are assembled chronologically to test adaptation to new versions while preserving valid prior behavior.
    • Quality control steps include oracle validation for executability and consistency checks to ensure instruction, environment, and tests agree.

Method

The authors address a critical limitation in existing agent memory systems, which typically maintain only a single latest memory state. While effective for static environments, this design fails when knowledge is version-dependent. In evolving workflows, a rule updated for a new release may overwrite an earlier rule that remains valid for older releases or specific organizational contexts. To solve this, the authors introduce EvoMem, a framework that augments base memory systems with an explicit trace of memory evolution. Refer to the workflow environments diagram below to see the diverse settings where this evolution occurs.

EvoMem operates through two primary components: patch recording and patch-augmented retrieval. Refer to the framework diagram below for a visual overview of the system architecture. First, patch recording stores meaningful non-additive memory updates. This includes details on what changed, why it changed, and which evidence triggered the update. Second, patch-augmented retrieval retrieves relevant historical patches alongside the latest memory when a query depends on overwritten states or version-specific behavior. This design keeps the base memory system intact while making memory updates inspectable and reusable for downstream reasoning.

The goal of patch recording is to preserve behaviorally meaningful transitions. Let xtx_txt denote the input observation at time ttt, and let Mt1M_{t-1}Mt1 be the memory maintained by the base agent before observing xtx_txt. The base memory updater produces a new memory state:

Mt=U(Mt1,xt)M_t = U(M_{t-1}, x_t)Mt=U(Mt1,xt)

where UUU is an agent-specific update function. EvoMem monitors the transition from Mt1M_{t-1}Mt1 to MtM_tMt and captures memory changes that would otherwise be discarded. The system computes the difference:

Δt=Diff(Mt1,Mt)\Delta_t = \mathrm{Diff}(M_{t-1}, M_t)Δt=Diff(Mt1,Mt)

EvoMem creates a patch only for non-additive updates, such as revisions or overwrites. For each non-additive update, the system writes a patch to an append-only patch history:

pt=(τt,Ct,Ct+,rt,zt,et)p_t = (\tau_t, C_t^-, C_t^+, r_t, z_t, e_t)pt=(τt,Ct,Ct+,rt,zt,et)

Here, τt\tau_tτt denotes temporal metadata, CtC_t^-Ct and Ct+C_t^+Ct+ denote memory content before and after the update, rtr_trt records the rationale, ztz_tzt provides a semantic summary, and ete_tet stores supporting evidence. The resulting patch history is P1:t={p1,,pt}\mathcal{P}_{1:t} = \{p_1, \ldots, p_t\}P1:t={p1,,pt}.

Patch-augmented retrieval exposes version-relevant evidence only when it helps resolve a query. Given a query qqq, EvoMem first retrieves evidence from the latest memory:

cmem=Rmem(q,MT)c_{\mathrm{mem}} = R_{\mathrm{mem}}(q, M_T)cmem=Rmem(q,MT)

EvoMem then retrieves relevant patches from the history:

Pq=Rpatch(q,P1:T)\mathcal{P}_q = R_{\mathrm{patch}}(q, \mathcal{P}_{1:T})Pq=Rpatch(q,P1:T)

The final context combines both sources:

c(q)=Concat(cmem,Pq)c(q) = \mathrm{Concat}(c_{\mathrm{mem}}, \mathcal{P}_q)c(q)=Concat(cmem,Pq)

This allows the agent to ground decisions in both the current memory and the evolution trace behind it.

The framework is instantiated across various agent types. For terminal and software engineering agents, the environment evolves through specific milestones. As shown in the figure below, deployment workflows can evolve through stages such as hook and retry mechanisms, path fixes, and permission changes. Similarly, software engineering tasks involve continuous milestones on an evolving codebase. Refer to the engineering goal diagram for examples of hardening protocol behavior across versions. For social intelligence agents, the method tracks evolving user preferences over long conversations. As illustrated below, preferences can shift from general statements to specific temporal conditions across multiple turns. This separation turns memory from a single mutable store into a versioned evolution trace, allowing agents to retain access to prior states, rationales, and evidence for version-aware reasoning.

Experiment

The evaluation assesses EvoMem across evolving benchmarks like EvoArena and standard tasks to determine agent robustness under environment changes. Results demonstrate that EvoMem significantly enhances chain-level consistency by enabling agents to operationalize retrieved transition information and preserve historical constraints during software or preference evolution. Qualitative analysis confirms that the system is particularly effective when tasks require tracking dispersed temporal evidence or avoiding regressions in dependent sequences, indicating that preserving update history as retrievable evidence is crucial for maintaining reliability as task conditions change over time.

The authors evaluate the EvoMem method on standard agent benchmarks using multiple backbone models and specialized agents. The results demonstrate that adding EvoMem consistently improves task performance across all tested models compared to the baseline configuration. Both benchmarks show a positive shift in average scores, indicating that EvoMem effectively enhances agent robustness in these standard settings. EvoMem consistently yields positive performance gains across all tested models for the GAIA benchmark. The LoCoMo benchmark also shows uniform improvements when EvoMem is integrated with the base agent. Average scores increase for both benchmarks, confirming the general effectiveness of the memory augmentation.

The the the table outlines the composition of the software evolution benchmark dataset, categorizing repositories into six distinct domains such as web frameworks and cloud infrastructure. It demonstrates that the evaluation set spans a variety of software engineering contexts, aggregating multiple evolution chains and milestones across these categories. The cloud infrastructure and distributed systems domain contains the highest number of repositories and milestones. Testing frameworks comprise the smallest portion of the benchmark dataset. The dataset aggregates multiple evolution chains across various software domains to test long-horizon memory and robustness.

The the the table presents accuracy results for the PersonaMem-Evo benchmark, comparing a baseline agent configuration against one augmented with EvoMem. The results demonstrate that integrating EvoMem consistently enhances performance across all difficulty tiers, leading to a higher aggregate accuracy score. EvoMem provides a consistent performance boost over the baseline across all difficulty levels. The intermediate difficulty level shows the largest relative improvement compared to the baseline. While the hardest difficulty level starts with the highest baseline accuracy, the method still yields a positive gain.

The results present a difficulty-level analysis of the PersonaMem-Evo benchmark using the GPT-5.5 backbone, comparing the baseline agent against the version enhanced with EvoMem. Data indicates that EvoMem consistently improves performance across all difficulty levels, with the most significant gains observed at the lowest and highest difficulty tiers. EvoMem provides consistent accuracy improvements over the baseline across all difficulty levels. The performance gains are notably larger at the easiest and hardest difficulty settings compared to the middle tier. The middle difficulty level exhibits the smallest improvement margin among the three evaluated groups.

The authors analyze how EvoMem affects performance across different reasoning types in evolving preference environments. The data indicates that the method is particularly effective for tasks requiring the arbitration of competing preferences and the synthesis of scattered signals. However, it shows a slight decline in performance for temporal trajectory tasks, suggesting potential difficulties in prioritizing the most recent valid state. The approach delivers the strongest performance improvements for conflict resolution and multi-pattern synthesis tasks. Single-pattern transfer tasks benefit marginally from the inclusion of EvoMem. Temporal trajectory tasks experience a reduction in accuracy compared to the baseline system.

The study evaluates EvoMem on standard benchmarks including GAIA and LoCoMo, alongside specialized software evolution and PersonaMem-Evo datasets covering diverse domains and reasoning types. Experiments demonstrate that the method consistently improves task performance and agent robustness across multiple backbone models and difficulty tiers compared to baseline configurations, with specific analysis revealing strong gains in conflict resolution and multi-pattern synthesis tasks. Although temporal trajectory tasks experience a slight reduction in accuracy, these findings collectively validate EvoMem as a robust memory augmentation technique that enhances agent capabilities in complex, evolving environments.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp