Complete Log-Barrier Natural Gradient
Implementation & benchmark of arXiv:2607.03036 — Bottom of the Spectrum of Complete Kähler Metrics from Finite-Mass Plurisubharmonic Exhaustions
Source paper: Bottom of the Spectrum of Complete Kähler Metrics from Finite-Mass Plurisubharmonic Exhaustions arXiv:2607.03036 ⓘ · analyzed Aug 30, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Constrain a neural parameter block to a bounded open domain and replace its Euclidean optimizer with a Riemannian gradient induced by the Hessian of the logarithmic barrier g=-log(-rho). The metric diverges near the boundary, so updates automatically become small when parameters approach saturation or an invalid region, while the logarithmic exhaustion has bounded intrinsic gradient.
Formulas
Mathematical statement
Let rho:Omega -> [-1,0) be a smooth strictly plurisubharmonic exhaustion on a bounded domain Omega in complex dimension n, and define g=-log(-rho) and omega=dd^c g. The paper uses partial g=-partial rho/rho and omega= -dd^c rho/rho + (i partial rho wedge bar-partial rho)/rho^2. The key estimate is |partial g|_omega^2 <= 1, so the barrier coordinate has bounded intrinsic gradient despite diverging at the boundary. The paper also proves lambda_0(Delta_omega,Omega)=n^2 when the weighted Monge–Ampere condition integral_Omega (-rho)^epsilon (dd^c rho)^n < infinity holds for every epsilon>0. For implementation, use a real bounded parameter domain and the analogous real Hessian metric G(x)=nabla^2[-log(-rho(x))]. The spectral equality is a motivation for a uniform geometric scale, not an assumption that holds for every neural parameter domain.
Implementation notes
(1) Integration point: apply this to a bounded, semantically meaningful parameter block, such as normalized attention scales, LoRA coefficients, mixture weights, or a small adapter. Choose Omega=(-R,R)^d and rho(x)=||x||_2^2/R^2-1. Define g(x)=-log(-rho(x)) and G(x)=nabla^2 g(x)+delta I. Replace the AdamW update for this block by a metric-preconditioned update x_{t+1}=Projection_Omega[x_t-eta G(x_t)^(-1) grad_x L], using a Cholesky solve rather than an explicit inverse. For high-dimensional blocks, use diagonal or block-diagonal G. (2) Pseudocode: compute rho, g, and G; compute v=grad_x L; solve Gs=v; set x=x-eta s; if rho(x)>=-epsilon, backtrack eta until rho(x)<-epsilon; apply decoupled weight decay separately. Optionally add lambda*g(x) to the loss. (3) The logarithmic potential and metric are computed exactly; delta, eta, projection tolerance, and block approximation are engineering choices. Estimate the condition number of G, intrinsic update norm sqrt(v^T G^(-1)v), boundary-hit rate, and empirical Rayleigh quotients. (4) First experiment: train a two-layer MLP and a small ViT on CIFAR-10, constraining only 64-dimensional LoRA or normalization-scale parameters. Compare AdamW, projected AdamW, and the barrier update at matched steps and wall-clock time. Measure loss descent, validation accuracy, gradient spikes, NaNs, boundary proximity, and optimizer overhead. A successful result is fewer unstable updates and faster loss reduction at equal FLOPs, with less than 20 percent overhead for a diagonal metric.
Verification
Stage 1 · Toy mechanism gate: Passed ✓
Stage 2 · Mechanism transferred to benchmark: Confirmed ✓
Stage 2 · Practical benchmark result: No measurable effect
Methodology: 8 paired seeds, permutation test (p<0.05) against a learning-rate-tuned baseline. How verification works
Stage 1 — Mechanism check agent confidence 9/10
Built a real bounded-ball logarithmic-barrier natural-gradient MVP with an exact Hessian metric, Cholesky-equivalent solves, and backtracking safety. The intrinsic barrier-gradient bound held with maximum squared norm 0.999413 and radial formula error 9.0e-12; natural-gradient steps shrank dramatically near the boundary. The stability phenomenon was reproducible, but projected Euclidean descent achieved lower final loss on this toy problem, so no optimization-quality win was demonstrated.
- Agent confidence
- 9/10
- Baseline
- Projected Euclidean: mean final loss 0.021933, mean final radius 0.99999999, mean minimum boundary margin q=2.0e-08 across 5 seeds.
- Idea
- Barrier natural gradient: mean final loss 0.034252, mean final radius 0.947611, mean minimum boundary margin q=0.1020 across 5 seeds; maximum intrinsic barrier-gradient squared norm 0.999413.
Limitations: Only a 2D quadratic toy problem was tested; no neural network, CIFAR-10, AdamW comparison, wall-clock overhead, high-dimensional block approximation, or generalization evaluation was performed.
How to run: python3 barrier_experiment.py
Stage 2 — Benchmark vs. tuned baseline (arXiv:2607.03036)
Ahead of the baseline (−0.5%) but not statistically significant (p=0.4677, wins 6 / 8 paired seeds).
- Benchmark
- Tabular regression (Friedman)
- Model
- mlp_tiny
- Paired seeds
- 8
- Baseline mean
- 6.9116
- Idea mean
- 6.877
- Effect (Δ)
- -0.0345 (−0.5%; negative = idea better)
- Wins
- 6 / 8 paired seeds
- p-value
- 0.4677 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±1.6%
- Mechanism
- Confirmed ✓
- Practical effect
- No effect
- Baseline tuning
- swept over 3 configs
Only the structurally appropriate built-in tabular optimizer track was tested; no vision, sequence, or dynamics transfer was run. The intervention used a diagonal Hessian metric on one 64-dimensional bias block rather than full/block metrics for all parameters, and no wall-clock overhead comparison was recorded. The mechanism signature confirms attenuation at trained parameter points but does not establish a boundary-proximity sweep across neural training trajectories.
How to run: python3 stage2_bench.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Stage 2 — Benchmark latest Failed ✗
Agent confidence: 9/10
Built Complete Log-Barrier Natural Gradient for the bench tabular/Friedman regression track, modifying only optimization of the first-layer 64-dimensional bias block while keeping the mlp_tiny system otherwise matched. The exact radial intrinsic-gradient bound held (maximum squared norm 0.999999, zero violation), and inverse-metric scaling strongly attenuated near-boundary steps. On 8 paired seeds, the idea had slightly lower MSE (6.8770 vs 6.9116; delta -0.0345; 6/8 wins), but the permutation p-value was 0.46775, so there was no significant improvement and worked=false.
- Baseline
- Best Adam baseline lr=0.009; full 8-seed mean test MSE 6.911551, std 0.251027. Sweep means: lr=0.001 -> 15.798457, lr=0.003 -> 9.297731, lr=0.009 -> 6.843065.
- Idea
- Barrier natural-gradient block update lr=0.009, R=2.5; full 8-seed mean test MSE 6.877023, std 0.213014. Paired delta -0.034528, 6/8 wins, permutation p=0.46775; verdict no measurable effect.
- Math
- max intrinsic barrier-gradient squared norm 0.9999989999995, max bound violation 0, radial formula error 3.33e-16, inverse-metric step ratio at radius 0.9999 versus center 0.00066894.
- Mechanism
- Across trained models, mean inverse diagonal metric was 1.705785 at final block points versus 3.125 at the center; final boundary q ranged from 0.44985 to 0.60837, confirming finite interior behaviour and attenuation, though no task-metric win.
Benchmark result
Ahead of the baseline (−0.5%) but not statistically significant (p=0.4677, wins 6 / 8 paired seeds).
- Benchmark
- Tabular regression (Friedman)
- Model
- mlp_tiny
- Paired seeds
- 8
- Baseline mean
- 6.9116
- Idea mean
- 6.877
- Effect (Δ)
- -0.0345 (−0.5%; negative = idea better)
- Wins
- 6 / 8 paired seeds
- p-value
- 0.4677 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±1.6%
- Mechanism
- Confirmed ✓
- Practical effect
- No effect
- Baseline tuning
- swept over 3 configs
Only the structurally appropriate built-in tabular optimizer track was tested; no vision, sequence, or dynamics transfer was run. The intervention used a diagonal Hessian metric on one 64-dimensional bias block rather than full/block metrics for all parameters, and no wall-clock overhead comparison was recorded. The mechanism signature confirms attenuation at trained parameter points but does not establish a boundary-proximity sweep across neural training trajectories.
How to run: python3 stage2_bench.py
Artifacts
- barrier_experiment.py 5.0 KB View Raw
- bench_report.json 4.7 KB View Raw
- report.md 1.3 KB View
- report_bench_2026-09-04T111832.md 4.8 KB View
- stage2_bench.py 8.2 KB View Raw