Skip to content

NeuralOpt v0.1.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 22 Nov 15:14
· 63 commits to main since this release
7e095b5

NeuralOpt v0.1.0

Released 2026-11-14 (UTC merge date) · PR #1 · commits

First research prototype: a small transformer optimization policy for box-bounded problems, plus a restricted interval certificate system that does not depend on the model. Result type: infrastructure.

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

Highlights

  • A transformer policy that proposes optimization steps directly, for objectives of any dimension.
  • Restricted interval branch-and-bound certificates with independent replay. The learned
    model cannot affect whether a certificate is valid.
  • A held-out smoke check in which the trained policy loses decisively to SciPy L-BFGS-B.

Features

  • Direct transformer policy: normalized coordinate tokens, two task tokens, and heads for
    direction, independent proposal, step length, a positive diagonal D and a low-rank U.
    The update applies D + U Uᵀ without forming a dense matrix.
  • A fixed reject-and-contract rule, so worse or nonfinite candidates are not propagated.
  • Bounded Problem API (box constraints, gradients required).
  • Deterministic synthetic training on quadratics and portable .npz checkpoints; the
    bundled demo checkpoint is demo-v0.1.0.npz.
  • Interval certification over a small serializable expression language, with one-ULP
    outward rounding after every supported operation; unsupported operations fail closed.
  • Model-independent certificate replay that re-evaluates retained terminal boxes.
  • A neuralopt command-line interface (train-demo).

Research results

Infrastructure only; the one smoke check rejects H2 (competitiveness with a classical
solver) for this checkpoint and task distribution.

  • On three held-out four-dimensional quadratics (budget 100), the median final objective
    was 13.0525 for the trained policy, 195.745 for random weights and 2.14e-12 for SciPy
    L-BFGS-B. Median end-to-end times, compilation included, were 0.635 s, 0.652 s and
    0.0329 s.
  • Three instances are a smoke check, not statistical evidence for H1.
  • Raw measurements: results/heldout-smoke.json.

Reports: smoke benchmark,
mathematical specification,
experiment plan,
literature audit,
novelty and falsification,
limitations.

Fixes

  • Certificate verification was hardened before merge (commit 8b89604).

Documentation

  • Docs site (Zensical) with the theory, experiment plan, literature, novelty, limitations
    and smoke-benchmark pages.
  • README, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY and artifacts/README.md.
  • Example: examples/kinetic_inverse.py.

Build and CI

  • CI on Python 3.11 and 3.12: ruff, pyright, pytest with coverage, uv build and
    twine check.
  • A scheduled and manual "Research smoke" workflow that trains a 20-step demo model.
  • pre-commit, pixi.toml, CITATION.cff, .zenodo.json, cliff.toml and
    .bumpversion.toml.

Breaking changes

None.

Known limitations

  • No claim of superiority or production maturity. The training curriculum is small and
    supervised and does not establish transfer beyond its sampled quadratics.
  • Gradients are required; only box constraints are supported. Residuals and nonlinear
    constraints are metadata only.
  • Certification supports an explicit expression language, not JAXPR. It assumes
    correctly rounded host operations and libm, is not IEEE 1788 conformant, and is a
    validated numerical result, not a machine-checked proof.
  • The v0.1.0 verifier did not check domain coverage of retained boxes; v0.2.0 added it.
  • The random-weight smoke median (195.745) cannot be reproduced because its seed was not
    recorded; v0.2.0 reports 27.4117 with seed 123.
  • The retroactive release workflow does not rerun the test suite at this tag.