NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Learning Compositional Latent Structure with Vector Networks

Niclas Pokel, Benjamin F. Grewe

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Interpretability & Model Adaptation › Neural Generalization and Memorization Geometry · Type: new method · Keywords: compositional generalization, weight atom reuse, low-rank adaptation, hierarchical recurrent networks, energy minimization

Areas: Model Architectures & Sequence Modeling › Neural and brain architectures › Expressivity and complexity of neural architectures

Summary

Vector Network introduces a hierarchical recurrent architecture that replaces each layer's fixed weight matrix with a library of reusable rank-1 weight atoms, enabling sparse composition of low-rank weight matrices and achieving superior compositional generalization on novel combinations of familiar factors.

Explained to a 5-year-old

Deep computers learn many things at once, but they mix everything together. This paper makes a new kind of computer that can pick a few simple building blocks for each new problem. It learns to use these blocks to solve puzzles. It works better when we combine old ideas in new ways. The new computer can remember parts of what it learned and reuse them, so it gets smarter faster.

Explained to a 5-year-old, longer

Deep computers are like big notebooks that can learn many tasks, but they often write everything in one big messy page, making it hard to find the right part when you need it later. The researchers noticed that when we see new things, we often combine pieces we already know, like using a triangle and a square to build a house. They wanted a computer that could do the same: pick out small, simple pieces of knowledge and put them together for new problems. They built a new kind of network that stores many tiny, reusable building blocks instead of one huge set of weights. For each new input, the network looks at the blocks, chooses a few that fit, and uses them to make a small, specific set of weights just for that problem. This way, the network can remember how to do something and reuse it later. The learning happens slowly, only updating the chosen blocks, so the network does not forget old skills. They tested this idea on several puzzles that require mixing known parts in new ways, like moving objects, drawing shapes, and recognizing numbers. The new network performed as well as older methods when the test data looked familiar, but it was much better when the test required new combinations of old ideas. This shows that storing knowledge in reusable pieces helps computers generalize, just like humans do. The approach also reduces the amount of memory needed because only a few blocks are active at a time. Overall, the work shows that designing architectures that encourage reuse can lead to more robust and flexible AI systems.

For a technical reader

The paper proposes a hierarchical recurrent architecture that replaces each layer's dense weight matrix with a library of reusable rank-1 weight atoms. For each input, the model infers a sparse set of active atoms and coefficients by minimizing a layer-local energy that balances reconstruction of the input and consistency of top-down feedback. These coefficients compose an input-specific low-rank weight matrix, allowing the network to reuse components across tasks. Learning updates only the selected atoms slowly using local residual signals scaled by the inferred coefficients, which improves compositional generalization on novel combinations.

Problem

Deep networks store many computations in shared weight matrices, making it difficult to selectively reuse or adapt parts of them when familiar structures appear in novel combinations.

Method

The approach replaces each layer's fixed weight matrix with a library of reusable rank-1 weight atoms. For each input, it infers a sparse set of active atoms and coefficients via a layer-local energy minimization that balances input reconstruction and feedback consistency, forming an input-specific low-rank weight matrix. Learning updates only the selected atoms slowly using local residual signals scaled by the inferred coefficients.

Results

The approach matches baselines on in-distribution data and reduces out-of-distribution error by roughly an order of magnitude for novel recombinations of familiar factors.

Contributions

It introduces a hierarchical recurrent architecture with reusable rank-1 weight atoms that enable compositional generalization as a structural property, and it demonstrates superior out-of-distribution performance on multiple benchmarks.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction