Closed-Loop Whiteness & Predictability Monitor
Lag >= ceil(tau) residual whiteness, cross-mode coupling, ZPO alarm & OOS EOF overfit.
Overview & Role
An optimal linear predictor leaves an MA(d-1) innovation whose autocorrelation and WFS-DM cross-covariance vanish at all lags k >= ceil(tau). Standalone cacao-fpsexec-modalwhite scores Q_vw (temporal whiteness), Q_xmode (cross-mode coupling), Q_wu_lo20 (ZPO wind-up alarm), and recov_var_pct.
Paired with strict out-of-sample metrics inside mkEOFPF (.out.var_red_oos_pct, .out.overfit_ratio) and fixed 4-point white-noise statistics in modalCTRL_stats.c.
Compute Units / Entry Points: cacao-fpsexec-modalwhitemodalCTRL_stats.cmkEOFPF (.out.*_oos)
Verified Highlights:
- Catches ZPO ringing (>8-10x) & EOF overfit (1.57); live AO3k Stg2 Q_vw cut 2.5-14.5x
- 40 nm pure white-noise null safety test: Cascaded Self-Learning 1.43 nm (1.000x) vs Standalone 18.35 nm (1.10x)
Option Variants (CODE/OPT)
| Option Code | Behavior & Usage | Main Flags |
|---|---|---|
WHITE/RT | Real-time async whiteness & ZPO fightback monitor (`modalwhite`). | --modalwhite |
WHITE/OOS | Built-in strict out-of-sample EOF variance reduction & overfit ratio. | --predictive --pf-mode |
Dependencies & Calibration Chain
Upstream Calibrations & Inputs
Selected Algorithm
★ Current Entry
WHITEDiagnostics
Closed-Loop Whiteness & Predictability Monitor
Feeds & Enables Downstream
Terminal diagnostic or output stage.
CLI Flags, Environment Variables & FPS Parameters
| Layer | Option (Links to Reference) | Default | Description |
|---|---|---|---|
| CLI Flag | --modalwhite | OFF | Run real-time lag>=ceil(tau) closed-loop whiteness monitor (modalwhite) |
| FPS (cacao) | modalwhite.latency_fr | 2.5 | loop latency [frames] |
| FPS (cacao) | modalwhite.NBwin | 2048 | sliding analysis window [frames] |
| FPS (cacao) | modalwhite.out.Q_vw_b0 | 0.0 | variance-weighted Bartlett Q (Block 0) |
| FPS (cacao) | modalwhite.out.Q_xmode_b0 | 0.0 | Block-0 off-diag Bartlett Q_xmode |
| FPS (cacao) | modalwhite.out.Q_wu_lo20 | 0.0 | Bartlett WFS-DM Q_wu on modes 0..19 |
| FPS (cacao) | modalwhite.out.recov_wfe_nm | 0.0 | OOS lag>=d recoverable WFE [nm] |
| FPS (cacao) | modalwhite.out.alert_flags | 0 | bitmask: 1=lag 2=ringing 4=xmode 8=ZPO/DM |
Implementation, Tests & Related Reports
Source Files
Verification Tests
test_11_whiteness_and_zpo.pyao3k_phases1to5_bench.py