Jul 9 20:26 v6: ConcentrationAwarePyramidHead + OAV fix + curated descriptors + integration Architecture (Phase 1-2):
- ConcentrationAwarePyramidHead: physics-informed routing (learnable tau,
OAV-weighted attention, scalar MLP conditioning, padding-safe)
- PIMTHeads wrapper updated for new forward(latent, physics, mask) signature
- 7 invariance tests pass (shape, sensitivity, permutation, padding, routing, overfit, entropy)
Data pipeline (Phase 0):
- Fixed OAV unit bug (1000x too low: mg/m3 / ug/m3 without conversion)
- Merged OpenPOM curated dataset (4983 molecules, GoodScents+Leffingwell)
- 634 chemicals with curated descriptors (was 337), 138/138 active
- Filtered 61 non-fragrance chemicals, formula-derived psychometrics
- 468 real TGSC perfume formulas added to training set
- Measured Pyrfume ODTs for 521 chemicals
Integration:
- train.py: passes physics + mask to heads
- predict_shalimar.py: updated 3 call sites + checkpoint name
- scalar_stats key names aligned with heads.py
- Default dataset: v8, checkpoint: pimt_v6.pt Jul 7 06:01 feat(semantics): compute OAV-weighted descriptor targets from Pyrfume data Replace deterministic genre curves with log10(OAV+1)-weighted mixture
descriptor vectors backed by pyrfume_descriptors_by_cas.json and
pyrfume_odt_by_cas.json. Keep fallback profile for tests. Jul 6 14:27 feat(optimizer): masked MSE, strategy seeds, adversarial IFRA guard; add accords/materials/importer - Importance-weighted objective MSE: active descriptors (0-3) weighted 50x, background 0.1x
- Strategy-aware palette seeds (citrus, amber, floral, fougere) + initial guess + soft bonus
- Tighten citrus seed list to true top-note materials (limonene, citral, terpinene, pinene)
- Verifier skips unresolved ingredients while keeping weight fractions aligned
- Add accords.py, materials.py, importer.py, analyze_formula.py for real-world formulas
- Fix permutation-invariance tests to match flat 7-D subjective head API 10:16 feat: Milestone 4 clean code snapshot