Continual learning has long been framed as one of the major frontiers left to achieve AGI. It looks like that may be changing soon.
…probably continual learning gets solved in a satisfying way [in 2026]
— Sholto Douglas (Anthropic researcher)
We’ve heard similar comments from Sam Altman, Dario Amodei, and others in the industry. We’ve also seen papers about longer context length and test time learning from DeepMind; they’re all obviously focused on this.
LLMs already handle in-context learning really well; the attention mechanism is able to identify relevant statements in the model’s limited context. This functions similarly to human associative memory, and serves as “learning” during test time. Theoretically, if a model could have an infinite context / lifetime memory, such a model would have solved continual learning.
In practice, infinite context is not possible; there’s only so much RAM for the KV cache and processing time for long contexts is already quite high. Plus, transformers perform poorly as the context length increases (the Lost-in-the-middle problem).
Instead, “infinite context” can be simulated using techniques like compression and retrieval.
Compression
This essentially refers to representing a long context within fixed memory structures like vectors, matrices, or neural networks. Processing time and space taken are thus stable, enabling scaling.
The first major example of this was RMT, which involved the transformer constantly outputting memory tokens containing context about the data so far (which were added to the next input, similar to RNNs).
Another example is linear transformers, which, trying to fix the quadratic attention time (as the name suggests), dropped the KV cache and constantly updated a fixed matrix based on ingested data.
Both of these structures are simple; they do not enable the representation of rich data with cross-dependencies, or for the representation of various abstractions within the data. Plus, the core issue with such systems is that representing a lot of data in a small fixed structure leads to a lot of lost context.
In fact, this is reflected in their eval performance, with these techniques performing well on summarization-based tasks but quite poorly on Needle-In-A-Haystack (NIAH) style tasks.
An improvement over this is the idea of training a neural network (like a 2 layer MLP) as a memory module (well-explored in Titans), which allows for better representation of the data.
The idea of using a deep neural network to represent data sounds intuitive; our brain is a neural network after all. While the model performs quite well on NIAH as well as long context tasks (due to its forgetting mechanism), there are many further improvements to be made.

Different compression-based systems + baselines on a NIAH-style task (BABILong)
While these results show a clear improvement when using a neural network as a memory storage, they also show a stark dip in all compression-based methods with increased sequence length.
A small model may not be able to keep track of many little details throughout a lot of data; even more so throughout the agents’ life.
One solution could be using deeper and bigger neural networks, but there are still concerns about whether it would be able to represent the data in both a granular and abstracted manner.
Retrieval
Retrieval takes the principles of compression (easy representation and comparison) but externalizes the data. This allows the system to maintain a growing memory store while also ensuring the actual memory used per query is fixed, allowing for easier processing.
The most common retrieval technique is naturally embedding/semantic search. This runs into a few common issues, though:
- It often fails to capture the depth of the text and does not successfully represent each abstraction of the system.
- If the “right” memory required multi-hop reasoning or temporal understanding, it’s quite likely that plain semantic retrieval would fail.
- When comparing similarities, pure semantic search does not identify the right dimensions to focus on.
Eg. a question about Disneyland should retrieve experiences of Disneyland, not questions about other amusement parks
Here too, we run into the same problem as with compression: we need a system that can compare and retrieve based on each layer of abstraction of the input data.
A few solutions here could be working with larger embedding models (>2000 dims), hybrid retrieval systems (combining dense + sparse matching), reasoning during retrieval, or some combination of each.
Mapping out an ideal system
The human brain provides a reference for what a good memory system would look like; at some level, they should be functionally similar.
We perceive and remember things primarily using the cortex, which is divided into millions of cortical columns, each of which contain ~6 layers of neurons. Each of these layers identify specific patterns in data and spread activation to their neighbours based on co-firing rate (much like Transformers’ attention mechanism).
This structure would imply that our representation structure should be much wider and more sparse.
For compression, it would indicate that we should try to represent memory in wide neural networks, or perhaps MoE-style networks.
For retrieval, it may imply a hybrid retrieval system, with multiple embedding models for different layers/aspects of text. A step even further could be building a system that trains its own embedding models to represent different layers of the data.
Where from here?
I believe the industry has a clear path forward on building out continual learning (at least for semantic + episodic memory, if not procedural yet). I am quite excited for this upcoming year; it seems likely that we’ll see most of the big labs adopt their own continual learning systems in 2026.
Personally, I believe retrieval is a promising path to work on: many pre-trained embedding models are already available to start from; over time, this can be shifted to a learned representations’ based system.
Note: I am building a hybrid retrieval system of my own and will be evaluating it on LongMemEval (evaluating long-context conversational memory) soon.