paper-with-me

Papers

UltraEdit: Training-, Subject-, and Memory-Free Lifelong Editing in Large Language Models

2025-05-20 · Xiaojie Gu, Guangxu Chen, Jungang Li, Jia-Chen Gu, Xuming Hu, Kai Zhang

Lifelong learning enables large language models (LLMs) to adapt to evolving information by continually updating their internal knowledge. An ideal system should support efficient, wide-ranging updates while preserving existing capabilities and ensuring reliable deployment. Model editing stands out as a promising solution for this goal, offering a focused and efficient way to revise a model's internal knowledge. Although recent paradigms have made notable progress, they often struggle to meet the demands of practical lifelong adaptation at scale. To bridge this gap, we propose ULTRAEDIT-a fundamentally new editing solution that is training-, subject- and memory-free, making it particularly well-suited for ultra-scalable, real-world lifelong model editing. ULTRAEDIT performs editing through a self-contained process that relies solely on lightweight linear algebra operations to compute parameter shifts, enabling fast and consistent parameter modifications with minimal overhead. To improve scalability in lifelong settings, ULTRAEDIT employs a lifelong normalization strategy that continuously updates feature statistics across turns, allowing it to adapt to distributional shifts and maintain consistency over time. ULTRAEDIT achieves editing speeds over 7x faster than the previous state-of-the-art method-which was also the fastest known approach-while consuming less than 1/3 the VRAM, making it the only method currently capable of editing a 7B LLM on a 24GB consumer-grade GPU. Furthermore, we construct ULTRAEDITBENCH-the largest dataset in the field to date, with over 2M editing pairs-and demonstrate that our method supports up to 1M edits while maintaining high accuracy. Comprehensive experiments on four datasets and six models show that ULTRAEDIT consistently achieves superior performance across diverse model editing scenarios. Our code is available at: https://github.com/XiaojieGu/UltraEdit.

📄 PDF Abstract BibTeX arXiv:2505.14679

Code (1)

xiaojiegu/ultraedit 공식 구현 pytorch

Tasks

GPULifelong learningModel Editing

Similar Papers 제목 키워드 기반

UltraEdit: Instruction-based Fine-Grained Image Editing at Scale

2024-07-07 · Haozhe Zhao, Xiaojian Ma, Liang Chen, Shuzheng Si 외

This paper presents UltraEdit, a large-scale (approximately 4 million editing samples), automatically generated dataset for instruction-based image editing. Our key idea is to address the drawbacks in existing image edit…

DiversityImage Editing

LifelongMemory: Leveraging LLMs for Answering Queries in Long-form Egocentric Videos

2023-12-07 · Ying Wang, Yanlai Yang, Mengye Ren

In this paper we introduce LifelongMemory, a new framework for accessing long-form egocentric videographic memory through natural language question answering and retrieval. LifelongMemory generates concise video activity…

EgoSchemaFormQuestion AnsweringRetrieval

GAN Memory with No Forgetting

2020-06-13 · NeurIPS 2020 12 · Yulai Cong, Miaoyun Zhao, Jianqiao Li, Sijia Wang 외

As a fundamental issue in lifelong learning, catastrophic forgetting is directly caused by inaccessible historical data; accordingly, if the data (information) were memorized perfectly, no forgetting should be expected. …

FormLifelong learning

An Introduction to Lifelong Supervised Learning

2022-07-10 · Shagun Sodhani, Mojtaba Faramarzi, Sanket Vaibhav Mehta, Pranshu Malviya 외

This primer is an attempt to provide a detailed summary of the different facets of lifelong learning. We start with Chapter 2 which provides a high-level overview of lifelong learning systems. In this chapter, we discuss…

Lifelong learning

Efficient Meta Lifelong-Learning with Limited Memory

2020-10-06 · EMNLP 2020 11 · ZiRui Wang, Sanket Vaibhav Mehta, Barnabás Póczos, Jaime Carbonell

Current natural language processing models work well on a single task, yet they often fail to continuously learn new tasks without forgetting previous ones as they are re-trained throughout their lifetime, a challenge kn…

Lifelong learningMulti-Task LearningQuestion Answeringtext-classification+1