Conversation Tree Architecture: A Structured Framework for Context-Aware Multi-Branch LLM Conversations
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly deployed for extended, multi-topic conversations, yet the flat, append-only structure of current conversation interfaces introduces a fundamental limitation: all context accumulates in a single unbounded window, causing topically distinct threads to bleed into one another and progressively degrade response quality. We term this failure mode logical context poisoning. In this paper, we introduce the Conversation Tree Architecture (CTA), a hierarchical framework that organizes LLM conversations as trees of discrete, context-isolated nodes. Each node maintains its own local context window; structured mechanisms govern how context flows between parent and child nodes, downstream on branch creation and upstream on branch deletion. We additionally introduce volatile nodes, transient branches whose local context must be selectively merged upward or permanently discarded before purging. We formalize the architecture's primitives, characterize the open design problems in context flow, relate our framework to prior work in LLM memory management, and describe a working prototype implementation. The CTA provides a principled foundation for structured conversational context management and extends naturally to multi-agent settings.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 13 of its 21 references that are in the map. First posted on arXiv 22 Mar 2026.
Builds on
13 of 21 references.
References · 13
- 2017Attention Is All You Needcited by 59,932
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 800
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
- 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrievalcited by 118
- 2024HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Modelcited by 101
- 2024From Isolated Conversations to Hierarchical Schemas: Dynamic Tree Memory Representation for LLMscited by 77
- 2025Context as a Tool: Context Management for Long-Horizon SWE-Agentscited by 38
Built on by
Not cited yet.