Abstract
Large natural language models (such as GPT-3 or T5) demonstrate impressive abilities across a range of general NLP tasks. Here, we show that the knowledge embedded in such models provides a useful inductive bias, not just on traditional NLP tasks, but also in the nontraditional task of training a symbolic reasoning engine. We observe that these engines learn quickly and generalize in a natural way that reflects human intuition. For example, training such a system to model block-stacking might naturally generalize to stacking other types of objects because of structure in the real world that has been partially captured by the language describing it. We study several abstract textual reasoning tasks, such as object manipulation and navigation, and demonstrate multiple types of generalization to novel scenarios and the symbols that comprise them. We also demonstrate the surprising utility of compositional learning, where a learner dedicated to mastering a complicated task gains an advantage by training on relevant simpler tasks instead of jumping straight to the complicated task.
Introduction
A long-standing debate in artificial intelligence centers on the divide between symbolic AI, which relies on explicit logic and rules, and connectionist AI, which learns patterns from data. While neural networks excel at language processing, they are often criticized for being brittle "pattern matchers" that fail when encountering scenarios outside their training distribution. This research investigates whether the vast human knowledge embedded in Large Language Models (LLMs) provides an "inductive bias"—a form of internal common sense—that can be leveraged to master symbolic reasoning tasks with greater efficiency and generalization than models trained from scratch.
Methods
The study utilized a T5 (Text-to-Text Transfer Transformer) model with 3 billion parameters. To isolate the impact of pre-training, the researchers compared this model against a "Tabula Rasa" baseline—an identical architecture trained from scratch without any prior linguistic exposure.
The models were evaluated on three primary symbolic reasoning tasks:
- Containers: Tracking object locations within containers following various "move" operations.
- Navigation: Determining routes on a grid or predicting final locations based on directional commands.
- Composite Task: A "Hard Object" task requiring simultaneous navigation and object manipulation.
Generalization was tested across three dimensions: cardinality (handling more objects than seen in training), semantics (using novel word types), and structural integrity (comparing English templates against "gibberish" mappings).
Key Results
The Pre-training Advantage
The most significant finding was the overwhelming superiority of the pre-trained model over the Tabula Rasa version. While the model trained from scratch struggled to achieve even 20% accuracy on many tasks, the pre-trained T5 frequently approached 90-100% accuracy on interpolation tasks and maintained high performance during extrapolation.
Semantic Inductive Bias
The model demonstrated a clear "English advantage," performing significantly better on tasks described in natural language than on identical logic tasks presented in gibberish. Furthermore, the type of nouns used influenced performance; the model was more adept at reasoning about "concrete" nouns (physical objects) than abstract concepts or verbs used as nouns. This suggests that the model's pre-training has instilled a proto-understanding of physical persistence and object properties.
Compositional Learning and Generalization
The researchers observed a phenomenon akin to human "curriculum learning." Training a model on simple sub-tasks (like navigation and container tracking separately) allowed it to master a complex combined task more effectively than training on the complex task alone. Additionally, the model exhibited strong "cardinality generalization," successfully tracking up to 19 objects even when only trained on 8, indicating it had learned the underlying rules rather than just memorizing specific sequence lengths.
Discussion and Conclusion
These results suggest that LLMs are not merely statistical parrots but possess a structured world model that serves as a powerful prior for logical reasoning. This inductive bias allows them to learn the "physics" of a task—such as the fact that objects move with their containers—even in novel scenarios.
However, limitations remain. The models are sensitive to training distributions; for instance, they struggle to generalize to long navigation paths if only exposed to short ones during fine-tuning. Future research may explore using LLMs as common-sense priors for autonomous agents, providing a baseline of logic before real-world interaction.
Summary updated