HomeDocs-Technical WhitePaper44-EFT.WP.Data.ModelCards v1.0

Chapter 13 Robustness, Shift & Adversarial


I. Chapter Purpose & Scope

, and the Metrology chapter.Calibration & Uncertainty, Evaluation Protocol & Metrics, Preprocessing & Feature Engineering, Training Data & Sampling Binding, Tasks & I/O of robustness in the Model Card, including distribution shifts and failure modes, adversarial evaluation settings and thresholds, online robustness and replay consistency, metrics and reporting format; ensure consistency with normative definitionFix the

II. Fields & Structure (Normative)

robustness:

shift_tests: # synthetic shifts & perturbations

- {name:"snr_drop", severity:[3,6,9], policy:"additive-noise"}

- {name:"time_jitter", ms:[5,10,20], policy:"shuffle-window"}

- {name:"spec_notch", bands:[["0.3","0.5"],["0.6","0.7"]], unit:"fraction"}

natural_shifts: # in-the-wild shifts (device/region/season/domain)

axes: ["device","region","season"]

splits: ["val","test"]

adversarial: # adversarial evaluation (if enabled)

enabled: false

threat_model: "whitebox|blackbox|transfer"

norm: "Linf|L2|L1"

epsilon: 0.01

steps: 10

restarts: 1

targeted: false

metrics: # robustness metrics

primary: ["Δ_rel","acc_robust","auc_robust"]

curves: ["acc-vs-ε","acc-vs-SNR","acc-vs-mask"]

thresholds: # blocking & warning thresholds

drop_rel_max: 0.10 # max allowed relative drop

acc_robust_min: 0.80 # min robust accuracy under specified shift

ece_max_under_shift: 0.05 # calibration drift ceiling

online_consistency: # prod-facing posture (shadow/canary)

shadow_mode: true

window: "7d"

drift_monitors: ["drift_kl","psi"]

alert_rules:

- {name:"robust_drop", rule:"Δ_rel>0.10 for 60m", severity:"high"}

reporting:

table_axes: ["shift","severity","metric"]

include_ci: true # pair metrics with 95% CIs

significance: {test:"bootstrap", alpha:0.05}

notes?: "<non-normative>"


III. Synthetic Shifts (Definitions & Controls)


IV. Natural Shifts (In-the-Wild)


V. Adversarial Evaluation (If Enabled)


VI. Metrics & Thresholds


VII. Online Robustness & Replay Consistency


VIII. Metrology & Units

  1. Declare units for time/frequency/energy/performance metrics; validate via check_dim.
  2. When robustness pertains to path-dependent quantities, state delta_form, path gamma(ell), and measure d ell; use one of the two equivalences for T_arr:
    • T_arr = ( 1 / c_ref ) * ( ∫ n_eff d ell )
    • T_arr = ( ∫ ( n_eff / c_ref ) d ell ).

IX. Machine-Readable Fragment (Drop-in)

robustness:

shift_tests:

- {name:"snr_drop", severity:[3,6,9], policy:"additive-noise"}

- {name:"time_jitter", ms:[5,10,20], policy:"shuffle-window"}

- {name:"spec_notch", bands:[["0.3","0.5"],["0.6","0.7"]], unit:"fraction"}

natural_shifts: {axes:["device","region"], splits:["val","test"]}

adversarial: {enabled:false, threat_model:"whitebox", norm:"Linf", epsilon:0.01, steps:10, restarts:1, targeted:false}

metrics: {primary:["Δ_rel","acc_robust"], curves:["acc-vs-ε","acc-vs-SNR"]}

thresholds: {drop_rel_max:0.10, acc_robust_min:0.80, ece_max_under_shift:0.05}

online_consistency:

shadow_mode: true

window: "7d"

drift_monitors: ["drift_kl","psi"]

alert_rules: [{name:"robust_drop", rule:"Δ_rel>0.10 for 60m", severity:"high"}]

reporting: {table_axes:["shift","severity","metric"], include_ci:true, significance:{test:"bootstrap", alpha:0.05}}


X. Export Manifest & Audit Trail

export_manifest:

artifacts:

- {path:"robustness/summary.csv", sha256:"..."}

- {path:"robustness/acc_vs_eps.csv", sha256:"..."}

- {path:"robustness/acc_vs_snr.csv", sha256:"..."}

- {path:"robustness/calibration_under_shift.csv", sha256:"..."}

- {path:"robustness/alert_rules.yaml", sha256:"..."}

references:

- "EFT.WP.Core.DataSpec v1.0:EXPORT"

- "EFT.WP.Core.Metrology v1.0:check_dim"

be verifiable and consistent with the Model Card.mustRobustness tables/curves and alert configurations

XI. Chapter Compliance Checklist


Copyright & License (CC BY 4.0)

Copyright: Unless otherwise noted, the copyright of “Energy Filament Theory” (text, charts, illustrations, symbols, and formulas) belongs to the author “Guanglin Tu”.
License: This work is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0). You may copy, redistribute, excerpt, adapt, and share for commercial or non‑commercial purposes with proper attribution.
Suggested attribution: Author: “Guanglin Tu”; Work: “Energy Filament Theory”; Source: energyfilament.org; License: CC BY 4.0.

First published: 2025-11-11|Current version:v5.1
License link:https://creativecommons.org/licenses/by/4.0/