Skip to report
AN INTERACTIVE DEMO

Deconstructing neural networks

Explore how inputs become learned representations and predictions in two different neural networks.

From movement to activity

Train a recurrent network to recognize six activities from phone motion sensors, then trace how a signal window becomes a prediction.

Loading validation signals…

A map of learned activity representations

Each point is one 2.56-second window from a held-out validation participant. Its position summarizes the 128 hidden-unit responses after the last sensor sample at epoch 15, the model selected by validation macro F1. Colors show recorded activities; rings mark the 48 windows with detailed hidden-state histories.

Click a point to inspect it; drag to pan and scroll to zoom. The map stays fixed when changing checkpoints. UMAP is a descriptive projection, not part of the classifier; distances and apparent groups can be distorted.

Input and behavior

The same sensor samples are evaluated at every checkpoint. Training changes the network weights, so both the hidden representation and the prediction can change.

Activity probabilities

Across training

Solid: probability assigned to this window’s recorded activity. Dashed: accuracy across all 1,399 validation windows. Points are saved checkpoints; epoch 0 is untrained. Probabilities are not calibrated certainty.