The Building Blocks of General Intelligence

General intelligence depends on combining familiar skills to solve unfamiliar problems.

General Intelligence Needs Composable Skills
Neurosymbolic AI · Computer Science · Software Engineering
General Intelligence Needs Composable Skills
How reusable skills become dependable intelligence
2026

To handle unfamiliar problems, AI must do more than accumulate abilities. It must learn how those abilities fit together, and when they do not.

I. The Gap Between Knowing and Combining

An artificial intelligence system can master two tasks and still stumble when asked to put them together. That gap sits near the center of a difficult question in computer science: What allows a machine to use what it knows in a situation it has never encountered? A broad collection of abilities is useful, but general intelligence requires those abilities to travel. They must remain meaningful when circumstances change and when their results become the starting point for something else.

A revealing test appeared in 2018 with SCAN, a research benchmark built from simple instructions. A neural network could learn what “jump” meant and encounter commands such as “walk twice,” yet struggle with “jump twice” when that combination was withheld during training. The missing ingredient was not knowledge of either component. It was reliable use of the relationship between them. The networks studied could handle some unfamiliar combinations, but their success broke down when the test demanded more systematic reuse.

Computer scientists call this capacity compositional generalization. Familiar pieces acquire new uses because the rules for combining them remain stable. The SCAN findings concerned particular networks and training methods, not an impossibility theorem about neural learning. Their lasting significance is the distinction they exposed. Recognizing familiar patterns and understanding how parts can be recombined are different achievements. A machine that is to handle unfamiliar work needs some dependable way to cross that divide.

01 Familiar skills, new combinations
A known action and a known rule produce a combination the system has not encountered before.
1. Familiar skills, new combinationsA known action, jump, and a known rule, repeat twice, combine to produce two jumps. Generalization requires applying the rule to a combination not previously encountered.1. Familiar skills, new combinationsCompositional generalizationJumpA known actionRepeat twiceA known ruleApply the rule to the actionJump → JumpA new combination of familiar partsKnowing the parts is only the beginning.
II. Why Changing Problems Can Produce Reusable Parts

The search for that dependability has an unexpected connection to evolution. Biological systems often contain recurring structures that perform relatively distinct functions. For AI designers, the interesting question is how such organization can emerge without someone specifying every boundary in advance. If learning rewards only success on the task immediately at hand, a system may discover a tightly entangled solution whose internal parts have little value elsewhere. Reuse needs conditions that make it worth preserving.

A 2005 study at the Weizmann Institute of Science investigated this question by evolving computer circuits. The researchers repeatedly changed the computation the circuits had to perform while retaining shared subproblems. Under these conditions, circuits developed recognizable modules that could be rearranged through small wiring changes. Fixed objectives generally produced more entangled circuitry, while randomly changing objectives did not yield the same modular organization. The productive ingredient was structured variation: different problems repeatedly called upon the same underlying computations.

These simulations explored a possible evolutionary mechanism. They did not establish a universal explanation for biological modularity. But they suggest a computational principle: train across changing tasks whose useful internal operations recur. A learning system then has a reason to preserve those operations while adapting their relationships. That flexibility can carry a cost. Some modular circuits used more gates than circuits optimized for one fixed objective. The most compact solution to today’s problem may leave little room for tomorrow’s.

III. How a Machine Can Discover Its Own Building Blocks

For decades, programmers have managed complexity by packaging useful operations into functions. Each function gives a larger program something it can call without restating all the underlying instructions. An AI system faces a harder version of that problem. It must discover which recurring operations deserve to become building blocks, then learn when to use them. A library full of narrowly tailored shortcuts can become another burden. Useful abstractions must capture structure that survives beyond the problems that produced them.

DreamCoder, presented by an MIT led team in 2021, explored how that discovery could happen. The system constructed programs from examples, using a neural network to guide its search. It then examined successful solutions and extracted reusable components. In one demonstrated hierarchy, a sorting program called a learned operation for selecting an element by rank. That operation, in turn, relied on simpler procedures for filtering and finding a maximum. What began as a collection of small operations became a vocabulary for expressing more demanding computations.

