First-Hit Interacting Optimizer
Implementation & benchmark of arXiv:2607.22528 — Extreme First-Passage Time of Many Interacting Particles
Source paper: Extreme First-Passage Time of Many Interacting Particles arXiv:2607.22528 ⓘ · analyzed Aug 30, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace a single optimizer trajectory by N parameter particles and optimize the time until the first particle reaches a target loss or reward threshold. Use distinct interaction regimes: bounded normalized interactions should provide only the usual logarithmic extreme-search improvement, whereas unnormalized coherent force accumulation and stochastic pairwise kicks should produce distinct 1/N and 1/(N ln N) first-hit laws.
Formulas
Mathematical statement
For particle parameters θᵢ(t) in Rᴾ, use an overdamped interacting diffusion dθᵢ = bᵢ(Θ)dt + √(2D)dWᵢ, where Θ = (θ₁,...,θN), bᵢ is the loss-gradient drift plus interaction drift, D is the exploration strength, and Wᵢ are independent Brownian motions. Define the first-passage time T_N = inf{t ≥ 0 : minᵢ L(θᵢ(t)) ≤ ℓ*}, where L is the neural-network loss and ℓ* is a target threshold. The paper predicts that controlled bounded short-time drift cannot generically beat the independent extreme-search scale E[T_N] = Θ(1/ln N). A coherent pairwise force channel with an unnormalized sum can attain the pairwise acceleration limit E[T_N] = O(N⁻¹), while stochastic pairwise kicks can attain E[T_N] = O((N ln N)⁻¹).
Implementation notes
1. Exact integration point: implement this as a population optimizer around a small neural network, such as a two-layer MLP on MNIST or a small CNN on CIFAR-10. Maintain N parameter particles for N in {4, 8, 16, 32, 64, 128}. Each particle receives its own minibatch gradient. Define a deterministic interaction uᵢdet = α Σⱼ≠ᵢ ψ(θⱼ − θᵢ), with ψ(v) = v/(||v|| + ε). Compare this unnormalized interaction with the normalized version α(N−1)⁻¹ Σⱼ≠ᵢ ψ(θⱼ − θᵢ). For stochastic forcing, draw antisymmetric pairwise Gaussian or Rademacher vectors ξᵢⱼ = −ξⱼᵢ and add uᵢnoise = σ Σⱼ≠ᵢ ξᵢⱼ. 2. Pseudocode: at each step compute every particle gradient gᵢ; compute pairwise displacements; form vᵢ = −gᵢ + uᵢdet + uᵢnoise; update θᵢ ← θᵢ + ηvᵢ + √(2Dη)zᵢ with zᵢ sampled from a standard Gaussian; record the first step at which any particle crosses ℓ*. 3. Computed versus estimated: gradients, interactions, and first-hit times are computed directly. Estimate scaling exponents by regression of log mean(T_N) against log N and test the logarithmic law by regression against log log N. Use matched minibatch compute and common random numbers. 4. First cheap experiment: train a two-layer MLP on MNIST with a fixed loss threshold and compare independent particles, normalized deterministic coupling, unnormalized deterministic coupling, and stochastic pairwise kicks. The falsifiable prediction is that bounded or normalized coupling follows approximately T_N proportional to 1/ln N, coherent unnormalized coupling approaches slope −1 on a log-log plot, and stochastic pairwise forcing approaches T_N proportional to 1/(N ln N). Also measure a practical instability boundary: increasing α or σ should eventually cause exploding particle norms, increasing loss variance, or failure to reach the threshold.
Verification
Stage 1 · Toy mechanism gate: Passed ✓
Stage 2 · Mechanism transferred to benchmark: Not reproduced ✗
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 8/10
Built a reproducible exact 1-D first-passage MVP comparing independent, normalized bounded, unnormalized coherent, and pair-kick regimes. The mechanism manifested: normalized coupling remained approximately logarithmic, coherent coupling approached the predicted N^-1 scaling with high-N slope -0.876, and pair kicks showed approximately 1/(N log N) behavior with high-N slope -1.232 and near-constant N log(N) E[T]. This is a toy verification rather than evidence for a neural-network optimization win.
- Agent confidence
- 8/10
- Baseline
- Independent particles: mean T(128)=0.06591; log-log slope versus N=-0.281 and slope versus log(log N)=-1.445.
- Idea
- Normalized coupling slope versus log(log N)=-1.095; unnormalized coherent high-N log-log slope=-0.876; pair-kick high-N log-log slope=-1.232, with N log(N) E[T] at N=64,128,256 equal to 1.562, 1.552, 1.535 versus predicted asymptotic constant 1.25.
Limitations: No MNIST or neural-network optimizer experiment was run. Pairwise kicks were represented using the paper's exact effective marginal diffusivity rather than explicit shared antisymmetric Brownian trajectories, so cross-particle correlations were not independently validated. The tested N range is finite and the coherent exponent remains affected by Brownian-to-drift crossover.
How to run: python3 first_hit_toy.py
Stage 2 — Benchmark vs. tuned baseline (arXiv:2607.22528)
No significant difference vs. the tuned baseline (−-0.0%, p=1, wins 0 / 8 paired seeds).
- Benchmark
- Tabular regression (Friedman)
- Model
- mlp_tiny
- Paired seeds
- 8
- Baseline mean
- 9.1897
- Idea mean
- 9.1897
- Effect (Δ)
- 0 (−-0.0%; negative = idea better)
- Wins
- 0 / 8 paired seeds
- p-value
- 1 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±0.0%
- Mechanism
- Not confirmed ✗
- Practical effect
- No effect
- Baseline tuning
- swept over 6 configs
Only the registered tabular track was tested. The main comparison used population size N=4; N=2,4,8 were used for the mechanism signature. Stochastic pairwise kicks were implemented in the local module but were not selected in the final sweep. No wall-clock or FLOP speedup was measured.
How to run: python3 bench_first_hit.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
The First-Hit Interacting Optimizer was evaluated on the registered tabular Friedman#1 track with matched four-particle mlp_tiny systems, equal training budget, tuned baseline, shared learning-rate search space, and eight paired seeds. The best idea configuration selected no interaction and exactly tied the baseline; nonzero normalized and unnormalized interactions were worse, and the trained-model first-hit signature did not confirm the predicted algebraic scaling.
- Baseline
- Best baseline lr=0.003, weight_decay=0.0; mean test MSE 9.189739 over 8 seeds.
- Idea
- Best idea lr=0.003, alpha=0.0, normalized=true; mean test MSE 9.189739; paired delta=0.0; permutation p=1.0. Nonzero unnormalized alpha=0.1 at lr=0.003 obtained mean MSE 9.829402.
Benchmark result
No significant difference vs. the tuned baseline (−-0.0%, p=1, wins 0 / 8 paired seeds).
- Benchmark
- Tabular regression (Friedman)
- Model
- mlp_tiny
- Paired seeds
- 8
- Baseline mean
- 9.1897
- Idea mean
- 9.1897
- Effect (Δ)
- 0 (−-0.0%; negative = idea better)
- Wins
- 0 / 8 paired seeds
- p-value
- 1 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±0.0%
- Mechanism
- Not confirmed ✗
- Practical effect
- No effect
- Baseline tuning
- swept over 6 configs
Only the registered tabular track was tested. The main comparison used population size N=4; N=2,4,8 were used for the mechanism signature. Stochastic pairwise kicks were implemented in the local module but were not selected in the final sweep. No wall-clock or FLOP speedup was measured.
How to run: python3 bench_first_hit.py
Artifacts
- REPORT.md 3.2 KB View
- bench_first_hit.py 5.4 KB View Raw
- bench_report.json 6.5 KB View Raw
- first_hit_toy.py 5.5 KB View Raw
- report.md 1.6 KB View
- report_bench_2026-08-31T163702.md 5.9 KB View
- results.json 3.3 KB View Raw
- results_run.json 3.3 KB View Raw
- run2.json 3.3 KB View Raw