Enhancing Long-term Memory Using Hierarchical Aggregate Tree For Retrieval Augmented Generation · The Large Language Model Bible Contribute to LLM-Bible

Enhancing Long-term Memory Using Hierarchical Aggregate Tree For Retrieval Augmented Generation

A Aadharsh Aadhithya, S Sachin Kumar, P Soman K.. Arxiv 2024

[Paper]    
RAG

Large language models have limited context capacity, hindering reasoning over long conversations. We propose the Hierarchical Aggregate Tree memory structure to recursively aggregate relevant dialogue context through conditional tree traversals. HAT encapsulates information from children nodes, enabling broad coverage with depth control. We formulate finding best context as optimal tree traversal. Experiments show HAT improves dialog coherence and summary quality over baseline contexts, demonstrating the techniques effectiveness for multi turn reasoning without exponential parameter growth. This memory augmentation enables more consistent, grounded longform conversations from LLMs

Similar Work