Consensus & Validation
Consensus and validation are essential components of Cortensor's decentralized AI network, ensuring the accuracy, reliability, and integrity of AI inference tasks. This section outlines the mechanisms and processes that enable effective consensus and validation within the Cortensor ecosystem.
Overview
Cortensor employs robust consensus mechanisms and comprehensive validation processes to maintain trust and reliability in the network. These mechanisms ensure that AI inference results are accurate, tasks are completed efficiently, and malicious activities are minimized.
Key Mechanisms
Proof of Inference (PoI) / Proof of Useful Work (PoUW):
A consensus mechanism that validates the completion and accuracy of AI inference tasks.
Ensures that the work performed by miner nodes is useful and meets the required standards.
Validation Nodes:
Specific nodes responsible for verifying the accuracy of inference results.
Conduct semantic checks, embedding comparisons, and checksum verifications to ensure result integrity.
Reputation and Scoring:
Nodes build a reputation based on their performance in task execution and validation.
Higher reputation scores increase the likelihood of receiving more tasks and rewards.
Encrypted Communication:
All data transmission within the network is encrypted to ensure privacy and integrity.
Ensures secure communication between nodes during the validation process.
Validation Process
Result Submission:
Miner nodes submit inference results through encrypted channels.
Results are initially aggregated and verified by router nodes.
Validation Checks:
Validation nodes perform a series of checks to verify the accuracy of the results.
Methods include semantic checks to ensure logical consistency, embedding comparisons to check for similarity, and checksum verifications to confirm data integrity.
Consensus Formation:
Multiple validation nodes must agree on the accuracy of the results for consensus to be reached.
This decentralized approach ensures that no single node can manipulate the outcome.
Reputation Updates:
Nodes' reputations are updated based on their performance in the validation process.
Accurate and timely validations improve a node’s reputation, while incorrect validations can reduce it.
Security Measures
Staking and Incentives:
Nodes stake tokens to participate in the network, ensuring their commitment and reducing the risk of malicious behavior.
Incentives are distributed based on performance, encouraging high-quality contributions.
Fault Tolerance:
Implements fault-tolerant mechanisms to handle node failures and ensure continuous network operation.
Ensures that consensus and validation processes are not disrupted by individual node issues.
Last updated