Enhancing Long-Term Memory using Hierarchical Aggregate Tree for Retrieval Augmented Generation

Aadharsh Aadhithya A, Sachin Kumar S, Soman K. P
6/10/2024
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

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

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{a2024enhancing,
  title  = {Enhancing Long-Term Memory using Hierarchical Aggregate Tree for Retrieval Augmented Generation},
  author = {Aadharsh Aadhithya A and Sachin Kumar S and Soman K. P},
  year   = {2024},
  eprint = {2406.06124},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.06124v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.06124.svg)](https://codeofpaper.com/paper/2406.06124)

Discussion