Skip to content

NeuralOpt v0.4.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 22 Nov 15:17
· 41 commits to main since this release
c82016f

NeuralOpt v0.4.0

Released 2026-11-15 (UTC merge date) · PR #4 · commits

Trains transformer mobility and mass geometry through differentiable overdamped and BAOAB trajectories; learned BAOAB geometry does not beat a fixed diagonal. Result type: negative.

This release was tagged retroactively on 2026-11-22; it was not published to PyPI.

Highlights

  • Transformer diagonal-plus-low-rank mobility and mass heads trained end to end through
    stochastic trajectories.
  • A held-out ablation against identity, fixed-diagonal and untrained geometry with paired
    bootstrap intervals.
  • The simple fixed diagonal remains the strongest supported BAOAB result.

Features

  • stochastic_geometry_loss: pathwise differentiation through explicit-noise overdamped
    Euler or BAOAB trajectories with episode-frozen geometry.
  • Losses: multi-horizon log1p regret, a stability penalty, a fixed compute-cost term,
    a weak-generator (Fokker–Planck) term and an optional Gaussian free-energy surrogate
    (disabled in the reported run).
  • Ablation arms: identity, fixed diagonal, untrained, regret-trained and
    regret-plus-Fokker–Planck.
  • Reproduction script scripts/run_geometry_training_v0_4.py (with
    --reuse-checkpoints) and checkpoints artifacts/neuralopt-v0.4.0-*.npz.

Research results

Negative: learned BAOAB geometry does not beat the fixed diagonal, and Fokker–Planck
transfer to BAOAB is inconclusive.

  • Ten held-out pairs, budget 80; paired mean log1p(regret) against identity, negative
    is better (results/geometry-training-v0.4.0.json).
  • BAOAB fixed diagonal: −0.441 [−0.878, −0.078]. BAOAB regret-trained: −0.028
    [−0.259, 0.207]. BAOAB transferred regret + FP: −0.247 [−0.752, 0.072].
  • Overdamped: every learned interval crosses zero against identity.
  • Overdamped FP − regret: −0.048 [−0.105, −0.006] on the ten pairs. This is a small
    effect on a small prespecified set, not a general advantage.
  • At budget 40, transferred FP geometry was worse for BAOAB at both unseen
    temperatures.

Report: distribution-aware training.

Fixes

  • The weak-generator loss evaluates the Gaussian noise term analytically; sampling it
    added a variance term that rewarded shrinking the mobility.
  • BAOAB training samples its initial momentum from N(0, T M), matching inference.
  • fixed_metric_diag is cast to the problem's floating dtype (an integer array kept an
    integer dtype before).

Documentation

  • New report: distribution-aware-training.md; training.md gained a stochastic
    geometry section.

Build and CI

  • Version 0.4.0 in pyproject.toml, neuralopt.__version__ and CITATION.cff.

Breaking changes

None.

Known limitations

  • Small study: six training tasks, ten primary held-out pairs, one training seed, no
    BBOB or scientific inverse problem.
  • The FP weight was not selected on a separate validation sweep.
  • Transfer evaluations use four instances; their intervals are descriptive.
  • v0.5.0 found that the v0.4 feature map discarded the gradient norm, so the model could
    not adapt to objective scale.
  • The retroactive release workflow does not rerun the test suite at this tag.