paper-with-me

홈 › Papers

CMT: A Memory Compression Method for Continual Knowledge Learning of Large Language Models

2024-12-10 · Dongfang Li, Zetian Sun, Xinshuo Hu, Baotian Hu, Min Zhang

Large Language Models (LLMs) need to adapt to the continuous changes in data, tasks, and user preferences. Due to their massive size and the high costs associated with training, LLMs are not suitable for frequent retraining. However, updates are necessary to keep them in sync with rapidly evolving human knowledge. To address these challenges, this paper proposes the Compression Memory Training (CMT) method, an efficient and effective online adaptation framework for LLMs that features robust knowledge retention capabilities. Inspired by human memory mechanisms, CMT compresses and extracts information from new documents to be stored in a memory bank. When answering to queries related to these new documents, the model aggregates these document memories from the memory bank to better answer user questions. The parameters of the LLM itself do not change during training and inference, reducing the risk of catastrophic forgetting. To enhance the encoding, retrieval, and aggregation of memory, we further propose three new general and flexible techniques, including memory-aware objective, self-matching and top-aggregation. Extensive experiments conducted on three continual learning datasets (i.e., StreamingQA, SQuAD and ArchivalQA) demonstrate that the proposed method improves model adaptability and robustness across multiple base LLMs (e.g., +4.07 EM & +4.19 F1 in StreamingQA with Llama-2-7b).

📄 PDF Abstract BibTeX arXiv:2412.07393

Code (0)

등록된 구현이 없습니다.

Tasks

Continual Learning

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

Memory Bank Compression for Continual Adaptation of Large Language Models

2026-01-02 · Thomas Katraouras, Dimitrios Rafailidis arxiv

Large Language Models (LLMs) have become a mainstay for many everyday applications. However, as data evolve their knowledge quickly becomes outdated. Continual learning aims to update LLMs with new information without er…

Continual Learning

Probing Image Compression For Class-Incremental Learning

2024-03-10 · Justin Yang, Zhihao Duan, Andrew Peng, Yuning Huang 외

Image compression emerges as a pivotal tool in the efficient handling and transmission of digital images. Its ability to substantially reduce file size not only facilitates enhanced data storage capacity but also potenti…

class-incremental learningClass Incremental LearningData Compressionimage-classification+3

Compressed Context Memory For Online Language Model Interaction

2023-12-06 · Jang-Hyun Kim, Junyoung Yeom, Sangdoo Yun, Hyun Oh Song

This paper presents a context key/value compression method for Transformer language models in online scenarios, where the context continually expands. As the context lengthens, the attention process demands increasing me…

Language ModelingLanguage ModellingmodelMulti-Task Learning

Online Learned Continual Compression with Adaptive Quantization Modules

2019-11-19 · ICML 2020 1 · Lucas Caccia, Eugene Belilovsky, Massimo Caccia, Joelle Pineau

We introduce and study the problem of Online Continual Compression, where one attempts to simultaneously learn to compress and store a representative dataset from a non i.i.d data stream, while only observing each sample…

Continual LearningDecoderQuantizationReinforcement Learning

Replay4NCL: An Efficient Memory Replay-based Methodology for Neuromorphic Continual Learning in Embedded AI Systems

2025-03-21 · Mishal Fatima Minhas, Rachmad Vidya Wicaksana Putra, Falah Awwad, Osman Hasan 외

Neuromorphic Continual Learning (NCL) paradigm leverages Spiking Neural Networks (SNNs) to enable continual learning (CL) capabilities for AI systems to adapt to dynamically changing environments. Currently, the state-of…

Continual Learning