Optimistic GPU Audits & Anti-Spoofing
Tenson guarantees Buyers receive genuine inference from the exact model they paid for without adding per-request cryptographic overhead.
1. How Sampling Works
When a P2P job completes, the Edge Gateway probabilistically enqueues an audit sample into RAM-only Redis (audit: with a hard 300s TTL) and pushes job_ onto Redis Stream tenson::
| Node Tier | Audit Sampling Rate |
|---|---|
Established node (>= 100 completed jobs, clean record) | 3% |
New node (< 100 completed jobs) | 15% |
Warned node (prior warn verdict) | 25% |
2. Verification & Verdicts (services/auditor )
The independent Auditor worker consumes tenson:, atomically reads and deletes the volatile payload (GETDEL), replays the exact prompt and parameters against a trusted reference GPU, and computes token overlap similarity:
Deterministic Jobs (temperature <= 0.1 )
similarity >= 0.→88 pass:+0.reputation (capped at5 100.).0 0.→65 <= similarity < 0. 88 warn:-5.reputation; sampling elevated to0 25%.similarity < 0.→65 fail_: Permanent ban + 100% stake slash.spoof
Stochastic Jobs (temperature > 0.1 )
similarity >= 0.→65 pass:+0.reputation.5 0.→40 <= similarity < 0. 65 warn:-5.reputation.0 similarity < 0.→40 fail_: Permanent ban + 100% stake slash.spoof
3. Enforcement on fail_spoof
In a single PostgreSQL transaction:
nodes.is set tostatus 'banned'andreputation_.score = 0 staked_are slashed (points entry_intype = 'slash' ledger_).entries - The node is immediately evicted from every Redis
grid:ZSET.model: * - Only numeric metadata (
similarity_,score verdict,points_) is stored inslashed audit_— zero prompt or completion text is ever persisted.logs