The Trustworthy Token: One Deterministic Edge Decision, Four Composable Trust Readouts, and the Boundaries of a Certifiable Edge Trust Surface
The Trustworthy Token: One Deterministic Edge Decision, Four Composable Trust Readouts, and the Boundaries of a Certifiable Edge Trust Surface Randolph James Ferlic, M.D. and Kimberly Kate Ferlic — Fieldstone Analytics, LLC, Austin, TX, USA Preprint · Zenodo DOI: 10.5281/zenodo.24633532 · CC-BY 4.0 · Community: spiral-domain-encoder-campaign --- 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 E = A·feats + b, and a nearest-of-≤256-centroid lookup, which a table turns into a decision. Four companion studies showed, one at a time, that this determinism makes a logged decision checkable (a self-checking integrity token), provable (a verifiable-provenance token closed by a keyed anchor), competence-bounded (a nearest-centroid-distance gate), and confidential (a keyed small-domain emission). This work is the synthesis: it measures that the four readouts compose into one certifiable trust surface off a single committed input window — cheaply, orthogonally, on the device — and, with equal weight, it measures where that surface stops. The surface is unified and nearly free (readout-preservation exact, maximum difference 0.0; composed-over-base cost ≈1.2–2.5× the token front end on two microcontrollers, not the ≈4× of four independent pipelines) and orthogonal (a four-threat-by-four-pillar matrix is the identity on all seven core modalities, 0 off-diagonal, 0 clean-record false positive). Its guarantee has four measured boundaries: it certifies intact + authentic + in-competence + confidential but never correct (a confident on-manifold error survives all four; competence ROC-area ≈0.49–0.54, blind; reachable white-box on a mean 62% of in-envelope points and by a realizable raw-signal attack on a mean 79.9%); its runtime readouts are downstream of an attested commissioning and a trusted model (a poisoned or flash-flipped model is caught by 0 of 4; a keyed boot-time model-attestation digest catches 100% and reuses the provenance primitive); encryption is not authentication (a fabricated or bit-flipped ciphertext decrypts to a valid-looking decision, 0 caught by confidentiality, 100% by the provenance MAC → confidentiality-then-MAC); and a deterministic pseudonym is not anonymous (the token is linkable, hidden in transit, not de-identified). The surface holds across thirteen modalities spanning five sensing domains (seven application domains with the chemical and financial exhaustion bands), is bit-exact across two cores, three datasets, three optimization levels, and eight cold boots, confirms the per-pillar drift posture on a real longitudinal dataset (competence false-trip 0.05→0.92 across days, recalibrated label-free to ≈0.04), confines a key leak to one device of N, runs a constant-time competence gate, and keeps the learned token load-bearing for the decision while the three keyed/deterministic pillars are token-agnostic. The transferable lesson is one architectural fact bounded by four honest limits: a deterministic edge decision is a trust primitive from which integrity, provenance, competence, and confidentiality fall out as one composable surface for a small fraction of the decision's own cost — and that surface certifies everything about a decision except that it is right, rests on the commissioning and the keys beneath it, authenticates nothing by encryption alone, and hides a pseudonym without anonymizing it. The work is a synthesis of previously published, separately patent-pending readouts with textbook cryptographic and model-attestation constructions and introduces no new claimed matter; the per-deployment provisioning selection is retained as a trade secret. Highlights · One certifiable surface, four readouts, one window. Readout-preservation exact (0.0); all four run in one firmware image at ≈1.2–2.5× the token front end, not ≈4×. · Orthogonal coverage — an identity matrix. Tamper↔integrity, forgery↔provenance, out-of-competence↔competence, eavesdrop↔confidentiality; 0 off-diagonal, 0 clean-record false positive on all seven core modalities. · Boundary 1 — certifies everything but correctness. A confident on-manifold error survives all four (competence ROC-area ≈0.49–0.54); reachable white-box on a mean 62% of in-envelope points and by a realizable raw-signal attack on a mean 79.9%; a conformity readout is the only partial mitigation. · Boundary 2 — the root of trust is commissioning and the model. A poisoned or flash-flipped model is caught by 0 of 4; a keyed boot-time model-attestation digest catches 100% and reuses the provenance primitive. · Boundaries 3 and 4 — encryption ≠ authentication, pseudonym ≠ anonymous. A fabricated/bit-flipped ciphertext is caught 0 by confidentiality, 100% by the MAC; the deterministic token is linkable, hidden in transit, not de-identified. · Bit-exact on silicon, stress-tested. Identical digests across two cores, three datasets (industrial and biomedical), −O0/−O2/−Os, and eight cold boots; host float64 == device float32. · Breadth and drift. Thirteen modalities / five sensing domains (seven application domains); competence false-trip 0.05→0.92 across acquisition days while the other three pillars stay invariant; label-free recommission → ≈0.04. · Keys, side channels, hygiene. Per-device keying confines a leak to one device of N; constant-time competence gate (variance 0); the reproducibility checksum is explicitly not the security MAC. · Discipline. Every headline recomputed from a measured record against a frozen pre-registration; the learned token is load-bearing for the decision yet the three keyed/deterministic pillars are token-agnostic; no new intellectual property. The one fact, the substrate, and the four readouts The one fact is that the decision is a bit-exact, deterministic, bounded pure function of a committed input window on a public frozen model. The substrate is the single-token encoder: a fixed feature front end, a collapsed-affine embedding (a label-discriminant projection composed with a principal-component projection, a single matrix multiply-and-add), a nearest-of-≤256-centroid lookup yielding an 8-bit token, and a table that turns the token into a decision. The model is public by design, and its determinism is exact. The surface is a runtime construction over the frozen model: four readouts that read the one embedding and token of one window. Table 1. The four trust readouts as deterministic functions of one committed window. Three of the four are keyless or single-key; the competence distance is a by-product of the token's own nearest-centroid search; and the confidentiality permutation reuses the provenance pseudorandom function. Readout Question it answers Mechanism Secret required Marginal cost Input-drift posture Integrity Is the logged decision intact? re-derive the token, compare to the log none (keyless) one front-end re-pass (verifier) invariant Provenance Did it come from this model and device? keyed MAC over the committed input and token one authentication key one short-input keyed tag invariant Competence Should it be trusted at all? nearest-centroid distance vs a commissioned threshold none (keyless) by-product of the token's argmin sensitive (recalibrable, label-free) Confidentiality Who may read it in transit? keyed small-domain permutation of the emitted token one encryption key one format-preserving permutation key-dependent, invariant The unified surface and its orthogonal coverage All four readouts read one embedding and token. Computing the confidentiality emission leaves integrity, provenance, and competence numerically unchanged (readout-preservation maximum difference 0.0). A four-threat-by-four-pillar matrix — tamper, forgery, out-of-competence, eavesdrop against integrity, provenance, competence, confidentiality — is the identity on all seven core modalities, with 0 off-diagonal and 0 clean-record false positives, so each threat is handled by exactly its pillar and the four guarantees are separately certifiable (Table 5). Boundary 1 — the surface certifies faithfulness, not correctness A confident on-manifold error — an input that lands in the wrong decision cell while remaining inside the competence envelope — is intact, authentic, in-competence, and confidential and still wrong, and it survives all four readouts; the only continuous score (competence) is blind to it (area under the ROC 0.492 / 0.474 / 0.539 on the overlapping regime). It is reachable on purpose: a white-box adversary reaches it on a mean 62% of in-envelope points, and a physically realizable raw-input attack (blending two genuine signals) on a mean 79.9%; a compound tamper-plus-forgery-plus-out-of-competence attack is caught by the pillar union at 1.00, leaving only this residual. A conformity (deep k-nearest-neighbor) readout off the same front end is the only partial mitigation (mean catch 0.60), with an irreducible confident-locally-homogeneous-wrong core surviving. Correctness belongs to the model, not to any runtime trust readout over it. Boundary 2 — the root of trust is commissioning and the model A model poisoned at commissioning emits intact, authentic, in-competence, confidential decisions that are wrong by design (mean all-pass-wrong 0.35), detected by 0 of the four runtime readouts; and in the field a single flipped centroid or lookup entry in flash is likewise caught by 0 of the four (it re-derives against the same tampered model and agrees). A keyed model-attestation digest over the frozen model, verified at boot, catches 100% of such flips and reuses the keyed pseudorandom function the provenance readout already computes — a signed-model secure boot at no new cryptographic cost. The surface stands on
Authors
- Randolph James Ferlic (ORCID: https://orcid.org/0009-0006-2367-5205)
- Kimberly Kate Ferlic (ORCID: https://orcid.org/0009-0007-3012-3430)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24633531
- Primary Topic
- IoT and Edge/Fog Computing
- Type
- preprint