All demos

Belief Flow Filter

Imagine trying to follow a chaotic system while seeing only one noisy measurement at a time. BFF keeps a whole range of possible states inside a flow model’s weights, then updates those weights whenever a new measurement arrives.

Move through time below: the cloud shows what the model thinks is possible, and the moving point traces how all six layers of weights change in PCA space. The heatmap alongside it shows the individual weights. This replays an existing Lorenz-63 checkpoint, with no new pretraining.

Belief Flow Filter

New observation. Updated weights. Updated belief.

Loading the checkpoint replay…

The belief · Lorenz-63

Posterior samplesTrue state

Only noisy z measurements enter the filter. The true state is shown for comparison.

The memory · weight space

The weights · matrix entries

Change since initialization · fixed color scale across time

16 × 16 fixed sampled entries. Hover a cell for its value.

Frame 1 / 501

1 observation received

Noisy observationTrue z

This slider advances physical filtering time (dimensionless Lorenz time), not the flow time in the other post. The belief, PCA trajectory, and matrix heatmap stay synchronized. PCA uses one fixed basis across the whole replay.

Which checkpoint and weights are shown?

This is the existing Lorenz-63 model ttt_lorenz63_v3_l2_square/model_final.pt, saved after 20,000 pretraining steps. The pretrained backbone and update rule stay fixed. Its normal filtering procedure updates the TTT matrices W as observations arrive; that update is the algorithm’s inference, not a new pretraining run.

The first held-out trajectory is used, with no selection by result. The replay covers its first 501 states (physical time 0–10), with Δt = 0.02, noisy z observations with standard deviation 2, and observation seed 42. Each slider step is exactly one model filtering update: all six TTT layers consume the next observation. Frame index k is after observations 0 through k, so the first frame already includes the first observation. The 40 internal flow-solver points decode each belief; they are a different time axis from these filtering updates.

PCA is fitted once to the concatenated full W matrices from all six layers (393,216 parameters), centered over all 501 displayed times. No per-layer normalization or whitening is applied. The axes use separate, fixed scales to reveal the trajectory; changing PCA planes preserves the current filtering time. All three views remain visible together.

Each heatmap uses the same 16 evenly spaced rows and columns of a TTT matrix, with a fixed color scale per layer and display mode over the entire replay. ΔW is relative to the learned initial W. The cloud contains 64 samples, generated with the same base noise at every frame (seed 1729), using 40 Euler time points. It is a small illustration, not a benchmark or a complete representation of the posterior.

This legacy Lorenz checkpoint uses the direct observation-reconstruction inner loss. It illustrates weight-space belief updates; it does not demonstrate the newer two-head surrogate formulation. Losslessly compressed replay and exact provenance