Skip to content

Gradient-audit README: final mesh-gradients assessment, regularization matrix, Delaunay shipped - #116

Merged
Jammy2211 merged 7 commits into
mainfrom
claude/rectangular-mesh-gradients-mh1j0z
Jul 26, 2026
Merged

Gradient-audit README: final mesh-gradients assessment, regularization matrix, Delaunay shipped#116
Jammy2211 merged 7 commits into
mainfrom
claude/rectangular-mesh-gradients-mh1j0z

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Updates jax_profiling/gradient/README.md with the 2026-07-26 mesh-gradients assessment (library: PyAutoLabs/PyAutoArray#408; certification: PyAutoLabs/autolens_workspace_test#225):

  • The rectangular-mesh final assessment (re-certification numbers; slogdet/cholesky gradient equivalence at 2e-15; relaxed-KKT backward error ≤3e-10; no linear-algebra reformulation warranted for gradient precision).
  • KNN-mesh certification rows and the full regularization × mesh gradient matrix, including the Matérn/tfp verdict and the kernel-covariance conditioning note.
  • The Delaunay status flip: frozen-tables a.e.-exact gradient SHIPPED, with the 2026-07-09 "infeasible" section retitled and superseded in place.
  • ExponentialKernel / BrightnessZeroth / AdaptSplitZeroth rows updated post xp-ports.
  • Findings-log entries for each phase.

🤖 Generated with Claude Code

https://claude.ai/code/session_013FSqnkgZv97PU9JdkCcthy


Generated by Claude Code

claude added 7 commits July 26, 2026 13:37
Records the 2026-07-26 re-certification and linear-algebra precision probe
in the gradient-audit README: all four jax_grad pixelization variants pass
strict FD post-consolidation (production shape <= 6.2e-8 rel err);
slogdet vs cholesky log-det gradients agree to 2e-15; the relaxed-KKT NNLS
backward pass contributes <= 3e-10 relative gradient error at the default
target_kappa; the os_pix=1 einstein_radius FD poisoning persists under the
unconstrained solver, re-confirming PyAutoArray#377's solver exoneration.
Verdict: no linear-algebra reformulation warranted for gradient precision.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FSqnkgZv97PU9JdkCcthy
Records the 2026-07-26 jax_grad/knn.py certification in the gradient-audit
README: KNearestNeighbor (Wendland) and KNNBarycentric FD-certified strict
on all parameters under split-family regularization; neighbour-based
regularization pinned as the scipy TracerArrayConversionError boundary; the
KNNBarycentric science-gate caveat (PyAutoArray#317) carried alongside its
gradient status.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FSqnkgZv97PU9JdkCcthy
Adds the 2026-07-26 sweep results to the gradient-audit README: the full
al.reg x {rectangular, KNN} compatibility matrix (FD-certified / AD-live-
but-FD-limited / hard-error / incompatible, with mechanisms), the Matern
verdict (tfp bessel_kve gradients work; nu=2.5 strict-certified on the
rectangular mesh), the kernel-scheme conditioning note (explicit C^-1 at
cond ~1e9 on clustered traced vertices is the one linear-algebra
reformulation candidate the sweep surfaced), and a findings-log entry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FSqnkgZv97PU9JdkCcthy
Updates the regularization x mesh matrix: ExponentialKernel moves from
hard-error to works/FD-limited on both mesh families after the PyAutoArray
xp port (same kernel-family noise floor as Matern nu=0.5, which it equals
mathematically).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FSqnkgZv97PU9JdkCcthy
…is unblockable

The 2026-07-26 probe shows stop_gradient on the tables pure_callback input
unlocks jax.grad through the full Delaunay likelihood: with the visibility
walk in-graph, only the int32 tables (piecewise-constant in the vertices)
are frozen, so this is the exact almost-everywhere derivative. 14/14 params
live on the production shape, FD median 9.6e-6 / max 2.1e-3, eager==jit.
Updates the status row and findings log; ship task filed to PyAutoMind.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FSqnkgZv97PU9JdkCcthy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants