feat: 3-arm GPU job on corrected labels — morgan/openpom_256/pom_alltags (v2)
Matthew Ford
5170824
Extends the A/B GPU job to three arms against empirical_dataset_v10_alltags.jsonl
(corrected fold(objective_targets) pyramid labels + 575-dim alltags_targets).
Uploads pimt_ab_*_v2.pt + frozen_eval_*_v2.json + gpu_run_summary.json.
Former-commit-id: 395cb007b244015ada377bfce5ce61772e1cd146
Former-commit-id: 0b0a66ecc6d05ef42a9c0db15d11e78f57fa7706
feat: evaluators support pom_alltags arm (objective_dim-aware, prospective N/A for 575-dim)
Matthew Ford
224d843
- evaluate_frozen_benchmarks: load_model takes objective_dim; 575-dim arm runs
triplet ranking (width-agnostic learned perceptual space) and marks the
prospective family-profile projection not-applicable (it is defined over the
138-dim Pyrfume vocab, so a 575-dim tag arm is not comparable there). Verified
on smoke checkpoint: triplets 0.30 (6/20).
- eval_v6: --structural-source gains pom_alltags; threads objective_dim through
heads + make_validation_dataset.
Former-commit-id: 0cc448d0da43d7ed034bf9bde2217c5b441b26c8
Former-commit-id: d7c80afd29fa8e3bbfc6f5e0e0319efef88d97d2
fix: regenerate degenerate pyramid_targets as fold(objective_targets); add all-tags targets
Matthew Ford
634ed65
Found 2026-07-17 via trajectory-figure investigation: stored pyramid_targets was
degenerate (30.2% of records base-only; base tier mean mass 16.7 vs top 4.1/mid
2.5) because the OAV-decay tier classifier defaulted to base when OAV series were
empty. The model trained+validated against this base-skewed label.
- regenerate_pyramid_targets_fold.py: rebuild pyramid_targets as
fold(objective_targets) (physics-derived, balanced) -> v10_pyramidfix.jsonl.
base-only 1694->386; tier mass 4.05/2.53/16.67 -> 4.55/4.19/3.20. Non-destructive.
- build_alltags_targets.py: append OAV-weighted folded 575-dim alltags_targets
(3,575) per record -> v10_alltags.jsonl. Coverage: all 5708 records tagged.
Datasets not committed (705MB each, gitignored); live under data/ locally.
Former-commit-id: 43d4c84a7c50b6ee03463b6998ee46f82ccf323e
Former-commit-id: 8625c0094ab3aecc8025a424f8d3f3128fece8cb
- export_paper_data.py now loads frozen_eval_*_gpu.json first (authoritative
20-epoch run), falling back to CPU evals only if GPU absent. Prevents silent
regeneration of paper_data.yaml with the superseded 6-epoch CPU numbers.
- Stamped final_val_total (best-epoch) + best_epoch + last-epoch val into the GPU
frozen_eval JSONs from the training logs (Morgan 0.3959@ep18, POM 0.3600@ep10);
the A/B job's evaluator didn't embed them, which had nulled the macros.
- artifacts/paper_stats_bundle.json assembled locally from the genuine GPU
checkpoints + evals (both arms, consistent provenance) and uploaded to the A/B
repo; the earlier reuse-mode stats job was cancelled when its POM-checkpoint
reuse missed and it began a redundant/inconsistent retrain.
paper_data.yaml A/B macros now GPU-authoritative: triplet n=20 (Morgan 0.30,
POM 0.45), prospective cos 0.538/0.612, val_total 0.396/0.360.
Former-commit-id: 9e61d9374829c258e4054978856e434bebd6730c
Former-commit-id: c2b13f5d9029e4…
Auto-fire chain on GPU A/B completion (6a59cdae, COMPLETED):
- fig_prospective_by_genre.pdf: per-genre model-vs-sequestered cosine, both arms.
GPU result: OpenPOM 0.612 vs Morgan 0.538 overall; OpenPOM decisive on citrus
cologne (0.56 vs 0.26), Morgan edges amber_oriental, fougere tied.
- fig_descriptor_heatmap.pdf + fig_smell_constellation.pdf (from existing artifacts).
- paper_data.yaml: abMorganValTotal=0.3959, abPomValTotal=0.36 added; exporter
updated so val totals persist on regeneration.
- stats-collector launched (reuse mode) -> paper_stats_bundle.json.
Dropped the single-molecule 'model-predicted dominant descriptor' UMAP: the model
collapses to 'sweet' on 648/711 isolated molecules (OOD for the 49-step-trajectory
objective head). Honest negative — single-molecule argmax is not a valid encoder.
Former-commit-id: deb0e6c887b6da65d241252dca1abb405b467a1c
Former-commit-id: d5a5615b75187a62cce7f36464c9fc09c753a286
Trains/reuses both A/B arms and emits one bundle aggregating every paper stat:
final val_total, full tensorboard train/val curves, frozen-benchmark readout per
arm, checkpoint SHA256 + input dims, dataset SHA, run provenance. Reuse-first:
if pimt_ab_{arm}_gpu.pt is already published by the running A/B job, download +
evaluate it instead of retraining; retrain only when a checkpoint is absent.
Uploads paper_stats_bundle.json + checkpoints to the A/B model repo.
Former-commit-id: 219cf88c858f52969ce1c71d7ae4590ac918e0b2
Former-commit-id: 501c5dca64538483829409cca8d82e2d5980fa8a
feat: paper figures from existing artifacts (ablation bars, POM UMAP, trajectory)
Matthew Ford
043e29f
scripts/generate_paper_figures.py renders three PDFs from on-disk artifacts only:
(a) fig_ablation_bars.pdf — frozen representation ablation, 3 tasks x 3 reps,
grouped bars with 95% CI whiskers (per-fold spread), n annotated.
(b) fig_pom_umap.pdf — UMAP of 711 genuine OpenPOM embeddings colored by odor
family (554/711 labeled via chemical_family_classification.json).
(c) fig_trajectory_pred_vs_target.pdf — objective-head predicted vs target odor
pyramid for a held-out OpenPOM-arm sample, all 3 tiers; targets are
structurally sparse (base tier 20-active multi-hot, top/middle ~0), shown
honestly with active-count annotations.
Local-only: no HF, no gate/manifest changes. Visual QA via PDF->PNG render.
Former-commit-id: 82552dd55bdc5f77ab7ae3ef6c39c3746dffa38e
Former-commit-id: 13cd860666d00a25d8312c2ae1de8781bc282b45
feat: paper_data.yaml exporter for autopaper (49 data_macros)
Matthew Ford
bf801fa
scripts/export_paper_data.py reads the frozen representation ablation, the
v10_line_drawn substantivity GBM metrics, and the two-arm A/B frozen readout,
plus dataset curation stats, and emits a canonical artifacts/paper_data.yaml.
Keys are lowerCamel letters-only per the autopaper build_paper.py contract
(builder prefixes D, digits->words): \DThreshPomRho, \DSubstPomRho,
\DGbmLockedRho/\DGbmLockedRtwo, \DAbPomTripletAcc, honest negatives, etc.
Verified: YAML parses, all 49 keys satisfy the letters-only constraint, and
macro names round-trip through the real autopaper builder functions.
Former-commit-id: 8388847d54026f0939d5bafd38cf2c0ad52019ff
Former-commit-id: 5fed2c7fec5bef58913718991ddd7289305fbe4a
Scripts implementing the v11.6 repair chain and corrected-baseline recompute, the
independent-candidate and training-dataset preparation, POM embedding computation,
source-population audit, and frozen genre-output diagnosis. New pytest coverage:
material data integrity, independent-candidate prep, training-dataset prep, source
population.
Former-commit-id: 176362fba0b6e86a533c830ae42bda0f05c91935
Former-commit-id: 3f0e963b225c2fe6d644601e7a427319bdac3b4a
feat: low-evidence gating in substitution_v11 + wisemoor description provenance
Matthew Ford
cc86172
substitution_v11: stop manufacturing neutral 0.5 for unobserved features. Missing
features now yield None (evidence_coverage=0), a row needs >=2 mutually-observed
scoring components to count as a trustworthy retrieval, an answer resolving to the
target is excluded as invalid (not a miss), and unimplemented modes
(cost_match/regulatory_match without supporting data) are reported unsupported.
Wisemoor converters preserve source-observed description text as provenance
(description_provenance), never promoted to an assessor label. Tests cover the
three gating behaviours. .gitignore: add .venv-pom/, aroma.db, *.log, large v11.6
dataset jsonl.
Former-commit-id: ad4230835bac66729ed85e28cb52aafb628979df
Former-commit-id: ba6b13133db06e31e2256e4d2222f8a7795363f8
pytorch CUDA image already ships torch; adding scipy/rdkit/tensorboard/numpy
via a torch --index-url hides them (PyPI replaced). Install the four extras
from PyPI only.
Former-commit-id: f91c41966f49d31da142e652eaaa39c40a56b799
Former-commit-id: 100914ff5f61f9ef4eb81646200b03a14ace2504
Mine material_profiles (molequles) for trade-name -> SMILES in
load_trade_name_structures, in addition to the empirical corpus formula names.
Resolves proprietary trade materials (Isobutavan, Canthoxal, Neofolione,
Indocolore, Centifolether, Romandolide, etc.) that were previously dropped as
no_identity. Admission count 8 -> 20; all 12 new triplets carry authoritative
Fraterworks preference provenance + verified structural discordance.
Former-commit-id: e00c75ca7f7517f897ed01f53f6465f349a8671c
Former-commit-id: 63b884e7d2ee946a6eb700f450a86fea4cf9609b
feat: HF GPU two-arm A/B training job
Matthew Ford
ca7335c
Pulls fresh source + repaired corpus + genuine-POM assets from HF, trains both
representation arms back-to-back on GPU (default 20 epochs, batch 32), runs the
preregistered frozen-benchmark evaluator on each, uploads checkpoints + eval JSON
to mattbitzesty/pino-pimt-representation-ab. Deterministic seed/split; the only
difference between arms is --structural-source.
Former-commit-id: d1d8740e0291c3b84c7d1dc449de8f5fb56c910e
Former-commit-id: 085d3aaf4ea935f52672f6d7a484cf2987f82bc3
Scores discordant substitution triplets in the model's learned odor-pyramid
space (preferred must be perceptually closer to target than the structural
distractor) and prospective formulas by projecting the model-predicted pyramid
onto family tag-space vs sequestered labels. Single once-only readout per arm;
reports all outcomes including negative.
Former-commit-id: 1c8a0f18a93d2ae3aeba08cb2bea557e70fddf90
Former-commit-id: 8f77d1adff6ab1a31902d5f34f511f545c90e779
feat: --structural-source flag in eval_v6 for arm-matched evaluation
Matthew Ford
19ac1ec
A checkpoint must be evaluated with the same structural embedding block it was
trained on, else a 269-dim POM model receives 151-dim Morgan tokens (dim
mismatch) or vice-versa. Threads the flag into make_validation_dataset.
Former-commit-id: 54339a2eb63ed92e327534b0da854f5393452ac7
Former-commit-id: b632b352e772479c193b7047aec8c2be507228ad
Rewrote freeze_representation_validation.py from a freeze-stub (which overwrote
results with the blocked state) into a pure evaluator that detects genuine
completion from on-disk artifacts without mutating benchmark manifests. The
prior stub had clobbered triplets.jsonl and formulas.jsonl to empty; both
regenerated (triplets: 8 admitted; formulas: 40, seed 20260717).
Checks now green: real_pom_available, ablation_complete,
triplet_count_positive, prospective_formula_count_30_to_50,
prospective_labels_sequestered. decision=READY_FOR_TRAINING.
Former-commit-id: 21ebdddbcfebdbf9f52d2e0396b09676d47b33dc
Former-commit-id: b8cefaa9c42c77f9e1332435fe8e65505813c8b8