Skip to content

feat: GF-T full 2-layer XOR backprop step (learnable hidden + output) - #1860

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

feat: GF-T full 2-layer XOR backprop step (learnable hidden + output)#1860
gHashTag merged 1 commit into
masterfrom
feat/gft-xorbp

Conversation

@gHashTag

@gHashTag gHashTag commented Aug 7, 2026

Copy link
Copy Markdown
Owner

New spec gft_xorbp.t27 — full 2-layer backprop: hidden W(2x2) AND output v(2) both trainable. Forward + MSE backprop through ReLU. Returns updated weight-pair by sel (u64). A bit-faithful GF-T Python sim converges XOR 4/4 with BOTH layers learning (W->[[1,1],[1,1]], v->~[1,-2]) — the capstone learnable-hidden-layer step. In-spec PASS. Size: naive 3-core is ~23.7K LUTs/core (redundant forward), over the ~17M ceiling; shared-forward multi-frame needed for silicon. Enabled by cycle 56-57 2x magsub shrink. docs/NOW.md updated. Refs #1764

gft_xorbp.t27: full 2-layer backprop -- hidden W(2x2) AND output v(2) both
trainable (fixed biases). Forward + MSE backprop through ReLU (dv_j=e*h_j,
dz_j=e*v_j*relu'(z_j), dW_jk=dz_j*x_k). Returns the updated weight-PAIR by sel
(u64: 0->hidden0, 1->hidden1, 2->output).

A bit-faithful GF-T Python sim converges XOR 4/4 with BOTH layers learning
(W->[[1,1],[1,1]], v->~[1,-2]) -- the capstone learnable-hidden-layer step (vs
cycle 53's fixed-hidden). In-spec test PASS. Size: a naive 3-core wrapper is
~23.7K LUTs/core (redundant forward) -> over the ~17M ceiling; a shared-forward
multi-frame structure is needed for silicon. Enabled by the cycle 56-57 ~2x
magsub shrink.

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 08:43:23 UTC

Summary

Status Count
Total Open PRs 12
PRs with Failing Checks 0
PRs with All Checks Green 12
READY 5
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 2e5afac into master Aug 7, 2026
16 checks passed
@gHashTag
gHashTag deleted the feat/gft-xorbp branch August 7, 2026 08:44
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