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.
Reconstruction and masked autoencoders
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- 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
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Feedforward networks and single-hidden-layer universality
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- limsup, liminf, and Subsequential Limits
- 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
- Probability Spaces Random Variables and Expectation
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Suprema and Infima
- The Lebesgue Integral and the Convergence Theorems
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
2 · Logical flowchart
3 · Definitions, theorems and proofs
Reconstruction autoencoder and denoising risk
Definition
Fix integers , set , and write the image space on a fixed patch grid as . A measurable space is a set with a specified sigma-algebra; equip and a finite-dimensional latent space with such structures. An image is , with real pixel values in each of its patches. Let be a finite training set with . For , set . For let . For unmasked reconstruction, the encoder and decoder are deterministic measurable maps and . For masked reconstruction, the encoder is a measurable deterministic map , and the decoder maps the ordered length- sequence of encoded visible tokens and mask tokens to an element of . Each mask token is one learned vector reused at every masked position. All maps take finite real values; when implemented by feedforward neural networks, each is a finite computation graph evaluated in the layered order of its vertices.
Let be a measurable random image on a probability space. Assume that the displayed squared-loss random variables are measurable. The population reconstruction risk is A stochastic denoising corruption is any measurable random image on the same probability space as the clean image ; their dependence may be arbitrary, with no restriction on support. The population denoising risk reconstructs the clean image: These expectations use the extended integral of a nonnegative measurable random variable, so they may be infinite.
The empirical reconstruction risk on uncorrupted images is
A finite denoising corruption law assigns to each training image a finite set of corrupted images and weights with . The empirical denoising risk is the finite-support specialization of the population risk:
For masked autoencoding, fix an integer with and let , a set with cardinality . A mask is sampled uniformly from ; the patches in are visible and the patches in are masked. The encoder receives only the visible patches, with their positions, and no mask tokens. The decoder receives the encoded visible patches and a shared learned mask token at each missing position, with position information for all slots, and outputs predictions for every patch position.
The original-pixel target map is . The optional normalized-pixel target is defined for with positive standard deviation by where . The target choice is one of these maps. Define For , the masked-objective formulas below are defined only on , so a finite empirical objective requires for every . For a population objective, require the event to be measurable with ; interpret each loss integrand by its displayed formula on and by on . Since is null, any other measurable extension there gives the same expectation. The raw target has no such restriction. The per-example masked-patch mean squared error, its population objective, and its finite empirical objective are The population objective averages the expectation over the image law for each fixed mask; equivalently, it is the joint expectation for an independent uniform mask. The finite empirical objective averages over every training image and mask.
Because the encoder input and decoder output depend on and the loss is evaluated only on , this is an expectation of a mask-dependent loss. It is not defined as an estimator of the separate full-image risk , and no equality or unbiasedness between these objectives is asserted. Neither loss alone guarantees that a learned code retains distinctions needed for a downstream label (semantic sufficiency), uniquely determines an underlying data-generating parameter (identifiability), or improves performance on a specified later task (downstream feature quality).
Definition references
Finite feedforward computation graphs and layered MLPs: a feedforward network is a finite acyclic computation graph whose node values are evaluated in a specified order.
Expectation of a real random variable on a finite probability space: expectation on a finite probability space is the weighted finite sum.
Probability measures and probability spaces: a probability measure has total mass one and defines a probability space.
Random elements and real random variables: a random image is a measurable map from a probability space into the image space.
A measurable function between measurable spaces: a map is measurable when preimages of measurable sets are measurable.
Measurable spaces and measurable sets: a measurable space consists of a set and a sigma-algebra of its measurable subsets.
Sigma-algebras: a sigma-algebra is closed under complements and countable unions.
Expectation of a nonnegative or integrable random variable: the expectation of a nonnegative measurable loss is its extended-valued integral.
Masked autoencoder pretraining
Definition
Let be a finite image training set with on a fixed grid with (that is, patches of pixel values each). Choose a visible count with , a finite update count , differentiable encoder and decoder families parameterized by , an initial parameter vector , an optimizer state set , and an initial optimizer state . Choose either the original-pixel target or, provided every patch of every training image has positive standard deviation, the normalized target , where and . For each with , the encoder is a map from and the visible patch values to one encoded token at each position in ; it receives no mask tokens. The decoder is a map from the ordered length- sequence of encoded visible tokens and one shared learned vector at every position in to predictions at every patch position. Position is supplied to the maps as its index. Require that the masked mean squared error has a finite parameter gradient at every iterate reached by the procedure.
An optimizer update schedule is a supplied finite family of maps for , each defined on its entire displayed domain. When , plain stochastic gradient descent with step sizes is the special case .
For each , perform the following steps.
- Sample uniformly from and, independently, sample uniformly from . Sampling is with replacement across different update steps.
- Apply the encoder to the visible patch values at positions in . Restore their original order, insert the shared learned vector at every position in , and supply each position index to the decoder. Apply the decoder to this full ordered sequence to obtain for every .
- Compute , compute , and update .
Return the trained encoder and parameter vector . The decoder is used during pretraining and may be discarded afterward. The mask ratio is . The procedure defines finite stochastic updates only; it does not assert that the updates converge to a minimizer or that the returned representation is semantically sufficient.
The diagram records the data flow. Solid arrows pass data or predictions; the bottom comparison uses only positions in . The definitions and numbered instructions specify the algorithm completely, and no proof or property relies on the diagram.
Definition references
Reconstruction autoencoder and denoising risk: fixes the image-patch domain, visible/masked convention, raw and normalized target maps, and finite masked-MSE objective.
Finite feedforward computation graphs and layered MLPs: defines the finite feedforward computation graph used for encoder/decoder network notation.
He et al., Appendix A.1, pretraining setting: AdamW and reported hyperparameters
Goodfellow et al., §14.5: corrupt-input/clean-target denoising procedure
4 · Examples, counterexamples and false statements
None yet.
Sources
- Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, and Ross Girshick, Masked Autoencoders Are Scalable Vision Learners, §§3.1–3.3
- Ian Goodfellow, Yoshua Bengio, and Aaron Courville, Deep Learning, §14.5
- Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol, Extracting and Composing Robust Features with Denoising Autoencoders, §§2.2–2.3
- Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, and Ross Girshick, Masked Autoencoders Are Scalable Vision Learners, §§3.1–3.3 and Appendix A.1