LEMoE: Advanced Mixture of Experts Adaptor for Lifelong Model Editing of Large Language Models
–arXiv.org Artificial Intelligence
Large language models (LLMs) require continual knowledge updates to stay abreast of the ever-changing world facts, prompting the formulation of lifelong model editing task. While recent years have witnessed the development of various techniques for single and batch editing, these methods either fail to apply or perform sub-optimally when faced with lifelong editing. In this paper, we introduce LEMoE, an advanced Mixture of Experts (MoE) adaptor for lifelong model editing. We first analyze the factors influencing the effectiveness of conventional MoE adaptor in lifelong editing, including catastrophic forgetting, inconsistent routing and order sensitivity. Based on these insights, we propose a tailored module insertion method to achieve lifelong editing, incorporating a novel KV anchor routing to enhance routing consistency between training and inference stage, along with a concise yet effective clustering-based editing order planning. Experimental results demonstrate the effectiveness of our method in lifelong editing, surpassing previous model editing techniques while maintaining outstanding performance in batch editing task. Our code will be available.
arXiv.org Artificial Intelligence
Jun-28-2024
- Country:
- Africa
- Ethiopia > Addis Ababa
- Addis Ababa (0.04)
- Rwanda > Kigali
- Kigali (0.04)
- Ethiopia > Addis Ababa
- Asia
- China
- Hong Kong (0.04)
- Jiangsu Province > Nanjing (0.04)
- Indonesia > Java Sea (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- Singapore (0.04)
- China
- Europe
- Croatia > Dubrovnik-Neretva County
- Dubrovnik (0.04)
- France > Grand Est
- Bas-Rhin > Strasbourg (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Latvia > Riga Municipality
- Riga (0.04)
- Croatia > Dubrovnik-Neretva County
- North America
- Canada
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.14)
- Ontario > Toronto (0.04)
- British Columbia > Metro Vancouver Regional District
- Dominican Republic (0.04)
- United States
- Arizona (0.04)
- California > Los Angeles County
- Long Beach (0.04)
- Hawaii > Honolulu County
- Honolulu (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Maryland > Baltimore (0.04)
- Canada
- Pacific Ocean > North Pacific Ocean
- Java Sea (0.04)
- South America (0.04)
- Africa
- Genre:
- Research Report > New Finding (0.87)
- Industry:
- Health & Medicine (0.46)
- Information Technology (0.45)
- Technology: