△ Mechanism confirmed, baseline not beaten 2026

Instrument-Godambe Preconditioner

Implementation & benchmark of arXiv:2607.11246 — Weak Information Geometry: Riemannian Structures from Distributional Inference Functions and Stein Discrepancies

Usefulness7/10
Difficulty6/10
Novelty6/10

Source paper: Weak Information Geometry: Riemannian Structures from Distributional Inference Functions and Stein Discrepancies arXiv:2607.11246 ⓘ · analyzed Aug 30, 2026

AI-generated research hypothesis, automatically tested. Not peer-reviewed.

Idea description

Build a low-dimensional neural-network geometry from trainable observables or probes instead of estimating the full Fisher matrix. Precondition the parameter gradient by the inverse variability of the probes and their parameter sensitivity, producing a task-adapted update that can remain usable for implicit models, heavy-tailed data, and parameter-dependent-support distributions.

Formulas

$$I(\theta)_{jk}=\mathrm{E}_{\theta}\!\left[\frac{\partial\log p_{\theta}(X)}{\partial\theta_j}\frac{\partial\log p_{\theta}(X)}{\partial\theta_k}\right]$$
$$G(\theta)=S(\theta)^{\top}V(\theta)^{-1}S(\theta)$$
$$\widehat S=\frac{1}{B}\sum_{i=1}^{B}J_i,\qquad \widehat V=\frac{1}{B-1}\sum_{i=1}^{B}(\psi_i-\bar\psi)(\psi_i-\bar\psi)^{\top}$$
$$\widehat G_{\gamma}=\widehat S^{\top}(\widehat V+\varepsilon I_m)^{-1}\widehat S+\gamma I_p,\qquad \widehat G_{\gamma}\Delta\theta=\nabla_{\theta}L,\qquad \theta\leftarrow\theta-\eta\Delta\theta$$

Mathematical statement

The paper defines the Fisher metric by I( heta)_{jk}=\mathrm{E}_{ heta}[\partial_{ heta_j}\log p_{ heta}(X)\,\partial_{ heta_k}\log p_{ heta}(X)], which requires a dominating density p_ heta, differentiable log likelihood, and finite positive-definite information. Its weak replacement is the Godambe metric G( heta)=S( heta)^{ op}V( heta)^{-1}S( heta). Let \psi(X, heta)\in\mathbb{R}^{m} be an arbitrary vector of weak inference instruments or neural probes, with mean-zero residuals \mathrm{E}_{ heta}[\psi(X, heta)]=0. Define S( heta)=\mathrm{E}_{ heta}[
abla_{ heta}\psi(X, heta)]\in\mathbb{R}^{m imes p}, where p is the number of trainable parameters, and V( heta)=\mathrm{Cov}_{ heta}(\psi(X, heta))\in\mathbb{R}^{m imes m}. Positive-definite V and full-rank sensitivity make G positive semidefinite and quantify parameter directions that strongly affect low-variance probes. For minibatch training, estimate S by \widehat S=B^{-1}\sum_{i=1}^{B}J_i, with J_i=
abla_ heta\psi(x_i, heta), and estimate V by \widehat V=(B-1)^{-1}\sum_i(\psi_i-\bar\psi)(\psi_i-\bar\psi)^{ op}. Use the damped metric \widehat G_\gamma=\widehat S^{ op}(\widehat V+\varepsilon I_m)^{-1}\widehat S+\gamma I_p, where \varepsilon>0 stabilizes probe covariance and \gamma>0 supplies full-rank damping. The update solves \widehat G_\gamma\,\Delta heta=
abla_ heta L and sets heta\leftarrow heta-\eta\Delta heta. The paper's key transferable property is inverse-variance weighting of arbitrary sensitivities, not the existence of a likelihood score.

Implementation notes

Integrate this into the optimizer update for a small Transformer or MLP, initially only for one parameter block such as the final projection or attention output projection. Construct m=8--32 probes from the current network output: for classification, let \psi(x, heta)=R(\mathrm{logits}_{ heta}(x)-\mathrm{onehot}(y)) plus a few random projections of the penultimate hidden state, where R is a fixed m-by-d Gaussian or Rademacher matrix. Center the probes over each minibatch. For each example compute the probe Jacobian J_i=
abla_ heta\psi(x_i, heta) using forward-mode JVPs when m is small, or one reverse-mode VJP per probe; do not materialize the p-by-p matrix. Compute \widehat V from the centered probe values, add \varepsilon I_m, and factor it with a Cholesky decomposition. Implement multiplication by the metric through v -> \widehat S v -> (\widehat V+\varepsilon I)^{-1}(\widehat S v) -> \widehat S^{ op}(\cdot)+\gamma v. Solve (\widehat G_\gamma)\Delta heta=g with 5--20 conjugate-gradient iterations, where g is the ordinary minibatch gradient, then apply the update with gradient clipping disabled or separately ablated. Exponentially average \widehat V and \widehat S across minibatches if estimates are noisy. The mathematical quantities are the sensitivity and covariance estimates; probe dimension m, damping, EMA decay, and CG tolerance are empirical hyperparameters. First test on CIFAR-10 with a 2-layer MLP and a 4-layer small ViT against AdamW and diagonal Adam using equal wall-clock and FLOP budgets. Measure loss decrease per optimizer step, gradient-noise amplification, final accuracy, and added overhead. A useful success signal is faster loss descent or lower variance at equal training compute, especially under injected Cauchy-tailed input noise or label-shifted minibatches where Fisher-style assumptions are unreliable.

Verification

Mechanism confirmed, baseline not beaten

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 reproducible NumPy MVP for the instrument-Godambe metric, including empirical probe covariance and sensitivity estimates, damping, and a quadratic optimizer comparison. All three mechanism predictions passed: inverse-variance geometry matched within 0.31%, the stability boundary matched the predicted |1-eta h/gamma|<=1 condition, and sensitivity scaling followed the predicted square law to numerical precision. The Godambe update reduced the ill-conditioned quadratic loss to 2.46e-38 versus 0.305 for fixed-step gradient descent after 30 steps, although this is an idealized mechanism test rather than evidence of a neural-network win.

Agent confidence
9/10
Baseline
Ill-conditioned quadratic, GD eta=0.06: final loss 0.3051976807 after 30 steps
Idea
Same quadratic, empirical Godambe metric with gamma=0.05 and eta=0.8: final loss 2.4569867e-38 after 30 steps; inverse-variance maximum relative error 0.00310; sensitivity-square scaling ratio 1.000

Limitations: No CIFAR-10, MLP or Transformer, minibatch autodiff Jacobians, CG implementation, AdamW comparison, wall-clock or FLOP accounting, heavy-tailed inputs, or label-shift experiment was tested. The toy probes are linear with known sensitivities, and the quadratic comparison uses a favorable geometry-aligned probe construction.

How to run: python3 godambe_experiment.py

Stage 2 — Benchmark vs. tuned baseline (arXiv:2607.11246)

No significant difference vs. the tuned baseline (+0.1%, p=0.9235, wins 3 / 8 paired seeds).

Benchmark
Tabular regression (Friedman)
Model
mlp_tiny
Paired seeds
8
Baseline mean
6.8847
Idea mean
6.8904
Effect (Δ)
0.0057 (+0.1%; negative = idea better)
Wins
3 / 8 paired seeds
p-value
0.9235 (permutation test, 20 000 shuffles)
Smallest detectable effect
±3.4%
Mechanism
Confirmed ✓
Practical effect
No effect
Baseline tuning
swept over 6 configs
Limitations:

Only the matched tabular track was tested. The implementation preconditioned only the final linear block, used direct solves rather than CG, and did not test EMA estimates, full-parameter preconditioning, heavy-tailed inputs, label shift, other tracks, wall-clock overhead, or longer training.

How to run: python3 bench_godambe.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

Implemented the Instrument-Godambe preconditioner on the structurally matched tabular Friedman#1 regression track using the shared mlp_tiny architecture. Across 8 paired seeds, AdamW baseline MSE was 6.884685 and the best idea MSE was 6.890417, with delta +0.005732 and permutation p=0.9235, so the idea did not improve the task metric. The trained-model mechanism signature was confirmed: observed/predicted local loss-drop ratio was 1.134, but this did not translate into a benchmark win.

Baseline
AdamW tuned lr=0.01, weight_decay=0.0: mean test MSE 6.8846850991
Idea
Godambe final-block preconditioner lr=0.01, weight_decay=0.0: mean test MSE 6.8904174566; paired delta +0.0057323575; permutation p=0.9235

Benchmark result

No significant difference vs. the tuned baseline (+0.1%, p=0.9235, wins 3 / 8 paired seeds).

Benchmark
Tabular regression (Friedman)
Model
mlp_tiny
Paired seeds
8
Baseline mean
6.8847
Idea mean
6.8904
Effect (Δ)
0.0057 (+0.1%; negative = idea better)
Wins
3 / 8 paired seeds
p-value
0.9235 (permutation test, 20 000 shuffles)
Smallest detectable effect
±3.4%
Mechanism
Confirmed ✓
Practical effect
No effect
Baseline tuning
swept over 6 configs
Limitations:

Only the matched tabular track was tested. The implementation preconditioned only the final linear block, used direct solves rather than CG, and did not test EMA estimates, full-parameter preconditioning, heavy-tailed inputs, label shift, other tracks, wall-clock overhead, or longer training.

How to run: python3 bench_godambe.py

Artifacts

Implementation overview ⬇ Download all as ZIP 6 files · code, reports and structured results