DEEP EQUILIBRIUM MODEL
A neural net
that settles.
Reuse the same neurons until their state stops changing: a deep equilibrium model. Train one here.
01 Train the loop
12 neurons. 193 learned numbers. Browser only.
Start training to watch a nonlinear boundary form.
Inside one answer
SETTLEDPick a map point.
Weights stay fixed while settling; training changes them between answers.
The actual computation
z ← tanh(Wz + Ux + b)answer = sigmoid(v·z + c)
Input x enters every tick, or a unique final state would forget it.
Training solves (I − J)ᵀλ = ∂L/∂z at equilibrium, updating weights with λ without saving a stack of ticks. W's row absolute sums stay below 0.88; tanh's slope is at most 1. This contraction guarantees one equilibrium from any starting state.
A settled state isn’t
automatically a memory.
One equilibrium makes answers reliable but erases history. Memory needs a separate carried state, or several stable states chosen by history. Try the second option below.
02 Give the loop a memory
A hand-set one-neuron latch; no training.
Two histories. Same silence.
Two copies receive opposite pulses, then identical zero input.
z ← tanh(feedback × z + input)
Weak feedback erases the pulse. Both copies return to the same zero state.
WHAT THIS MEANS FOR YOUR IDEA
Combine deep equilibrium computation with recurrent / state-space memory: choose what settles and what survives. An FPGA could reuse one block across ticks; speed or efficiency gains need a hardware implementation and benchmark.