You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Data-size (k-factor) sweep: cross-backend IC equivalence vs frames at 70ch #90
Cross-backend IC equivalence improves toward ~1.0 as the data-adequacy factor k = frames / ch^2 grows. Phase 3 (#87) already showed this along the channel axis at a fixed 147k frames (frames constant -> more channels = lower k):
channels
k
mean matched |corr| (mlx-f32 vs native-fortran-f64, 2000 iters)
comps >0.95
16
574
0.997
16/16
32
144
0.974
27/32
48
64
0.954
34/48
70
30
0.898
20/70
So at k=30 (the rule-of-thumb minimum) only the strongest ~20/70 components are backend-reproducible; the rest are under-determined and settle into different (equally valid) local optima (AMICA is non-convex).
Test to run
Hold channels = 70 and sweep frames (data size) instead, so k increases: frames = 73.5k / 147k / 294k / 490k / 747.75k -> k = 15 / 30 / 60 / 100 / 152.
The full ds002718 sub-002 recording is 747,750 frames (~50 min @ 250 Hz), giving k=152 at 70ch. Extract the full-length npy (not the 147k truncation) and add a --frames axis to benchmarks/benchmark_decompose.py.
Run to 2000 iters on the CUDA host (hallu) for the fast, well-behaved backends (native-fortran-f64, torch-cuda-f64/f32); plot cross-backend mean |corr| vs k. Expected: the 70ch equivalence rises from ~0.90 (k=30) toward ~1.0 as frames increase, confirming the components are backend-identical once the decomposition is well-determined.
Why deferred
The large-frame 2000-iter runs are ~5x longer per backend than the k30 runs; batch them on the high-core/CUDA systems. Tracks the Phase 3 finding in .context/issue-84/phase3_* and the k-rule.
Activity
Add k-sweep results + fix figure overwrite (#90)
Data-size (k-factor) sweep: cross-backend IC equivalence vs frames (#90…