model derivation

The most satisfying concrete grounding in this note set: for an algebraic factor, the abstract latent space of Definition 1 is literally the set of solution branches, and the discriminant is where four different things fail simultaneously.

Sources: original to this vault (design and analysis; no single paper).

Theory (CT-ML wiki): Bayesian Inversion · Statistical Game · Open Model

The projection is a branched cover

Fix a polarity. The projection

is, away from a proper closed subset, a covering map of degree : every in a connected component of the complement has exactly preimages, varying smoothly.

So an algebraic factor’s forward kernel really does have the type of Definition 1,

and the latent variable has a meaning: which solution you are on. Elbow up or elbow down. Which of the ten essential matrices. This is not a bookkeeping device; it is the physically meaningful hidden state.

Everything the vault says abstractly about now has a concrete reading:

abstract (Open Models and Latent Channels, Composition of Open Models)algebraic reading
latent space the set of branches over
reveal — a free retypingtell the consumer which root was taken
marginalising sum/average over all real roots
composition files into the latentthe intermediate branch choice is remembered
a pure model, : the relation is a function in this polarity

That last row is worth pausing on. A factor is a function exactly when its branch count is one. Explicit learning is the special case , and the entire “implicit” story is about what happens when . Implicit Learners’s table row “may be multi-valued” is the statement ; “or have no solution” is .

The discriminant

is not constant. It changes across the discriminant locus

— the set of observed values over which two branches collide. For a square system, , the vanishing of a resultant, hence itself an algebraic hypersurface.

VR=fx2+y2¡1=0gxoD=2D=1D=0thediscriminantisxo=§1

Four failures, one locus

At , all of the following happen at the same points, and they are the same phenomenon seen from four sides:

  1. The implicit function theorem fails. is singular, so is undefined and the adjoint solve of Backpropagation by the Implicit Function Theorem is ill-conditioned. Gradients blow up like .
  2. Inference is discontinuous. Two real roots merge and become a complex-conjugate pair. The map is continuous only on the complement of .
  3. The entropy jumps. With a uniform belief over branches, , which is a step function of . The statistical game’s regulariser is genuinely discontinuous here.
  4. The Sampson precision blows up. of Algebraic versus Geometric Distance is singular exactly on — the noise model says “infinite uncertainty along the collapsing direction”, which is correct and useless.

This is intrinsic, not a defect

Take the circle: is genuinely undefined for and genuinely two-valued for , and at . No parametrisation, solver or regulariser removes this, because it is a property of the relation, not of the representation. Any implicit learner that permits multi-valued relations inherits it.

The honest engineering response is to detect it — is a cheap, exact proximity indicator to — and to report it, rather than to return a confident gradient that is numerically meaningless.

The branch belief

The natural output of an algebraic inversion is therefore not a point but a belief over a finite set:

a SampleBelief supported on the real roots, weighted by the prior. Two readings:

  • Selection as a prox. Taking is — a proximal step onto the variety. That is exactly the structure of the diffusion family in ImplicitREDDiff, with the hard constraint in place of a soft energy. The algebraic and diffusion families differ in how they enforce the constraint, not in what they compute.
  • Entropy from branch count. . The abstract “entropy or regularizer” of Definition 20 is here a perfectly ordinary discrete entropy over a set you can enumerate.

Monodromy — the branches are not independently labelled

Transporting around a loop in can permute the branches. The resulting monodromy group measures how globally inconsistent any branch labelling is: if the monodromy is transitive, there is no continuous global choice of branch, and the “elbow up” branch is only locally well defined.

Two consequences:

  • Any implementation that caches “which branch we took last time” is making a local choice that cannot be made global. Message passing around a cycle in the factor graph can return to a different branch than it started on — a genuine and under-appreciated failure mode for equilibrium-style iteration.
  • Monodromy is also a tool: monodromy loops are the cheapest known way to find many solutions of a polynomial system from one, and are how modern solvers bootstrap.

Related: Inference as Root Finding, Open Models and Latent Channels, Factors are Parameterized Statistical Games, The Algebraic Factor as a Statistical Game