Skip to content

feat(r9): YallaMorph/CamelMorph morph aux teacher + RIDE direction probe - #104

Merged
ronaldtse merged 1 commit into
mainfrom
feat/r9-yallamorph-teacher
Oct 1, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
feat/r9-yallamorph-teacher

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Teacher-side data lever from the 2026-09-30 arXiv sweep (TODO.sota-2026/01 and /05 in interscript-ml).

run-009-yallamorph (r8-generation teacher; run-008 slot was consumed by the IPA ablation): the r7 recipe plus a MORPH-prefixed aux stream teaching feature-conditional vocalization, built from Camel Morph MSA v1.0 (LREC-COLING 2024, CC BY 4.0) - the resource YallaMorph (arXiv 2609.10153, EMNLP 2026) was constructed from. Deterministic dictionary resource; no LLM labels.

  • build_yallamorph_aux.py - aux line builder, TDD (12 tests). Input = "MORPH: | ", target = fully diacritized form; the r6-proven ASCII-prefix multitask mechanism.
  • gen_yallamorph_pairs.py - paradigm generation via camel_tools Generator. Key finding: the correct interface is UNDERSPECIFIED generation (pos [+ proclitic variant]); fully-specified requests silently reject cells where morphology leaves a feature unmarked (1st person carries gen 'u'). 13,000 lemmas (YallaMorph sample in-DB + inventory top-up, seed 42) -> 4.7M raw pairs -> 300k stratified lines (60/40 verb/nominal), shipped to volume /datasets/yallamorph-aux. Validation vs YallaMorph few-shot gold: 38/52 exact; residual divergence is proclitic-chain conventions + DB-version lemma gaps, not wrong forms.
  • train_arabic_r9_yallamorph.py - r7 recipe verbatim + aux sampled to exactly 25% of the mix, init run-007-news, gates: SadeedDiac windowed zero-skip <= 2.389 AND WikiNews-2024 multi-ref improves over 17.3794/11.8273; canonical replacement only if ID improves outright. In flight (app ap-f1R8ChDikMKUGyBuJGO6).
  • ride_probe_math.py + probe_ride_direction.py - RIDE-style SFT-residual direction transferability probe (TDD math, 7 tests). Measured: cos(d_classical, d_news) per encoder layer 0.94/0.95/0.92/... decaying to noise by L11 - the r6->r7 delta is domain-general in early/mid layers; the displacement-arm premise holds (max 0.9513 >= 0.5 kill bar). Training-arm spec recorded in TODO.sota-2026/05.

- build_yallamorph_aux: MORPH-prefixed aux line builder (TDD, 12 tests)
- gen_yallamorph_pairs: Camel Morph MSA v1.0 paradigm generation,
  underspecified-spec interface, YallaMorph gold validation (38/52),
  300k stratified lines on volume /datasets/yallamorph-aux
- train_arabic_r9_yallamorph: r7 recipe + 25% morph aux stream,
  init run-007-news, resumable + EVAL_DONE idempotent
- ride_probe_math + probe_ride_direction: r7-r6 residual direction
  transferability probe (TDD math; measured TRANSFER, max cos 0.9513)
@ronaldtse
ronaldtse merged commit 0f94ddf into main Oct 1, 2026
6 checks passed
@ronaldtse
ronaldtse deleted the feat/r9-yallamorph-teacher branch October 3, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant