How Reusable Parts Make AI More Capable

Evolution offers clues for building software that adapts without starting over.

The Intelligence Is in What Can Safely Connect
Artificial Intelligence · Computer Science · Software Engineering
The Intelligence Is in What Can Safely Connect
How reusable components and explicit rules help AI tackle unfamiliar problems.
2026
1. How to Change Without Starting Over

An intelligent machine faces a peculiar problem whenever it encounters something new. Much of what it needs may already be available, scattered across capabilities it has learned. The difficulty is bringing those capabilities together without losing what made them useful. This is one of the central challenges of general intelligence: carrying knowledge beyond the circumstances in which it was acquired. A system that can reliably recombine familiar operations has a way to meet unfamiliar demands without learning everything again.

Evolution offers a clue to how that might work. The theory of facilitated variation describes how complex functions can emerge through changes in the regulation and arrangement of conserved processes. Existing machinery remains available while its deployment changes. Compartmentation helps contain interference, while relatively simple signals can activate elaborate processes. The computational lesson is that adaptability depends partly on preserving useful internal structure while allowing connections to change. This is an engineering inference from biology, not a guarantee that biological organization translates directly into reliable software.

In a 2008 experiment at the Weizmann Institute of Science, researchers evolved simulated logic circuits under objectives that changed but shared recurring subproblems. The circuits developed modular structures and adapted readily to unfamiliar objectives within the same structured family. Circuits optimized for a fixed objective were less adaptable when requirements changed. Yet the advantage largely disappeared for arbitrary new objectives. Reusable structure helped when the future had something in common with the past. That condition gives AI designers a concrete question: which recurring structures should a system learn to preserve?

2. A Machine That Builds Its Own Vocabulary

Recognizing reusable structure is harder than storing successful answers. An answer belongs to a particular problem. An abstraction captures something that remains useful when details change. In computing, an abstraction packages several operations into a concept that can be invoked again. Once available, it reduces how much a system must work out from scratch. The challenge for AI is discovering abstractions at the right level: broad enough to travel between tasks, but precise enough to retain a dependable meaning.

DreamCoder explores this possibility by learning to solve problems through programs. It searches for programs that satisfy a task, then examines its solutions for useful recurring structure. Those discoveries can become new operations in its growing library. A neural network learns to guide subsequent searches toward promising programs. Learning therefore changes both what the system knows and the vocabulary available for expressing its next solution. Earlier discoveries become ingredients for later ones, allowing increasingly elaborate concepts to emerge through composition.

This process has an important computational advantage. Searching through every possible sequence of elementary instructions quickly becomes unmanageable. Reusable abstractions can shorten the description of a solution and make the search more tractable. But compression alone is insufficient. A convenient abstraction may conceal assumptions that fail on a new task, and a growing library may accumulate concepts that are redundant or overly specialized. The system must learn which pieces deserve reuse and under what conditions. Having a larger vocabulary creates opportunities; knowing how its terms fit together makes those opportunities useful.

01Reuse makes new solutions possible
Familiar operations become a new program when they are arranged for a different task.
1. Reuse makes new solutions possibleThree reusable operations, select, transform and repeat, feed a new program. Combining familiar operations can create a new capability. This is a conceptual illustration of program composition. 1. Reuse makes new solutions possibleKeep useful operations. Change how they work together.A reusable librarySelectChoose what mattersTransformApply an operationRepeatReuse an operationCompose a new programArrange familiar operations for a new taskNew capability from existing pieces
3. Where Intuition Meets Rules

Even well chosen pieces can be assembled incorrectly. A system may propose an appealing solution whose intermediate steps do not support its conclusion. This is where neurosymbolic AI becomes useful. Neural networks learn patterns that help them interpret information and suggest possibilities. Symbolic systems represent relationships explicitly and manipulate them according to rules. Connecting the two creates a division of labor in which learned judgment directs a search and formal reasoning establishes what follows from the available premises.

Google DeepMind’s AlphaGeometry makes that arrangement unusually clear. When its symbolic engine cannot complete a geometry proof, a neural language model proposes additional geometric constructions. The engine then applies its rules to determine what can be deduced. A new construction can expose relationships that were inaccessible before, allowing the proof to advance. In its 2024 debut, AlphaGeometry solved 25 of 30 selected Olympiad geometry problems. The neural component helped navigate the possibilities; the symbolic machinery supplied a disciplined path through the deductions.

