Continuous Learning: The Core Gap Before AGI

    This article explains why continuous learning is widely regarded as the hardest barrier on the path to AGI. It reviews the structural limitations of current architectures, including frozen parameters, volatile context windows, retrieval that cannot turn experience into skills, and offline fine-tuning. It then covers emerging paradigms such as test-time training and nested learning, outlines a practical engineering framework built on layered memory and update pipelines, and discusses evaluation metrics and risk controls for moving continuous learning from research into production.

    1. Why Continuous Learning Is the Hardest Gap Before AGI

    Since mid-2025, continuous learning has increasingly been seen as the steepest part of the path toward artificial general intelligence. Several well-known researchers in reinforcement learning and large models have repeatedly pointed to the same conclusion in public discussions: the real world is vast and constantly evolving, so agents must learn as they go through direct interaction with their environment. Relying only on static pre-training, a model can ultimately do no more than produce high-fidelity imitations of existing human text, and it cannot achieve genuine general intelligence. Some researchers have also argued that the reason current agents cannot “remember an instruction and change their subsequent behavior” the way a human intern can is precisely the lack of continuous learning, and they estimate that closing these low-level cognitive gaps will take considerable time. By the first half of 2026, a representative view still held that fully realized AGI is missing one or two key pieces, with continuous learning, long-horizon reasoning, and memory mechanisms at the top of the list. This likely requires new theoretical or architectural breakthroughs; simply increasing context length does not work.

    A simple logic underlies these judgments: pre-training compresses a massive amount of knowledge that humans have projected into text into model parameters, but its generalization efficiency is far lower than that of humans. A teenager can get the hang of driving after roughly a dozen hours of practice on real roads, yet we cannot pre-load every edge case of the real world and all data that will only emerge in the future into the training corpus, expecting a model to be omniscient from the moment it ships. If we expect AI to step out of the test bank and take on real tasks in an open world, it must be able to trial and error in unfamiliar scenarios and learn while doing.

    2. Structural Weaknesses Revealed by Capability Assessments

    Over the past year or so, the most significant industrial progress has been in “temporary working memory” such as context windows, while the long-term memory that continuous learning truly depends on has barely moved. At the end of 2025, dozens of researchers jointly published a paper defining and evaluating AGI. Using ten core capability dimensions from cognitive science to systematically assess frontier models, it revealed a highly uneven capability profile: general knowledge, reading and writing, and math problem solving already approach human expert levels, but the measured score for long-term memory storage was 0%.

    This 0% is not an exaggeration; it precisely exposes the capability boundaries of current architectures:

    • Parameters are frozen during inference, and weights do not change with interaction.
    • The context window is volatile, cleared when a session ends, and constrained in length by attention overhead.
    • Retrieval augmentation can only “bolt on” facts; it cannot compile experience into reusable skills.
    • Fine-tuning is offline batch processing that is costly and slow, mismatched with the pace of online interaction.

    3. A Breakthrough Paradigm: Moving Learning into the Inference Stage

    At the end of 2025, academia began proposing new paradigms such as end-to-end test-time training and nested learning. The shared idea is to dynamically modify local parameters during inference, letting the network grow memory directly as it runs.

    The core of test-time training is to construct a self-supervised proxy task: the model performs one or several gradient updates on the current input before producing an answer.

    1. # Illustrative pseudocode: self-supervised parameter updates during inference
    2. def test_time_train(model, x_stream):
    3. for x in x_stream:
    4. # Self-supervised proxy objective: reconstruction, next-segment prediction, consistency constraints, etc.
    5. loss = self_supervised_objective(model, x)
    6. model = sgd_step(model, loss, lr=eta) # Update local parameters only
    7. yield model.predict(x)

    Nested learning embeds the optimization process itself into the network structure: an outer layer handles slow consolidation of long-term memory, while an inner layer handles fast immediate adaptation, forming a two-level update across multiple time scales. In engineering practice, three constraints are also needed to make it usable: limiting update magnitude to prevent catastrophic forgetting, experience replay to stabilize the distribution, and parameter isolation to distinguish “skills” from “facts.”

    4. A Practical Engineering Framework

    1. Layered memory: working memory in the context, episodic memory storing interaction traces, semantic memory consolidated into retrievable knowledge, and parameter memory carrying skills.
    2. Write policy: filter writes by information gain and confidence; deduplication, conflict resolution, and time decay are all essential.
    3. Update cadence: alternate small, high-frequency online updates with low-frequency offline consolidation, similar to organization during sleep.
    4. Isolation and rollback: keep a snapshot for each update, supporting task-level canary rollout and one-click rollback.
    5. Infrastructure: object storage for the memory store, a message queue to drive the update pipeline, a container platform for elastic training and inference resources, and logging, monitoring, and alerting services for drift observation.

    5. Evaluation and Risk Governance

    Evaluation should not look only at answer accuracy; it should introduce four types of metrics: cross-session memory retention, sample efficiency on new tasks, performance retention on old tasks, and update latency and cost. On the risk side, three gates should be established: content security and permission checks before writing, regression testing after updates, and automatic rollback on anomalies. In general engineering practice on platforms such as Baidu AI Cloud, this combination of “memory store + update pipeline + canary rollback” has become a common path for moving continuous learning from papers into production. Continuous learning is not a single-point technology but a systems engineering effort spanning architecture, data, and governance; whoever engineers it first will be the first to cross this gap.