Skip to content

feat: GF-T 2-layer XOR trainer (fixed hidden + trainable output, XOR 4/4 on-chip via split) - #1826

Merged
gHashTag merged 1 commit into
masterfrom
feat/gft-xortrain
Aug 7, 2026
Merged

feat: GF-T 2-layer XOR trainer (fixed hidden + trainable output, XOR 4/4 on-chip via split)#1826
gHashTag merged 1 commit into
masterfrom
feat/gft-xortrain

Conversation

@gHashTag

@gHashTag gHashTag commented Aug 7, 2026

Copy link
Copy Markdown
Owner

New spec gft_xortrain.t27 — on-chip SGD step of a 2-layer XOR net: FIXED analytic hidden layer + TRAINABLE output (hard-sigmoid, p-y gradient). In-spec test PASS; GF-T Python sim converges 4/4. Proven on a live AX7203 via the SPLIT pattern (trainable output learns on the proven gft_logistic bitstream from host-computed hidden features -> XOR 4/4, v->~[1,-2]). As one design (22.6M) it exceeds the correctness ceiling (2nd confirmation) — documented. docs/NOW.md updated. Refs #1764

gft_xortrain.t27: on-chip SGD step of a 2-layer XOR net -- FIXED analytic hidden
layer h0=relu(x0+x1), h1=relu(x0+x1-1) + TRAINABLE output z=v0*h0+v1*h1 with
hard-sigmoid + p-y gradient; v_j' = v_j - eta*(p-y)*h_j; returns (v0'<<32)|v1'.

Proven on a live AX7203 via the SPLIT pattern: the trainable output layer learns
on the proven gft_logistic bitstream (stream host-computed hidden features) ->
XOR 4/4, v -> ~[1,-2]. As one design (fasm 22.6M) it exceeds the openXC7
correctness ceiling (2nd confirmation) -- split big models: fixed part off-chip,
trained part on a sub-ceiling bitstream. In-spec test PASS; GF-T Python sim
converges 4/4 by epoch 9. docs/NOW.md updated.

Refs #1764

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-07 03:08:17 UTC

Summary

Status Count
Total Open PRs 4
PRs with Failing Checks 0
PRs with All Checks Green 4
READY 3
FAILING 0
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=4c1aaad5309a != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit 5d869ba into master Aug 7, 2026
17 checks passed
@gHashTag
gHashTag deleted the feat/gft-xortrain branch August 7, 2026 03:09
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