Alphabeta Math
AlgorithmAlgorithm: Literature-sourcedProof: Not applicablePipeline-generatedjudge pass (gpt-6-luna)
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.

Masked autoencoder pretraining

Definition

Let S=(x(1),…,x(n)) be a finite image training set with n≥1 on a fixed grid with M,q≥1 (that is, M patches of q pixel values each). Choose a visible count k with 1≤k<M, a finite update count J≥0, differentiable encoder and decoder families parameterized by θ=(ϕ,ψ,m)∈Θ⊆Rp, an initial parameter vector θ0∈Θ, an optimizer state set S, and an initial optimizer state s0∈S. Choose either the original-pixel target T(u)=u or, provided every patch of every training image has positive standard deviation, the normalized target T(u)=(u−uˉ1)/s(u), where uˉ=q−1∑r=1qur and s(u)=(q−1∑r=1q(ur−uˉ)2)1/2. For each V⊆[M] with ∣V∣=k, the encoder is a map from V and the visible patch values to one encoded token at each position in V; it receives no mask tokens. The decoder is a map from the ordered length-M sequence of encoded visible tokens and one shared learned vector m at every position in [M]∖V to predictions x^j∈Rq at every patch position. Position j is supplied to the maps as its index. Require that the masked mean squared error 1(M−k)q∑j∈[M]∖V∥x^j−T(xj)∥22 has a finite parameter gradient at every iterate reached by the procedure.

An optimizer update schedule is a supplied finite family of maps Ut:(Θ×S)×Rp→Θ×S for 0≤t<J, each defined on its entire displayed domain. When Θ=Rp, plain stochastic gradient descent with step sizes ηt>0 is the special case Ut((θ,s),g)=(θ−ηtg,s).

For each t=0,…,J−1, perform the following steps.

  1. Sample It uniformly from {1,…,n} and, independently, sample Vt uniformly from Vk={V⊆[M]:∣V∣=k}. Sampling is with replacement across different update steps.
  2. Apply the encoder to the visible patch values at positions in Vt. Restore their original order, insert the shared learned vector m at every position in [M]∖Vt, and supply each position index to the decoder. Apply the decoder to this full ordered sequence to obtain x^t,j∈Rq for every j∈[M].
  3. Compute Lt=((M−k)q)−1∑j∈[M]∖Vt∥x^t,j−T(xj(It))∥22, compute gt=∇θLt, and update (θt+1,st+1)=Ut((θt,st),gt).

Return the trained encoder EϕJ and parameter vector θJ. The decoder is used during pretraining and may be discarded afterward. The mask ratio is ρ=(M−k)/M. 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 [M]∖V. The definitions and numbered instructions specify the algorithm completely, and no proof or property relies on the diagram.

diagram failed to render:
\begin{tikzpicture}[>=stealth,scale=0.78,transform shape]
  \node[draw,rounded corners,align=center,minimum width=2.1cm,minimum height=0.8cm] (input) at (0,0) {Input patch\\sequence};
  \node[draw,rounded corners,align=center,minimum width=2.1cm,minimum height=0.8cm] (mask) at (2.7,0) {Uniformly sample\\visible positions};
  \node[draw,rounded corners,align=center,minimum width=2.1cm,minimum height=0.8cm] (enc) at (5.4,0) {Encoder sees\\visible patches only};
  \node[draw,rounded corners,align=center,minimum width=2.4cm,minimum height=0.8cm] (restore) at (8.3,0) {Insert learned tokens\\at missing positions};
  \node[draw,rounded corners,align=center,minimum width=2.1cm,minimum height=0.8cm] (dec) at (11.2,0) {Decoder};
  \node[draw,rounded corners,align=center,minimum width=2.3cm,minimum height=0.8cm] (pred) at (14,0) {Predictions at\\all positions};
  \node[draw,rounded corners,align=center,minimum width=3.0cm,minimum height=0.8cm] (loss) at (8.3,-1.7) {Masked-patch MSE\\only};
  \node[draw,rounded corners,align=center,minimum width=2.8cm,minimum height=0.8cm] (target) at (3.4,-1.7) {Clean targets at\\missing positions};
  \draw[->] (input) -- (mask);
  \draw[->] (mask) -- node[above] {visible subset} (enc);
  \draw[->] (enc) -- (restore);
  \draw[->] (restore) -- (dec);
  \draw[->] (dec) -- (pred);
  \draw[->] (pred) |- (loss);
  \draw[->] (target) -- (loss);
\end{tikzpicture}

Depends on

Used by

Dependency tree · two levels

9 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources