How AI Systems Learn to Build on Themselves

How accumulation became the defining architecture of intelligent machines.

Neurosymbolic AI · Machine Learning · Software Engineering · Computer Science
Every Wave Should Make the Next One Smarter
The most capable AI systems being built today treat every pass of computation as a deposit into a growing account. Each wave of inference or training leaves behind structure the next wave can stand on. That distinction separates a calculator from a collaborator.
2026

Software has always had a memory problem. A program runs, produces an answer, and forgets almost everything about how it got there. The next run starts cold. For decades that amnesia was a feature, since stateless systems are easier to reason about and cheaper to debug. The frontier of machine learning now runs the other way. The most capable systems being built today treat every pass of computation as a deposit into a growing account, so that each wave of inference or training leaves behind structure the next wave can stand on. That distinction separates a calculator from a collaborator.

What researchers are chasing is a property closer to institutional memory: the kind that compounds, that makes the hundredth attempt qualitatively different from the first. MIT CSAIL's DreamCoder captures the idea precisely. It learns to write programs by alternating between a waking phase, where it searches for solutions, and sleep phases, where it pulls recurring fragments from those solutions and files them away as reusable building blocks. After six learning iterations, a sorting routine that brute-force search would take more than ten to the seventy-second power years to find could be expressed in just five function calls using the library the system had assembled for itself.

The knowledge banked in earlier waves did not merely speed things up. It moved a problem from computationally impossible to routine, which is a different kind of progress entirely.

01 The compounding machine
DreamCoder alternates between a waking phase (solving problems) and sleep phases (abstracting reusable fragments). Each cycle deposits structure the next cycle inherits, turning an impossible search into a five-function-call routine.
Wave 1 Search · Solve deposit Library Reusable fragments accumulate per wave grows ↑ each cycle inherit Wave N Richer search space Impossible becomes routine 10^72 yrs → 5 calls each wave refines the next proposal distribution Waking phase Accumulating library Sleep phase Compounded result
Growing library (accumulated structure)
Compounded result
I. Learning without forgetting

The obvious danger in a system that keeps learning is that new knowledge overwrites the old. Neural networks are notoriously prone to this, a failure mode called catastrophic forgetting, where training on a fresh task erases competence on previous ones. A network is a shared pool of weights, and the optimization process has no loyalty to skills it learned last month. If every wave of training clobbers the last, there is no accumulation. There is only churn.

Google DeepMind's progressive neural networks guard against that erosion by freezing columns trained on old tasks entirely and growing new columns for new ones, wiring lateral connections so a new network can read old features without being able to damage them. Tested across Atari and 3D maze games, the architecture produced positive transfer in eight of twelve target games, against five of twelve for the standard practice of fine-tuning a pretrained network.

Frozen knowledge from earlier games was not dead weight. It was scaffolding that a later game could climb, and that structural commitment to preservation is exactly what separates a system that accumulates from one that merely updates.

02 Learning without forgetting
Progressive neural networks freeze old task columns and grow new ones, wiring lateral connections that let new learning read old features without overwriting them. Prior competence becomes scaffolding, not interference.
TASK A — FROZEN TASK B — FROZEN TASK C — ACTIVE Layer 1 (frozen) Layer 2 (frozen) Output A Layer 1 (frozen) Layer 2 (frozen) Output B Layer 1 (learning) Layer 2 (learning) Output C Lateral connections: Task C reads prior features · cannot modify them Result: 8 of 12 Atari games showed positive transfer vs. 5 of 12 for fine-tuning
Active learning column
Lateral read connections (frozen → active)
II. When neurons hand off to logic

Pure neural systems are fluid and forgetful. Symbolic systems are rigid and precise. The neurosymbolic research program tries to get the best of both by letting a neural component propose and a symbolic component verify, then feeding confirmed conclusions back as fixed ground for the next reasoning pass. A conclusion that has been checked by a logic engine does not need to be rediscovered. It becomes a fact the system can build on without risking it being quietly eroded by the next gradient update.

Google DeepMind's AlphaGeometry, published in Nature in early 2024, runs exactly this loop on olympiad geometry. A neural language model trained on millions of synthetic proofs suggests which auxiliary construction to add to a diagram. A symbolic deduction engine then derives every consequence that follows by rule. When it stalls, the language model proposes one more construct, and the deduction engine runs again over an enlarged set of established facts. Each cycle hands the neural side a richer store of proven statements to reason from.

The system solved 25 of 30 recent olympiad problems, matching the average human gold medallist and far surpassing the ten solved by the previous best automated method. The exchange compounded rather than reset, and that is what made the difference.

