Can Large Language Models Derive Relativity? Exploring the Knowledge Boundary of AI
This article examines the knowledge boundary of large language models through a thought experiment: truncating the training corpus to before the 20th century and asking whether a model can derive special or general relativity on its own. It breaks "derivation" into proposing low-frequency hypotheses, constructing new mathematical objects, and judging which path deserves more compute. It then explains why scaling alone has not produced qualitative breakthroughs, why autoregressive objectives reward imitation over novelty, how inductive bias shapes the search starting point, and why the lack of a verification loop matters. Finally, it outlines a five-layer engineering design and an evaluation approach based on controlled comparisons.
1. Thought Experiment: Truncating the Timeline at 1900
Imagine a controlled experiment: cut off all training data before the 20th century, keeping only classical mathematics and physics literature that predates Newtonian mechanics, Maxwellian electromagnetism, Riemannian geometry, and the Lorentz transformation. Then ask a simple question: can the model derive special or general relativity by itself?
The value of this question is not the answer itself. It compresses the abstract problem of “where model capability comes from” into a decidable technical problem. To answer it, you first have to split “derivation” into three different things: proposing a new hypothesis that appears with very low frequency in existing data; constructing a mathematical object that did not previously exist; and deciding which path is worth more compute when there is no experimental feedback.
2. Phenomenon Layer: Scaling Up Does Not Automatically Bring Qualitative Change
Engineering practice over the past two years points to the same observation repeatedly: pushing parameter count and corpus size to unprecedented levels does make models more fluent, less prone to basic errors, and better at aligning with human preferences, but there is no stable sign of “discovering new knowledge.” Two types of gains need to be strictly separated here.
The first is improved fitting quality. The model covers existing knowledge more completely, expresses it more aptly, lowers the error rate on long-tail facts, and controls style more stably. These gains are continuous, measurable, and a direct product of scaling.
The second is an increase in the kinds of capability, such as solving difficult competition problems, generating structurally complex vector graphics, and executing multi-step tool calls. The more common engineering path is to obtain these capabilities through domain data supplementation, task-specific fine-tuning, preference alignment, and larger inference-time search budgets, rather than waiting for them to emerge spontaneously during pretraining. In other words, new features usually come from new “targeted feeding” rather than the model having a sudden insight on old data.
This is not a denial of the model’s value. On the contrary, only by locating the source of capability clearly can compute be spent in the right place: expand data for coverage, design data and training curricula for specific capabilities, and add constraints and verification for reliability.
3. Mechanism Layer: Why “Derivation” Is Much Harder Than “Continuation”
1. The Objective Function Only Rewards Plausibility of the Next Token
The goal of autoregressive training is to maximize the conditional probability of the next token. This is an imitation problem, not a truth problem. When a conclusion does not exist in the corpus, the model receives no gradient signal pushing it to “invent” that conclusion; what it can do is interpolate from existing patterns. True theoretical breakthroughs are usually low-probability events in the corpus distribution, and the objective function systematically suppresses low-probability paths.
Schematically, the training and inference objectives can be written as:
# Training: maximize the conditional likelihood of existing corpus (imitation)loss = -sum(log P(token_t | token_<t) for token in corpus)# Inference: search within the learned distribution (combine existing patterns)best = argmax_score(candidate for candidate in beam_search(prompt))
Neither includes a “novelty” or “verifiable ground truth” term, which is exactly the root of the problem.
2. Inductive Bias Determines the Starting Point of the Search
The model’s structural priors (attention mechanisms, positional encoding, hierarchical representations) are good at local correlations and compositional generalization, but they do not naturally carry physical intuitions such as “conservation laws,” “symmetry,” and “least action.” Human physicists rely on symmetry analysis, dimensional estimation, and thought-experiment pruning to compress the search space by several orders of magnitude. Without such priors, the model can only perform undirected enumeration in a huge combinatorial space.
3. No Closed Loop of Verification and Feedback
Relativity was accepted because of testable predictions and comparison with observations. A pure text corpus has no such loop. Without a verifier, the model cannot distinguish “profound but wrong” from “profound and correct,” nor can it turn failure into a direction for the next search.
4. Engineering “Derivation”: A Practical Five-Layer Design
If you really want a system to produce knowledge beyond the corpus on limited data, the hope should be placed on architecture and process, not scale.
- Knowledge boundary isolation: strictly separate the corpus timeline and build a decontamination process to prevent evaluation targets from leaking into the training set.
- Symbolic and retrieval add-ons: introduce symbolic computation and formal verification as external reasoners, so that conjectures must pass proof or counterexample checks.
- Curriculum training: first solidify classical mechanics and geometry, then gradually introduce higher abstraction levels, forming a learning path from concrete to abstract.
- Verifiable rewards: use “can be verified” as the reward signal, replace human preference scoring with programmatic verification, and reduce the risk of rewards being hijacked by surface fluency.
- Multi-candidate generation and pruning: use asymmetric verification (verification is easier than generation) to produce candidates in batches, then filter them with strict criteria.
The data mix can refer to the following structure:
corpus_mix:classic_text: 0.45 # Classic literature and textbooksformal_proof: 0.20 # Formal proofs and symbolic derivationsexecutable_checks: 0.15 # Runnable numerical and unit testsdialogue_reasoning: 0.20 # Process-oriented reasoning and reflection traces
5. Evaluation: Stop Asking “Can It,” Ask “Under What Conditions Can It”
A more informative evaluation design includes three control groups: a control group of the same scale but with formal verification data added; a control group with the same data but a larger inference search budget; and a strictly decontaminated clean test set. If the capability appears only after adding data, it is a coverage problem; if it appears only after increasing the search budget, it is a search problem; if it collapses on the clean test set, it was memorization rather than generalization.
For implementation, this process can rely on general engineering capabilities: object storage to hold corpora and checkpoints, container platforms to run training and inference tasks, message queues to decouple candidate generation from verification, and logging services with monitoring and alerting to track reward curves and contamination risk. The general cloud infrastructure provided by Baidu AI Cloud can likewise support the engineering loop of such experiments.
6. Conclusion
Under the current paradigm, if the corpus is truncated before the 20th century, the model is more likely to produce an excellent recombination of classical knowledge than to independently achieve a relativity-style reconstruction. The reason is not insufficient compute, but an objective function that rewards imitation, an inductive bias that lacks physical priors, and a missing verification loop. To break through the boundary, the right investment directions are external reasoners, verifiable rewards, and search budgets, rather than simply piling on more scale.
