dobejamin

Neural memory
with two loops.

01 Give it something to remember.

Press Write +, then +32 blanks: the network still reads the last sign. Disconnect Carry state to replay those events without their history; reconnect it to bring the memory back.

INPUT NOW
LAST WRITE
NETWORK READS
Connected

Settled answers across events
settled network P(+) target (1 for +, 0 for −)

02 Inside this blank, let it settle.

All three starts reach the same answer. The settled z becomes the next event’s h.

EVENTS SENT

Settling state z

Updated each inner tick

03 The memory was learned.

500 UPDATES / 49 LEARNED NUMBERS

Retraining replaces the weights above. This binary task establishes no advantage over an ordinary recurrent network. Training stays in your browser; nothing is uploaded.

BLANK EVENTS / 64 TEST STREAMSChecking…
SAME STREAMS / CARRY DISCONNECTEDChecking…
The actual model, training & limits
z* = tanh(Wz* + Rh_previous + Ux + b)
h_next = z*
P(+) = sigmoid(v·z* + c)

Input x supplies sign and write flag, both zero for blanks; inference never sees the target. Only W is constrained: absolute row sums ≤ 0.70 guarantee one equilibrium for fixed x and h_previous. The temporal map through R is unrestricted. The sigmoid readout is not a calibrated probability guarantee.

All 49 parameters learn through implicit differentiation within events and backpropagation across them; stored states make training memory grow with sequence length. Training uses 500 Adam updates of four 24-event streams. Testing uses 64 separate 80-event streams; sign-mirrored pairs balance every blank target. Long-gap check: No general memory capacity, novel architecture or hardware performance is established.