Skip to content

Persistent Episodic Memory for Large Language Models using Temporal Knowledge Graphs. Enabling coherent long-term conversations through novel memory architectures.

License

Notifications You must be signed in to change notification settings

miguelalcocker/episodic-memory-llm

Repository files navigation

Episodic Memory for Large Language Models

Python PyTorch License arXiv

🧠 Persistent Episodic Memory for LLMs using Temporal Knowledge Graphs

Overview

This project implements novel memory architectures that enable Large Language Models to maintain coherent, persistent memory across conversations. Unlike traditional approaches, we use Temporal Knowledge Graphs to capture and maintain contextual relationships over time.

Key Features

  • 🔄 Temporal Knowledge Graphs: Dynamic memory structures that evolve over time
  • 🧠 Memory Consolidation: Simulates "sleep" processes to strengthen important memories
  • Efficient Retrieval: Sub-2s response times for production deployment
  • 📊 Rigorous Evaluation: Comprehensive benchmarking against state-of-the-art

Project Status

🚧 In Development - Summer 2025 Research Project

Installation

Prerequisites

  • Python 3.8+
  • CUDA-capable GPU (recommended)
  • 16GB+ RAM

Setup

# Clone the repository
git clone https://github.com/tu-usuario/episodic-memory-llm
cd episodic-memory-llm

# Install UV (if not already installed)
pip install uv

# Create environment and install dependencies
uv sync

# Activate environment
source .venv/bin/activate  # Linux/Mac
# .venv\Scripts\activate   # Windows

About

Persistent Episodic Memory for Large Language Models using Temporal Knowledge Graphs. Enabling coherent long-term conversations through novel memory architectures.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages