Saved in:
Bibliographic Details
Main Authors: Nguyen, Tai D., Pham, Long H., Sun, Jun
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.00454
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912053289025536
author Nguyen, Tai D.
Pham, Long H.
Sun, Jun
author_facet Nguyen, Tai D.
Pham, Long H.
Sun, Jun
contents Large Language Models (LLMs) require frequent updates to correct errors and keep pace with continuously evolving knowledge in a timely and effective manner. Recent research in it model editing has highlighted the challenges in balancing generalization and locality, especially in the context of lifelong model editing. We discover that inserting knowledge directly into the model often causes conflicts and potentially disrupts other unrelated pre-trained knowledge. To address this problem, we introduce UniAdapt, a universal adapter for knowledge calibration. Inspired by the Mixture of Experts architecture and Retrieval-Augmented Generation, UniAdapt is designed with a vector-assisted router that is responsible for routing inputs to appropriate experts. The router maintains a vector store, including multiple shards, to construct routing vectors based on semantic similarity search results. UniAdapt is fully model-agnostic and designed for seamless plug-and-play integration. Experimental results show that UniAdapt outperforms existing lifelong model editors and achieves exceptional results in most metrics.
format Preprint
id arxiv_https___arxiv_org_abs_2410_00454
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle UniAdapt: A Universal Adapter for Knowledge Calibration
Nguyen, Tai D.
Pham, Long H.
Sun, Jun
Machine Learning
Large Language Models (LLMs) require frequent updates to correct errors and keep pace with continuously evolving knowledge in a timely and effective manner. Recent research in it model editing has highlighted the challenges in balancing generalization and locality, especially in the context of lifelong model editing. We discover that inserting knowledge directly into the model often causes conflicts and potentially disrupts other unrelated pre-trained knowledge. To address this problem, we introduce UniAdapt, a universal adapter for knowledge calibration. Inspired by the Mixture of Experts architecture and Retrieval-Augmented Generation, UniAdapt is designed with a vector-assisted router that is responsible for routing inputs to appropriate experts. The router maintains a vector store, including multiple shards, to construct routing vectors based on semantic similarity search results. UniAdapt is fully model-agnostic and designed for seamless plug-and-play integration. Experimental results show that UniAdapt outperforms existing lifelong model editors and achieves exceptional results in most metrics.
title UniAdapt: A Universal Adapter for Knowledge Calibration
topic Machine Learning
url https://arxiv.org/abs/2410.00454