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: 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
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
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
- Replace mean-pool ObjectiveOdorHead with SynergisticObjectiveHead that
attention-pools latent tokens using the per-token OAV physical weight.
- Generate empirical_dataset_v2.jsonl from OAV trajectories with top/heart/base
descriptor profiles aligned to the Pyrfume vocabulary.
- Switch train.py defaults to v2 dataset and pimt_v4.pt checkpoint.
- Update hf_train_job.py to download v2 dataset from pino-synthetic-dataset-v2.
- Update predict_shalimar.py to use pyrfume_vocabulary.json for descriptors.
fix(loss): prevent objective-starvation with fixed task weights; target pimt_v3.pt
- AromaRegistry now respects PINO_REGISTRY_PATH env var.
- hf_train_job.py copies the mounted registry to a writable workspace
location before training, and writes models/runs to /workspace instead
of inside the read-only source mount.
- Add 15 new NATURAL_PROFILES for perfumery essential oils/resinoids/absolute.
- scripts/predict_shalimar.py preserves NATURAL:* tokens for the transformer,
flattens them only for VLE/UNIFAC simulation, and aggregates constituent
physics back to the parent tokens.
- Adds category-based comparison with website notes and a gradient backtest.
- Ignore generated reports/ in .gitignore.
fix(embeddings): handle registry records with empty openpom/shape embeddings
- OlfactoryEmbeddingEngine now queries AromaRegistry first, computes missing 3D
features once, and writes them back to the SQLite DB permanently.
- Empty/placeholder SMILES short-circuit to zero fallback without invoking RDKit.
- Mute RDKit C++ logger to eliminate warning spam during training.
perf(train): avoid Hugging Face Dataset round-trip during formula-disjoint split
- Default --data is now data/empirical_dataset_v1.jsonl.
- AdaptiveLossBalancer is instantiated with num_tasks=4 before epoch loop.
- loss_alignment is continuous cosine similarity against mean-pooled target_obj;
legacy InfoNCE is fully removed.
feat(data,verifier): add skip_ifra to verifier for synthetic dataset generation
- Add skip_ifra flag to FragrancePipelineVerifier.run_sim to bypass IFRA
restriction checks during synthetic training data generation.
- Use skip_ifra=True in generate_empirical_bootstrap for controls and mixtures
so the mandatory 15% solvent dilution is the only concentration guard.
- Commercial solvent dilution layer now handles all formula prep.