Derivation. The learning problem for an algebraic factor has a closed-form global optimum: the bottom- eigenspace of the Veronese second-moment matrix. No gradient descent, no local minima, no initialisation.
Sources: original to this vault (design and analysis; no single paper).
Theory (CT-ML wiki): Bayesian Inversion · Cospan
The objective
Given data believed to lie on the relation, and the parametrisation of The Veronese Parametrisation, the algebraic-distance objective is
This is with the vector energy and .
Without a constraint the minimum is , for which and every point lies on the variety. So a normalisation is mandatory. The correct one is (orthonormal rows) — see The Parameter is a Grassmannian for why this is not an arbitrary choice but the coordinatisation of the true parameter space.
The derivation
Write and stack them as rows of . Then
where
is the uncentred second-moment matrix of the Veronese-embedded data: symmetric, positive semidefinite.
The data enters only through . Whatever is, the fitting problem compresses to one PSD matrix — which is also the statement that this is a streaming/one-pass algorithm.
Now minimise over . By the Ky Fan variational principle (equivalently Courant–Fischer applied times), with eigenvalues of :
attained when the rows of span the eigenspace of the smallest eigenvalues of . Equivalently: = the right-singular vectors of with smallest singular values.
A global optimum, in closed form. This is the property no other family in Implicit Learners has, and it is worth being loud about: the nonconvexity that dominates all of deep learning is simply absent here. It has been traded for the nonconvexity of inference.
Choosing is a rank decision
in exact arithmetic. With noise, has no exact null space, and becomes a numerical rank decision from the eigenvalue spectrum — a gap you hope to see, and often do not.
Two things make this harder than a normal PCA rank choice:
- Monomials of different degrees have wildly different scales. and differ by orders of magnitude on data of magnitude , so the spectrum of is dominated by scaling artefacts rather than structure. Column-equilibrating , or replacing monomials by an orthogonal polynomial basis (Chebyshev / Hermite w.r.t. the empirical measure), is not optional.
- The spectrum has no gap when is too large, because of the spurious polynomials of The Veronese Parametrisation §“Choosing ”: lower-degree relations multiplied by variables produce a whole staircase of near-zero eigenvalues carrying no new information.
Doing it properly: degree by degree
The literature that solved this is the approximate vanishing ideal line — Heldt–Kreuzer–Pokutta–Poulisse’s AVI algorithm, and the closely related Vanishing Component Analysis (Livni et al.) and GPCA (Vidal–Ma–Sastry) for the subspace-arrangement case. The shape of the correct algorithm:
for degree δ = 1, 2, ..., d:
build the candidate set: monomials of degree δ, MINUS the span of
{x_j · f : f already found at degree δ-1} ← quotient out the known ideal
orthogonalise the candidates against the already-found polynomials
evaluate on the data, take the SVD, keep singular vectors below tolerance τ
add the new polynomials to the basis
Two things this buys you:
- the output is a border basis rather than an arbitrary generating set, which is the numerically stable analogue of a Gröbner basis (Kehrein–Kreuzer, Mourrain) — see Composition is Elimination §“Why not Gröbner” for why this distinction is essential;
- the spurious staircase is removed by construction.
The price is a tolerance parameter , and the output is discontinuous in it. There is no principled way to set from data; it is the algebraic analogue of choosing a rank, with the same lack of theory.
What happens with missing channels — and why it is EM
The closed form above assumes every channel is observed for every data point. That is the training-on-complete-data case. If some channels are unobserved (which is the interesting case — that is what makes it a relation and not a dataset), the objective becomes
and the natural algorithm alternates:
- E-step: for fixed , infer by root finding;
- M-step: for fixed , update by the eigenproblem above.
This is exactly Example 2 of AutoBayes — expectation maximisation, with the E-step an inversion and the M-step a descent on the composite loss. The framework predicted the algorithm; the algebra supplies both halves in closed form.
The alternation is, of course, no longer globally convergent: each half is exactly solvable, the alternation is not. Convexity in survives; joint convexity does not.
Cost
| step | cost |
|---|---|
| build | , one pass, parallel |
| bottom- eigenspace | dense, or per iteration with Lanczos on |
| memory | for |
For (): is 25 MB, the eigenproblem is seconds. For (): is 250 GB dense. The wall is at , i.e. roughly at .
Related: The Veronese Parametrisation, The Parameter is a Grassmannian, Algebraic versus Geometric Distance, AutoBayes Examples as Factor Graphs