This partnership illustrates a neurosymbolic approach. Neural learning helps identify promising directions in a vast search space, while symbolic programs express operations with explicit computational meaning. As useful components accumulate, a difficult solution can require fewer decisions because earlier discoveries handle part of the work. DreamCoder demonstrated this within structured research domains. The broader challenge remains choosing abstractions that are sufficiently general to travel, yet sufficiently precise that another part of the system can depend on them.

02 Turn experience into building blocks
Recurring operations become a library that helps solve new problems.
2. Turn experience into building blocksSolve related problems, identify recurring operations, build a library, and compose a new solution. A return arrow leads back to solving problems. Sorting illustrates reuse of filtering and selection; this is a conceptual learning loop, not a literal implementation.2. Turn experience into building blocksA simplified loop for learning reusable skillsSolve related problemsLet the requirements changeFind recurring operationsKeep what works across tasksBuild a reusable librarySorting can reuse filtering and selectionCompose a new solutionReuse the library’s operationsExperience becomes reusable computation.
Conceptual illustration of reusable computational skills combining through compatible interfaces

General capabilities can grow from reusable operations. Their connections must preserve the assumptions that make each operation dependable.

IV. The Rules That Make Skills Fit Together

A reusable skill needs more than a name and a successful demonstration. Other skills must know what it accepts, what it changes and what conditions it requires. Programming language theory formalizes part of this through preconditions and postconditions. A precondition describes what must be true before an operation begins. A postcondition describes what the operation establishes afterward. Two operations can be justified as a sequence when the first establishes the conditions required by the second, within the assumptions of the formal model.

Consider an AI assistant processing an invoice. One skill extracts the amount, another converts its currency and a third records the payment. Each component might pass its own tests while the complete process remains wrong. The extractor could supply cents where the converter expects dollars. The recording operation could create a duplicate when retried. A dependable interface would therefore need to describe units, currency and the consequences of repetition. Matching the shape of the data is insufficient when its meaning or effects differ.

This is where skill composition becomes a problem of safety as well as capability. A planner needs grounds for deciding that an operation is appropriate, and the running system needs evidence that the expected outcome occurred. Explicit contracts can expose incompatible assumptions before execution. Checks during execution can catch discrepancies afterward. Neither supplies an unconditional guarantee about a changing world. Their value is making dependencies visible and giving the system a principled reason to stop, gather information or revise its plan.

03 Check before skills connect
Compatible assumptions allow a workflow to proceed. A mismatch requires a pause before execution.
3. Check before skills connectExtract an invoice amount and check whether units and currency match the converter’s requirements. Compatible inputs proceed to conversion and result checking. Incompatible inputs follow a separate route around the boxes to pause and resolve the mismatch. Checks depend on the accuracy of the represented assumptions.3. Check before skills connectAn invoice workflow with an explicit compatibility checkExtract invoice amountReturn value, unit and currencyCheck the handoffAre units and currency compatible?YesConvert the amountUse verified input assumptionsCheck the resultConfirm before continuingNoPause and resolveReusable skills need compatible assumptions.
V. Intelligence Must Know When to Proceed

The difficulty becomes sharper when AI acts outside a fully specified program. Observations can be incomplete, conditions can change and an apparently reasonable action can be impossible to execute. A system must connect its abstract plan to what is actually available. Reusable skills help reduce the size of a planning problem, but they also introduce a responsibility: the planner must establish that the chosen skill applies here, now, under these conditions.

Google’s SayCan robotics system made that responsibility explicit. It combined a language model’s assessment of which available skill would help fulfill a request with a learned estimate of whether the robot could execute that skill in its current situation. These assessments answered different questions. An action could make sense as part of a plan while remaining unlikely to succeed physically. Selecting skills using both assessments helped connect linguistic planning to the robot’s practical capabilities, although estimated success was not a proof of safety.

The evidence does not establish that explicit skill libraries are necessary or sufficient for general intelligence. It does suggest what stronger systems should be tested for: unfamiliar combinations, changing conditions and recovery when assumptions fail. Individual competence cannot establish the reliability of a whole sequence. The promise of composable skills is that learning can accumulate into something dependable. Each solved problem leaves behind an operation that another solution can use, together with enough knowledge of its limits to judge whether it belongs there.