jimchen2-pendulum-shift-2 — Intervened Pendulum C-JEPA 3K Subset
Data-generating interventions added to 240 videos of
jimchen2/jimchen2-pendulum-output-aaa (pendulum-cjepa-3k-new, train split).
Everything else in the source dataset is untouched.
Interventions
Each of the 240 videos was re-simulated and re-rendered with the source repo's
own pendulum_gen.py, with an intervention applied at frame 96 (t = 8.0 s)
of the 13.3 s clip. Frames 0–95 are identical to the originals (verified: max
pixel diff ≤ 29, i.e. pure H.264 encoder noise).
| type | what changes | what stays the same |
|---|---|---|
light_shift (120 videos) |
At frame 96 the light source trajectory is smoothly switched (smoothstep ramp over 6 frames) to a new mean/amplitude/frequency/phase (Δmean ∈ ±20°, amp ∈ [5,30]°, f ∈ [0.15,0.40] Hz). The sun and its shadow sweep differently for the last ~5 s. |
Pendulum physics byte-identical (theta_deg diff = 0.0). |
torque_push (120 videos) |
A physical intervention: an external torque impulse A·exp(−(t−t_push)²/2σ²) (σ = 0.15 s, A ∈ [2.0,4.5] rad/s²) is applied at 8 s; the bob's motion genuinely deviates afterwards (Δθ up to ~6°, Δω up to ~0.34 rad/s). |
Light trajectory unchanged. |
All videos passed the original scene validator (|θ| ≤ 85°, sun/bob/shadow
inside world bounds).
Layout
videos/train/video_XXXXX.mp4 240 intervened videos (same ids as originals)
timeseries/video_XXXXX.csv 240 frame-aligned labels, same schema as original
questions/questions_train.json 1,920 CLEVRER-style questions (8 per video), regenerated
from the intervened 28 s simulations (same RNG selection
seed as the source: [20261014, index, 777])
questions/taxonomy.json question-type registry (same as source)
wds/train/pendulum-train-000000.tar WebDataset shard (128 videos: *.video.mp4 + *.meta.json)
wds/train/pendulum-train-000001.tar WebDataset shard (112 videos)
index_intervention.csv 240 rows: original index + intervention_type/cut_frame/params
intervention_log.json per-video intervention details + post-cut stats
README_intervention.md full documentation + reproduction instructions
preview_before_after.mp4 side-by-side original vs intervened (4 examples)
contact_sheet.png static pre/post-cut comparison grid
WebDataset shards follow the source format exactly: each tar holds
video_XXXXX.video.mp4 + video_XXXXX.meta.json ({"split","filename"}),
128 videos per shard, ordered by video id — drop-in compatible with the
source dataset's wds loader.
CSVs keep the original schema; for light_shift the light/shadow columns change
post-cut while physics columns stay identical, for torque_push the physics
columns change post-push.
Use with C-JEPA / VideoSAUR
Run VideoSAUR slot extraction on these videos, then evaluate Lfuture on the
post-cut suffix (frames 96–159). light_shift tests prediction of the
light→shadow causal link (nuisance-factor intervention); torque_push tests
prediction of the physical response to an external force.
Reproduce
python3 intervene.py # regenerates the intervened set (resumable)
python3 make_preview.py # rebuilds preview mp4 / contact sheet
Selection and parameters are deterministic (SEED=20261118, EVERY=10,
CUT_FRAME=96 in intervene.py).
Questions v2 (intervention-focused)
This repo is a copy of jimchen2/jimchen2-pendulum-shift-2 with an expanded
question set:
- 3,360 questions total (14 per video): the original 1,920 plus 1,440 new intervention-focused questions (6 per video).
- New questions ask what changed at frame 96 / t = 8 s, which quantities
stay invariant, why the shadow or bob responds, and what would have happened
without the
light_shiftortorque_push. - Corrections to the original questions:
- 19
light_shiftclips whose “the shadow would settle to one spot” answer was wrong — the light keeps sweeping, so the shadow keeps moving. - The “shadow always moves with the bob” and “what mainly causes the shadow sweep” questions are now explicitly scoped to the first 8 s (before the light switch), where that answer is true.
- The light-invariance counterfactual now says ONLY the light changes.
- 19
- New question template IDs are recorded in
questions/taxonomy.json. The generation script and the v1 backup are kept in the workspace used to build this copy, not in the dataset itself.
- Downloads last month
- 29