# Still An executable example of a proposed neural network with internal state, repeated processing, and differentiable steady states. The useful distinction: **computation can settle; a memory must survive the next input.** The original classifier/latch now lives at `reference.html`. Open that file directly. The new learned temporal memory is at `index.html`; see `MEMORY.md`. Nothing is sent anywhere, no libraries are loaded, and training runs on the CPU in the browser. From the workspace root, an optional server is one command: ```bash python3 -m http.server 8091 --bind 127.0.0.1 --directory projects/still ``` Then open http://localhost:8091/reference.html. The server is optional; the page also works as a `file://` URL. ## Two-minute path 1. **Train the loop.** Watch the initially wrong background learn to separate the rings. The accuracy uses 320 independently generated points, separate from the 160 training points. 2. Pick a point; **Replay settling.** The state changes while the weights stay fixed. Scrub the ticks. Switch the starting state from zero to −1 or +1: the trajectory changes, the final answer doesn't. 3. Scroll to the latch. Switch **0.6 · forget** to **1.6 · remember**. Identical zero input now sustains different states, depending on the earlier pulse. ## What's real The classifier has 12 hidden state values and 193 parameters: ``` z* = tanh(W z* + U x + b) p = sigmoid(v · z* + c) ``` `W` is 12×12; `U` is 12×2; `b` and `v` have 12 entries each; `c` is a scalar. All five parameter groups learn. Each input has a different equilibrium because the input enters every update. A single update is not equivalent to solving this implicit layer. The forward solver repeats the update until the infinity norm of `f(z,x) − z` is below `1e-9`. Training uses `1e-11`. Rows of W are projected to absolute sum ≤0.88 after each optimizer step. Because tanh is 1-Lipschitz, this gives a global contraction in the infinity norm and a unique fixed point. We deliberately use this stronger, simple restriction; general DEQs don't require it. For a binary cross-entropy loss, set `J = diag(1 − z*²) W`. The backward pass solves ``` (I − J)ᵀ λ = (p − label) v dL/dpreactivation = diag(1 − z*²) λ ``` The remaining parameter gradients follow by outer products. This is actual implicit differentiation, not backpropagation through a fixed number of unrolled ticks. The tiny implementation explicitly builds the Jacobian and uses partial-pivoting elimination; larger models usually use matrix-free methods. It retains no forward history for training. The inspector recomputes a history only to draw it. Optimization is minibatch Adam (24 examples, learning rate 0.025) followed by the row projection. Initial weights and data are deterministic, making Reset reproducible. Example weights come from the exact same 600 training updates, not a hand-drawn decision boundary. Snapshot loading restarts the optimizer moments and their bias-correction counter. ## What the latch establishes The second experiment is a **separate, hand-configured scalar recurrence**, not an extra trained classifier feature: ``` z₀ = tanh(±0.8) # one pulse from the zero state zₜ₊₁ = tanh(g zₜ) # input is exactly zero thereafter ``` For 0≤g<1 there is one globally attracting equilibrium, zero. At g=1 the state still decays, but slowly. For g>1, zero becomes unstable and two stable nonzero equilibria appear. At g=1.6 those equilibria are approximately ±0.891. The history selects a branch. This is the smallest illustration of attractor memory, not a general memory capacity claim. Exact zero remains zero even above the threshold; finite nonzero pulses choose a branch. A practical trainable model could keep a separate temporal state while using an equilibrium computation inside each time step. That is an implementation direction inferred from combining these mechanisms, not a new architecture or a demonstrated advantage. The latch itself is not trained. No FPGA implementation, continuous-time circuit, memory benchmark, or speed comparison is claimed here. ## Verification Open `tests.html`: finite differences check **every parameter**, then the real model trains on all three tasks and is evaluated on separate data. On the fixed seeds, all three reach 100% on 320 held-out points after 600 updates. This is a small synthetic benchmark, not evidence of superior architecture. The browser checks additionally exercise actual Train/Pause/Resume, examples, input selection with keys and pointer, the tick scrubber, replay, alternate initial states, the latch equation, reduced motion, and layouts at 320, 390, 768, and 1440 px. Results are in `browser-checks.json`. Numerical output is in `numerical-checks.json`. There are no runtime dependencies. The optional black-box runner is `python3 projects/still/verify-browser.py` from the workspace root. It uses the host's Chrome and Python `websocket-client` (already installed here); it installs nothing. `STILL_CHROME` can point to a different Chrome/Chromium executable. Browser state stays in the ignored `.browser/` folder. The numerical `tests.html` needs only a browser. ## Research - [Bai, Kolter & Koltun, Deep Equilibrium Models (NeurIPS 2019)](https://proceedings.nips.cc/paper_files/paper/2019/hash/01386bd6d8e091c2ab4c7c7de644d37b-Abstract.html): the direct match for computation defined by a learned equilibrium and implicit gradients. - [The authors' deep implicit layers tutorial](https://implicit-layers-tutorial.org/deep_equilibrium_models/): equations and a fuller implementation. This demo is independently implemented with a deliberately tiny model. - [Gu et al., Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layers (2021)](https://arxiv.org/abs/2110.13985): a connection to persistent temporal state and trainable dynamics. - [Hopfield, Neural networks and physical systems with emergent collective computational abilities (PNAS 1982)](https://doi.org/10.1073/pnas.79.8.2554): the broader attractor-memory connection. The scalar latch here is an illustration, not a reproduction of that paper's network. Research checked 2026-10-24. Existing tools such as [TensorFlow Playground](https://playground.tensorflow.org/) teach feedforward networks; Still focuses on the owner's specific equilibrium-versus-memory question.