Toward AI That Never Stops Learning

How can we build models that keep learning from experience long after their training is complete?

A useful experience should change what a model can do next.

A piece of code that fails on an empty input can teach us to check for that possibility the next time we write a program. What began as one frustrating bug can become a habit we carry into unfamiliar work.

I would like AI models to carry experience forward in this way. A correction can guide a model through the current conversation yet leave it making the same mistake with the next user. Giving the lesson a lasting place would let each useful interaction contribute to what the model can do in the future.

This is the question behind my research at OpenMIA on lifelong learning for large AI models. I am interested in how models that work with language and images can build on experience while retaining the knowledge and abilities they already rely on.

Model editing lets me study this question through a specific change to what a model knows. I work on editors that make such changes without full retraining or of earlier training examples, then follow how the correction behaves as further updates arrive.

Learning without starting over

Consider an assistant that helps students find their way around a campus. It has learned that the Lumen library is in West Hall and the Lumen laboratory is in East Hall and uses this knowledge to direct visitors.

When the library moves to North Hall, the assistant needs to learn the new address while keeping the laboratory's location intact. Students will ask about the move in different ways and keep asking as other campus information changes. Following this one correction through those situations gives us a way to see what lasting learning requires.

The questions below explore four parts of that requirement from giving the new address today to remembering it after a long history of updates.

New knowledge Lumen library: West Hall → North Hall

Apply the correction · Reliability

“Where is the Lumen library now?”

It should answer North Hall.

The first check is whether the correction reaches the answer it was meant to change so the assistant can direct the visitor to the library's new home.

Recognize another wording · Generalization

“Which building is the Lumen library in?”

It should still answer North Hall.

The new wording gives us another way to test whether the model can find the relevant memory and helps us study how to represent knowledge for retrieval as well as for use.

Leave unrelated knowledge alone · Locality

“Where is the Lumen laboratory?”

It should keep answering East Hall.

Preserving the answer about the laboratory requires the model to recognize where the library's correction applies despite the similarity between their names.

Remember through later updates · Retention

“After many unrelated updates, where is the Lumen library?”

It should remember North Hall.

Following the correction through later updates lets us see how long it remains useful and raises a practical question about the cost of checking earlier answers as the learning history grows.

The highlighted branch shows whether this question should use the correction or keep the earlier answer.

A lasting correction should guide relevant answers through many later updates while leaving the laboratory's address intact. The memory and computation needed to maintain those updates become part of the learning problem as the history grows.

This gives me a starting point for the broader question of how experience changes a model's abilities. Returning to the coding example, I would like a lesson about missing input to help with another program that needs the same care. Understanding how a single correction survives is a step toward understanding how that more general habit could take hold.

How earlier research shaped these questions

A lesson can last only if later learning leaves room for it. The effort to preserve earlier learning has shaped continual learning research and my own route into model editing.

  1. Protecting earlier learning

    A central difficulty in continual learning is catastrophic forgetting: as a model adjusts to new information, it can lose knowledge or abilities acquired earlier. Protecting the parameters that earlier tasks depend on offers one way to limit this interference while allowing learning to continue.

    The research behind this idea

    Elastic Weight Consolidation slows changes to parameters important for earlier tasks so the model can adapt while protecting more of its previous learning. EWC · Kirkpatrick et al., 2017

  2. Making a focused edit

    Knowing which fact has changed gives us a more specific target for an update. Knowledge editing pursues that target without repeating the model's full training and has developed from methods for editing individual facts to methods that handle many together.

    Following those edits over time brings us back to retention because each new correction enters a model that has already been changed by earlier ones.

    From individual facts to many updates

    ROME demonstrated targeted editing of factual associations in transformer parameters, and MEMIT extended this direction to editing many facts together. Lifelong editing follows what happens as further updates arrive and interact with the ones already made. ROME · Meng et al., 2022; MEMIT · Meng et al., 2023

  3. Giving updates their own memory

    Memory-based editors help updates coexist by giving new knowledge a separate place while keeping the originally trained model intact. Their choice of what to store and how to use it determines how a correction reaches the model's answers.

    With that separate memory comes a retrieval problem: the system has to find the relevant update from an imperfect cue and recognize when its stored knowledge does not apply. Associative memory provides a way to study this process, and HoReN brings it to models receiving long sequences of edits.

    Memory systems and associative retrieval

    SERAC stores edits explicitly; GRACE uses a local codebook of learned updates; WISE separates pretrained and edited knowledge into main and side memories; MEMOIR uses sparse updates in a residual memory. SERAC · Mitchell et al., 2022; GRACE · Hartvigsen et al., 2023; WISE · Wang et al., 2024; MEMOIR · 2025

    HoReN draws on the mathematical foundation of modern Hopfield networks to refine queries toward relevant stored edits through normalized Hopfield retrieval. This is the starting point for my work on interference and efficient execution. Ramsauer et al., 2021; HoReN · Fang, Xie & Ran, 2026

