[논문 리뷰] HyMem: Hybrid Memory Architecture with Dynamic Retrieval Scheduling
HyMem은 동적 온디맨드 검색과 반성 메커니즘을 갖춘 이중 수준의 메모리 아키텍처를 도입하여 LOCOMO와 LongMemEval에서 최대 92.6%의 계산 비용 감소로 최첨단 효율성과 성능을 달성한다.
Large language model (LLM) agents demonstrate strong performance in short-text contexts but often underperform in extended dialogues due to inefficient memory management. Existing approaches face a fundamental trade-off between efficiency and effectiveness: memory compression risks losing critical details required for complex reasoning, while retaining raw text introduces unnecessary computational overhead for simple queries. The crux lies in the limitations of monolithic memory representations and static retrieval mechanisms, which fail to emulate the flexible and proactive memory scheduling capabilities observed in humans, thus struggling to adapt to diverse problem scenarios. Inspired by the principle of cognitive economy, we propose HyMem, a hybrid memory architecture that enables dynamic on-demand scheduling through multi-granular memory representations. HyMem adopts a dual-granular storage scheme paired with a dynamic two-tier retrieval system: a lightweight module constructs summary-level context for efficient response generation, while an LLM-based deep module is selectively activated only for complex queries, augmented by a reflection mechanism for iterative reasoning refinement. Experiments show that HyMem achieves strong performance on both the LOCOMO and LongMemEval benchmarks, outperforming full-context while reducing computational cost by 92.6\%, establishing a state-of-the-art balance between efficiency and performance in long-term memory management.
연구 동기 및 목표
- 압축과 원시 텍스트 저장 간의 메모리 트레이드오프를 다룸으로써 LLM 에이전트의 효율적인 장기 맥락 추론을 촉진한다.
- 동적이고 필요 시 검색이 가능한 이중 granularity 메모리 시스템(레벨-1 요약 및 레벨-2 원문)을 제안한다.
- LLM 주도 심층 검색 모듈과 반성 메커니즘을 도입하여 답변을 반복적으로 다듬는다.
- 전체 맥락과 기준 방법과 비교하여 LoCoMo/LongMemEval와 같은 장기 맥락 벤치마크에서 향상된 성능과 효율성을 입증한다.
제안 방법
- 원시 대화를 이벤트 단위로 분할하고 레벨-1 요약 및 레벨-2 원문으로 저장한다(이중 granularity).
- 레벨-1 요약을 임베딩 모델로 임베드하고 역추적을 위해 해당 레벨-2 콘텐츠와 연결한다.
- 경량 메모리 모듈을 사용하여 레벨-1 단위를 빠르고 저비용으로 검색해 빠른 맥락을 형성한다.
- 경량 경로가 불완전할 때 심층 메모리 모듈을 활성화하고 거친 회상 후 LLM 기반 자체 검색으로 관련 Level-1/Level-2 콘텐츠를 찾아낸다.
- 완전성을 점검하고 다중 라운드 추론을 위해 쿼리를 반복적으로 다듬는 반성 모듈을 도입한다.

실험 결과
연구 질문
- RQ1이중 그레뉘랄러티 메모리 설계가 LLM 에이전트의 장기 대화 추론의 효율성과 효과성에 어떤 영향을 미치는가?
- RQ2경량 및 심층 메모리 검색 간의 동적 스케줄링이 정적 검색 전략보다 더 나은 균형을 만들어내는가?
- RQ3복잡한 질의에서 불완전한 추론과 환각을 줄이는 데 반성 메커니즘이 어떤 역할을 하는가?
- RQ4HyMem은 LoCoMo/LongMemEval 같은 장기 기억 및 다중 홉 추론이 요구되는 벤치마크에서 전체 맥락 및 기준 방법과 비교하여 어떤 성능을 보이는가?
주요 결과
- HyMem은 LoCoMo와 LongMemEval 벤치마크에서 효율성과 성능의 최첨단 균형을 달성한다.
- 전체 맥락 기준선에 비해 정확성을 유지하거나 향상시키면서 계산 비용을 92.6% 줄인다.
- 레벨-1(요약) 및 레벨-2(원문) 메모리는 복잡한 질의에 대해서만 심층 모듈의 동적 활성화를 통해 효과적으로 검색할 수 있게 한다.
- 경량 모듈은 약 70%의 질의를 효율적으로 처리하고, 더 어려운 경우를 위해 반성 메커니즘의 안내에 따라 심층 모듈이 호출된다.
- 소거 연구는 경량 모듈과 반성이 사용될 때 상당한 토큰 절약을 보여주며, 메모리 그레이뉘러가 조정될 때 정확도 손실이 제어된다.
- 압축 분석은 이벤트 수준의 압축이 일반적인 사전 압축 방법보다 핵심 정보를 더 잘 보존하여 망각 위험을 줄임을 시사한다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.