TeReL learns deep slow features one observation at a time. At each layer, a soft Slow Feature Analysis objective defines a detached activation target. Its exact ReLU preactivation residual becomes a signed postsynaptic neuron state. The feedforward gradient then factors into this state and the presynaptic activity; one same-layer matrix supplies an explicit correction and receives an anti-Hebbian state--state contribution. No error signal crosses a learned layer or persists through time.
On a class-chunked MNIST stream, the reported 784 → 512 → 256 encoder reaches
96.48 ± 0.15% held-out linear-probe accuracy with plain SGD, batch size
one, and two presentations of the encoder-training observations. Random
features reach 95.09 ± 0.23%, Layer-local SupCon reaches 96.95 ± 0.17%,
supervised backpropagation reaches 98.44 ± 0.09%, and the spatially and
temporally relaxed TeReL-Offline reference reaches 98.41 ± 0.04%. Continued
unlabeled updates with the validation-selected step reach 96.50 ± 0.15% using
the same fitted probe. Every trained component, including the linear probe and
the references, uses plain SGD; the probe is trained on standardized features.
The experiment uses class labels only to construct temporal adjacency; labels do not enter TeReL's target or synaptic updates. The paper therefore treats this order as a controlled temporal relation, not as evidence for arbitrary natural streams.
Python 3.12 and direct dependencies are pinned in pyproject.toml and
uv.lock.
uv sync --extra test
uv run pytest -qThe tests cover target--gradient equivalence, the neuron-local outer product, the anti-Hebbian sign, the single explicit correction, detachment across layers and observations, one-matrix resource accounting, evaluation roles, and manifest integrity.
For each neuron, TeReL retains the preceding activation p, running mean μ,
and running variance v. A layer of width D therefore has 3D causal
scalars and one sequence-validity bit. It also has one D × D matrix of
auxiliary lateral parameters, distinct from both causal state and feedforward
weights. Plain SGD adds no optimizer state. The same-layer correction is one
matrix--vector operation, not iterative settling.
For the reported encoder, this gives 2,306 causal scalars, 327,680 auxiliary lateral parameters, and 533,248 feedforward parameters. Dense same-layer communication remains a real cost; locality here describes credit assignment, not neuron independence or biological realism.
The complete comparison, including continued online evaluation, is declared in
configs/strengthening3-final-matrix.yaml
under the protocol
configs/strengthening3-protocol.yaml.
Baseline and probe learning rates were selected on the validation split; the
selection records are in validation/strengthening3/
and were produced by scripts/strengthening3_probe_selection.py. Held-out
execution (scripts/strengthening3_run.sh) is guarded by a clean-repository
manifest and an explicit authorization flag. The held-out records are archived
in artifacts/strengthening3/; regenerate all
reported summaries with:
uv run python analysis/strengthening2_final_results.py \
--results artifacts/strengthening3/final-results \
--failure-ledger artifacts/strengthening3/final-results/failures.json \
--online-continuation-results \
artifacts/strengthening3/final-results/mnist/terel-online-scaled \
--output artifacts/strengthening3/strengthening3-final-analysis-mnist.jsonThe configuration files store the MNIST location as an absolute data_root;
point it at a local copy to rerun (this changes the configuration hash).
Execution commits, manifest hashes, and record digests are kept in
ARTIFACT_README.md, rather than in the manuscript.
terel/resubmission/ method, baselines, evaluation, and protocol gates
analysis/ final analysis and figure-data utilities
configs/ selected protocols and supporting controls
tests/ mathematical and implementation-fidelity tests
The paper is arXiv:2611.17019; the project page is axym.org/work/terel.
@misc{wiest2026terel,
author = {Wiest, Davide},
title = {Temporal Regularized Learning: Self-Supervised
Learning Local in Space and Time},
year = {2026},
eprint = {2611.17019},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2611.17019}
}