Memory-based editing lets me follow a lesson from the moment it is learned to its use among thousands of later updates. That is where my work on continual learning becomes a set of concrete research problems.

Making learning reliable and efficient

My collaborators and I study what happens as that memory fills up. Keeping the library's new address useful means finding it among other entries and applying it to the right questions with enough room and computation left for the next correction.

The memory entries in these editors contain learned values that alter the model's internal computation. The original model can stay fixed while an attached memory learns, giving us a practical setting for studying in-parameter learning (IPL) through four closely related problems.

Finding a memory in a crowded space

A growing memory contains more entries that resemble a question without answering it. A shared name like “Lumen” may lead to several matches that the system needs to distinguish by looking more closely at what the student is asking.

We developed MH-HoReN from HoReN to make these comparisons in several complementary ways and combine the resulting matching signals. Our experiments show that the combined signals help apply new knowledge to relevant questions while preserving unrelated answers, and that grouping related edits supports more efficient learning.

Mitigating Memory Interference in Lifelong Model Editing through Multi-Head Hopfield Retrieval

EMNLP 2026 Main Conference · Co-first author
A closer look at the method

Each retrieval head operates in a complementary representation subspace, contributing a matching signal that helps distinguish relevant memories from competing entries. Related edits can be grouped for batched editing, with ambiguous queries and overly broad groups remaining difficult cases.

Knowing where a memory applies

Retrieval also has to recognize questions that fall outside the stored updates. A question about the laboratory may resemble the library's correction closely enough to retrieve it while still calling for that correction to remain unused.

Our work on local associative memory studies the boundary within which a stored update should apply. We want an incomplete cue inside that boundary to recover the relevant knowledge while a question outside it is rejected so the model can retain its earlier answer.

A Local Associative Memory that Knows Where It Holds

ICLR 2027 Conference Submission

Making room for a longer learning history

Storing these updates brings its own challenge as the learning history grows. A small cost per correction can become a barrier when a model keeps years of learning.

BiSpace approaches this problem by separating the representation used to find knowledge from the update that applies it inside the model. Retrieval can then use a representation suited to matching questions while the corresponding update stays compact enough to support a longer learning history.

Decoupled Knowledge Retrieval and Compact Memory Enable Reliable Lifelong Model Editing

ACL 2027 Submission
What the two spaces do

BiSpace identifies relevant edits in an external semantic representation space, then injects their knowledge into the language model's internal representation through sparse updates. This separation allows retrieval and knowledge injection to be optimized for their different roles.

Keeping learning affordable

A compact memory still takes work to update and evaluate when when every correction prompts us to revisit earlier answers. Some of that work repeats computations the new update has left unchanged.

eHoReN follows the dependencies of an update to determine which computations and training state it needs. The same dependency checks let us certify when the computation behind an earlier answer is unchanged and can be reused during evaluation. Answers that fail the check are generated again.

Fast and Memory-Efficient Lifelong Model Editing with Certified Evaluation Reuse

ICLR 2027 Conference Submission
When can an earlier answer be reused?

The certificate relies on conditions including a frozen backbone and deterministic decoding. It examines the effective memory contributions at every generation step of an earlier answer to establish when that answer can be reused.

