Abstract
In this thesis, we try to build a connection between the two schools by introducing syntactic inductive biases for deep learning models. We propose two families of inductive biases, one for constituency structure and another one for dependency structure. The constituency inductive bias encourages deep learning models to use different units (or neurons) to separately process long-term and short-term information. This separation provides a way for deep learning models to build the latent hierarchical representations from sequential inputs, that a higher-level representation is composed of and can be decomposed into a series of lower-level representations. For example, without knowing the ground-truth structure, our proposed model learns to process logical expression through composing representations of variables and operators into representations of expressions according to its syntactic structure. On the other hand, the dependency inductive bias encourages models to find the latent relations between entities in the input sequence. For natural language, the latent relations are usually modeled as a directed dependency graph, where a word has exactly one parent node and zero or several children nodes. After applying this constraint to a Transformer-like model, we find the model is capable of inducing directed graphs that are close to human expert annotations, and it also outperforms the standard transformer model on different tasks. We believe that these experimental results demonstrate an interesting alternative for the future development of deep learning models.
Introduction: Bridging Connectionism and Symbolism
Artificial Intelligence is currently caught in a tug-of-war between two paradigms: Connectionism (deep learning), which excels at learning from massive data but lacks transparency, and Symbolism (logic and linguistics), which is interpretable but often too brittle for real-world data.
Standard deep learning models, such as the Transformer or LSTM, often treat sentences as flat sequences of tokens. This approach makes them data-hungry and prone to failure when encountering "out-of-distribution" data—such as sentences longer than those seen during training. This research addresses this gap by introducing syntactic inductive biases: architectural constraints that enable neural networks to naturally induce the hierarchical and relational structures of language without human-labeled data.
Methodology: Architectural Innovations
The thesis proposes three primary innovations to embed structural awareness into deep learning architectures:
1. Ordered Neurons (ON-LSTM)
To model constituency syntax (nested phrases), we introduced the ON-LSTM. Unlike standard LSTMs where neurons update independently, the ON-LSTM uses a cummax() activation function to enforce a hierarchy. High-ranking neurons represent long-term information (large phrases), while low-ranking neurons represent short-term information (individual words). Updating a high-ranking neuron forces an update to all lower-ranking ones, mimicking the structure of a constituency tree.
2. Unsupervised Dependency Graph Network (UDGN)
Targeting dependency syntax (how words relate, such as a verb to its subject), the UDGN uses a parser module to predict a "soft" dependency mask. A multi-channel graph network then propagates information only between related words, forcing the model to discover the underlying relational graph.
3. Option-Controller Network (OCN)
Applying hierarchical principles to Reinforcement Learning, the OCN uses a "Controller" to pick "Options" (reusable skills). These skills execute until a termination signal is triggered, allowing an agent to decompose complex tasks into manageable sub-tasks.
Key Results and Insights
The models were evaluated across diverse benchmarks, including the Penn Treebank (PTB), ListOps (nested math), and the Craft environment (RL grid-world).
- Unsupervised Parsing: The ON-LSTM achieved state-of-the-art results in unsupervised constituency parsing on the WSJ test set, with F1 scores reaching 47.7%.
- Mastering Formal Logic: On the ListOps task, the Ordered Memory model achieved 99.9% accuracy and induced the correct underlying tree structure with a 100% F1 score, significantly outperforming standard Transformers.
- Skill Reuse in RL: In the Craft environment, the OCN model learned skills from unstructured demonstrations and successfully reused them, achieving double the returns of the strongest baselines.
Discussion and Future Work
The most profound insight of this work is that structure acts as a powerful regularizer. By forcing a model to communicate through tree-like bottlenecks, we prevent the memorization of noise and encourage meaningful abstractions. Furthermore, the research shows that explicit tree-building instructions are unnecessary; simply constraining the frequency of neuron updates allows a model to discover hierarchy naturally.
Future challenges include moving from "soft" probabilities to discrete, symbolic decisions and developing models that can learn a library of truly reusable operators. While these biases excel on synthetic, rule-based languages, mastering the nuances of natural language remains the ultimate goal for systematic generalization.
Summary updated