Parent: #52. Research snapshot: 2026-10-23.
Problem and hypothesis
Native rollout and policy-update paths may perform mathematically similar operations with different accumulation order, precision conversion or approximate instructions. Reusing rollout log probabilities is only sound when they refer to the policy snapshot and probability computation actually required by the learning objective.
CUDA++'s src/omega_gpu_decode_graph.h already records RMSNorm/SwiGLU differences from the host path. That is evidence to inspect the boundary, not proof that native rollout/update consistency currently exists. This is an optional bounded experiment under aien-dev/omega-mv#606 and aien-dev/aien-train#3 and aien-dev/aien-train#4, not a new trainer.
Prerequisites and scope
Use #16 numerical contracts, #17 workload accounting, #35 native operation identity, #53's test adapter and the existing training/rollout owners. Start with one small supported model and synchronous policy updates. Do not claim asynchronous/proximal-policy reuse until its distinct snapshot semantics are explicitly handled.
The baseline recomputes required probabilities through the appropriate qualified path. A successful experiment may eliminate redundant work, but it cannot omit computations needed by a different policy version.
Work
- Specify a cache/reuse identity including exact policy/checkpoint version, tokenizer, input/response sequence, positions, masks, KV prefix state, precision, kernel/compiler identity, and all probability processing such as temperature, normalization and truncation.
- Compare corresponding prefill/decode and full-sequence update logits within the same implementation, with identical weights and recorded trajectories. Compare log probabilities and initial ratios under the exact native objective, including its masking and reduction rules.
- Check KV post-write state and batch/ragged/context boundaries. Include signed-zero, subnormal, cancellation, extreme-logit and masking cases within the declared domain.
- Where mismatch occurs, localize it by operation and record a minimal counterexample. Experiment with shared arithmetic order or qualified kernel choices only if full-workload costs justify them. Do not relax to tolerance and still call the result bitwise consistency.
- Mutate policy version, position, KV state, numerical mode and probability processing to prove cache invalidation and refusal. Prevent stale values after any optimizer step unless the objective explicitly requires that previous snapshot.
- Compare recomputation and reuse with fixed trajectories first, then a bounded actual training run. Measure complete rollout/update throughput, memory, correctness, training behavior and any quality/retention change. Include slower unified kernels and bookkeeping costs.
- Freeze per-workload regression limits and aggregate-benefit criteria. A tie or missing measurement cannot promote reuse. Leave the qualified recomputation algorithm available in .om.
Acceptance
- Written objective/snapshot contract distinguishes behavior policy, current policy and any proximal policy.
- Exact tested-domain equality is established or the mismatch is reproduced with an explicit NO-GO.
- Wrong-snapshot and altered-probability controls reject reuse before optimizer consumption.
- Unsupported shapes/modes refuse or recompute through the qualified baseline.
- End-to-end training evidence supports any work-saving claim; operator-only timing is insufficient.
- Receipts never describe observed bitwise equality as proof for all shapes, equivalence to external libraries or binary identity.
- No production training default changes without existing independent qualification and release ownership.
Research interpretation
AReaL-TIK / KernelBraid motivates consistent rollout/update kernels and retaining numerical constraints throughout optimization. Its study tests A100/H20/H200 and requires matching policy and probability semantics. It does not establish GB10/.om consistency, nor make distinct asynchronous policy snapshots interchangeable. Reproduce the conditions locally before crediting an avoided forward pass.
Delivery contract
Final first-party implementation, tests, build and automation for this work must be seeded .om, following aien-dev/omega-mv#599. Existing C, Rust, Python, JavaScript and .osc implementations are migration inputs and comparison evidence, not permanent wrappers or fallbacks. Qualify each .om replacement, cut its consumers over, remove the replaced active implementation and dependency, and retain immutable history/receipts. A qualified baseline can remain an algorithm choice implemented in .om. Missing seed-language, host-service or compiler features go to their existing owners; do not invent a second compiler/runtime.
Reuse #5's canonical backend, #10's independent decoding, #15/#16/#17's test/numerical/measurement work, and existing memory/session/driver boundaries. Reconcile current main and active branches before coding. No NVIDIA userspace dependency in the final execution path. This finite research workstream does not supersede release priorities or authorize live-service replacement.
Publish exact source/compiler/runtime/model/target/config identities, candidate code and launch digests, commands, raw outcomes and expected-failure controls. Distinguish host, simulator, compiled native host, GB10 and integrated-consumer evidence. Missing hardware is NOT_RUN. Use existing reservations/quietlock and bounded memory; leave active GPU jobs alone. Closing requires the issue's stated gates on the final artifact plus independent review, or an explicit reproducible NO-GO for an experiment. Never close solely on generated code, a branch push, or a merged PR.