03 When neurons hand off to logic
AlphaGeometry alternates a neural proposer with a symbolic deduction engine. Verified conclusions become fixed ground truth that the neural component inherits each cycle, expanding the base of known facts rather than reconsidering them.
Neural Proposer Suggests auxiliary construction propose Symbolic Engine Derives all logical consequences verify Verified Fact Store Confirmed conclusions locked as ground truth grows each cycle ↑ enriched fact base returned to neural proposer each cycle if stalled: neural proposer adds one more construct → engine re-runs AlphaGeometry: 25 / 30 olympiad problems solved · previous best: 10 / 30
Neural proposer
Symbolic deduction engine
Verified fact store (compounding)
III. Systems that teach themselves

The strongest version of the wave idea is a system whose outputs become its own training data. Instead of waiting for humans to label more examples, the model generates candidate answers, keeps the ones that pass a reliable filter, and trains on those, so that this generation's competence is distilled into the next generation's starting weights. The filter is doing the work that a careful editor does: deciding which reasoning is solid enough to keep and which should be revised before it calcifies into habit.

Stanford University's STaR method captured the loop in its plainest form. The model writes step-by-step rationales, keeps the chains that reach correct answers, and when it fails, it is shown the answer and asked to justify it retroactively, then fine-tunes on everything that worked and repeats. The reasoning traces produced in one wave become the curriculum for the next.

On the CommonSenseQA benchmark, the bootstrapped model performed comparably to fine-tuning a model thirty times its size. The self-teaching loop did not substitute for scale. It made scale less necessary, which is a more durable kind of efficiency.

04 Systems that teach themselves
STaR's self-teaching loop: the model generates rationale chains, filters for correct ones, and trains on them. Each wave's successful reasoning becomes the curriculum the next wave inherits — no additional human labels required.
Generate Step-by-step rationale chains Filter Keep chains that reach correct answers Fine-tune Train on surviving rationale chains Smarter model for next wave on failure: shown correct answer → asked to justify → added to training set outputs of wave N become curriculum of wave N+1 CommonSenseQA: matched a model 30× larger · scale made less necessary, not more
Filter (correct chains only)
Fine-tune on survivors
Smarter next wave
Glass board infographic showing wave learning architecture

An engineer's working notes on the compounding wave architecture, showing the five-stage accumulation loop from fragment deposits to verified ground truth. The revisions and erasures reflect a design process, not a finished diagram. Daice Labs / Research Notes.

IV. The engineering discipline of remembering

None of this matters if the machinery for banking knowledge lives only in research prototypes. The encouraging news is that ordinary software architecture has been drifting toward the same principle, often without naming it. A build system that reuses verified artifacts across runs does not just save time on the second build. It narrows the debugging search space, because any failure must have been introduced in the delta since the last clean result. Each successful wave of computation leaves behind a ledger, and the next wave inherits it rather than starting from scratch.

NVIDIA and Caltech's Voyager agent makes the engineering version concrete. Built to play Minecraft without human guidance, it writes programs to accomplish tasks, verifies them against the game engine, and stores the ones that work in a skill library indexed for retrieval. Complex skills are composed from simpler ones already on file, which is why the agent's capability compounds rather than plateauing. In documented runs it collected 3.3 times more unique items than the previous best method, and the skills it built in one world transferred to a fresh world at a hundred percent success rate where baselines managed none.

The lesson underneath every one of these systems is the same, and it is an engineering lesson before it is a scientific one. Intelligence that lasts is intelligence that leaves a trail. The design question worth asking of any learning system is whether the work it does this time is captured in a form the next iteration can reuse. When the answer is yes, capability compounds. When the answer is no, every wave breaks on the same cold shore.

05 The engineering discipline of remembering
Voyager writes programs, verifies them, and files the survivors into a growing skill library. Complex skills compose from simpler ones already on file. The ledger each wave leaves behind is exactly what the next wave builds from.
New Task Minecraft goal Write Program Compose from existing skills Verify Test against game engine Skill Library Verified programs indexed for retrieval 3.3× unique items 100% skill transfer vs. baselines: 0% grows each wave ↑ new skills compose from prior verified skills Intelligence that lasts is intelligence that leaves a trail
Program composition
Game engine verification
Growing skill library

Key references: Ellis, K. et al., "DreamCoder: Bootstrapping Inductive Program Synthesis with Wake-Sleep Library Learning," PLDI 2021. Rusu, A. et al., "Progressive Neural Networks," Google DeepMind, arXiv 2016. Trinh, T. et al., "Solving olympiad geometry without human demonstrations," Nature 2024. Zelikman, E. et al., "STaR: Bootstrapping Reasoning With Reasoning," arXiv 2022. Wang, G. et al., "Voyager: An Open-Ended Embodied Agent with Large Language Models," NVIDIA / Caltech, arXiv 2023. DeepSeek-AI, "DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning," arXiv 2025. Anthropic, "Constitutional AI: Harmlessness from AI Feedback," arXiv 2022.