← heapsort-ai

memory

44 items

DOCDEV.to AI·12d ago

99. Build a Chatbot With Memory

This content explains how to build a chatbot with memory, overcoming the stateless nature of LLMs. It details patterns like conversation history, sliding window memory, summary memory, and entity memory, including using LangChain to build a multi-turn chatbot and persist memory across sessions.

27
RESEARCHarXiv CS.LG·4/27/2026

Universal Transformers Need Memory: Depth-State Trade-offs in Adaptive Recursive Reasoning

This research investigates the necessity of learned memory tokens as a computational scratchpad for Universal Transformers with Adaptive Computation Time (ACT) on a combinatorial reasoning benchmark, Sudoku-Extreme. It finds that memory tokens are empirically necessary for non-trivial performance, identifying a sharp lower threshold for optimal count and a common router initialization trap.

27
RESEARCHarXiv CS.LG·5/1/2026

When Continual Learning Moves to Memory: A Study of Experience Reuse in LLM Agents

This study investigates the role of external memory in LLM agents for continual learning, showing that the stability-plasticity dilemma resurfaces at the memory level due to limited context windows. A (k,v) framework is introduced to disentangle how experience is represented and organized, finding that abstract procedural memories transfer more reliably than detailed trajectories and finer-grained memory organization is beneficial.

27
ARTICLEDEV.to AI·4/9/2026

Always On Memory for AI Agents Without Vector DBs

Um gerente de produtos do Google lançou um projeto que desafia o uso de bancos de dados vetoriais para a memória de agentes de IA. A nova abordagem, 'Always On Memory Agent', utiliza o próprio LLM como camada de raciocínio principal sobre o contexto armazenado, eliminando a sobrecarga operacional da infraestrutura de recuperação separada.

27
ARTICLEDEV.to AI·4/9/2026

AI Agents With Long-Term Memory on a Budget

O texto aborda o problema de agentes de IA esquecerem interações passadas, uma falha fundamental que os torna superficiais. Ele propõe tratar a memória de longo prazo como um problema de recuperação, em vez de sobrecarregar a janela de contexto, para evitar altos custos e degradação de desempenho.

24