Training state during editing is limited to the active memory entry and unchanged computation can be reused. This reduces the cost of each update as the persistent memory grows with new entries.

Choosing what is worth learning

So far, the library's new address has arrived as a correction someone chose to provide. An assistant learning through everyday use would encounter a less orderly stream of experience containing useful guidance mixed with incomplete explanations and occasional mistakes.

Learning from that stream begins with deciding what an experience can teach. A failed programming attempt might reveal a missing concept or a familiar method used in the wrong situation. These interpretations would lead to different lessons.

This is where my interest in editing opens into a broader question about what is worth learning and how to learn it. A useful example might help with the next task as soon as it is available and become material for a lasting parameter update as we learn more about where it is useful.

Toward self-evolving large AI models

My collaborators and I are building a framework for self-evolving large AI models around these learning decisions. We want the model to use feedback from its attempts to choose useful lessons and improve how it learns them over time.

Two ways to learn from experience

A worked example can help the model tackle a task through in-context learning (ICL). The example travels with the task as information the model can learn from while its parameters stay fixed.

A trained update could then carry a selected lesson into the model or an attached learning module through in-parameter learning (IPL). This connects the editing methods I study with a broader process in which context helps reveal useful lessons and parameter learning helps carry them forward.

The learning process we are building toward
Interaction, experience & feedback
What is worth learning?How should it be learned?

Use experience in context In-context learning · ICL

Give the model relevant material to work with on its current task.

Learn from what is available now

Learn through parameters In-parameter learning · IPL

Train persistent updates to the model or its attached learning modules.

Carry selected lessons into learned state

Experience used in context can supply material for parameter learning, while learned abilities shape how future context is used.

Try the lesson in new situationsNew abilities · Earlier knowledge · Computation and memory cost

The results guide both what to learn next and how to learn it.

The coding assistant might begin with an example showing how to handle missing input and try it on a new task. Feedback on that attempt could help us select a lesson for a parameter update whose effects we would then evaluate on unfamiliar programs. Each attempt would inform the next learning decision.

Where do external memory and retrieval fit?

Retrieval can bring stored information into a model's context through methods such as retrieval-augmented generation (Lewis et al., 2020). The model can learn from examples in that context with its parameters held fixed, as illustrated by in-context learning in GPT-3 (Brown et al., 2020).

Retrieval in HoReN-style editors selects trained values that become part of the model's internal computation. These learned parameters in attached modules fall under IPL because learning resides in the memory while the base model remains fixed.

Following this process over many attempts gives us a way to study how individual lessons become useful abilities. As we build the framework, I want to understand how far these lessons transfer and what it costs to keep them.

Carrying a lesson into a new problem

Progress for the coding assistant would mean handling missing input in unfamiliar code that calls for the same insight. I want to evaluate this transfer by comparing ICL, IPL, and their combination on new problems under the same task and resource conditions.

Keeping earlier abilities useful

Those new abilities will be used alongside everything the model learned before and their interaction brings us back to where a memory applies. Understanding that interaction could help us control interference as the model acquires useful knowledge and revises what has become outdated.

Learning on the devices people use

The cost of each learning decision will also determine where this process can run. I am interested in simple algorithms that fit the limited resources of personal devices so an assistant can learn the tools you use and improve through your corrections where it is already helping you.

The future I hope to build

I keep coming back to the possibility of a small model on an ordinary device becoming more capable through years of use. It could become familiar with someone's tools and carry the benefit of their corrections into each new task as everyday assistance becomes a source of further learning.

Getting there will take lasting updates that preserve earlier abilities at a cost people can afford often. These are the problems I hope to spend my research career working on.

I want a model to become more useful through the everyday experience of helping someone.

Explore and connect

Xuming Ran and I created Where Should New Knowledge Live? for readers who would like to try these ideas through experiments. It includes interactive ways to explore how knowledge is stored and updated alongside notebooks and teaching materials.

You can find the papers behind this work on my publications page. If a question here connects with your work or a problem you see in another field, I would be glad to hear about it.