Skip to content

Commit da32aa7

Browse files
Jammy2211Jammy2211
authored andcommitted
prompt: pause pixelized-gradient-experiment (#100) for bedtime — resume=build samplers on kernel-CDF config
1 parent 3868aed commit da32aa7

2 files changed

Lines changed: 43 additions & 2 deletions

File tree

active.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# Active Tasks
22

33

4-
5-
_No active tasks._
4+
## pixelized-gradient-experiment
5+
- issue: https://github.com/PyAutoLabs/autolens_workspace_developer/issues/100
6+
- status: in-progress, PAUSED for bedtime 2026-07-14 — feasibility ANSWERED (pix gradients DO work; certified test imaging_pixelization.py passed exit 0). RESUME = build the sampler experiment on the CORRECT config.
7+
- worktree: ~/Code/PyAutoLabs-wt/pixelized-gradient-experiment (autolens_workspace_developer on feature/pixelized-gradient-experiment; probes + pix_gradient_findings.md committed+pushed, NOT PR'd)
8+
- autonomy: supervised (research)
9+
- finding: can af.MultiStartAdam/ADABelief/Lion work for a pixelized source? YES — pix likelihoods are gradient-differentiable. My first probe's "no" was a methodology error (human caught it; certified in autolens_workspace_test/scripts/jax_grad/imaging_pixelization.py, re-run passed). Correct config = kernel-CDF mesh RectangularKernelAdaptDensity(bandwidth=0.1) [os_pix=1] OR adaptive mesh at over_sample_size_pixelization=4; truth-centred GaussianPriors; small FD step sweep near truth.
10+
- resume: (1) rewrite searches_minimal/probe_grad_pix.py to certified recipe (kernel-CDF + truth-centred priors + small-step FD near truth) → confirm OK; (2) build SLaM-pix-1 objective (fixed MGE lens light, free Isothermal+shear, kernel-CDF source) and run af.MultiStartAdam/ADABelief/Lion + af.Nautilus baseline locally; (3) A100 on RAL. REAL question = can multi-start gradient descent from BROAD starts recover the mass basin vs Nautilus (gradient correctness settled=yes). See [[project_pixelized_gradient_sampler_infeasible]] memory.
11+
- repos:
12+
- autolens_workspace_developer: feature/pixelized-gradient-experiment
613

714

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Pixelized gradient-sampler experiment — can MultiStartAdam/ADABelief/Lion work for pix?
2+
3+
Type: experiment
4+
Target: autolens_workspace_developer
5+
Repos:
6+
- @autolens_workspace_developer
7+
Difficulty: large
8+
Autonomy: supervised
9+
Priority: normal
10+
Status: issued
11+
12+
Research question: do the newly-promoted multi-start gradient MAP optimizers
13+
(af.MultiStartAdam / MultiStartADABelief / MultiStartLion, Fit#1369) work on a
14+
PIXELIZED source reconstruction, not just the MGE likelihood the benchmark used?
15+
16+
Setup (searches_minimal/, extending the MGE benchmark harness):
17+
- Model = SLaM SOURCE_PIX[1] style: lens MGE linear light with FIXED non-linear
18+
geometry; lens mass (Isothermal + ExternalShear) FREE; source =
19+
RectangularSplineAdaptImage (differentiable spline mesh) + adaptive
20+
regularization (al.reg.Adapt); regularization coefficient FREE. Free non-linear
21+
params ~= mass + shear + reg (~7-D). Adapt image bootstrapped from a quick
22+
RectangularAdaptDensity+Constant fit (no adapt image needed), mirroring SLaM.
23+
- FD feasibility gate FIRST (probe_grad_pix.py): reverse-mode jax.grad of the
24+
spline-pixelized log-evidence, FD-cross-checked. If FAIL_FD_MISMATCH, that IS
25+
the answer — stop, report, no A100 burn.
26+
- Samplers: af.MultiStartAdam/ADABelief/Lion + af.Nautilus baseline.
27+
- Runs: local CPU smoke, then A100 on RAL (euclid_jump pipeline).
28+
- Deliverable: findings doc (do gradient MAP optimizers recover the mass basin
29+
with a pixelized source vs Nautilus?).
30+
31+
Decisions (human, 2026-07-14): SplineAdaptImage + adaptive reg; mass+reg free /
32+
light fixed. Checkpoint after the FD probe before samplers/A100.
33+
34+
<!-- research spun off the multi-start gradient promotion; grad harness = searches_minimal -->

0 commit comments

Comments
 (0)