Miami Network Docs
Official WebsiteTestnet ExplorerTestnet Faucet
  • Introduction & Executive Summary
  • Problems and How We Are Aiming to Solve Them
    • Static and Rigid Consensus Approaches
    • Limited Integration of Advanced Technologies
    • Challenges in Scalability and Inclusion
    • Ecosystem Fragmentation and Integration Hurdles
  • Technical Architecture Overview
    • PoS Validators: The Backbone of Stability
    • PoT Validators: Extensive Reach and Accessibility
    • AI Nodes: Intelligence, Adaptability, and Open Competition
    • Data Flow and Consensus Interplay
    • Benefits of the Integrated Architecture
  • Consensus Protocol Mechanics
  • Incentive Alignment
  • Security
  • Milestones
  • Conclusion
Powered by GitBook
On this page
  1. Technical Architecture Overview

AI Nodes: Intelligence, Adaptability, and Open Competition

PreviousPoT Validators: Extensive Reach and AccessibilityNextData Flow and Consensus Interplay

Last updated 4 months ago

Kempelen PyTorch SDK Integration AI nodes use the Kempelen PyTorch SDK, operating initially in Observer mode to gather data and refine models. After validation, they move to Effector mode, providing trust scores that guide consensus. Initially, we deploy a One-Class SVM model for anomaly detection, but as usage patterns evolve, developers are incentivized to adopt more complex algorithms.

One-Class SVM and Ensemble Bagging We integrate ensemble learning (Bagging) with One-Class SVM to enhance anomaly detection. Let (D)(D)(D) be a dataset of size (n)(n)(n). We create (m)(m)(m) subsets of size (n′)(n')(n′) via bootstrap sampling. Each subset trains a classifier (Ci)(C_i)(Ci​). The outputs of (Ci)(C_i)(Ci​) are combined by averaging or voting, improving robustness and reducing overfitting.

Dynamic Trust Scores We introduce time-decaying trust scores:

[Ti′=Ti×d(t−ti)][ T'_i = T_i \times d^{(t - t_i)} ][Ti′​=Ti​×d(t−ti​)]

where (Ti)(T_i) (Ti​) is the current trust score, (ti)(t_i) (ti​) the last update time, and (d∈(0,1])(d \in (0,1])(d∈(0,1]) a decay factor. Additionally, trust score adjustments depend on validator performance:

[T′=T+α×VO−β×IO][ T' = T + \alpha \times \frac{V}{O} - \beta \times \frac{I}{O} ][T′=T+α×OV​−β×OI​]

Here, (V)(V)(V) is valid blocks proposed, (I)(I)(I) invalid blocks, (O)(O)(O) total opportunities, and (α,β)(\alpha, \beta)(α,β) are positive constants. This incentivizes reliable behavior over time.

Open Source and Customizable Algorithms All AI decision-making algorithms are open source. Node operators can refine or replace initial models with their own, more accurate ones. Better models yield higher gas fee shares, fostering ongoing innovation and competitive intelligence.

No Direct Write Authority AI nodes propose trust scores, but cannot write them on-chain. PoS validators review and record these scores, maintaining a balance of power and preventing unilateral trust manipulation.