Continuous Learning: The Critical Barrier Before AGI

    This article explains why static pre-training cannot lead to general intelligence, why long-term memory remains a major weakness in current model evaluations, and which emerging techniques are moving learning into the inference stage. It covers test-time training and nested learning, outlines a practical five-step framework for building a controllable continuous learning pipeline at the application layer, and summarizes the stability and cost challenges that still need to be solved.

    1. The Problem: Why Static Pre-Training Falls Short of General Intelligence

    Over the past few years, the rapid gains in large model capability have followed a clear path: scaling up pre-training corpora, increasing parameter capacity, and extending the context window. This path has delivered substantial improvements in general knowledge, reading comprehension, and math problem solving. But it carries a structural flaw: once pre-training finishes, the model’s parameters are frozen. During inference, the model can only read the context; it cannot write new experience back into itself.

    The direct consequence is that a model can only reproduce the knowledge distribution already captured in text. When it faces scenarios that never appeared in the training data, its generalization efficiency is far below that of a human. A human teenager can learn to drive with roughly a dozen hours of practice on real roads, while a machine cannot pre-load every edge case of the real world, or data that will only be generated in the future, into its training set. Many researchers in the field have expressed similar judgments on different occasions: the reason current agents cannot “remember one instruction and change their subsequent behavior” the way a human intern does is not a lack of inference compute, but a lack of continuous learning capability. Closing this foundational cognitive gap most likely requires new theory or architectural breakthroughs; simply stacking more context length does not work.

    2. Capability Assessment: Why Long-Term Memory Is the Weak Spot

    Breaking general intelligence down into measurable capability dimensions is the mainstream approach in current evaluation systems. Among the ten core capabilities commonly listed in cognitive science, frontier models have approached human expert level on dimensions such as general knowledge, reading and writing, and math. But on “long-term memory storage,” measured scores are extremely low, close to zero.

    This result is not surprising. A context window is essentially temporary working memory: capacity is limited, it disappears when the session ends, and it cannot accumulate across tasks. Continuous learning, by contrast, depends on long-term memory: information must be persisted in parameters or external structures, be retrievable by later tasks, and be able to influence decisions in return. Conflating the two has been the most common conceptual slip in industry discussion over the past period.

    A minimal illustration can separate the two forms of memory:

    1. # Temporary working memory: exists for the lifetime of a request
    2. def chat(prompt, history_window):
    3. ctx = history_window[-N:] # limited capacity; anything beyond is dropped
    4. return model.generate(prompt, ctx)
    5. # Long-term memory: persisted across requests and involved in later decisions
    6. def learn_and_respond(prompt, store):
    7. resp = model.generate(prompt, store.retrieve(prompt))
    8. store.write(experience=prompt, outcome=resp) # write experience back
    9. return resp

    The key difference is the last line: whether experience can be written back and actually change behavior in the next forward pass.

    3. Emerging Approaches: Moving Learning Into the Inference Stage

    From late 2025 onward, academia has produced a series of new paradigms that try to bypass “re-pre-training.” The shared idea is to dynamically modify local parameters or local structure during inference, so the network grows memory directly while running. Two representative directions stand out:

    1. Test-Time Training (TTT)
    Treat each inference as a miniature training run: construct a self-supervised objective (such as predicting masked segments or keeping adjacent representations consistent), update a small subset of parameters with a few gradient steps, then complete the original task. In engineering practice, usually only low-rank adapter layers or the final normalization parameters are unfrozen, to control cost and stability.

    1. for step in test_time_steps: # usually 1~4 steps
    2. loss = self_supervised_loss(model, x) # no human labels needed
    3. loss.backward()
    4. optimizer.step() # update only a restricted parameter subset
    5. y = model(x)

    2. Nested Learning
    Treat the model’s multi-layer structure as multiple nested optimization problems, and give each layer its own “update rate,” making memory writes a first-class citizen of the architecture rather than a bolt-on component. The goal is to let information at different time scales (immediate context, within-task experience, cross-task knowledge) settle in layers within the same framework.

    Neither approach has become an engineering standard yet. Their shared challenges concentrate on three points: update stability (avoiding catastrophic forgetting), update cost control (not running a full backpropagation on every inference), and update trustworthiness (preventing wrong experience from being solidified).

    4. Engineering Practice: An Actionable Five-Step Framework

    For developers and enterprise users, there is no need to wait for a final breakthrough at the architecture level. You can first build a controllable continuous learning pipeline at the application layer:

    1. Layered memory architecture: keep short-term information in the context, mid-term information in structured summaries, and long-term information in a vectorized experience store, with explicit write and eviction policies between the three layers.
    2. Experience write-back and deduplication: turn task outcomes, user corrections, and failure cases into structured records, and run similarity-based deduplication before writing to avoid memory bloat.
    3. Retrieval as context: when a new task arrives, recall a small number of high-value experiences by semantic relevance, control the injected length, and prevent the context from being drowned in noise.
    4. Isolation of parameter updates: if you adopt a test-time training style approach, restrict updatable parameters to the adapter layers and keep rollback snapshots.
    5. Evaluation loop: establish three metrics — memory retention rate, cross-task transfer gain, and forgetting rate — and use a fixed evaluation set to regression-test whether each update actually changes behavior.

    The supporting infrastructure generally falls within general cloud capabilities: object storage holds the experience store and snapshots, message queues decouple the write path, container platforms provide elastic resources for training and inference, and logging services with monitoring and alerting track metric drift before and after updates.

    5. Conclusion

    Continuous learning is called a major barrier before general intelligence because it requires a system to have three things at once: persistent storage, autonomous updating, and behavioral consistency after the update. Extending the context window only solves “seeing further”; it does not solve “remembering longer.” From test-time training to nested learning, the technical path is shifting from “bolt-on memory” to “architecture-native memory,” but stability and cost still need time to mature. For practitioners, the most pragmatic strategy now is to make layered memory and the evaluation loop solid at the application layer first, while keeping track of parameter-level continuous learning approaches and gradually replacing bolt-on components once they mature.