- 1. Per-Head Calibration & Mondrian Conformal Safety Gates (
calibration.json) - 2. Decentralized
BEP-44+Ed25519DHT Update Engine (ArmigerDHTUpdater) - 3. Distributed Recursive Self-Improvement (RSI) & Data Engine (
armiger_dht_rsi.py) - Quickstart
- Part of the Armiger Modular Suite
- Intended Use & Legal Compliance
Armiger Plugin #5 — Conformal Calibration & BEP-44 Decentralized DHT Updater (armiger-calibration-dht)
Per-head temperature scaling, Menon prior adjustments, Mondrian conformal safety gates (100.00% junk accuracy on oct15_confirmation N=2,170 and 99.90% on beyond_confirmation N=977), and a Hybrid Post-Quantum Ed25519 + WOTS+-SHAKE256 signed BEP-44 / BEP-46 BitTorrent DHT update & RSI engine.
Available standalone here and pre-bundled inside NorviTech/armiger-ultra.
1. Per-Head Calibration & Mondrian Conformal Safety Gates (calibration.json)
Raw neural network logits are often overconfident on rare classes (course, comic, software) and high-stakes safety boundaries (adult, junk). calibration.json + ArmigerCalibrator apply:
- Per-Head Temperature Scaling ($T_h$) and Menon Long-Tail Logit Adjustments ($\tau_h \log \pi_h$) across all 8 classification heads.
- Mondrian Conformal Safety Thresholds (Unmutated Ground-Truth Keys):
adult:0.5451(98.53%onoct15_confirmationN=2,781,98.62%onbeyond_confirmationN=1,016,99.90%onzero_cue_2000N=2,000,100.00%onmultilang_3000N=3,000)junk:0.1010(100.00%onoct15_confirmation2,170/2,170,100.00%onfresh_confirmation1,291/1,291,99.90%onbeyond_confirmation976/977, and7/7(100%) disguised executable malware traps blocked)owner_scope:0.4770(98.65%onoct15_confirmation2,633/2,669,99.80%onzero_cue_2000,99.90%onmultilang_3000)
2. Decentralized BEP-44 + Ed25519 DHT Update Engine (ArmigerDHTUpdater)
When Armiger or Armiger Ultra runs inside a distributed indexer (Bitmagnet and self-hosted media indexers), ArmigerDHTUpdater enables opt-in decentralized hot-reloading of new zero-cue catalog entries, swarm-priors tables, and rank-8 LoRA micro-adapters directly over the mainline BitTorrent DHT:
BEP-44Mutable DHT Pointers +BEP-46Infohash Distribution: Nodes look upSHA1(pubkey || "armiger-ultra-v2")on the DHT to discover the latest signed bundle infohash.- Cryptographic Anti-Spoofing (
Ed25519+ Monotonicseq): Every manifest must carry a validEd25519signature from the pinned offline root public key and a strictly increasing sequence number (seq > current_seq), preventing spoofed updates and downgrade attacks. - $K$-of-$N$ Quorum & Safe Formats Only: Bundles contain only
JSON,ONNX, orSafeTensorstensors (never arbitrary Pythonpicklecode) and require a configurable $K$-of-$N$ attestation quorum before activation.
3. Distributed Recursive Self-Improvement (RSI) & Data Engine (armiger_dht_rsi.py)
For multi-agent indexers, private media stacks, and community clusters, armiger_dht_rsi.py provides a production-grade, zero-trust distributed training & calibration telemetry pipeline:
- Universal Adapters (Client-Agnostic across Media Stacks): Native ingestion for series, movie, audio, and publication library webhooks, ffprobe / MediaInfo physical stream inspectors, and qBittorrent / Transmission completion events.
- Multi-Stage Physical Ground-Truth Verification: Rejects raw unverified model predictions. Observations require 100% download verification, physical stream decodability, and canonical catalog matches (
series_catalog,movie_catalog,audio_catalog,isbn). Active malware masquerades (.exeor.scrdisguised as media) are physically isolated as junk canaries. - Cryptographic Anonymization & Differential Privacy: Strips all private tracker passkeys, IPv4/IPv6 addresses, and user home directory paths. Generates salted HMAC-blinded syntactic title stems. Adds $(\epsilon, \delta)$-differential privacy (Laplace perturbation + 16MB log-binning) and Poisson timing jitter ($\Delta t \sim \text{Exp}(\lambda)$) against traffic analysis.
- Post-Quantum End-to-End Encryption: Hybrid
X25519ECDH + NIST FIPS 203ML-KEM-768lattice key encapsulation (with Fujisaki-Okamoto CCA2 implicit rejection), combined viaSHAKE-256/HKDF-SHA3-256with 256-bitChaCha20-Poly1305AEAD payload encryption. - Hybrid Post-Quantum Anti-Rollback Protocol: BEP-44 strictly monotonic sequence numbers (
seq > current_seq) paired with HybridEd25519+WOTS+-SHAKE256(RFC 8391 / NIST FIPS 205 hash-based PQ) threshold multi-signatures ($M$-of-$N$ federation quorum). - Sybil-Resistant ASN Quorum & Canary Gate: Enforces $K$-of-$N$ distinct-ASN peer attestation quorum, strict format whitelisting (
SafeTensors,ONNX,JSONonly; zero pickle tolerance), and a mandatory local 500-item golden canary regression gate (rejects any update with malware bypass or Mondrian safety degradation). - Opt-In / Opt-Out Modes: Supports
off,pull_only, andanonymous_contribute.
Quickstart
from calibration_and_dht import ArmigerCalibrator
from armiger_dht_rsi import ArmigerDHTRSIEngine, SeriesWebhookAdapter
# 1. Conformal calibration
cal = ArmigerCalibrator("calibration.json")
probs_cat = cal.calibrate_head("category", [2.4, -1.1, -3.0, -2.5, -3.1, -2.8, -3.2, -2.9, -3.0, -3.4, -2.0])
gates = cal.evaluate_safety_gates(p_adult=0.02, p_junk=0.004, p_excluded_scope=0.01)
print("Calibrated top prob:", max(probs_cat), "Safety gates:", gates)
# 2. Distributed RSI Engine
engine = ArmigerDHTRSIEngine(mode="anonymous_contribute")
obs = SeriesWebhookAdapter.parse_webhook({"eventType": "Download", "series": {"seriesCatalogId": 371980}})
ok, reason, record = engine.ingest_candidate(obs)
print("Ingested observation:", ok, reason)
Part of the Armiger Modular Suite
This plugin is bundled inside NorviTech/armiger-ultra alongside all 6 official plugins (armiger-swarm-survival, armiger-swarm-priors, armiger-zero-cue-catalog, armiger-audio-guard, armiger-calibration-dht, and armiger-dht-db-sync) and is compatible with NorviTech/armiger (8.3 MB CPU INT8).
Intended Use & Legal Compliance
Open-source machine learning and cryptographic metadata-classification utility designed strictly for lawful use cases (indexing licensed, public-domain, Creative Commons, and open-source media/software; malware & fake-seeder honeypot filtering; and CSAM/abuse pre-ingest blocking). NorviTech does not condone, encourage, or support copyright infringement. See LEGAL.md and NOTICE.
Armiger Ultra · Armiger · Swarm Survival · Swarm Priors · Zero-Cue Catalog · Audio Guard · Calibration & DHT RSI · DHT DB Sync · norvitech.com
- Downloads last month
- 86