chore: untrack large generated artifacts from source repo; ignore them
Matthew Ford
a1a6595
The 24 large generated files (historical empirical_dataset_v1-v9, synthetic_dataset_v2*,
material_profiles_v11_*, pubchem catalog, wisemoor records, tgsc, literature_pages, training
logs) were force-added to source history and block git push to HF (pre-receive hook).
They are preserved in:
- HF data repo mattbitzesty/pino-synthetic-dataset-v3 (canonical home)
- local backup ~/pino-largefile-backup-20260717 (SHA256 verified)
- full mirror backup ~/pino-source-backup.git
Files remain on disk; only git tracking removed. Next: BFG-purge history.
Former-commit-id: b6bdaf7d3015a2a934e60f754d2210ee2e80cdf1
Former-commit-id: eca704ea90ed78bfd980d514e9ab6af5a2475f9a
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
Third representation arm. structural_source='pom_alltags' uses genuine 256-dim
OpenPOM input (same as openpom_256 arm) but a 575-dim molequles all-tags objective
target instead of the 138-dim Pyrfume pyramid — isolates target-vocabulary as the
single variable against the OpenPOM arm.
- pimt_model: FragranceTrajectoryDataset gains objective_dim (138|575); selects
alltags_targets when objective_dim=575; objective_targets_to_pyramid is now
width-agnostic (138 or 575) instead of hard-rejecting non-138.
- train.py: --structural-source gains pom_alltags; threads objective_dim through
dataset construction + PIMTHeads; collate reads target width from the batch.
- Smoke-tested all three arms end-to-end on corrected v10_alltags dataset:
morgan (151->138), openpom_256 (269->138), pom_alltags (269->575); all train.
Former-commit-id: ccccfa67d1f3e5680360c153a6ba42024f8607c0
Former-commit-id: 8b4dcf6421418e22b29e80d2e9acb40bd2748273
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
docs: TODO ledger — authoritative GPU readout, CPU demoted to superseded, A/B task marked complete
docs: final GPU readout in README + model card; add POM relation section
Matthew Ford
626674a
- README Representation A/B now shows the authoritative 20-epoch GPU table
(val 0.396/0.360, triplets 0.30/0.45 n=20, prospective 0.538/0.612) with the
honest below-chance triplet caveat; CPU run demoted to superseded lineage.
- New README section 'Relation to the Principal Odor Map (Lee et al. 2023)':
positions PINO as building on + extending POM to blends/time/formulation, with
the controlled-A/B methodological edge and the human-panel-validation gap.
- Model card: same GPU readout + superseded-CPU lineage + 20-triplet lineage.
Former-commit-id: 1036b68cdcc472c70e66da9949f2bf2a51cd34e3
Former-commit-id: f366ab88fd8e43f2a0848a1a2cf06ef49c191953
- 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
Auto-fired on GPU job completion. Downloaded both GPU frozen_eval JSONs (20-triplet readout), regenerated the per-genre prospective figure, and refreshed paper_data.yaml A/B macros (triplet n + accuracies + prospective cosines + val totals) to the GPU run.
Former-commit-id: fe5ee4c5219d0cd10166fa7956698789a577ad75
Former-commit-id: e0cf8059009ca2447ae8f80583d67bb55ebb9200
docs: tidy README + TODO — accurate quick-start, paper package, green tests, READY gate
Matthew Ford
ef8cced
README: quick-start now reflects the two-arm A/B path (structural-source train +
once-only frozen eval + paper artifacts), notes the test count, and adds a Paper
package section (export_paper_data + generate_paper_figures). TODO: cleared stale
IN PROGRESS / DO_NOT_TRAIN markers, marked the 531-instance gap closed (99.80%
coverage), recorded the green test suite, and reconciled the gate narrative to the
current READY state.
Former-commit-id: 1d7ca5a9a8a6f7e14c3b39eea19b847b4ffa9fa6
Former-commit-id: 00f0fbcbf85096df2050e4a2bd4e236256b07562
fix: pre-existing test failures — draft_engine None-MW crash + stale gate test
Matthew Ford
2e41740
draft_engine._load_compounds: skip aroma_chemicals rows with NULL molecular_weight
(they cannot be tier-classified and crashed _classify_tiers with None<=int). Fixes
all 5 test_synthetic failures.
test_representation_validation: the old test asserted the gate FAILS against live
repo state, which broke once the gate legitimately went READY. Rewritten to (a)
exercise the failure path hermetically by running the real gate logic against an
empty tmp dir (asserts rc=2 / DO_NOT_TRAIN / non-empty blockers), and (b) assert
the live repo gate IS ready with all five checks passing (regression guard).
Full suite: 112 passed, 4 skipped, 0 failed (previously 6 failed).
Former-commit-id: 671bc1d1175a6ede27ee0bb2f7563d836cd42dc1
Former-commit-id: 9d4a91c3b761ab4f2808fb0a91c67fc8eda63146
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
training_readiness.json reflects the READY_FOR_TRAINING gate; 106 literature
repair pairs frozen under data/benchmarks/repair_pairs; source_population AI
review retained for provenance. artifacts/pom/ intentionally left untracked
locally (already published to HF source repo).
Former-commit-id: fc68308b2a81ec858933c05976c348f63fce13b2
Former-commit-id: f64943bd1ad4f702b5349e2c5cd2825aa80aee9f
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
chore: v11.6 + v11.5 + candidate-20260716a artifact reports and manifests
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
docs: triplet expansion 8->20 + GPU A/B run in README and TODO
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
docs: mark representation-validation sequence complete in TODO
Matthew Ford
73fe875
All five sequence items checked: ablation, triplet benchmark, prospective
benchmark, gated training (two-arm A/B), single once-only frozen-benchmark
evaluation with all outcomes reported.
Former-commit-id: c6eb69dc5e5297652941ef9cebb70beacbfbf1cd
Former-commit-id: dc135f3c3073fec8e88ddbcff3c8a816773e3d0a
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
docs: open design decisions + training-readiness gate in README
Matthew Ford
e19ba67
Document the resolved representation question (genuine OpenPOM wins the
ablation; --structural-source toggle), the open objective target-space fork
(138-Pyrfume vs 575-dim molequles multi-tag, held as ablation arm), and the
training-readiness gate contract.
Former-commit-id: 3bf21efe2c8530be879dd6d0176b60ede1187016
Former-commit-id: 9853be9f85a1da09a6909be0fd774b4c15160d17
feat: wire genuine 256-dim OpenPOM into training (--structural-source)
Matthew Ford
f4f9dd3
Adds a structural_source toggle to OlfactoryEmbeddingEngine and threads it
through FragranceTrajectoryDataset -> train.py CLI (--structural-source
morgan|openpom_256). Genuine OpenPOM v1.0.0 ensemble (256-dim, 10-model mean)
is loaded from artifacts/pom and takes priority over the registry's 138-dim
Morgan fallback. CAS absent from the genuine set get a real Morgan block
zero-padded to 256 so the combined input dim stays constant (269 vs 151).
Model input_proj and the collate pad dim now derive from the actual embedding
dim rather than a hardcoded 151. Both arms smoke-test end-to-end:
morgan val_total=0.6349 (dim 151), openpom_256 val_total=0.6397 (dim 269).
POM asset load fails closed if absent (no silent Morgan substitution).
Former-commit-id: 10a28c38b626dc97f610c0eb98798b4772fb17e3
Former-commit-id: c57e69d542d2e258990391b3f2bd2e12d37e823f
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
feat: full molequles multi-tag target space (575-dim ablation arm)
Matthew Ford
b5c68f0
Mine descriptive tokens from odor_descriptions monograph text (arctander/
goodscents/tgsc) in material_profiles. 575 tags at >=10 occurrences; 1187
CAS with nonzero multi-hot vectors (~10 tags/CAS). Additional target space
per the all-tags directive; 138-Pyrfume basis retained for the primary arm.
Former-commit-id: c0292fe4fd2126c4272ccf2d2548be0d75ff5b61
Former-commit-id: fdbdca6c20417e96065fc1471b45bcab982774f8
feat: curated perfumer tiers for 15 residual CAS (coverage 99.80%)
Matthew Ford
c558e9f
Close the descriptor gap remaining after the molequles Tier-3.5 link. The 15
CAS with no odor text in any source (Musk tonkin, Ylang, Orange flower /
Tuberose absolutes, Styrax, Evernyl, Sandalor, Carvone, Agrumex, Jasmonal,
etc.) got curated top/mid/base labels from known perfumery substantivity.
Ingredient-instance coverage on the repaired corpus: 98.5% -> 99.80%
(uncovered 531 -> 73, the remainder being name-only naturals with no CAS).
Former-commit-id: 76a9dbd288b0dcfe837d0d08c9057974721e7734
Former-commit-id: 76c511e94714920609c1ddb269491fbd11d213c8
feat: prospective formula benchmark (40 in-silico formulas, blinded labels)
Matthew Ford
3fb95e8
40 deliberately-designed formulas from a restricted palette of 51 common
hobbyist-available aroma chemicals (resolved to SMILES via molequles
material_profiles; 32 already in the real-POM asset). Balanced across 5
genres (8 each). Top/heart/base structure via predicted substantivity bands.
Blinding: formulas.jsonl (shareable) separated from
labels.sequestered.json (intended family profiles, access=evaluation_only).
Deterministic --seed 20260717 for reproducibility; sha256 recorded in manifest.
Community physical-compounding arm held open by palette restriction.
Former-commit-id: 72f6a25aff80e51ab0823fe84e7963f04bd36b22
Former-commit-id: 45dd3af973fc06010c31f6e987d0b5448083b59f
Ablation (Morgan vs real-POM vs POM+physics, 5-fold paired bootstrap, 4 tasks):
real POM beats Morgan on every predictive task:
substantivity rho 0.679 vs 0.392 (delta +0.287, 95%CI [+0.206,+0.368])
odor_threshold rho 0.601 vs 0.528 (delta +0.073, [+0.033,+0.111])
descriptor macroF1 0.291 vs 0.137 (delta +0.154, [+0.095,+0.214])
Fixed registry_props() missing odor_threshold_ug_m3 column that silently
emptied the threshold task.
Triplets: 8 discordant substitution triplets with independent supplier
preference provenance and verified structural discordance (Tanimoto
distractor > preferred). Trade names allowed via corpus SMILES resolution.
Former-commit-id: 9a9cc3b596ab176d755008ef34767d4b593009f8
Former-commit-id: c1c93451d76f398702f4621171df8339ba00d9df
feat: link molequles material-profiles odor text into training descriptor matrix
Matthew Ford
a150abf
Add Tier 3.5 to build_master_matrix that reads odor_description /
odor_descriptions from material_profiles (molequles-enriched) and maps it
through the existing Tier-2 tokenizer. Ingredients absent from the registry
(absolutes, natural oils with real CAS) previously fell through every tier to
a zero 138-D vector; 71 of the 120 uncovered CAS already carried usable odor
text in the molequles layer that the build never read.
Ingredient-instance coverage on the repaired empirical corpus: 90.7% -> 98.5%
(531 uncovered instances remain, down from 3353).
Former-commit-id: d6969e81f352267de7efd0e1510f3f17852334d3
Former-commit-id: 319ae38dfaa7809ce4b724562df74fe5932a9766