paper-with-me

홈 › Papers

Contextual Memory Reweaving in Large Language Models Using Layered Latent State Reconstruction

2025-02-04 · Frederick Dillon, Gregor Halvorsen, Simon Tattershall, Magnus Rowntree, Gareth Vanderpool

Memory retention challenges in deep neural architectures have ongoing limitations in the ability to process and recall extended contextual information. Token dependencies degrade as sequence length increases, leading to a decline in coherence and factual consistency across longer outputs. A structured approach is introduced to mitigate this issue through the reweaving of latent states captured at different processing layers, reinforcing token representations over extended sequences. The proposed Contextual Memory Reweaving framework incorporates a Layered Latent State Reconstruction mechanism to systematically integrate past contextual embeddings without introducing external memory modules. Experimental results demonstrate improvements in recall accuracy across a range of sequence lengths, with notable gains in the retention of rarely occurring tokens and numerical reasoning consistency. Further analysis of computational efficiency indicates that the additional processing overhead remains within acceptable thresholds, enabling scalability across different model sizes. Evaluations in long-form text generation and ambiguous query resolution highlight the capacity of memory reweaving to enhance continuity and reduce inconsistencies over extended outputs. Attention weight distributions reveal more structured allocation patterns, suggesting that reweaved latent states contribute to improved contextual awareness. The findings establish a framework for refining memory retention mechanisms in language models, addressing long-standing challenges in handling complex, multi-step reasoning tasks.

📄 PDF Abstract BibTeX arXiv:2502.02046

Code (0)

등록된 구현이 없습니다.

Tasks

Computational EfficiencyText Generation

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Aethon: A Reference-Based Replication Primitive for Constant-Time Instantiation of Stateful AI Agents

2026-04-13 · Swanand Rao, Kiran Kashalkar, Parvathi Somashekar, Priya Krishnan arxiv

The transition from stateless model inference to stateful agentic execution is reshaping the systems assumptions underlying modern AI infrastructure. While large language models have made persistent, tool-using, and coll…

Semantic Layered Embedding Diffusion in Large Language Models for Multi-Contextual Consistency

2025-01-26 · Irin Kabakum, Thomas Montgomery, Daniel Ravenwood, Genevieve Harrington

The Semantic Layered Embedding Diffusion (SLED) mechanism redefines the representation of hierarchical semantics within transformer-based architectures, enabling enhanced contextual consistency across a wide array of lin…

Computational EfficiencyLanguage ModelingLanguage ModellingText Generation

The Temporal Structure of Language Processing in the Human Brain Corresponds to The Layered Hierarchy of Deep Language Models

2023-10-11 · Ariel Goldstein, Eric Ham, Mariano Schain, Samuel Nastase 외

Deep Language Models (DLMs) provide a novel computational paradigm for understanding the mechanisms of natural language processing in the human brain. Unlike traditional psycholinguistic models, DLMs use layered sequence…

Text Generation

TradingGPT: Multi-Agent System with Layered Memory and Distinct Characters for Enhanced Financial Trading Performance

2023-09-07 · Yang Li, Yangyang Yu, Haohang Li, Zhi Chen 외

Large Language Models (LLMs), prominently highlighted by the recent evolution in the Generative Pre-trained Transformers (GPT) series, have displayed significant prowess across various domains, such as aiding in healthca…

Navigate

Layered gradient accumulation and modular pipeline parallelism: fast and efficient training of large language models

2021-06-04 · Joel Lamy-Poirier

The advent of the transformer has sparked a quick growth in the size of language models, far outpacing hardware improvements. (Dense) transformers are expected to reach the trillion-parameter scale in the near future, fo…

GPU