interplane.Get Omega
Read in your language

aien-train

AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.

Brought by drakestapleton

[OM-LEARN P2] Compare rich compiler-feedback learning, scalar rewards and SFT at matched cost

Open · #4 · open 2026-10-23 19:15 UTC

Imported from GitHub aien-dev/aien-train#4, by drakestapleton

drakestapleton wrote on 2026-10-23 19:15 UTC

Evidence and objective

Parent: Omega #652. This is a gated follow-on to aien-train #3, not authorization for open-ended training. Research shows potential value in learning from compiler/runtime feedback, while Selective Left-Shift reports a regression after RL on one benchmark. Test methods against the retained SFT incumbent rather than assuming every learning stage helps.

Prerequisites

Consume Omega #653 split/evaluation, #654 corpus, #655 diagnostic schema, #606 numerical training gates and a completed native SFT baseline. The existing trainer owner must expose the exact required loss/update operations. Missing methods stay explicit and blocked until implemented in .om.

Implementation

  1. Freeze a finite method comparison: SFT/no additional learning, scalar execution-reward adaptation, and feedback-conditioned self-distillation. A method such as GRPO or SDPO is an explicit algorithmic choice with pinned equations and controls, not a renamed generic training loop.
  2. Record rollout policy/version, task/profile, output, compiler/runtime feedback, independent reward source and training target. Do not let the model score its own answer as the sole outcome reward.
  3. For scalar rewards, define compilation, functional, trap/effect and resource criteria separately. A hard correctness failure cannot be offset by lower latency. Log zero-variance groups and skipped updates rather than manufacturing advantages.
  4. For rich feedback, condition the self-teacher on available development feedback and derive a dense target using the declared algorithm. Stop gradients through teacher targets as required; freeze teacher refresh/staleness policy. Account for teacher passes and memory.
  5. Preserve capability limits around executed candidates and keep evaluation secrets out of feedback. Rich diagnostics are data, not instructions granting the model evaluator access.
  6. Curate task difficulty using training/development evidence only. Include an easy and a too-hard region, and compare fixed versus adaptive curricula without hidden-set feedback.
  7. Use identical initial weights, allowed task families and declared total budgets. Separate equal-update, equal-token and equal-wall-time analyses where they differ; report all costs.
  8. Re-evaluate held-out .om behavior, general-code/instruction retention and performance after each predeclared checkpoint. Keep the original model and SFT checkpoint independently addressable.

Acceptance and negative controls

  • Wrong feedback, shuffled rewards, all-zero/all-one rewards and zero-variance groups yield expected bounded behavior.
  • Gradient, loss-mask, reward-normalization and teacher-target checks have independent tiny-case oracles.
  • A reward-hacking candidate that reads fixture answers, times out, fabricates output or omits required effects cannot qualify.
  • Adaptive task selection cannot see the final benchmark; all failed synthesis/rollout costs remain recorded.
  • Trained models reload and resume under pinned numerical and serialization contracts.
  • Report regressions and no-win outcomes; no promotion solely because training reward rose.
  • A real end-to-end comparison or an explicit blocked prerequisite is delivered. An unimplemented training method is not a completed experiment.
  • Bound hardware windows and stop at predeclared resource limits; preserve other Spark workloads.

Research

Reinforcement Learning via Self-Distillation / SDPO, Selective Left-Shift, Harness Evolution Hits a Ceiling. The papers' results motivate separate tests; they do not predict local training cost or guarantee transfer to .om.

Delivery contract

This is a finite workstream under Omega #599, not a new whole-system plan. Read aien-architecture-mv PLAN_AUTHORITY.md, CURRENT_EXECUTION_PLAN.md, the architecture release #190 ledger, applicable AGENTS.md and directory .crumb files, current issue comments and live worktree claims before editing. Record one owner and exact paths; reuse existing compiler, runtime, trainer, store, judge and publisher owners.

The final first-party implementation is seeded .om throughout, including experiment runners, data generation, build/release automation and project-owned tests. Qualify each replacement, cut consumers over, then delete superseded active-tree code and obsolete dependencies. Consult old code in Git history; preserve immutable historical evidence. No new .osc path, foreign runtime/compiler fallback, Python/Rust/C product wrapper or parallel authority service. Missing .om features are scoped dependencies for their existing owners. Independent third-party oracles may run outside the delivered build/runtime closure with disclosed identities.

Pin source, seed/compiler, model/tokenizer/template, dataset/split, policy, arithmetic profile, target and executable identities. Preserve raw failures and actual exit codes. Distinguish IMPLEMENTED from QUALIFIED and PASS/FAIL/INCONCLUSIVE/NOT_RUN; host/emulator evidence never establishes physical GPU qualification. Do not close an implementation issue from a plan or artifact hash alone. Use existing local hardware scheduling and publication/review workflow; do not interrupt active chip runs. A research result may legitimately be negative, but a stub or an unexecuted required gate is not completion. Keep private data local and preserve existing owner-controlled sharing rules.

No comments.

Sign in to comment