# Settle, then remember The new entrance extends Still with an actually trained temporal equilibrium cell. The original classifier and scalar latch remain byte-preserved at `reference.html`; their model, examples and numerical test page are unchanged. Open `index.html` directly. No network, libraries, installation or server needed. The only external links are optional reading. ## Two loops For event t, freeze the previous event's state h, and solve: ``` z* = tanh(W z* + R h + U x + b) h_next = z* P(+) = sigmoid(v · z* + c) ``` Four neurons, 49 learned parameters: W 16, R 16, U 8, b 4, v 4, c 1. A positive write is x=[+1,1], negative write x=[−1,1], blank x=[0,0]. The label is the most recent written sign, encoded as 1 or 0. It never enters inference; the last-write target drawn on the graph comes from the event generator separately. Each W row is projected to absolute sum ≤0.70 after each Adam update. Since tanh is 1-Lipschitz, the inner map is a global contraction in the infinity norm **for fixed h and x**. Plain fixed-point iteration starts at zero for every event; it stops at step difference <1e−11, at most 200 ticks. The bound ensures this is sufficient from any displayed start in [−1,1]. The inspector can instead start at all +1 or all −1. R is unconstrained. The temporal map h→z* need not contract globally, even when the map z→tanh(Wz+Rh+Ux+b) does. This is why the past can affect the next equilibrium. Warm-starting a unique fixed-point solver alone would not accomplish this; here h is injected at **every** inner iteration. Carry disconnected sets h to zero at each event and replays the same input stream. Reconnecting replays the same stream with carry restored, rather than reconstructing memory from the target label. The inner inspector starts at tick zero, ready for One inner tick; its readout belongs to the selected event and tick. The upper readout and graph always show the settled model outputs. Previous-event h is pinned while inner z changes. The stream is capped at 512 events to bound interactive work. ## Actual training All 49 parameters learn. For each event, with D=diag(1−z*²), solve: ``` (I − D W)^T lambda = dL/dz* a = D lambda dW += a outer z* dR += a outer h_previous dU += a outer x db += a dL/dh_previous = R^T a ``` The right side includes the current binary cross-entropy readout gradient plus the gradient arriving from the next event. Backpropagation traverses the events in reverse order. It does not save the inner iteration stack for training; **it does store the event states**, so storage grows with sequence length. The inference inspector separately recomputes an inner history for visualization. This is an educational synthesis of familiar equilibrium and recurrent ideas, not a novel architecture. Training is deterministic: model seed 71, batch PRNG seed 9101, 500 updates, 4 streams × 24 events per update, write probability .15 after the mandatory first write, each write sign uniform. Optimization: Adam learning rate .015, beta1=.9, beta2=.999, epsilon=1e−8; global gradient norm clipped to 2, W rows projected after updating. Snapshots restore fresh optimizer moments and a fresh optimizer counter. Train again starts from the original initialization and retrains every parameter; no weights are fitted from the evaluation set. `memory-snapshot.js` is the result of this exact training run. `memory-train.html` exposes the same training without the presentation; `reviews/still/train-memory.py` exports the snapshot through local Chrome. No hyperparameter or initialization search was performed for this run: the first model/training configuration was retained. Development first checked paired blank gaps; the separate fixed 64-stream evaluation followed. Do not interpret those diagnostics as evidence of broad memory generalization. ## Evaluation and scope The fixed evaluation seed is 864201, disjoint from training. Generate 32 streams of 80 events; each gets an exact sign-mirrored companion, for 64 streams / 5,120 events. A new sequence resets h to zero. The task distribution is synthetic and similar to training, with a longer sequence. Counts shown on the page include **blank events only**, where both current input numbers are zero: - Carry connected: 4,310 / 4,310 blank targets correct. - Carry disconnected: 2,155 / 4,310 correct, exactly 50% because the paired targets balance every blank. - Writes, separately: 810 / 810 correct with carry. - Paired initial writes followed by 1, 4, 12, 32, 64 and 128 blanks: 12 / 12 final signs correct. These are retention diagnostics, not twelve independent real-world samples. The page recomputes those counts using its currently loaded/trained weights. The displayed P(+) is the model's sigmoid readout, not a calibrated probability guarantee. Main interactions use actual forward results from the same weights. The dashed target does not supply the answer to the model. This tiny binary task establishes that trainable temporal carry and convergent inner computation can coexist in one executable model. It does not establish superiority to a conventional RNN or LSTM, general memory capacity, novelty, constant-memory training across time, or an FPGA speed/efficiency benefit. DEQs already model sequences; the catch on the original page concerned its particular history-free classifier, not DEQs in general. ## Reproduce and review From the workspace root: ``` python3 -I reviews/still/verify-memory.py python3 -I reviews/still/verify-memory-browser.py python3 -I projects/still/verify-browser.py ``` The first uses an independent NumPy implementation for inference/loss and central differences for every parameter of two temporal histories at both initial and trained weights. It also checks one Adam update, all held-out event outcomes, 256 overwrite patterns, retention up to the interactive limit and exact UI retraining. The second exercises actual browser controls and layouts. The original browser runner now targets the preserved `reference.html`. Existing `tests.html` still verifies the original classifier. Runners require local Chrome plus already available Python numpy/websocket-client; the public experience requires only a browser. Browser state stays in ignored workspace directories. The October 27 consolidation keeps those models and controls unchanged: three main paragraphs now connect the stream, its inner computation and training; the disclosure holds two technical explanations beside the equations. `python3 -I reviews/still/run17/check.py` checks the consolidated flow, both score counts, training-status freshness and expanded/closed layouts at 320–1440 px. This is an editorial reduction, not a measured improvement in human comprehension. ## Primary research - [Bai, Kolter & Koltun, Deep Equilibrium Models (2019)](https://arxiv.org/abs/1909.01377) — sequence DEQs are established research, not introduced by this demo. - [Authors’ tutorial](https://implicit-layers-tutorial.org/deep_equilibrium_models/) — equilibrium input injection and implicit differentiation. The contraction restriction and tiny cell here make the calculation independently checkable. - [Gu et al., Linear State-Space Layers (2021)](https://arxiv.org/abs/2110.13985) — persistent temporal state is a distinct modeling axis. This demo is not an implementation of their LSSL model. Sources rechecked October 27, 2026.