How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Foundation models, transfer, and scaling evidence — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Attention, transformer universality, and sequence limits
- Binary Operations, Monoids, Groups and Subgroups
- Conditional Distributions and Regular Conditional Probability
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Distribution shift and domain adaptation
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Estimators and Randomized Procedures
- Feedforward networks and single-hidden-layer universality
- Finite Counting, Factorials and Binomial Coefficients
- Foundation models, transfer, and scaling evidence
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- limsup, liminf, and Subsequential Limits
- Loss, Risk and Decision Theory
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Prediction problems, risks, and empirical minimization
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Statistical Experiments, Models and Identifiability
- Suprema and Infima
- The Lebesgue Integral and the Convergence Theorems
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
An observed-range language-model scaling fit
Example
Kaplan et al. measured held-out next-token cross-entropy for decoder-only autoregressive Transformer language models trained on WebText2. Here decoder-only means a stack of causal self-attention and positionwise feedforward blocks with residual connections and rowwise layer normalization, omitting the encoder and encoder–decoder cross-attention sublayers. With positional information and a vocabulary-probability output, it assigns a next-token conditional distribution given earlier tokens; its sequence likelihood factors into those next-token probabilities. Let be the paper’s non-embedding parameter count, the training dataset size in tokens, and the held-out test loss. The tested model sizes range from to non-embedding parameters, and tested dataset sizes range from to tokens. WebText2 contains million documents and tokens, of which were reserved for testing.
The paper reports three separate empirical one-variable fits, each for its stated regime, rather than one joint formula. For parameter-limited models trained to convergence on sufficiently large data,
For large models trained on a limited dataset with early stopping,
For compute-efficient training with a sufficiently large dataset and an optimally sized model, the source uses a batch-adjusted non-embedding compute estimate. At a fixed target loss, let be the actual batch size in tokens, the actual number of training steps, and the critical batch size in tokens. In the paper’s empirical batch-size model, set
Here estimates actual non-embedding training FLOPs, estimates the minimum step count at large batch size, and estimates the minimum compute at small batch size. These are model-based adjustments, not exact laws for arbitrary training runs; compute is converted to PF-days for the fitted curve below. Its fitted compute curve is
The compute fit spans eight orders of magnitude in . The reported compute-allocation fits are , , and ; the last exponent is sufficiently small that the authors say it may be consistent with zero. The paper’s table labels the reported S-min relation as a lower bound. The paper also gives a separate model-derived compute-loss exponent of about ; it is not the empirical fit value . The scale constants depend on vocabulary and tokenization.
For any doubling that stays within a fit’s measured range, the corresponding fitted curve predicts a loss ratio of , , or in its respective regime. Applying any curve beyond its reported range, or interpreting a smooth loss fit as a prediction about an unmeasured capability, is extrapolation. The paper reports similar model-size trends on a finite set of other text datasets after WebText2 training, but this is not a universal transfer or reliability guarantee under distribution shift. These are empirical fits, not general theorems about emergent capability, downstream-task performance, other modalities, or universally optimal compute allocation.
Example references
Foundation models as broad-pretraining and adaptation systems: gives the report’s qualitative foundation-model usage and states that pretraining loss entails no general capability or transfer guarantee.
Transformer encoder, decoder, and fixed-width expressivity blocks: supplies the causal self-attention, positionwise feedforward, residual, and normalization components; its encoder–decoder layer additionally has cross-attention, which the decoder-only variant described here omits. This example imports no expressivity or universality theorem.
Kaplan et al., Scaling Laws for Neural Language Models, §§1.2, 2.1–2.3, 3.2–3.3, 5.1, 6.1–6.3, §8, and Appendix A: empirical one-variable fits, parameter and dataset ranges, batch-adjusted compute definition, allocation fits, and stated limits.
Facts & Assumptions
Given: Each reported curve is a fitted empirical relation used only in its stated training regime. Its scale variable is positive, and its exponent is the approximate value stated in the example.
Foundation models as broad-pretraining and adaptation systems: a foundation model is broadly pretrained and adapted to downstream tasks; the definition guarantees no downstream performance from a pretraining loss.
Transformer encoder, decoder, and fixed-width expressivity blocks: the encoder–decoder layer includes causal self-attention, cross-attention to encoder states, and a positionwise feedforward sublayer, with residual connections and rowwise normalization. Its causal mask admits keys only at positions ; the decoder-only variant in this example omits cross-attention.
Verification
For and a fitted power curve , exponent laws give .
Set and use in turn , , and in their respective regimes; the fitted ratios are , , and . The allocation fits similarly multiply , , and by , , and when doubles. These substitutions unpack the empirical fits only; [F1] and [F2] do not turn them into transfer or architecture theorems.
A pretraining–adaptation interface with no shift guarantee
Example
Let and , each with its full power-set sigma-algebra. Give the source and target examples the joint laws and , so their input marginals are and . Here denotes unit point mass at . Supply the conditional label kernels and for each . This is a finite train/evaluation distribution shift with disjoint input support; it is not covariate shift.
For a downstream training sample drawn from , with , a simple parameter empirical-risk-minimization formulation chooses from a nonempty parameter set to minimize when that infimum is attained; is a task predictor and is a task loss. Fine-tuning is a parameter-based adaptation that updates some or all pretrained parameters using task information. In-context learning instead adds task demonstrations and a test input to the prompt while keeping the pretrained parameters fixed. It is an adaptation route by input conditioning, not empirical-risk minimization over changed model parameters.
The report’s 2021 theory discussion asks when a small population pretraining loss implies a small minimal adaptation loss and identifies that interface as a theory gap involving the two data distributions, objectives, training methods, and architecture. A pretraining cross-entropy scaling fit does not by itself give a downstream task-loss or reliability guarantee for this example. This is a conceptual interface example and makes no empirical comparison of prompting and fine-tuning.
The diagram shows the support points of the two laws with their unit masses. It is only a support illustration; the verification derives the shift condition directly from the singleton set .
diagram failed to render:
\begin{tikzpicture}[>=stealth,scale=0.9,transform shape,every node/.style={draw,rounded corners,align=center,font=\small,minimum width=1.7cm,minimum height=0.7cm}]
\node (source) at (0,1) {$P_S$};
\node (sourcepoint) at (3,1) {$(a,0)$};
\node (target) at (0,-1) {$P_T$};
\node (targetpoint) at (3,-1) {$(b,1)$};
\draw[->] (source) -- node[above,draw=none] {mass $1$} (sourcepoint);
\draw[->] (target) -- node[below,draw=none] {mass $1$} (targetpoint);
\end{tikzpicture}Example references
Foundation models as broad-pretraining and adaptation systems: distinguishes prompt conditioning from parameter-based adaptation and records that the pretraining-loss-to-adaptation-loss relationship is not a general guarantee.
Source and target joint laws, risks, and covariate shift: defines source and target joint laws, input marginals, supplied conditional label kernels, and the additional domination and kernel-equality hypotheses for covariate shift.
Bommasani et al., On the Opportunities and Risks of Foundation Models, §§4.3 and 4.10.1–4.10.3: adaptation modes, the optimization-based interface, in-context learning without parameter optimization, and the report’s theory question.
Stanford CS324, Large Language Models, “Adaptation” lecture notes: probing, fine-tuning, prompting, and downstream task adaptation distinctions.
Facts & Assumptions
Given: The finite spaces, joint laws, and conditional kernels are as stated in the example. The ERM notation is defined only when the sample is nonempty; no attainment or optimizer-convergence claim is assumed. The pretrained parameter vector is held fixed by the in-context route.
Foundation models as broad-pretraining and adaptation systems: the report’s 2021 interface question is whether small population pretraining loss implies small minimal adaptation loss; the definition states no such general guarantee. It defines in-context learning as prompt conditioning with pretrained parameters fixed.
Source and target joint laws, risks, and covariate shift: covariate shift requires supplied conditional label kernels that agree outside a -null set and ; the definition does not assert existence of conditional kernels.
Foundation models as broad-pretraining and adaptation systems: in-context learning conditions on a prompt while keeping pretrained parameters fixed; parameter-based adaptation optimizes some or all parameters using task information.
Verification
For every nonnegative , , and likewise . Thus the supplied kernels and stated marginals give the two joint laws under the source/target convention.
For , while , so . This violates a required covariate-shift hypothesis in [F2], regardless of whether the two kernels agree.
By [F3], the in-context route keeps the pretrained parameters fixed and changes the prompt input, whereas a parameter-ERM formulation varies to minimize the stated sample loss. By [F1], the 2021 report does not supply a general implication from low pretraining loss to low adaptation loss. The finite shift example therefore carries no task-performance guarantee.