Papers1 provider · 1 record
January 1, 2026· Zenodo
preprint

The Verifiable Token: Free Decision Provenance and Its Keyed Authenticity Boundary for Edge Inference

Abstract

The Verifiable Token: Free Decision Provenance and Its Keyed Authenticity Boundary for Edge Inference Randolph James Ferlic, M.D. and Kimberly Kate Ferlic (Fieldstone Analytics, LLC, Austin, TX, USA) Preprint · Zenodo DOI: 10.5281/zenodo.24540845 · CC-BY 4.0 · Community: spiral-domain-encoder-campaign · a characterization of a property that a frozen, deterministic, single-token sensor-decision encoder has for free: because its decision is a bit-exact pure function of a committed input window on a public frozen model, any third party re-derives the identical token, so a logged decision is verifiable, tamper-evident, and auditable at no cost — while authenticity and tamper-resistance require a cheap keyed anchor. The base encoder, its competence monitor, the committed-input protocol, the progress-free re-derivation of a bounded adaptation statistic, and the committed-ring self-check are previously published and separately patent-pending; this work measures and bounds their provenance properties and introduces no new claimed matter. The cryptographic constructions (keyed message-authentication codes, hash-chained logs, monotonic-counter nonces, per-device keys) are textbook, cited and used, not claimed. The per-deployment provisioning selection is retained as a trade secret. Abstract A frozen, deterministic, class-discriminant single-token decision encoder reduces a window of sensor observations to one 8-bit token by a fixed feature front end, a collapsed-affine projection, and a nearest-of-≤256-centroid lookup. This work asks what that determinism buys for the trust of an edge decision — can a third party verify that a logged decision was correctly produced by a stated model on a stated input, and where is the line between a decision one can verify was computed correctly and one can prove is authentic — and answers with a sharp, measured boundary. Because the model is public and the decision is a bit-exact pure function of the committed window, reproducibility is free: an independent verifier using only the public model re-derives the producer's token at 100.000% agreement with zero disagreements across seven sensor modalities (8,528 windows). From it follow tamper-evidence (altering a logged decision is caught by re-derivation at detection 1.000 on every modality) and auditability (a hash-chained log whose three verifiers — free re-derivation, free chain, keyed tag — each catch a distinct tampering class with zero interference on a clean log). But the same public determinism makes decision-authenticity forgeable: a chosen decision is forged in closed form, one shot, independent of its 5.8–6.2 bits of entropy (forge rate 1.00), so un-attested fabrication-detection is 0.00; a keyed commitment binding the committed input, a nonce, and the device identity closes it (1.00 detection, 0.00 genuine false-reject). The whole provenance check — one re-derivation plus one keyed tag verify — is 1.3–1.7× a single inference on two commodity microcontrollers and bit-exact across both cores. The decisive reproducibility result is cross-architecture: a device's ARM-CMSIS float32 token equals a host's x86-numpy float64 token bit-for-bit — 0 mismatches across 128 windows, two cores, two modalities, different instruction set, precision, and FFT — so third-party verifiability is demonstrated, not asserted. A boundary-margin census shows the determinism is structural, not lucky (0 of 8,528 samples within the floating-point danger zone of a boundary; 0 token flips under single precision, reduced reduction order, or emulated fused multiply-add). The work introduces no new claimed mechanism; the cryptographic primitives are textbook; and the per-deployment provisioning selection is retained as a trade secret. Highlights · Verifiable for free. An independent verifier using only the public model re-derives the producer's token at 100.000% agreement, 0 disagreements across 8,528 windows on seven modalities (one-sided 95% upper bound on the systematic-disagreement rate: 3.2e-4). · Three free trust properties, one fact. Reproducibility gives tamper-evidence (detection 1.000 on every modality) and auditability (a hash-chained log; three verifiers each catch a distinct tampering class, zero interference on a clean log). · A sharp authenticity boundary. Un-attested provenance is forgeable in one shot (forge rate 1.00, entropy-independent), so un-attested fabrication-detection is 0.00; a keyed commitment closes it to 1.00 at zero genuine false-reject. Reproducibility is necessary; attestation is sufficient — safety ≠ security. · Cross-architecture identity, demonstrated. A device's ARM-CMSIS float32 token equals a host's x86 float64 token bit-for-bit — 0 mismatches across 128 windows, two cores, two modalities, different ISA/precision/FFT. · Determinism is structural. 0 of 8,528 samples fall within the epsilon-tie zone of a boundary (smallest margin 1.0e-4, 100× the 1e-6 threshold), so 0 tokens flip under single precision, reduced reduction order, or emulated fused multiply-add. · The cost, on silicon. One re-derivation plus one keyed tag verify is 1.3–1.7× one inference (the tag adds 0.68× on a Cortex-M33, 0.74× on a Cortex-M4F), bit-exact across both cores; the decision stays one byte on the wire. · What the keyed anchor buys. It binds model identity (wrong model rejected 97.4%, 95% CI 96.3–98.4%), closes replay with a monotonic nonce at +0.19% cost, and attributes a decision to its device with per-device keys (cross-device detection 1.00 vs 0.00 under a shared key). Model secrecy is no substitute — replay needs zero model knowledge. · Breadth. The properties hold on seven modalities, on a second decision domain (financial market-state tokens across five instruments spanning equity, cryptocurrency, and bond asset classes), on the adapted decision, and on the exactly-re-derivable int8 path. The one fact and its trust boundary Everything rests on a single structural property: the encoder's decision is a bit-exact pure function of a committed, bounded input window on a fixed, public model (a deterministic feature front end, a collapsed-affine projection E = A·feats + b, and a nearest-of-K-centroid lookup). From that one fact three trust properties follow for free, with no key and no trust in the device — a stranger holding the public model (A, b, C) and the committed window re-derives the identical token, so a logged decision can be independently verified, shown tamper-evident, and audited. A fourth property — authenticity, proving the input is a genuine reading from this device at this time — does not come free, because the public model lets anyone mint a self-consistent (input, token) pair; authenticity, and tamper-resistance against a consistent rewriter, return only with a cheap keyed anchor. The organizing law is the boundary between the two: reproducibility is necessary and free, attestation is sufficient and keyed, and a free integrity check is safety, not security. Reproducibility, tamper-evidence, and auditability — the three free properties An independent verifier re-implemented from scratch, using only the public model and none of the training-time pipeline, re-derives the producer's token exactly, and from that reproducibility the other two free properties follow directly. property what it means measured Reproducible a third party re-derives the identical token from the public model + committed input 100.000% agreement, 0 disagreements, 7 modalities, 8,528 windows Tamper-evident altering a logged decision without altering the logged input is caught by re-derivation detection 1.000 on every modality Auditable a hash-chained decision log; three complementary verifiers each catch a distinct tampering class 0 interference on a clean log; worst undetectable rewrite window < N with an anchored head Auditability is the free tamper-evidence scaled to a log and made complete. A hash-chained decision log stores, per entry, a hash of the committed input, the token, and the hash of the previous entry, and admits three verifiers: free re-derivation catches any altered decision; the free hash-chain catches any dropped or reordered entry; and a keyed tag catches a consistent rewrite that the free verifiers cannot. On a clean log the three interfere not at all (zero false positives). The threat-by-verifier matrix is sharp: a token alteration is caught by re-derivation, a drop or reorder only by the chain, and a rewriting fabrication only by the keyed tag — the same keyed/unkeyed boundary as the authenticity result, now for the log. Publishing or externally anchoring the chain head every N decisions caps a rewriter's undetectable window below N without per-entry keys (9/49/99/249 for N = 10/50/100/250). At scale, the cheap O(N)-hash chain gives complete syntactic coverage while sampled re-derivation gives semantic spot-checks along a measured detection/cost curve. The authenticity boundary The free properties answer "was this computed correctly?" They do not answer "is this input genuine?", and the gap is structural: the public model lets anyone mint a self-consistent (input, token) pair. verifier un-attested fabrication detection genuine false-reject re-derivation only (no key) 0.00 — keyed commitment (HMAC over input, nonce, device ID) 1.00 0.00 Targeted forgery of a chosen decision is closed-form and one-shot (forge rate 1.00) and independent of the decision's entropy (5.8–6.2 bits), so a rare or high-entropy decision is no harder to forge; a key — not secrecy — is required. Model secrecy is refuted twice: replay needs zero model knowledge, and a reverse-engineering surrogate climbs 0.27 → 0.52 → 0.70 → 0.79 in forge-accuracy as observed pairs grow 16 → 653. What a keyed anchor buys The keyed anchor resolves into three separable questions a provenance system is often asked to conflate, each measured; genuine records are never wrongly rejected. what the keyed anchor binds mechanism detection without it detection with it which model produced the decision the token's dependence on (A, b, C) — (a free integrity property) wrong model rejected 97.4% (95% CI 96.3–98.4%) freshness — no replay a monotonic counter in the committed message 0.00 (a captured tag replays verbatim) 1.00, at +0.19% cost which device produced it per-device keys 0.00 (a shared fleet key cannot attribute) 1.00 (across a 16-device fleet) Model binding is a free integrity property that distinguishes a different or tampered model (a quantized near-copy still agrees on ~98% of tokens, so it is not an identical-retrain detector, and a forger with the right model still forges). Freshness and device attribution require the keyed constructions, at small measured cost. Model secrecy substitutes for none of these — security belongs in the key, not in the obscurity of a public method. Cross-architecture identity and the margin census A device's ARM-CMSIS float32 token equals a host's x86-numpy float64 token on every window — 0 mismatches across 128 windows, two cores (Cortex-M33, Cortex-M4F) and two modalities (in-sample bearing vibration, held-out force/torque), with identical re-derivation digests cross-core. The agreement is structural: the minimum relative Voronoi tie-margin over 8,528 samples is 1.0e-4 — a hundred times the 1e-6 epsilon-tie threshold — so 0 samples are at risk and 0 tokens flip under single precision, a different reduction order, or an emulated fused multiply-add. The census doubles as a field-failure predictor: a deployment can measure, in advance, exactly how close its own corpus sits to the fragile zone. The honest boundary: cross-stack reproducibility holds on a platform running the published reference front-end specification under IEEE-strict arithmetic (shipped with the deposit). The cost of provenance, on silicon The whole check is one re-derivation from the committed input plus one keyed-tag verify over the committed window; the re-derivation is bit-exact across both cores, and its cost matches the front-end cost measured in the companion energy study. The decision stays one byte on the wire regardless of the audit tier. core modality (committed window) re-derivation keyed MAC verify whole check whole / inference Cortex-M33 bearing, in-sample (1,024) 1,390 952 2,342 1.68× Cortex-M33 force/torque, held-out (96) 268 92 360 1.34× Cortex-M4F bearing, in-sample (1,024) 184,434 135,902 320,336 1.74× Cortex-M4F force/torque, held-out (96) 39,740 13,163 52,903 1.33× Values are each core's own timing-counter units (not comparable across cores; the ratios are the portable claim). The keyed-tag overhead is smaller on the short window because the MAC scales with the committed-message size while the re-derivation scales with the feature front end — a fixed-size hashed commitment would make the tag window-independent and cheaper still. Breadth: seven modalities, a second domain, and the quantized path The provenance properties are dataset-agnostic and domain-universal, confirmed rather than assumed. They hold on all seven sensor modalities (bearing vibration ×2, force/torque, gesture, inertial activity, ECG, sEMG): reproducibility, free tamper-evidence, cross-precision and cross-front-end verifier determinism (all 100.000%, zero disagreements), and exact int8 re-derivation (self-agreement 1.000). They hold on a second decision domain — a financial market-state token across five instruments spanning equity, cryptocurrency, and bond asset classes (reproducibility 100.000%, tamper-evidence 1.000, the authenticity boundary 0.00 → 1.00). They extend to the adapted decision (the geometry-gated drift compensator's output is itself re-derivable at 100.000%). And they hold on the quantized path: integer arithmetic has no rounding nondeterminism, so the int8 token is exactly re-derivable with zero epsilon-tie fragility — stronger than the float path. The int8-versus-float divergence (5–16% of samples near a boundary) is a model-identity question — which model produced the decision — answered by model binding, not a provenance failure. The honest boundaries The free monitor is safety, not security (blind to a consistency-preserving rewriter and a self-consistent fabrication). Key management is a system matter (a compromised key voids authenticity for that device; a 64-bit device MAC gives ~2^-64 forgery per attempt). Sensor-side spoofing is the sensor-validity gate's job (provenance attests the committed input, not the physical truth behind it). Auditability has a storage cost (full re-derivation needs the input retained somewhere; the decision stays one byte on the wire). Confidentiality — hiding the decision from a party without a key — is a separate axis, out of scope, named only as future work; this work authenticates decisions, it does not hide them. The transferable lesson Determinism is a trust primitive. When a decision is a bit-exact pure function of a committed input window on a public model, verifiability, tamper-evidence, and auditability are free, and authenticity, tamper-resistance, and attribution are one keyed tag away — and the boundary between them is as much a part of the law as the free properties are. A deployment that can write its decision in that form inherits a one-byte decision record that a regulator, an insurer, or a downstream system can re-derive without trusting the device, that cannot be altered without detection, and that can be audited cheaply at scale — at the price of retaining the input and, for authenticity, a cheap keyed anchor whose cost this record measures. The free properties are universal across modality, arithmetic, core, and optimization level; the keyed properties rest at the strength of their standard primitives; and the single point where trust is unavoidable — proving the input was genuinely sensed — is named plainly rather than hidden behind the free machinery around it. What this record contains The reproducibility archive (PAPER_80_ZENODO_ARCHIVE.zip) contains the frozen inference-only C runtime; the host verifiers and harnesses for reproducibility, tamper-evidence, the authenticity boundary, the audit-log composition, the breadth and cross-stack exhaustion, and the adversarial-reviewer hardening; the firmware provenance-verify leg and its build files; every measured result record, including the raw on-silicon token streams and the two-core determinism digests; the known-answer test vectors under a published non-secret test key; the figure generator; the manuscript source; and the frozen pre-registration. The manuscript PDF embeds five figures and four data tables. Cite as Ferlic, R. J., & Ferlic, K. K. (2026). The Verifiable Token: Free Decision Provenance and Its Keyed Authenticity Boundary for Edge Inference. Zenodo. https://doi.org/10.5281/zenodo.24540845 License and patent notice Released under Creative Commons Attribution 4.0 International (CC-BY 4.0). The deposit licenses the copyright in the text, figures, and code only; no patent or other intellectual-property right of the authors is licensed, waived, or conveyed. The described substrate is patent pending. This work is a characterization of previously published, separately patent-pending matter together with textbook cryptographic constructions that are cited and used, not claimed; it introduces no new claimed mechanism. The per-deployment provisioning selection is retained as a trade secret and is not disclosed. No third-party partner, customer, or commercial collaborator is named; the public-benchmark datasets named are for reproducibility; no specific third-party application or grant number is asserted. © 2026 Fieldstone Analytics, LLC and the authors. Corresponding author: Randolph J. Ferlic ([email protected]). ORCID: 0009-0006-2367-5205 (R.J.F.), 0009-0007-3012-3430 (K.K.F.). Companion deposits (spiral-domain-encoder-campaign) This work characterizes the provenance properties of a previously published, separately patent-pending deterministic-token architecture; all companions are cited by their public Zenodo records. · 10.5281/zenodo.20788187 — Class-discriminant single-token codebook encoder (the base substrate whose determinism this work characterizes as a provenance property). (is derived from) · 10.5281/zenodo.24450554 — The Self-Checking Token Under Intermittent Power (the committed-ring self-check whose safety-not-security boundary this work generalizes from integrity to provenance). (is derived from) · 10.5281/zenodo.23351878 — Watch the Input (the competence-boundary runtime monitor). (references) · 10.5281/zenodo.24374592 — The Frozen Token Under Intermittent Power (the window-persistence survival / committed-input protocol). (references) · 10.5281/zenodo.24404565 — Adaptation Under Intermittent Power (progress-free re-derivation of a bounded sufficient statistic; the adapted-decision leg). (references) · 10.5281/zenodo.23423656 — Geometry-gated drift adaptation (the drift the adapted decision re-derives). (references) · 10.5281/zenodo.24426652 — The Composition Energy Law (shared-front-end sub-additivity). (references) · 10.5281/zenodo.24513982 — The Frozen Token Under Power (the energy synthesis that cross-confirms the re-derivation cost). (references) · Companion peer-reviewed baseline study (single-token sensor substrate; classifier parity at extreme compression) — IEEE journal, accepted; supplies the classifier-parity premise. (references — DOI to be added when the version of record issues) · (Community) spiral-domain-encoder-campaign. Data and reproducibility Every headline number is recomputed from a measured record in a numerical audit before deposit; the cross-architecture identity is verified on the host rather than read from the device's self-report. On-silicon work is on a Nordic nRF54L15 (Cortex-M33) and nRF52840 (Cortex-M4F); the float path is compiled with fused-multiply-add contraction disabled and never fast-math. Build artifacts and the const golden headers (build products) are omitted; regenerate the headers with the exporter, then build and flash via an ARM toolchain. The raw sensor and financial datasets are public and fetched externally (not redistributed here). Absolute paths, personal handles, vendor-tool invocations, device serial numbers, and the per-deployment provisioning selection (retained as a trade secret) are excluded. Keywords edge inference, edge AI, TinyML, on-device inference, microcontroller, Cortex-M33, Cortex-M4F, Nordic nRF54L15, nRF52840, CMSIS, DWT cycle counter, deterministic inference, bit-exactness, cross-architecture reproducibility, reproducibility, pre-registered, on-silicon, IEEE-754, floating-point determinism, numerical reproducibility, decision provenance, verifiable computation, verifiable decision, tamper-evident logging, tamper-evidence, auditability, hash chain, Merkle tree, secure audit log, transparency log, data provenance, authenticity, authenticity boundary, message authentication code, HMAC, SipHash, keyed MAC, replay resistance, monotonic counter, nonce, device attestation, device attribution, per-device key, remote attestation, physically unclonable function, trusted platform module, secure element, key management, Kerckhoffs's principle, model binding, model provenance, model watermarking, forgeability, safety not security, frozen token, single-token encoder, class-discriminant, nearest-centroid codebook, vector quantization, collapsed-affine, committed input window, bounded pure function, zero progress state, int8 quantization, boundary margin, Voronoi tie-margin, Wilson interval, differential testing, known-answer test, condition monitoring, bearing fault, force/torque, electrocardiogram, electromyography, human activity recognition, financial market state, fast Fourier transform, linear discriminant analysis, principal component analysis, k-means, characterization, trade secret, patent pending, spiral-domain-encoder-campaign

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.