Sleep-Wake Consolidation for Lifelong Conversational Memory in Local Language Models

Read full text
Authors: Vladimir Baranov
Cited by: 0

Abstract

We introduce a sleep-wake architecture for lifelong conversational memory in local language models running on consumer hardware. During wake, the system extracts facts from conversation and stores them in context. During sleep, it consolidates these facts into model weights via LoRA fine-tuning using spaced-repetition-inspired training data. We validate on a 3B parameter model (Llama-3.2-3B-Instruct-4bit) running on an 8GB MacBook Air M3, demonstrating that sleep cycles produce measurable memory formation with a narrow viable learning rate window (~1e-4) and a spaced repetition effect where repeated sleep cycles improve recall. This establishes the basic feasibility of sleep-wake memory consolidation in local LLMs.

Fields of Study & Subjects

Topic Modeling Domain Adaptation and Few-Shot Learning Natural Language Processing Techniques

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
1 February 2026
Language
EN
Document type
Preprint