The significance lies in how these components communicate. A proposal must enter a representation the reasoning engine understands before it can contribute to a proof. That boundary gives the system a way to exploit uncertain suggestions without treating them as established conclusions. Its reliability nevertheless depends on the rules, their implementation and the faithful representation of the problem. Mathematical validity inside a formal system does not establish that an ambiguous request from the outside world has been understood correctly. Every guarantee has a boundary of its own.

02Check what each connection means
A neural model proposes a step. Explicit rules determine whether it can support further reasoning.
2. Check what each connection meansA neural model proposes a next step. A symbolic engine checks the proposal against explicit rules. Invalid proposals are not accepted; valid steps can support further reasoning. Validity is conditional on the rules and premises. 2. Check what each connection meansA promising suggestion becomes useful when it can be checked.Neural model proposesSuggest a possible next stepSymbolic engine checksApply explicit rules to the proposalNot validValidTry another proposalDo not accept this stepContinue the reasoningValid under the stated rules
Conceptual illustration of reusable computational structures connected through compatible interfaces

Reusable structures gain new capabilities through compatible connections. Conceptual illustration.

4. Making the Boundaries Do Work

Outside mathematics, safe composition involves several distinct questions. Do two components agree on what their data means? Does one supply the conditions the other requires? What may each component change? Software engineering addresses these questions through types, contracts and permissions. Types describe acceptable categories of information. Contracts state assumptions and promised behavior. Permissions limit authority. Research on compositional verification formalizes how compatible guarantees can support conclusions about a larger system, provided the relevant assumptions hold.

Consider a proposed AI system that processes invoices. A neural model extracts an amount, supplier and purchase order reference, retaining links to the source document. Validation software checks the extracted information against purchasing records. A separate authorization service controls whether payment may proceed. The extraction component can propose what the document says, but it cannot grant itself payment authority. The boundaries make different responsibilities explicit: interpreting a document, checking a claim and authorizing an action each require their own evidence.

This separation also makes the extraction component easier to reuse. Other workflows can consume its outputs without granting it broader powers. But the architecture remains vulnerable to assumptions that go unexamined. An incorrect extraction may satisfy superficial checks, and a valid purchase order does not necessarily establish that payment is appropriate. Engineers must decide which properties can be established before execution, which require checks during operation and which remain uncertain. Safe connection means identifying those distinctions precisely enough that one component’s confidence does not silently become another component’s permission.

03Safe boundaries make reuse practical
An invoice workflow separates interpretation, validation and payment authority.
3. Safe boundaries make reuse practicalAn illustrative invoice workflow extracts information, validates claims and requires separate payment authorization. Each stage must succeed before proceeding. The extraction component cannot authorize payment. These checks enforce specified conditions, not universal correctness. 3. Safe boundaries make reuse practicalAn invoice workflow separates interpretation, checks and authority.Interpret the invoiceExtract details and retain source referencesValidate the claimsCheck amounts, purchase records and duplicatesCheck payment authorityRequire a separate, valid authorizationProceed only when checks and authorization succeedOtherwise, stop and route the case for review.
5. Teaching Systems to Recombine

Architecture alone cannot ensure that a system will use its pieces intelligently. Training must give it a reason to discover relationships that survive changes in context. If familiar combinations dominate both training and evaluation, a model may perform well without learning how to handle unfamiliar arrangements. A more revealing test holds the ingredients relatively steady while changing how they must be combined. This asks whether the system has acquired transferable structure, and exposes the difference between succeeding on familiar patterns and extending a skill.

A 2023 study from New York University and institutions in Barcelona examined this directly. A standard neural architecture was trained across a changing series of compositional instruction tasks. It then matched or exceeded human performance on the study’s controlled generalization tests, without an added symbolic engine. The finding showed that training specifically for recombination could produce capabilities that ordinary training had struggled to establish. It did not demonstrate unrestricted general intelligence or guarantee reliable performance outside the tested setting.

Taken together, these results suggest a research direction with measurable demands. Systems should discover reusable operations, encounter unfamiliar combinations during evaluation and expose the assumptions governing their interactions. Designers must also account for the costs: narrow interfaces can discard useful information, and rigid boundaries can obstruct learning across components. The aim is an architecture that preserves enough structure to make change manageable. A useful piece carries an earlier discovery forward. A trustworthy connection allows that discovery to become part of something the system has never done before.