Cortensor
  • Home
  • Abstract
    • Value Proposition
    • Whitepaper
      • Page 1: Introduction and Vision
      • Page 2: Architecture and Technical Overview
      • Page 3: Incentive Structure and Tokenomics
      • Page4: Development Roadmap and Phases
      • Page5: Summary
  • Introduction
    • What is Cortensor?
    • Key Features & Benefits
    • Vision & Mission
  • Getting Started
    • Quick Start Guide
    • System Requirements
    • Installation & Setup
      • Getting Test ETH
      • Setup Own RPC Endpoint
      • Router Node Setup
        • Router API Reference
  • Core Concepts
    • Decentralized AI Inference
      • Community-Powered Network
      • Gamification and Quality Control
      • Incentive Structure
    • Universal AI Accessibility
    • Multi-layer Blockchain Architecture
  • Technical Architecture
    • Design Principles
    • Node Roles
    • Node Lifecycle
      • Ephemeral Node State
    • Node Reputation
    • Network & Flow
    • Type of Services
    • Coordination & Orchestration
      • Multi-Oracle Node Reliability & Leadership Rotation
    • AI Inference
      • Open Source Models
        • Centralized vs Decentralized Models
      • Quantization
      • Performance and Scalability
    • Consensus & Validation
      • Proof of Inference (PoI) & Proof of Useful Work (PoUW
      • aka Mining
      • Proof of Useful Work (PoUW)
      • Proof of Useful Work (PoUW) State Machine
        • Miner & Oracle Nodes in PoUW State Machine
      • Sampling in Large Distributed Systems
      • Parallel Processing
      • Embedding Vector Distance
    • Multi-Layered Blockchain Architecture
    • Modular Architecture and Smart Contract Interactions
      • Session Queue
      • Node Pool
      • Session Payment
    • Mining Overview
    • User Interaction & Node Communication
      • Session, Session Queue, Router, and Miner in Cortensor
    • Data Management
      • IPFS Integration
    • Security & Privacy
    • Dashboard
    • Development Previews
      • Multiple Miners Collaboration with Oracle Node
      • Web3 SDK Client & Session/Session Queue Interaction
    • Technical Threads
      • AI Agents and Cortensor's Decentralized AI Inference
    • Infographic Archive
  • Community & Ecosystem
    • Tokenomics
      • Network Incentive Allocation
      • Token Allocations & Safe Wallet Management
    • Staking Pool Overview
    • Contributing to Cortensor
    • Incentives & Reward System
    • Governance & Compliance
    • Safety Measures and Restricted Addresses
    • Buyback Program
    • Liquidity Additions
    • Partnerships
      • Partnership Offering for Demand-Side Partnerships
    • Community Testing
      • Closed Alpha Testing Phase #1
        • Closed Alpha Testing Phase #1 Contest: Closing & Winners Announcement
      • Closed Alpha Testing Phase #2
      • Closed Alpha Testing Phase #3
      • Discord Roles & Mainnet Privileges
      • DevNet Mapping
      • DevNet Modules & Parameters
    • Jobs
      • Technical Writer
      • Communication & Social Media Manager
      • Web3 Frontend Developer
      • Distributed Systems Engineer
  • Integration Guide
    • Web2
      • REST API
      • WebSocket
      • Client SDK
    • Web3
      • Web3 SDK
  • Use Cases
  • Roadmap
    • Technical Roadmap: Launch to Next 365 Days Breakdown
    • Long-term Vision: Beyond Inference
  • Glossary
  • Legal
    • Terms of Use
    • Privacy Policy
    • Disclaimer
    • Agreement for Sale of Tokens
Powered by GitBook
On this page
  • How PoUW Works
  • How PoUW Differs from PoI
  • Efficient Sampling for Validation
  • Relation to Other Modules
  • Key Benefits of PoUW
  • Future Enhancements
  1. Technical Architecture
  2. Consensus & Validation

Proof of Useful Work (PoUW)

Proof of Useful Work (PoUW) serves as a cornerstone validation mechanism in the Cortensor network. While Proof of Inference (PoI) focuses on embedding vector distances to ensure consistency and reliability of AI outputs, PoUW evaluates the quality, relevance, and correctness of results through pre-defined prompts and templates. Together, these complementary systems ensure a robust decentralized framework for validating tasks and outputs.


How PoUW Works

  1. Task Submission Users submit tasks to the network, and miners generate AI inference outputs based on the requirements. These outputs are evaluated using model-specific prompts to verify their quality and adherence to the task specifications.

  2. Validation by Validators

    • Prompt-Based Assessment: Validators use pre-defined prompts and templates tailored to specific tasks or models. These prompts are designed to assess key metrics such as relevance, accuracy, and usefulness.

    • Scoring: Validators assign scores to outputs, typically on a numerical scale (e.g., 1-10), based on task-specific criteria provided in the prompts.

    • Collaborative Validation: Validators pool their scores, cross-referencing results to achieve a consensus on the quality and validity of outputs. This collaborative approach mitigates individual bias and ensures fairness.

  3. Integration with NodeReputation Validator scores are fed into the NodeReputation system, influencing miner rankings and incentivizing consistent performance. Reliable miners are rewarded, while those producing subpar outputs see a decline in their reputation scores.


How PoUW Differs from PoI

  • PoUW: Focuses on output validation through task-specific prompts and templates, ensuring the relevance and quality of the task completion. Validators actively use models to perform evaluations.

  • PoI: Primarily measures embedding vector distances between outputs from different nodes. This process ensures consistency and reliability when the same input is processed across multiple nodes, identifying variations and confirming results.

Together, PoUW and PoI form a robust dual-layer validation mechanism:

  • PoI ensures output consistency across decentralized nodes.

  • PoUW ensures output relevance and quality using task-specific evaluations.


Efficient Sampling for Validation

To maintain scalability, the Cortensor network employs task sampling:

  • Only a subset of tasks is selected for validation.

  • Validators focus on these tasks to balance efficiency with thoroughness.

  • Sampling ensures the network can scale while maintaining high validation accuracy.


Relation to Other Modules

  • NodeStats: Captures validation performance, integrating it into long-term metrics for miner and validator behavior.

  • Cognitive Module: Oversees mining processes and validation orchestration, ensuring the system aligns with PoUW and PoI standards.

  • Session Module: Manages user task submissions and validation outcomes, providing seamless integration for miners, validators, and users.


Key Benefits of PoUW

  • Task-Specific Validation: Pre-defined prompts ensure outputs align with task requirements.

  • Decentralized Trust: Validators operate independently to provide unbiased evaluations.

  • Scalability: Sampling ensures efficient validation without compromising quality.

  • Fair Rewards: Integration with NodeReputation incentivizes meaningful contributions and reliable outputs.


Future Enhancements

  • Dynamic Prompt Systems: Expanding templates for more complex and diverse AI tasks.

  • Enhanced Validator Incentives: Rewarding accuracy and consistency in validation efforts.

  • Real-Time Feedback: Providing immediate insights into validation processes for users and miners.

Previousaka MiningNextProof of Useful Work (PoUW) State Machine

Last updated 3 months ago

For more details, refer to the .

Sampling in Large Distributed Systems Documentation