Neural network arithmetic yields one new network from three

Researchers at Yale University have shown that neural network arithmetic is feasible: by Combining and removing the internal settings of specially prepared networks, they built fresh networks able to tackle related tasks that those networks had never been trained for.
The result is laid out in a paper by Tenenbaum and R Thomas McCoy, both from the university's Department of Linguistics, titled "Linking Rapid Learning to Compositional Structure in Neural Networks: Evidence from Additive Analogies in Meta-Learned Parameter Spaces", and Digg reported on it. There is a limitation: the networks have to begin from a shared, carefully prepared foundation, so the technique cannot be used to mix models that are unrelated. In the authors' tests, networks adapted from different foundations could not be merged with success.
McCoy, who is also linked to Yale's Wu Tsai Institute, summarised the team's results in a Bluesky thread published on December 3. The thread revolved around one question: what internal structure allows a neural network to learn quickly?.

Why the researchers went looking
The study begins with a familiar gap between people and machines. Humans can pick up a new idea from a handful of examples. Neural networks, including the large language models behind today's chatbots, usually need enormous amounts of training data.
Meta-learning narrows that gap. In a 2020 study McCoy co-wrote, a network given meta-learned starting weights learned new linguistic rules from 100 examples. The same design starting from ordinary weights needed about 20,000. Earlier work had established that such networks learn new functions quickly, but not how they do it. Tenenbaum and McCoy set out to look inside them.
The question also feeds into a decades-old debate in cognitive science. Symbolic accounts of the mind say thinking depends on rules and parts that combine systematically, much as words do in a sentence. Connectionist accounts rest on networks of simple, interconnected units. Finding rule-like, combinable structure inside networks that developed it on their own would help bridge the two camps. The pair explored an earlier version of the idea in a shorter paper, "Additive Analogies Reveal Compositional Structure in Neural Network Weights", published in the proceedings of the Cognitive Science Society's 2025 conference.
Meta-learning does the groundwork for neural network arithmetic
Before any arithmetic took place, the networks went through meta-learning. In this kind of training, a network practises on many related functions so that it can master new ones of the same kind quickly. The researchers used a popular method called MAML, short for model-agnostic meta-learning. MAML tunes a network's starting settings so that a small amount of further training goes a long way.
From that shared starting point, each task-specific network was produced with a single learning step on a batch of 100 example sequences. It was these quickly adapted networks, all descended from the same origin, that turned out to support arithmetic.
So the arithmetic does not replace training; it depends on it. The new networks inherit a common foundation, and the sums work because of it. There is a tidy reason for this. Each adapted network is the shared starting point plus its own small update. A sum such as A plus B minus C therefore works out to that same starting point plus a combination of the updates. For readers weighing what neural network arithmetic can and cannot do, that shared starting point is the key condition.
The authors describe the effect in terms of geometry. In their account, meta-learning shapes the space of possible settings around the starting point, so that learning follows orderly, meaningful paths through it. The additive analogies are the evidence for that structure.
How the method combines parameter vectors
Each adapted network's parameters, the numbers that govern how it behaves, were strung together into one long list known as a vector. Representing a whole network this way is what makes arithmetic on it possible. The team added and subtracted these vectors to match how the tasks related to one another. They then loaded the result into a fresh network and checked whether it performed the function the sum predicted.
Here is an analogy of the kind the paper tests. Suppose each network produces sequences from a pair of numbered tokens. A network for the pair 1 and 5, plus one for 2 and 6, minus one for 2 and 5, should give a working network for 1 and 6, with no training on that pair.
What gets manipulated in this arithmetic is the learned settings of the networks, rather than the text they produce or how they are built. The authors drew their inspiration from arithmetic on word vectors, which gained wide attention through a 2013 study headed by Tomas Mikolov, where "king" less "man" plus "woman" comes out roughly as "queen". In their own account, they are lifting that idea a level higher, moving from words to functions. The items being recombined here represent entire networks built for particular tasks, not single words.
What network subtraction looks like in practice
Consider an example built on sequences in which the tallies for a pair of characters are required to be even or odd. Begin with a network whose output is an even run of Ms and then an odd run of Qs. Take away the vector belonging to a second network, one that outputs odd runs of both characters. Then put in the vector of a third, which produces an odd run of Ms and an even run of Qs. Written out as a sum:
(even Ms, odd Qs) − (odd Ms, odd Qs) + (odd Ms, even Qs) = (even Ms, even Qs)
According to the authors, the network that results writes even runs of both letters. In effect, the rule governing Qs is altered while the rule governing Ms is left untouched. The example is modest, yet it demonstrates that the approach can single out one rule at a time. In the paper's actual tasks, numbered tokens stand in for letters, although one group of those tasks rests on the same sort of odd-or-even rules.
What the experiments tested
The tests covered two kinds of network. LSTMs (long short-term memory networks) are an older design built for processing sequences. Transformers are the architecture behind most modern language models. Both were small by current standards: the Transformers had four layers, and the LSTMs had just one.
The tasks came from three families of functions, all involving short sequences built from pairs of numbered tokens. In the simplest, each function is defined by which two tokens it uses. The second family adds odd-or-even rules about how often tokens appear. The third adds filler tokens that change the length of the sequences. Each network built by arithmetic got a score from 0 to 1, based on how closely the sequences it produced most often matched those of the target function.
In the simplest family, meta-learned Transformers averaged a perfect 1.00 across ten networks and all 100 analogies tested. Networks that started from random settings failed at both the quick learning and the arithmetic. They averaged below 0.1 in every case, even when allowed five training steps instead of one. Networks pre-trained on the same data in the conventional way also fell short, and the meta-learned versions consistently beat them on the analogy tests.
Early reaction to the neural network arithmetic paper
Digg collected a few responses to the paper. One came from Tyler Brooke-Wilson, a Yale philosopher who works on cognitive science and AI. He called the paper a strong test of whether networks can develop symbol-like, combinable structure on their own. He also described it as a good example for mechanistic interpretability, the field that tries to work out how AI models operate internally. Brooke-Wilson is among those thanked in the paper's acknowledgements, so his is not an independent assessment.
Limits of the finding
The researchers are clear that the additive relationships hold only approximately; they are not exact identities. The tasks were also kept deliberately simple so that the effect would be easy to see and measure.
The structure is local, too. When the team combined networks adapted from different meta-learned starting points, the analogies failed across the board, with average scores close to zero. The authors conclude that the useful geometry is local to each starting point rather than shared between them.
They also acknowledge that their method cannot fully map the structure inside a network. In their view, extending the approach to richer domains will probably require new ways of discovering that structure in the first place. Nor does the paper show that this geometry is what makes rapid learning possible. The authors flag that causal link as an important question for future work.
Finally, the study is not offered as something people could put to practical use. A related technique called task arithmetic already exists for altering what large models can do. It works by combining, through addition and removal, the shifts in weights that result when a large pre-trained model is fine-tuned. Tenenbaum and McCoy explain that they use analogies to probe how parameters hold compositional structure, rather than to offer a way of moving skills from one model to another.
The main points of the study on neural network arithmetic, in brief:
- The networks come from a shared meta-learned starting point.
- The arithmetic acts on parameter vectors, not on outputs or architecture.
- The relationships hold approximately, not exactly.
- Networks adapted from different starting points did not combine.
- The tests used small networks and simple sequence tasks.
- Whether this structure drives rapid learning is still unproven.
