Protocol frozen

Embedded deployment

Target: nRF52840, Arm Cortex-M4F, 64,000,000 Hz. Gate GATE-EMBED-EXPORT-001 freezes architecture and equivalence criteria; it did not export a model.

Execution boundary

ItemStatus
ProtocolFROZEN
Model exportHOST_EXECUTED
QuantizationNOT_EXECUTED
Compiled FlashNOT_MEASURED
SRAMNOT_MEASURED
MCU latencyNOT_MEASURED
EnergyNOT_MEASURED

Candidate tiers

ModelConfirmed typeInitial pathXAI pathTierReason
MODEL-C1LogisticRegressionMANUAL_STATIC_PARAMETERSLOCAL_LINEAR_CONTRIBUTIONTIER_A_EXPORT_FIRSTTransparent compact linear path and validated inexpensive local contribution; still requires FP32 equivalence.
MODEL-C2RandomForestClassifierGENERATED_TREE_CODESTATIC_GLOBAL_IMPORTANCETIER_B_EXPORT_IF_RESOURCES_ALLOWTree comparator retained for scientific evidence; analytical structure is larger and compile size unknown.
MODEL-C3SVCGENERATED_SVM_CODEHOST_ONLY_XAITIER_C_RESEARCH_COMPARATORPrediction export remains research comparator; current XAI evidence is weak and RBF/probability verification is difficult.
MODEL-C4MLPClassifierDIRECT_C_CPPNO_ON_DEVICE_XAITIER_A_EXPORT_FIRSTStatic dense FP32 path is plausible; on-device XAI deferred because only repeated ablation is validated.

Stage 14 host-compiled FP32 equivalence

Host-compiled FP32 equivalence proves numerical portability of the implementation. It does not prove nRF52840 performance or resource feasibility.

Experiment EXP-EMBED-FP32-EQUIV-001 completed with outcome FAILED. Both candidates retained every golden and boundary decision but failed frozen preprocessing criteria.

ModelStatusPreprocess max absPreprocess max relScore max absProbability max absGoldenBoundary
MODEL-C1FAIL7.995e-62.744e-38.315e-51.510e-6100%100%
MODEL-C4FAIL4.845e-41.392e-53.596e-73.596e-7100%100%

C1 local-XAI equivalence: FAIL. Quantization and MCU deployment remain NOT_EXECUTED.

Stage 15 physical MCU port

Experiment EXP-MCU-C1-FP32-PORT-001: BLOCKED_HARDWARE. No supported physical board/debug probe was detected, so no board target was guessed and no build, flash, physical correctness, linked ROM, or linked static-RAM claim was produced.

Review the hardware blocker, planned connection, and evidence artifacts.

Stage 14R C1 explicit-preprocessing repair

Outcome: FAILED. The original failure reproduced, and none of the five prospectively frozen all-FP32 candidates passed every unchanged preprocessing criterion. No candidate was selected.

CandidateMax absMax relativeFailed rowsScore max absProbability max absGoldenBoundaryMandatory
C1-PREPROC-P0-BASELINE7.995e-62.744e-3418.315e-51.510e-6100%100%FAIL
C1-PREPROC-P1-RECIPROCAL7.995e-62.744e-3418.315e-52.017e-6100%100%FAIL
C1-PREPROC-P2-AFFINE7.995e-61.558e-2608.315e-52.017e-6100%100%FAIL
C1-PREPROC-P3-SPLIT_MEAN7.995e-65.453e-4298.315e-52.017e-6100%100%FAIL
C1-PREPROC-P4-COMPENSATED7.995e-65.452e-4298.315e-52.017e-6100%100%FAIL

Conclusion: STRICT_FP32_EXPLICIT_STANDARDIZATION_REPAIR_NOT_DEMONSTRATED. The next proposal is a separately frozen fused preprocessing/inference experiment—not a retroactive repair and not quantization.

C1 fused preprocessing architecture gate

Gate GATE-C1-FUSED-PREPROC-001: FROZEN. Experiment EXP-EMBED-C1-FUSED-EQUIV-001 subsequently executed and PASSED every frozen criterion on the host.

The architecture folds the frozen scaler into raw-domain linear weights and biases. It deliberately does not materialize standardized features, so it does not retroactively repair Stage 14 or Stage 14R.

ArchitectureScaler subtractionsScaler divisionsClassifier multiplicationsTransformed bufferEvidence
EXPLICIT_PIPELINE128128768128 elementsDERIVED_ANALYTICAL
C1-FUSED-F0007680 elementsDERIVED_ANALYTICAL

Fused local XAI is not included. Inference must pass first; a baseline-preserving explanation representation requires a separate experiment.

Golden maximum score error: 4.853e-5. Claims C-EMBED-C1-FUSED-01 and C-EMBED-C1-FUSED-02 are supported; fused XAI remains NOT_EXECUTED.

Fused local XAI subsequently PASSED across 54 Stage-09 audit samples. Maximum vector L1 error was 5.205e-6; C-EMBED-C1-FUSED-XAI-01 is supported for the host representation.

Analytical storage — derived estimate

These values are not measured Flash or SRAM. They count raw scalar-equivalent parameters and omit compiled code, runtime metadata, stack, heap, buffers, and instrumentation.

ModelFP32 parameter bytesPreprocessing bytesEvidence type
MODEL-C13,0961,024DERIVED_ANALYTICAL
MODEL-C2409,2001,024DERIVED_ANALYTICAL
MODEL-C369,8721,024DERIVED_ANALYTICAL
MODEL-C442,1361,024DERIVED_ANALYTICAL

Frozen evidence