HomeDocs-Technical WhitePaper14-EFT.WP.Methods.Inference v1.0

Chapter 1: Positioning, Scope & Inference Levels


I. Scope & Objectives

  1. Define the object domain of Inference for this volume: centered on trained parameters theta with a fixed inference graph Graph(theta), covering offline batch inference, online streaming inference, and hybrid edge/central deployments. Training and labeling are out of scope, but inference must remain strictly aligned with the train–validation conventions.
  2. Intended readers: model and platform engineers, metrology and compliance owners, operations and release owners, and third-party verifiers.
  3. Deliverables & pass criteria:
    • Deliverables: InferPipelineCard, ParamCard, BenchReport, ConsistencyReport, CalibReport, ReleaseBundle.
    • Unified gate (see “Inference Levels” below): decide via gate.inf. Core metrics include accuracy, calibration, consistency, and SLO. Example composite gate:
      gate.inf: pass iff ( acc >= acc_min ) ∧ ( ECE <= tau_ece ) ∧ ( delta_offon <= tau_offon ) ∧ ( TS.latency_p95 <= tau_lat ) ∧ ( TS.error <= tau_err ).

II. Terms & Symbols


III. Postulates & Minimal Equations


IV. Data & Manifest Conventions

  1. Minimal I/O field set
    • Input: id, ts, features, source, window = [t0, t1], hash(features).
    • Output: y_hat, uncertainty = {mean,var,quantile}, ts_out, routing, fingerprint(Graph,theta).
  2. Traceability & compliance
    Each inference must persist Provenance: EnvLock, Graph(theta) fingerprint, ParamCard digest, seed, rng_family, and hash(•) linking to the data-lake entry.
  3. Feature-consistency contract
    Training and inference must share the same normalization operators and pass check_dim(expr) for dimensionality. If operators change, mark a compatibility flag and migration window in ChangeLog.

V. Algorithms & Implementation Bindings

  1. I40-* prototypes (anchored in this chapter)
    • I40-1 build_inference_graph(spec:dict) -> Graph
    • I40-2 load_artifacts(anchor:str) -> Runtime
    • I40-3 run_inference(rt:Runtime, inputs:any, opts:dict) -> outputs:any
    • I40-10 compare_offline_online(off:any, on:any, policy:dict) -> ConsistencyReport
  2. Idempotency & exception contract
    With identical EnvLock, anchor, seed, and input set, repeated I40-3 calls must be idempotent. If nondeterministic operators exist, call with opts: { nondet_guard:true } to enable deterministic paths or report E_NONDETERMINISM.

VI. Metrology Flow & Run Diagram


VII. Verification & Test Matrix


VIII. Cross-References & Dependencies


IX. Risks, Limitations & Open Questions


X. Deliverables & Versioning


Inference Levels

  1. L0 Sanity — Baseline connectivity
    • Goal: interfaces connect, shapes and dimensions correct.
    • Gate: TS.error == 0, R_emp computable.
  2. L1 Offline Deterministic — Stable offline under EnvLock
    Gate: acc >= acc_min, ECE <= tau_ece_off, resource budgets satisfied.
  3. L2 Online Parity — Offline–online equivalence
    Gate: delta_offon <= tau_offon, TS.latency_p95 <= tau_lat.
  4. L3 Cross-Site/Device — Multi-site/hardware consistency
    Gate: per-site delta_offon <= tau_offon_site; after quantization switch, acc_drop <= tau_drop.
  5. L4 Regulated Traceable — Auditable & replayable
    Gate: complete ReleaseBundle with signature chain; satisfy audit sampling and replay time-base alignment confidence for alpha, beta.

Chapter Anchors (for memory)


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/