paper-with-me

Papers

Memory Decoder at Scale: A Pretrained, Parametric Long-Term Memory

2026-07-30 · Rubin Wei, Jiaqi Cao, Jiarui Wang, Junming Zhang, Qipeng Guo, Bowen Zhou, Zhouhan Lin arxiv

Decoder-only language models entangle long-term memory and reasoning in a single parameter set, making it difficult to scale memory capacity independently. Memory Decoder introduces a parametric long-term memory module but only studies it at a relatively small scale. In this work, we present Memory Decoder at Scale, scaling memory models up to 6.9B parameters and pretraining them on 300B tokens. At this data scale, the combined cost of indexing and search makes a standard Faiss pipeline infeasible. We address this bottleneck with a distributed pipeline for Faiss indexing and retrieval, together with sparse, batch-wise loading of kNN distributions. Across model scales, we find that allocating more parameters to memory yields a better parameter-performance tradeoff than scaling the base model alone. On 17 benchmarks, pairing a 6.9B general memory with Pythia-410M raises its average score from 29.86 to 37.34, surpassing Pythia-12B (37.24) with 39% fewer total parameters. For Qwen3 Base models ranging from 0.6B to 14B, 1.7B domain memories improve the average score across the three domains by more than 9 points at every scale. Overall, our results demonstrate that independently scaling pretrained memory offers a more parameter efficient path to improving language model performance.

📄 PDF Abstract BibTeX arXiv:2607.27919

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Memory Decoder: A Pretrained, Plug-and-Play Memory for Large Language Models

2025-08-13 · Jiaqi Cao, Jiarui Wang, Rubin Wei, Qipeng Guo 외 arxiv

Large Language Models (LLMs) have shown strong abilities in general language tasks, yet adapting them to specific domains remains a challenge. Current method like Domain Adaptive Pretraining (DAPT) requires costly full-p…

Domain Adaptation

MLP Memory: A Retriever-Pretrained Memory for Large Language Models

2025-08-03 · Rubin Wei, Jiaqi Cao, Jiarui Wang, Jushi Kai 외 arxiv

Modern approaches to enhancing Large Language Models' factual accuracy and knowledge utilization face a fundamental trade-off: non-parametric retrieval-augmented generation (RAG) provides flexible access to external know…

WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models

2024-05-23 · Peng Wang, Zexi Li, Ningyu Zhang, Ziwen Xu 외

Large language models (LLMs) need knowledge updates to meet the ever-growing world facts and correct the hallucinated responses, facilitating the methods of lifelong model editing. Where the updated knowledge resides in …

HallucinationModel EditingQuestion AnsweringRetrieval

Arbitrary-Scale Image Generation and Upsampling using Latent Diffusion Model and Implicit Neural Decoder

2024-03-15 · CVPR 2024 1 · Jinseok Kim, Tae-Kyun Kim

Super-resolution (SR) and image generation are important tasks in computer vision and are widely adopted in real-world applications. Most existing methods, however, generate images only at fixed-scale magnification and s…

DecoderDenoisingDiversityImage Generation+2

Unsupervised Learning of Video Representations using LSTMs

2015-02-16 · Nitish Srivastava, Elman Mansimov, Ruslan Salakhutdinov

We use multilayer Long Short Term Memory (LSTM) networks to learn representations of video sequences. Our model uses an encoder LSTM to map an input sequence into a fixed length representation. This representation is dec…

Action RecognitionDecoderTemporal Action Localization