Collaboratively adding new knowledge to an LLM

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Lee, Rhui Dih, Wynter, Laura
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912092715483136
author Lee, Rhui Dih
Wynter, Laura
author_facet Lee, Rhui Dih
Wynter, Laura
contents We address the question of how to successively add new knowledge to an LLM whilst retaining previously-added knowledge. We consider two settings, semi-cooperative and fully-cooperative. Overall, LoRA performs better in most cases than full-fine tuning of all parameters when both new knowledge acquisition and retention of old, including recent, knowledge are taken into account. In the semi-cooperative setting, where datasets are not available after training, MOE mixing, model merging, and LoRA-based orthogonal subspace sequential learning, using a small weight on the orthogonality term, perform well. In the fully-cooperative setting where datasets remain available, joint training and sequential training with replay are both effective approaches with LoRA training generally preferable to full fine-tuning. The codes needed to reproduce the results are provided in an open source repository.
format Preprint
id arxiv_https___arxiv_org_abs_2410_14753
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Collaboratively adding new knowledge to an LLM
Lee, Rhui Dih
Wynter, Laura
Machine Learning
Artificial Intelligence
Computation and Language
We address the question of how to successively add new knowledge to an LLM whilst retaining previously-added knowledge. We consider two settings, semi-cooperative and fully-cooperative. Overall, LoRA performs better in most cases than full-fine tuning of all parameters when both new knowledge acquisition and retention of old, including recent, knowledge are taken into account. In the semi-cooperative setting, where datasets are not available after training, MOE mixing, model merging, and LoRA-based orthogonal subspace sequential learning, using a small weight on the orthogonality term, perform well. In the fully-cooperative setting where datasets remain available, joint training and sequential training with replay are both effective approaches with LoRA training generally preferable to full fine-tuning. The codes needed to reproduce the results are provided in an open source repository.
title Collaboratively adding new knowledge to an LLM
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2410.14753