llm-time-sense-organs
Four small GRU "time organs" from the llm-time-sense study: networks that run one step per heartbeat, see only the latest frame of a simulated city, and are never given a clock, a step counter or a timestamp. Code, paper and raw records: the llm-time-sense repository (part of the always-on-assistant study).
| File | Trained with | What it learned | Key result (records in the repository) |
|---|---|---|---|
research-a-stage1-supervised-fixed-heartbeat |
Speed, body-time and world-time labels; heartbeat fixed at 100 steps/s | Felt world speed | 64 unseen cities, median error +4.7% (10x), −1.5% (100x), +1.9% (2000x) |
research-a-stage2-supervised-random-heartbeat |
Same labels; heartbeat drawn per episode from 40–160 steps/s; 30 s childhood at 1x | Felt world speed, self-calibrated in childhood | Virtual time: +7.0% / −7.8% / +1.7%; clock-sealed live sandbox, 5 cities at 2000x: 1438x–2145x |
research-a-stage3-prediction-only |
No time labels; predicts a low-resolution observation 5 and 25 steps ahead | World speed appears in its state | Linear probe R² 0.860 for log world speed (untrained 0.176) |
research-c-realistic-city-prediction-only |
No time labels; realistic city (traffic model, timetables, weather, sun and moon) | World speed appears in its state | Linear probe R² 0.943 for log world speed (untrained −0.010, single frame −0.010) |
Architecture
- Input layer: Linear(obs_dim → 256) + tanh. Research A: obs_dim 612 (a fixed cos/sin encoding of car, light and sun positions). Research C: obs_dim 259 with stored normalisation (
mu,sd). - GRU: 1 layer, 256 units, one step per heartbeat.
- Research A heads:
head(256 → 128 → 3) outputs log speed, body time and world time for the supervised organs. The prediction-only stage 3 organ also hashead, but onlypred(256 → 736, two horizons) was trained; ignoreheadthere. - Research C head:
pred(256 → 334, two horizons of 167 values).
Each .json file holds the config, the training arguments, the best iteration and its validation loss.
How to load
import json, sys
from safetensors.torch import load_file
sys.path.insert(0, "experiments/research/code") # from the llm-time-sense repository
import models
meta = json.load(open("research-a-stage2-supervised-random-heartbeat.json"))
net = models.TimeNet(**meta["config"])
net.load_state_dict(load_file("research-a-stage2-supervised-random-heartbeat.safetensors"), strict=True)
For the research C organ use experiments/research/code_c/models2.py (TimeNet2); it imports the realistic city, which needs numba. All four files were checked to load with strict=True.
Training data
Generated on the fly from simulated cities in virtual time (no real clock, no real data). Training cities have seeds ≥ 100000; all evaluation cities have seeds < 100000. One training run per organ on a single GPU, 25–50 minutes each (research C organ: about 47 minutes).
Limitations
- Simulated worlds only. Not a model of real-world time perception.
- One training seed per organ; training variance is not measured.
- The supervised organs do not extrapolate: above 2000x they read about 2000x.
- The prediction-only organs encode speed coarsely: a probe R² of 0.943 on log speed still means about 77% typical error at a single step, and they do not encode their own heartbeat rate (R² ≈ 0).
- No claim about consciousness or experience.
Privacy
Trained only on synthetic city episodes. No recordings, voices, personal text or real sensor data. Converted from the original PyTorch checkpoints to safetensors (tensors only, no pickled code) with convert.py; every tensor was compared after conversion. The files and this card were checked with the project's privacy scanner (0 hits).
License
Apache-2.0.