From Static to Dynamic: A Continual Learning Framework for Large Language Models

Mingzhe Du, Anh Tuan Luu, Bin Ji, See-kiong Ng
10/22/2023
cs.CL

Official code: Elfsong/DynaMind (8 stars, MIT, last commit 2025-03-19).

Abstract

The vast number of parameters in large language models (LLMs) endows them with remarkable capabilities, allowing them to excel in a variety of natural language processing tasks. However, this complexity also presents challenges, making LLMs difficult to train and inhibiting their ability to continuously assimilate new knowledge, which may lead to inaccuracies in their outputs. To mitigate these issues, this paper presents DynaMind, a novel continual learning framework designed for LLMs. DynaMind incorporates memory mechanisms to assimilate new knowledge and modular operators to enhance the model inference process with the newly assimilated knowledge, consequently improving the accuracies of LLMs' outputs. Benchmark experiments demonstrate DynaMind's effectiveness in overcoming these challenges. The code and demo of DynaMind are available on GitHub: https://github.com/Elfsong/DynaMind.

View on arXivView PDF

Code Implementations(1)

Elfsong/DynaMindOfficial100%
MIT
83HTML, ShellMay 1, 20231 years agoMIT

Similar Papers

Cite this paper

@article{du2023from,
  title  = {From Static to Dynamic: A Continual Learning Framework for Large Language Models},
  author = {Mingzhe Du and Anh Tuan Luu and Bin Ji and See-kiong Ng},
  year   = {2023},
  eprint = {2310.14248},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.14248v1}
}

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/2310.14248.svg)](https://codeofpaper.com/paper/2310.14248)

Discussion