From Kepler to Newton: Inductive Biases Guide Learned World Models in Transformers
Authors:
- Ziming LiuZLZiming Liu
- Sophia SanbornSSSophia Sanborn
- Surya GanguliSGSurya Ganguli
- Andreas ToliasATAndreas Tolias
Preprint
Abstract
Can general-purpose AI architectures go beyond prediction to discover the physical laws governing the universe? True intelligence relies on "world models" -- causal abstractions that allow an agent to not only predict future states but understand the underlying governing dynamics. While previous "AI Physicist" approaches have successfully recovered such laws, they typically rely on strong, domain-specific priors that effectively "bake in" the physics. Conversely, Vafa et al. recently showed that generic Transformers fail to acquire these world models, achieving high predictive accuracy without capturing the underlying physical laws. We bridge this gap by systematically introducing three minimal inductive biases. We show that ensuring spatial smoothness (by formulating prediction as continuous regression) and stability (by training with noisy contexts to mitigate error accumulation) enables generic Transformers to surpass prior failures and learn a coherent Keplerian world model, successfully fitting ellipses to planetary trajectories. However, true physical insight requires a third bias: temporal locality. By restricting the attention window to the immediate past -- imposing the simple assumption that future states depend only on the local state rather than a complex history -- we force the model to abandon curve-fitting and discover Newtonian force representations. Our results demonstrate that simple architectural choices determine whether an AI becomes a curve-fitter or a physicist, marking a critical step toward automated scientific discovery.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- Interpretable conservation laws as sparse invariantsPhysical Review E, 2024
- Rediscovering orbital mechanics with machine learningMachine Learning: Science and Technology, 2023
- Machine learning conservation laws from differential equationsPhysical Review E, 2022
- Flamingo: A Visual Language Model for Few-Shot Learning2022
- Machine Learning Conservation Laws from TrajectoriesPhysical Review Letters, 2021
- Multimodal Neurons in Artificial Neural NetworksDistill, 2021
- AI Feynman: A physics-inspired method for symbolic regressionScience Advances, 2020
- Toward an artificial intelligence physicist for unsupervised learningPhysical Review E, 2019
- The free-energy principle: a unified brain theory?Nature Reviews Neuroscience, 2010
- Predictive coding in the visual cortex: a functional interpretation of some extra-classical receptive-field effectsNature Neuroscience, 1999