There is a newer version of the record available.

Published August 17, 2026 | Version v4

Branching Memory for AI Conversations: An Architecture Without the Context "Wall of Text" / Ветвящаяся память для диалогов с ИИ: архитектура без «простыни» контекста

Description

EN:
Long conversations with language models run into the same recurring problem: accumulated history either stops fitting the context window or requires constant truncation, compression, or relevance-based retrieval. This paper describes an architecture that represents conversation history as an immutable, branching graph: each question-answer exchange is anode carrying a node_id, parent_id, and branch_id. The question "what to truncate" is replacedwith "which path through the graph to select." The architecture is described across six layers, including an independent structural-integrity layer (pollinator). The paper explicitly separate sexternal memory infrastructure from in-model context use (context rot), and provides anhonest comparison against existing industry approaches alongside a list of open questions.

Files are additionally protected via OpenTimestamps.

___________________________________________________________________________________________

RU:
Долгие диалоги с языковыми моделями упираются в одну и ту же проблему: накопленная история либо не помещается в окно контекста, либо требует постоянной обрезки, сжатия или выборки релевантных фрагментов. Работа описывает архитектуру, представляющую историю диалога как неизменяемый граф с ветвлением: каждый обмен «вопрос-ответ» — узел с node_id, parent_id и branch_id. Задача «что обрезать» заменяетсяна «какой путь по графу выбрать». Архитектура описана в шести слоях, включая независимый слой проверки структурной целостности (pollinator). Явно разграничены внешняя инфраструктура памяти и внутримодельное использование контекста (contextrot). Даны честное сопоставление с индустриальными подходами и открытые вопросы.

Файлы дополнительно защищены через OpenTimestamps.

Files

branching_memory_for_ai_conversations_v4_en.pdf

Files (843.7 kB)

Name Size Download all
md5:41b85694babdc04482ec0f3f552c8699
368.8 kB Preview Download
md5:daf3dfa31427abdc18d0457fdfac29ea
35.2 kB Preview Download
md5:e38c2cee5c955664e089840e5280f958
439.7 kB Preview Download

Additional details

Dates

Issued
2026-08-17