Harmonizing Program Induction with Rate-Distortion Theory
Abstract
This paper bridges the gap between symbolic program induction and Rate-Distortion Theory (RDT) by formalizing a three-way trade-off between description length (memory), distortion (error), and search budget (computation). Using musical melody learning as a testbed, we demonstrate that a shared library of subprograms, implemented via Adaptor Grammars, significantly enhances learning efficiency. Furthermore, we show that learning is path-dependent, where information-theoretic synergy can be used to optimize the training curriculum for superior generalization.
Introduction
Human cognition is often modeled as program induction: we do not simply memorize data; we distill it into compact, reusable rules. While Rate-Distortion Theory (RDT) provides a mathematical framework for data compression under resource constraints, it has traditionally been applied to simple data vectors rather than complex symbolic programs. Moreover, program induction is inherently path-dependent—what is learned today fundamentally changes the ease of learning tomorrow. This research formalizes how computational constraints and the order of learning (curricula) shape the construction of mental "program libraries."
Methods and Framework
The researchers developed a probabilistic encoder-decoder model that represents musical melodies as programs using Combinatory Logic (CL). Programs are represented as binary trees using "routers" for data flow and "primitives" for basic operations (e.g., "move up one note"), avoiding the complexities of variable naming.
Central to this approach is an expanded RDT objective. Instead of just balancing Rate (description length $R_l$) and Distortion (reconstruction error $D$), the model incorporates a Search Budget ($R_s$). This budget limits the number of candidate programs the model can evaluate, reflecting finite computational resources. To facilitate efficient learning, the model employs Adaptor Grammars (AGs), which allow it to "cache" successful subprograms into a shared library. As recurring patterns are identified, they become new primitives, making future compression more efficient.
Key Results
The framework was evaluated using a dataset of real-world monophonic piano melodies. The results highlight that the search budget is a critical bottleneck: even if a concise, perfect program exists, it remains inaccessible if the search budget is too low.
Models utilizing a shared library (AGs) consistently outperformed standard Probabilistic Context-Free Grammars (PCFGs). By leveraging pre-discovered, high-quality "chunks" of code, AGs achieved significantly lower distortion for the same description length and were far more robust to search budget constraints. This suggests that the library effectively "evolves" a language suited to the specific domain.
Curriculum and Synergy
A key finding is the "curriculum effect": the order of training data significantly impacts the quality of the resulting library. A "bad" order can lead to a library that is too specific and fails to generalize. To optimize this, the authors used Partial Information Decomposition (PID) to measure "synergy"—how much a new melody helps the library generalize better than the sum of its parts. Curricula designed to maximize synergy resulted in significantly better generalization performance ($p < .001$) compared to random ordering. This suggests that effective learning is not just about "starting simple," but about starting with high-utility building blocks.
Conclusion and Future Work
By integrating search budget into Rate-Distortion Theory, this work provides a more complete picture of the constraints governing symbolic learning. While the current model excels at melody compression, future work will address "long-range" structures and library "refactoring" to merge similar primitives. Testing this framework on other symbolic domains, such as logic puzzles or navigation, will be essential to proving its universality in modeling human-like program induction.
Summary updated