Datasets:
index int32 0 143 | image imagewidth (px) 224 224 | segment stringclasses 4
values | ego_motion_mag_mean float32 0 0.43 | ego_motion_mag_median float32 0 0.43 |
|---|---|---|---|---|
0 | static | 0 | 0 | |
1 | static | 0.002492 | 0.00185 | |
2 | static | 0.002573 | 0.001716 | |
3 | static | 0.002536 | 0.001813 | |
4 | static | 0.002173 | 0.001577 | |
5 | static | 0.002646 | 0.001731 | |
6 | static | 0.002631 | 0.001799 | |
7 | static | 0.002523 | 0.001843 | |
8 | static | 0.002565 | 0.001595 | |
9 | static | 0.002403 | 0.001618 | |
10 | static | 0.002407 | 0.001771 | |
11 | static | 0.00229 | 0.001595 | |
12 | walk | 0.32785 | 0.354628 | |
13 | walk | 0.324179 | 0.352655 | |
14 | walk | 0.32352 | 0.354814 | |
15 | walk | 0.322513 | 0.355529 | |
16 | walk | 0.326548 | 0.354801 | |
17 | walk | 0.327491 | 0.355501 | |
18 | walk | 0.324823 | 0.351158 | |
19 | walk | 0.327938 | 0.3546 | |
20 | walk | 0.329119 | 0.353489 | |
21 | walk | 0.331553 | 0.355238 | |
22 | walk | 0.330302 | 0.354408 | |
23 | walk | 0.33123 | 0.353916 | |
24 | walk | 0.33528 | 0.355411 | |
25 | walk | 0.336567 | 0.356422 | |
26 | walk | 0.336672 | 0.355918 | |
27 | walk | 0.338783 | 0.356056 | |
28 | walk | 0.338186 | 0.354008 | |
29 | walk | 0.339995 | 0.355315 | |
30 | walk | 0.337345 | 0.356016 | |
31 | walk | 0.336769 | 0.356674 | |
32 | walk | 0.336058 | 0.354139 | |
33 | walk | 0.336673 | 0.354725 | |
34 | walk | 0.337877 | 0.355666 | |
35 | walk | 0.340713 | 0.355817 | |
36 | walk | 0.342257 | 0.356036 | |
37 | walk | 0.345656 | 0.356798 | |
38 | walk | 0.342437 | 0.354056 | |
39 | walk | 0.342974 | 0.35712 | |
40 | walk | 0.346922 | 0.355763 | |
41 | walk | 0.344539 | 0.357079 | |
42 | walk | 0.344769 | 0.357672 | |
43 | walk | 0.339899 | 0.356654 | |
44 | walk | 0.340449 | 0.356691 | |
45 | walk | 0.338807 | 0.357333 | |
46 | walk | 0.341229 | 0.357376 | |
47 | walk | 0.338701 | 0.357273 | |
48 | walk | 0.337905 | 0.356547 | |
49 | walk | 0.343828 | 0.356827 | |
50 | walk | 0.341513 | 0.357524 | |
51 | walk | 0.344628 | 0.358747 | |
52 | turn | 0.425102 | 0.428528 | |
53 | turn | 0.42008 | 0.426326 | |
54 | turn | 0.420581 | 0.428901 | |
55 | turn | 0.419152 | 0.427707 | |
56 | turn | 0.413061 | 0.42414 | |
57 | turn | 0.410887 | 0.428836 | |
58 | turn | 0.41137 | 0.426212 | |
59 | turn | 0.40783 | 0.427963 | |
60 | turn | 0.40372 | 0.427894 | |
61 | turn | 0.405395 | 0.428661 | |
62 | turn | 0.402946 | 0.4278 | |
63 | turn | 0.401263 | 0.429998 | |
64 | turn | 0.403009 | 0.429684 | |
65 | turn | 0.402092 | 0.430319 | |
66 | turn | 0.401698 | 0.430607 | |
67 | turn | 0.400247 | 0.430024 | |
68 | turn | 0.397785 | 0.427812 | |
69 | turn | 0.395778 | 0.42915 | |
70 | turn | 0.395058 | 0.429666 | |
71 | turn | 0.389977 | 0.425962 | |
72 | turn | 0.384223 | 0.426129 | |
73 | turn | 0.381315 | 0.425743 | |
74 | turn | 0.380764 | 0.428349 | |
75 | turn | 0.384515 | 0.431163 | |
76 | event | 0.024929 | 0.001762 | |
77 | event | 0.019087 | 0.001678 | |
78 | event | 0.025625 | 0.002052 | |
79 | event | 0.020255 | 0.001634 | |
80 | event | 0.024201 | 0.001574 | |
81 | event | 0.021415 | 0.001587 | |
82 | event | 0.024074 | 0.001504 | |
83 | event | 0.019372 | 0.001656 | |
84 | event | 0.023366 | 0.00175 | |
85 | event | 0.020585 | 0.001745 | |
86 | event | 0.023612 | 0.001608 | |
87 | event | 0.019384 | 0.001568 | |
88 | event | 0.023816 | 0.001703 | |
89 | event | 0.018785 | 0.001365 | |
90 | event | 0.02363 | 0.001585 | |
91 | event | 0.02019 | 0.001646 | |
92 | event | 0.023455 | 0.001849 | |
93 | event | 0.019625 | 0.001541 | |
94 | event | 0.023692 | 0.001515 | |
95 | event | 0.020016 | 0.001503 | |
96 | event | 0.023469 | 0.001631 | |
97 | event | 0.018791 | 0.001689 | |
98 | event | 0.024396 | 0.001521 | |
99 | event | 0.018427 | 0.00162 |
STATUS: maintained
The model (NagaYu/saccade-predictor) is closed, but this dataset remains available and maintained.
Saccade ego-motion benchmark
The stream, the raw decision signals, and the per-frame measurements behind Saccade β an always-on edge VLM that re-encodes only the image patches whose change ego-motion cannot explain.
This dataset exists so the central claim can be checked without running our code.
This is scripted synthetic ego-motion, not natural first-person video. See Limitations before drawing conclusions from it.
- π» Code: https://github.com/NagaYu/saccade
- π€ Model: https://huggingface.co/NagaYu/saccade-predictor
- π Demo: https://huggingface.co/spaces/NagaYu/saccade
The claim, in one number
On the segments with predictable camera motion (walk + turn), at an identical
threshold Ο = 0.06:
| Decision rule | Patches it must re-encode |
|---|---|
| Same-position residual (what temporal-similarity skipping thresholds) | 47.4 % |
| Motion-compensated residual (what Saccade thresholds) | 0.3 % |
Same frames, same threshold β only the reference frame differs. A moving camera changes almost every pixel, so frame-differencing cannot thin the workload during steady motion; subtract the ego-motion first and a static world's residual collapses to nearly nothing.
Verify it yourself in four lines:
from datasets import load_dataset
import numpy as np
sig = load_dataset("NagaYu/saccade-egomotion-bench", "signals", split="train").to_pandas()
walk = sig[sig.segment.isin(["walk", "turn"])]
print((np.stack(walk.residual_same_position) > 0.06).mean()) # ~0.474
print((np.stack(walk.residual_motion_compensated) > 0.06).mean()) # ~0.003
Configs
frames β the stream itself (144 rows)
The scripted ego-motion video, so another method can be benchmarked on the exact same input.
| Column | Type | Description |
|---|---|---|
index |
int32 | frame index |
image |
Image | 224Γ224 RGB frame |
segment |
string | regime: static, walk, turn, event |
ego_motion_mag_mean |
float32 | mean optical-flow magnitude (patch units) |
ego_motion_mag_median |
float32 | median flow magnitude β the robust ego-motion estimate (a single moving object must not read as camera motion) |
signals β the two competing decision signals (143 rows)
The direct evidence. Per frame, the per-patch residual map under both rules.
| Column | Type | Description |
|---|---|---|
index, segment |
int32/string | as above |
residual_same_position |
float32[196] | per-patch residual vs the co-located previous patch |
residual_motion_compensated |
float32[196] | per-patch residual vs the motion-warped previous frame |
encode_frac_same_position |
float32 | fraction above Ο=0.06 under the first rule |
encode_frac_motion_compensated |
float32 | fraction above Ο=0.06 under the second |
Residuals are mean absolute pixel differences in [0,1] on a 14Γ14 patch grid (row-major;
reshape(14, 14) to get a map).
measurements β per-frame modelled compute and quality (432 rows = 144 Γ 3 conditions)
| Column | Type | Description |
|---|---|---|
index |
int64 | frame index |
condition |
string | Full, TemporalSim or Saccade |
n_encoded, encoded_fraction |
int/float | patches actually re-encoded |
fidelity |
float | cosine of the reconstructed patch-token map vs the Full encoder |
frame_flops, frame_joules, cum_joules |
float | modelled compute (analytic FLOP model Γ 1 pJ/FLOP), not measured energy |
processed |
bool | False = frame dropped entirely (anytime degraded output) |
tau |
float | threshold in force (the budget controller adapts it) |
budget_ok |
bool | whether cum_J β€ BΒ·t + Eβ still held |
Headline (steady-state, excluding 6 warm-up frames, budget 20 mW):
| Condition | re-encoded | fidelity | modelled compute (J, FLOPs Γ 1 pJ/FLOP) |
|---|---|---|---|
| Full | 100 % | 1.000 | 1.264 J |
| TemporalSim | 33.9 % | 0.9723 | 0.430 J |
| Saccade | 20.7 % | 0.9739 | 0.263 J |
How the stream was made
Deterministically generated (saccade.stream.synthetic_walking_stream, seed 0): a window
panning over a large static textured canvas, scripted into four regimes β
staticβ camera still, world still (both methods should skip; fair region)walkβ smooth translation across a static world (predictable ego-motion)turnβ faster translation plus mild rotation (harder ego-motion)eventβ camera still, an independently moving object crosses (genuine change; every method must spend here)
Limitations β please read
- This is synthetic video, not natural footage. It is a controlled apparatus for the steady-motion regime, chosen so the result is exactly reproducible. It is deliberately not evidence about natural scenes with parallax, motion blur, rolling shutter, exposure changes or non-rigid motion. Treat conclusions as being about the mechanism, not about wearable cameras in the wild.
fidelityis patch-token cosine similarity against a Full encoder β a proxy for downstream task quality, not a task metric like VQA accuracy.- Joules here are modelled compute β an analytic FLOP model (
FLOPs Γ 1 pJ/FLOP) β not a power-meter measurement. Relative comparisons and the budget guarantee are sound; absolute Joules are model-dependent. No energy-reduction figure is claimed (see the model card's STATUS). measurementsuses theSyntheticBackbone(a frozen random ViT-S/16-class patch encoder), chosen because each patch embedding is genuinely independent so the compute reduction is realized as real computation. Numbers on a real ViT differ; see the repo for DINOv2-small results.
Reproduce
git clone https://github.com/NagaYu/saccade && cd saccade
pip install -r requirements.txt
python hf/export_dataset.py # rebuilds every config from scratch
License
MIT
- Downloads last month
- 273