TL;DR
This paper formalizes compositionality—the reuse and recombination of parts into novel structures—using algorithmic information theory. By defining compositionality as the emergence of "novel shared structure" that isn't apparent when parts are modeled in isolation, the authors create a framework to both quantify and generate complex, hierarchical data like strings and images.
What Problem Does This Paper Address?
We intuitively recognize compositionality everywhere: atoms form molecules, motifs form music, and functions form programs. In machine learning, we often assume compositionality is a key reason why deep architectures work. However, we lack a general, quantitative way to measure it.
Most existing definitions are "relative"—they depend on a pre-defined set of parts or specific rules (like a grammar). This paper seeks an intrinsic definition: for any arbitrary object, how much compositional structure does it have, and how is that structure organized across different scales? The goal is to move beyond just measuring "complexity" or "regularity" to capture the specific "part-whole" organization that characterizes life and intelligence.
Methods
The authors build their framework on Algorithmic Information Theory (AIT), specifically the concept of Kolmogorov complexity ($K$).
- Occam's Razor Models: They define the "model" ($m_x$) of an object $x$ as its minimal sufficient statistic—the shortest program that captures all the compressible structure in $x$.
-
Novel Compositional Structure ($C$): They define the compositionality of a whole ($x$) relative to its parts ($x_a, x_b$) as the additional information needed to describe the model of the whole given the models of the parts: $$C(x_a, x_b \to x) = K(m_x | m_{x_a}, m_{x_b})$$ If the whole is just a "flat" collection of unrelated parts, this value is near zero. If combining parts reveals a new reusable pattern (like a recurring motif across two musical phrases), this value is high.
-
Compositional Structure Profiles: By applying this measure recursively across a "decomposition tree," they generate a profile that shows where and at what scale structure emerges.
- Tractable Approximations: Since Kolmogorov complexity is uncomputable, they use empirical compressors:
- For Strings: A modified RePair grammar induction algorithm.
- For Images: Coordinate-based neural networks (CPPNs) where the "model" is the network itself, and complexity is estimated via learning-curve proxies.
- Generative Optimization: They use evolutionary algorithms (NSGA-II for strings, NEAT for images) to search for objects that maximize this compositionality score across all scales.
Datasets
The paper focuses on fundamental principles rather than large-scale benchmarks. They evaluate their framework on two synthetic domains:
- Symbolic Strings: Fixed-length (128) strings with a vocabulary of 8 symbols.
- Compositional Images: $64 \times 64$ RGB images with discretized intensities.
Key Insights and Ideas
- Compositionality $\neq$ Complexity: A random string has maximum complexity but zero compositionality because it has no structure to share. Conversely, a simple repeating pattern (e.g., "010101...") has structure, but no novel structure emerges as you add more parts.
- The "Signature" of Data: Different types of processes produce distinct profiles. For example, i.i.d. data shows structure only up to a certain scale, while hierarchical data (like art or music) shows novel structure emerging across many nested scales.
- Inverting the Definition: By optimizing for the form of the profile rather than specific content, the authors found that "compositionality" acts as a powerful generative objective. It naturally pushes for the creation of motifs, hierarchies, and unified themes.
- Depth as an Inductive Bias: The framework provides a theoretical justification for deep learning: if natural data is compositional, models must be deep to capture the novel structure that emerges at each successive scale of combination.
Key Results
- Strings: Strings optimized for compositionality resulted in significantly deeper grammars (more nested rules) and denser "dot plots" (visualizations of repeated patterns) compared to strings optimized merely for total structure/compressibility.
- Images: Compositionality-optimized images exhibited unified visual themes, repeated motifs, and coherent color palettes. In contrast, images optimized only for structure tended to be "disjoint," packing many independent, highly-compressible bands of color together without any global organization.
- Theoretical Proof: The authors proved that while compositionality implies algorithmic mutual information (the parts share info), the reverse is not true. Mutual information can come from simple reuse; compositionality requires the emergence of a new joint account of that structure.
Limitations and Future Work
- Uncomputability: The core definitions rely on $K$, which is uncomputable. The results are sensitive to the choice of empirical compressor (e.g., grammar induction vs. neural networks).
- The Decomposition Tree: The current work assumes a fixed decomposition (like a binary tree). However, objects likely have an "intrinsic" decomposition. The authors conjecture that the "true" decomposition is the one that maximizes the total compositionality score, but this remains an open research question.
- Computational Cost: The neural MDL approximation used for images is computationally expensive, limiting the resolution and complexity of the generated objects.
- Open-Ended Learning: The authors suggest this framework could be used to design "curricula" for AI agents, where new experience is selected specifically because it builds maximally on the structure of prior knowledge.
Summary updated