Positive-Definite Quadratic Feature Pair
Source paper: Last two pieces of the puzzle for unsolvability of a system of two quadratic (in)equalities arXiv:2608.30571 ⓘ · analyzed Sep 1, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace two unconstrained scalar quadratic feature heads with a pair whose quadratic forms admit a positive-definite linear combination. This prevents the two heads from simultaneously vanishing on any nonzero hidden vector, which can reduce representation collapse and improve the conditioning of downstream gates or auxiliary objectives. The constraint can be implemented softly with a spectral-margin penalty, or exactly by parameterizing one learned pencil as positive definite.
Formulas
Mathematical statement
Calabi's theorem states that for symmetric matrices A,B in R^{n x n}, with n >= 3, the condition {x in R^n : x^T A x = 0} intersect {x in R^n : x^T B x = 0} = {0} is equivalent to the existence of (lambda,mu) != (0,0) such that lambda A + mu B is positive definite, written lambda A + mu B ≻ 0. Here x is the hidden feature vector, A and B are the two learned symmetric quadratic-head matrices, and lambda,mu are scalar pencil coefficients. We exploit the certificate by maximizing the smallest eigenvalue gamma = lambda_min(lambda A + mu B); gamma > 0 certifies that no nonzero hidden vector can make both quadratic heads exactly zero. To avoid scale ambiguity, constrain lambda^2 + mu^2 = 1, for example by setting (lambda,mu) = (cos(theta), sin(theta)).
Implementation notes
Integrate this into an MLP block after a hidden vector h in R^n, using two symmetric quadratic heads q_A(h)=h^T A h and q_B(h)=h^T B h. Parameterize A=(U+U^T)/2 and B=(V+V^T)/2, and add a scalar pencil angle theta with lambda=cos(theta), mu=sin(theta). At every training step: (1) compute q_A and q_B for the minibatch; (2) form P=cos(theta)A+sin(theta)B; (3) estimate gamma=lambda_min(P) using an exact symmetric eigendecomposition for small n or 3-5 Lanczos or power iterations for larger n; (4) add alpha*softplus(m-gamma) to the task loss, where m is a target positive margin; (5) backpropagate through the eigensolver or use the Rayleigh-quotient estimate gamma_hat=v^T P v with v updated by normalized power iteration on -P. Optionally make the guarantee exact by parameterizing P=LL^T+epsilon I and setting A=P cos(theta)-C sin(theta), B=P sin(theta)+C cos(theta), where C is an unconstrained symmetric matrix; this makes the chosen pencil positive definite by construction. The mathematics supplies the certificate gamma>0; empirical quantities are the hidden-vector norm distribution, the frequency of simultaneous near-zero outputs, and downstream conditioning. First run a cheap ablation on MNIST or CIFAR-10 with a 64-dimensional MLP, comparing two unconstrained quadratic heads against the pencil-regularized version at matched parameter count and FLOPs. Measure training stability, the minimum observed sqrt(q_A(h)^2+q_B(h)^2), gradient norms, and test accuracy. Success is a substantial reduction in near-simultaneous head collapse without slower loss descent or a meaningful parameter or FLOP increase.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.