Can AI Independently Derive Relativity? Limits of Large Language Models in Discovering New Physics
This article examines whether current large language models can independently derive special or general relativity when their training corpus is strictly limited to pre-20th-century physics and mathematics. It argues that scaling parameters and data has not produced a qualitative leap toward genuinely new knowledge, then defines the boundary between derivation and memory reconstruction, outlines four structural bottlenecks (missing physical priors, hard symbolic search, absent formal verification, and hidden data contamination), and proposes a reproducible four-layer evaluation framework along with practical engineering recommendations.
What Are We Really Asking?
The question looks simple, but it actually bundles three distinct problems. Mixing them together inevitably leads to vague conclusions.
The first is corpus isolation. “Pre-20th century” needs a clear cutoff. Newtonian mechanics, Lagrangian and Hamiltonian analytical mechanics, Maxwell’s electromagnetic theory, early thermodynamics and statistical physics, Riemannian geometry, the early forms of tensor analysis, and early results from group theory fall within the allowed range. The Lorentz transformation, mass-energy equivalence, field equations, and spacetime curvature must be excluded. The difficulty is that late-19th-century literature already contained many “critical clues”: the null result of ether-drift experiments, the ultraviolet catastrophe of black-body radiation, and the anomalous precession of Mercury’s perihelion. Whether these clues count as pre-20th-century knowledge directly determines whether the experiment is “clean” or “contaminated.”
The second is the capability boundary. To “derive” relativity, a model must accomplish at least four things: identify internal contradictions in the existing theoretical system; propose new conservation laws or invariance assumptions; construct mathematical structures that satisfy those assumptions; and run consistency checks against the known low-speed limit. These four steps span three very different capabilities: pattern matching, symbolic computation, and physical intuition.
The third is evaluation. If a model’s output closely resembles textbook formulas, did it derive them or memorize them? The two must be separated with strict controlled experiments; otherwise no conclusion holds.
Core Claim: Scaling Has Not Triggered a Qualitative Shift
Across models that keep breaking records in parameter count and data volume, a consistent pattern appears: they interpolate extremely well within the existing knowledge distribution but rarely produce genuine “out-of-distribution discovery.”
The reason lies in the training objective itself. Autoregressive language modeling optimizes conditional probability, rewarding “the most likely continuation given existing text.” The value of scientific discovery, however, lies precisely in proposing low-probability, high-information hypotheses. There is a structural mismatch between the objective function and the behavior of discovery: models are trained to be excellent “retellers and integrators,” not “risk-taking hypothesis generators.”
More concretely, scaling improves three things: modeling longer-range context dependencies, finer knowledge granularity, and more stable reasoning-chain retention. It does not automatically improve a fourth thing — critical reconstruction of the existing framework. More data strengthens convergence toward the mainstream paradigm and may actually reduce the tendency to propose heterodox hypotheses. This explains why the combination of “massive data plus giant parameters” has not delivered new physics.
Four Real Bottlenecks
1. Missing Physical Priors
The model has no built-in constraint that “experiment is the arbiter of theory.” It can write down generally covariant equations mathematically, yet it cannot tell which term corresponds to an observable effect. Without operational definitions, derivation degenerates into a symbolic game.
2. Structural Difficulty of the Symbolic Search Space
Going from “the speed of light is invariant” to the Lorentz transformation requires searching an enormous space of expressions for structures with group closure. This is a typical symbolic regression problem, and the search space grows exponentially with expression depth. Autoregressive decoding in language models is locally greedy and lacks global constraint-solving ability.
Schematically, the search process can be abstracted as:
# Pseudocode: constraint-guided symbolic structure searchcandidates = enumerate_expressions(depth=6, ops={"+", "-", "*", "/", "d/dx"})for expr in candidates:if is_group_closed(expr) and reduces_to_galilean(expr, v/c -> 0):return expr # In practice, this loop almost never converges in acceptable time
A real system needs constraint propagation, pruning, and equivalence-class merging — all of which are orthogonal to the pure language-modeling paradigm.
3. Absence of Formal Verification
Natural-language reasoning cannot guarantee the validity of each step. A workable remedy is to map the derivation into a machine-checkable formal system: define types, axioms, and proof obligations, and have a proof assistant verify them step by step. This at least rules out outputs that “look correct but cannot be verified.”
4. Hidden Data Contamination
Even with strict corpus filtering, transcription, translation, and textbook-style rewriting introduce hindsight vocabulary. If terms such as “invariant,” “covariant,” and “reference frame transformation” appear in the corpus, the model may simply be recombining the conclusion. Filtering must be applied at both the terminology level and the concept level, and a contamination audit report should be retained.
A Reproducible Verification Framework
A four-layer progressive design is recommended, raising the strength of the verdict at each layer.
- L1 Memory control: Evaluate the same model on the full corpus and on the truncated corpus, and compare output similarity. High similarity indicates reliance on memory rather than derivation.
- L2 Counterfactual perturbation: Make the speed of light a variable and observe whether the model can re-derive the corresponding family of transformations. Successful re-derivation shows the model grasped the structure rather than the conclusion.
- L3 Formal verification: Require machine-checkable proofs in the output, and measure the proof pass rate and average proof depth.
- L4 Limit consistency: Automatically check whether the low-speed limit reduces to the Galilean transformation and whether the weak-field limit reduces to Newtonian gravity.
Recommended metrics include hypothesis novelty, derivation verifiability rate, limit-consistency pass rate, and robustness to perturbation. All four are necessary; looking at accuracy alone severely overestimates capability.
Engineering Recommendations
To approach this goal in a real system, the following combination can be used as a reference:
- Corpus governance: Build a truncated corpus with a concept-level decontamination pipeline that emits auditable filtering logs.
- Neural-symbolic hybrid architecture: The language model generates hypotheses and natural-language explanations, while a symbolic engine handles transformation, simplification, and group-property checks, forming a generate-and-verify loop.
- Tool augmentation: Package algebraic operations, numerical integration, and unit/dimension checks as general-purpose tool services that the model calls on demand, avoiding “mental arithmetic” errors.
- Compute and storage foundation: Large corpora and verification logs can be stored in object storage, training and inference workloads can run on a container platform, a message queue can decouple the generation and verification stages, and a monitoring and alerting system can track convergence curves and anomalous divergence.
- Human in the loop: Keep a domain-expert stage for hypothesis screening, positioning the model as a “high-throughput candidate hypothesis generator.”
Conclusion
Under the current technical paradigm, truncating the corpus to before the 20th century means the model most likely cannot independently derive special or general relativity. What it is more likely to do is perform extreme recombination and restatement within the existing framework, producing a set of expressions that are formally covariant but lack physical criteria. The bottleneck is not the absolute amount of parameters or data, but four structural gaps: the objective function, the symbolic search mechanism, formal verification, and physical priors. Closing these four gaps requires deep coupling of neural and symbolic methods, not simply scaling up further.
