christopi commited on
Commit Β·
8a6ea2f
1
Parent(s): 14ee3f4
docs: update incentive mechanism
Browse files- docs/images/graph3.png +3 -0
- docs/images/graph4.png +3 -0
- docs/incentive_mechanism.md +436 -50
docs/images/graph3.png
ADDED
|
Git LFS Details
|
docs/images/graph4.png
ADDED
|
Git LFS Details
|
docs/incentive_mechanism.md
CHANGED
|
@@ -1,88 +1,474 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
---
|
| 6 |
|
| 7 |
-
##
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
-
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
-
Validators use the **harmonic mean** of the VMAF scores across all frames to emphasize the impact of poor-quality frames. This approach ensures that even a single poorly processed frame has a significant effect on the overall score, thereby discouraging miners from neglecting quality in any part of the video.
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
###
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
- `n`: Total number of frames in the video
|
| 24 |
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
|
|
|
|
|
|
|
|
|
| 27 |
```
|
| 28 |
H = n / (1/S_1 + 1/S_2 + ... + 1/S_n)
|
| 29 |
```
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
---
|
| 35 |
|
| 36 |
### PIE-APP (Perceptual Image-Error Assessment through Pairwise Preference)
|
| 37 |
|
| 38 |
-
PIE-APP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
|
|
|
|
|
| 1 |
+
# VIDAIO Subnet Validation & Incentive Mechanism
|
| 2 |
|
| 3 |
+
## Table of Contents
|
| 4 |
+
- [Overview](#overview)
|
| 5 |
+
- [Validation Metrics](#validation-metrics)
|
| 6 |
+
- [VMAF (Video Multi-Method Assessment Fusion)](#vmaf-video-multi-method-assessment-fusion)
|
| 7 |
+
- [PIE-APP (Perceptual Image-Error Assessment)](#pie-app-perceptual-image-error-assessment-through-pairwise-preference)
|
| 8 |
+
- [Score Integration](#combining-vmaf-and-pie-app-scores)
|
| 9 |
+
- [Scoring System](#scoring-system)
|
| 10 |
+
- [Content Length Scoring](#content-length-score-calculation)
|
| 11 |
+
- [Final Score Calculation](#final-score-calculation)
|
| 12 |
+
- [Penalty & Bonus System](#penalty--bonus-system)
|
| 13 |
+
- [Implementation Guidelines](#implementation-notes)
|
| 14 |
+
- [Technical Specifications](#technical-specifications)
|
| 15 |
+
- [Mathematical Properties](#mathematical-properties)
|
| 16 |
|
| 17 |
---
|
| 18 |
|
| 19 |
+
## Overview
|
| 20 |
|
| 21 |
+
The VIDAIO subnet validation mechanism ensures quality and reliability of miners' contributions through a comprehensive dual-metric assessment system. This mechanism evaluates video processing performance using **VMAF** and **PIE-APP** metrics, combined with an advanced scoring system that rewards consistency and penalizes poor performance.
|
| 22 |
|
| 23 |
+
**Key Features:**
|
| 24 |
+
- π― **Dual-metric validation** using industry-standard VMAF and PIE-APP
|
| 25 |
+
- π **Dynamic content length processing** (5s to 320s capability)
|
| 26 |
+
- π **Performance-based incentive system** with exponential rewards
|
| 27 |
+
- π **Historical performance tracking** with rolling 10-round windows
|
| 28 |
+
- βοΈ **Balanced penalty/bonus multipliers** encouraging sustained excellence
|
| 29 |
|
| 30 |
+
---
|
|
|
|
| 31 |
|
| 32 |
+
## Upscaling Quality Validation Metrics
|
| 33 |
|
| 34 |
+
### VMAF (Video Multi-Method Assessment Fusion)
|
| 35 |
+
|
| 36 |
+
VMAF serves as the foundational video quality assessment metric, comparing frame-by-frame quality between original and processed videos. This metric provides objective measurement of subjective video quality as perceived by humans.
|
|
|
|
| 37 |
|
| 38 |
+
#### Key Characteristics
|
| 39 |
+
- **Purpose**: Frame-by-frame quality comparison
|
| 40 |
+
- **Range**: 0-100 (higher values indicate better quality)
|
| 41 |
+
- **Usage**: Threshold validation for upscaling verification
|
| 42 |
+
- **Industry Standard**: Widely adopted in professional video processing
|
| 43 |
|
| 44 |
+
#### Mathematical Implementation
|
| 45 |
+
|
| 46 |
+
**Harmonic Mean Calculation:**
|
| 47 |
```
|
| 48 |
H = n / (1/S_1 + 1/S_2 + ... + 1/S_n)
|
| 49 |
```
|
| 50 |
|
| 51 |
+
**Where:**
|
| 52 |
+
- `S_i`: VMAF score for frame `i` (i = 1, 2, ..., n)
|
| 53 |
+
- `n`: Total number of frames in the video
|
| 54 |
+
- `H`: Harmonic mean emphasizing poor-quality frame impact
|
| 55 |
+
|
| 56 |
+
#### Why Harmonic Mean?
|
| 57 |
+
|
| 58 |
+
The harmonic mean approach provides several critical advantages:
|
| 59 |
+
|
| 60 |
+
| Advantage | Description | Impact |
|
| 61 |
+
|-----------|-------------|---------|
|
| 62 |
+
| **Sensitivity to Low Values** | Heavily penalizes poor-quality frames | Ensures consistent quality |
|
| 63 |
+
| **Quality Consistency** | Prevents miners from neglecting frame quality | Maintains processing standards |
|
| 64 |
+
| **Threshold Function** | Validates authentic upscaling processes | Prevents gaming attempts |
|
| 65 |
+
|
| 66 |
+
> **Note**: VMAF scores are used exclusively for threshold validation to verify that processed videos are genuine upscaled versions of original content. We take 5 random frames for vmaf score calculation
|
| 67 |
|
| 68 |
---
|
| 69 |
|
| 70 |
### PIE-APP (Perceptual Image-Error Assessment through Pairwise Preference)
|
| 71 |
|
| 72 |
+
PIE-APP provides deep learning-based perceptual similarity assessment between original and processed video frames, serving as the primary quality scoring mechanism.
|
| 73 |
+
|
| 74 |
+
#### Technical Specifications
|
| 75 |
+
|
| 76 |
+
| Parameter | Value | Description |
|
| 77 |
+
|-----------|-------|-------------|
|
| 78 |
+
| **Scale Range** | (-β, β) | Theoretical range |
|
| 79 |
+
| **Practical Range** | 0 to 5+ | Positive values (lower = better) |
|
| 80 |
+
| **Processing Interval** | Every frame | Default frame sampling rate |
|
| 81 |
+
| **Implementation** | Deep learning-based | Advanced perceptual assessment |
|
| 82 |
+
|
| 83 |
+
#### Calculation Process
|
| 84 |
+
|
| 85 |
+
**Step 1: Raw PIE-APP Score**
|
| 86 |
+
```
|
| 87 |
+
PIE-APP_score = (Ξ£ abs(d(F_i, F'_i))) / n
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
**Where:**
|
| 91 |
+
- `F_i`: Frame `i` from original video
|
| 92 |
+
- `F'_i`: Corresponding frame `i` from processed video
|
| 93 |
+
- `d(F_i, F'_i)`: Perceptual difference between frames
|
| 94 |
+
- `n`: Number of processed frames
|
| 95 |
+
|
| 96 |
+
**Step 2: Score Normalization**
|
| 97 |
+
```
|
| 98 |
+
1. Cap values: max(Average_PIE-APP, 2.0)
|
| 99 |
+
2. Sigmoid normalization: normalized_score = 1/(1+exp(-Average_PIE-APP))
|
| 100 |
+
3. Final transformation: Convert "lower is better" to "higher is better" (0-1 range)
|
| 101 |
+
4. We take 4 random frames for comparison
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
#### Visual Score Transformation
|
| 105 |
+
|
| 106 |
+
The PIE-APP scoring system uses sophisticated mathematical transformations:
|
| 107 |
+
|
| 108 |
+
- *Sigmoid normalization function for PIE-APP scores*
|
| 109 |
+
!<img src="./images/graph2.png" alt="Sigmoid Function" width="1200" height="800">
|
| 110 |
+
|
| 111 |
+
- *Final score transformation converting to 0-1 range*
|
| 112 |
+
!<img src="./images/graph1.png" alt="Final Score Function" width="1200" height="800">
|
| 113 |
+
|
| 114 |
+
---
|
| 115 |
+
|
| 116 |
+
### Combining VMAF and PIE-APP Scores
|
| 117 |
+
|
| 118 |
+
The validation system integrates both metrics with distinct roles:
|
| 119 |
+
|
| 120 |
+
| Metric | Range | Primary Function | Usage |
|
| 121 |
+
|--------|-------|------------------|-------|
|
| 122 |
+
| **VMAF** | 0-100 | Threshold validation | Upscaling verification |
|
| 123 |
+
| **PIE-APP** | 0-1 (final) | Quality scoring | Performance evaluation |
|
| 124 |
+
|
| 125 |
+
```
|
| 126 |
+
Final Quality Score S_Q = PIE-APP Final Score
|
| 127 |
+
(VMAF serves as threshold validation only)
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
---
|
| 131 |
+
|
| 132 |
+
## Combination between Quality score and Content Length score
|
| 133 |
+
|
| 134 |
+
### Content Length Score Calculation
|
| 135 |
+
|
| 136 |
+
#### Dynamic Content Length Requests
|
| 137 |
+
|
| 138 |
+
Miners actively request content processing durations within 60-second evaluation windows, enabling optimized resource allocation and performance assessment.
|
| 139 |
+
|
| 140 |
+
#### Available Processing Durations
|
| 141 |
+
|
| 142 |
+
| Duration | Status | Availability |
|
| 143 |
+
|----------|--------|--------------|
|
| 144 |
+
| 5s | β
Default | Currently Available |
|
| 145 |
+
| 10s | β
Available | Currently Available |
|
| 146 |
+
| 20s | β
Available | Currently Available |
|
| 147 |
+
| 40s | β
Available | Currently Available |
|
| 148 |
+
| 80s | π Coming Soon | Future Release |
|
| 149 |
+
| 160s | π Coming Soon | Future Release |
|
| 150 |
+
| 320s | π Coming Soon | Future Release |
|
| 151 |
+
|
| 152 |
+
> **Current Limitation**: Processing durations up to 40 seconds are currently supported.
|
| 153 |
+
|
| 154 |
+
#### Length Score Mathematical Model
|
| 155 |
+
|
| 156 |
+
**Formula:**
|
| 157 |
+
```
|
| 158 |
+
S_L = log(1 + content_length) / log(1 + 320)
|
| 159 |
+
```
|
| 160 |
+
|
| 161 |
+
**Parameters:**
|
| 162 |
+
- `content_length`: Processing duration in seconds
|
| 163 |
+
- `S_L`: Normalized length score (0 to 1)
|
| 164 |
+
|
| 165 |
+
#### Performance Analysis Table
|
| 166 |
+
|
| 167 |
+
| Duration (s) | S_L Score | Percentage | Improvement | Performance Tier |
|
| 168 |
+
|--------------|-----------|------------|-------------|------------------|
|
| 169 |
+
| 5 | 0.3105 | 31.05% | Baseline | Default |
|
| 170 |
+
| 10 | 0.4155 | 41.55% | +33% | Significant Gain |
|
| 171 |
+
| 20 | 0.5275 | 52.75% | +27% | Strong Performance |
|
| 172 |
+
| 40 | 0.6434 | 64.34% | +22% | High Capability |
|
| 173 |
+
| 80 | 0.7614 | 76.14% | +18% | Advanced Processing |
|
| 174 |
+
| 160 | 0.8804 | 88.04% | +16% | Expert Level |
|
| 175 |
+
| 320 | 1.0000 | 100.00% | +14% | Maximum Score |
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
#### Logarithmic Scaling Benefits
|
| 179 |
+
|
| 180 |
+
| Benefit | Description | Impact |
|
| 181 |
+
|---------|-------------|---------|
|
| 182 |
+
| **Fair Distribution** | Balanced scoring across duration ranges | Equitable competition |
|
| 183 |
+
| **Diminishing Returns** | Reduced gains for extreme durations | Prevents over-optimization |
|
| 184 |
+
| **Normalized Output** | Consistent 0-1 scoring range | Standardized evaluation |
|
| 185 |
+
| **Capacity Recognition** | Rewards longer processing capabilities | Incentivizes advancement |
|
| 186 |
+
|
| 187 |
+
**Strategic Insights:**
|
| 188 |
+
- **Optimal Entry Point**: 10s processing provides largest relative improvement (+33%)
|
| 189 |
+
- **Scaling Pattern**: Each duration doubling yields progressively smaller benefits
|
| 190 |
+
- **Maximum Achievement**: 320s processing represents theoretical performance ceiling
|
| 191 |
+
|
| 192 |
+
---
|
| 193 |
+
|
| 194 |
+
### Final Score Calculation
|
| 195 |
+
|
| 196 |
+
#### Score Component Architecture
|
| 197 |
+
|
| 198 |
+
The comprehensive scoring system integrates two fundamental metrics:
|
| 199 |
+
|
| 200 |
+
| Component | Symbol | Description | Weight |
|
| 201 |
+
|-----------|--------|-------------|--------|
|
| 202 |
+
| **Quality Score** | S_Q | Processing accuracy and output quality | W1 = 0.5 |
|
| 203 |
+
| **Length Score** | S_L | Content processing capacity | W2 = 0.5 |
|
| 204 |
+
|
| 205 |
+
#### Preliminary Score Calculation
|
| 206 |
+
|
| 207 |
+
**Formula:**
|
| 208 |
+
```
|
| 209 |
+
S_pre = S_Q Γ W1 + S_L Γ W2
|
| 210 |
+
```
|
| 211 |
+
|
| 212 |
+
**Current Configuration:**
|
| 213 |
+
- `W1 = 0.5` (Quality weight)
|
| 214 |
+
- `W2 = 0.5` (Length weight)
|
| 215 |
+
|
| 216 |
+
> **Dynamic Adjustment**: Weights are continuously optimized based on real-world performance data and network requirements.
|
| 217 |
+
|
| 218 |
+
#### Final Score Transformation
|
| 219 |
+
|
| 220 |
+
The preliminary score undergoes exponential transformation for enhanced performance differentiation:
|
| 221 |
+
|
| 222 |
+
**Formula:**
|
| 223 |
+
```
|
| 224 |
+
S_F = 0.1 Γ e^(6.979 Γ (S_pre - 0.5))
|
| 225 |
+
```
|
| 226 |
+
|
| 227 |
+
**Parameters:**
|
| 228 |
+
- `S_F`: Final score
|
| 229 |
+
- `S_pre`: Preliminary combined score
|
| 230 |
+
- `e`: Euler's number (β2.718)
|
| 231 |
|
| 232 |
+
#### Performance Tier Analysis
|
| 233 |
+
|
| 234 |
+
| S_pre | S_F Score | Multiplier | Performance Tier | Reward Category |
|
| 235 |
+
|-------|-----------|------------|------------------|-----------------|
|
| 236 |
+
| 0.30 | 0.0248 | 0.25Γ | Poor Performance | Significant Penalty |
|
| 237 |
+
| 0.36 | 0.0376 | 0.38Γ | Below Average | Moderate Penalty |
|
| 238 |
+
| 0.42 | 0.0572 | 0.57Γ | Low Average | Minor Penalty |
|
| 239 |
+
| 0.48 | 0.0870 | 0.87Γ | Near Average | Slight Penalty |
|
| 240 |
+
| 0.54 | 0.1322 | 1.32Γ | Above Average | Moderate Reward |
|
| 241 |
+
| 0.60 | 0.2010 | 2.01Γ | Good Performance | Strong Reward |
|
| 242 |
+
| 0.66 | 0.3055 | 3.05Γ | High Performance | Major Reward |
|
| 243 |
+
| 0.72 | 0.4643 | 4.64Γ | Very High Performance | Excellent Reward |
|
| 244 |
+
| 0.78 | 0.7058 | 7.06Γ | Excellent Performance | Outstanding Reward |
|
| 245 |
+
| 0.84 | 1.0728 | 10.73Γ | Outstanding Performance | Elite Reward |
|
| 246 |
+
| 0.90 | 1.6307 | 16.31Γ | Elite Performance | Maximum Reward |
|
| 247 |
+
|
| 248 |
+
#### Exponential Function Characteristics
|
| 249 |
+
|
| 250 |
+
**System Benefits:**
|
| 251 |
+
| Feature | Description | Strategic Impact |
|
| 252 |
+
|---------|-------------|------------------|
|
| 253 |
+
| **Enhanced Differentiation** | Clear performance tier separation | Competitive advantage clarity |
|
| 254 |
+
| **Reward Amplification** | 16Γ multiplier difference (top vs bottom) | Strong performance incentives |
|
| 255 |
+
| **Competitive Optimization** | Non-linear improvement rewards | Encourages continuous advancement |
|
| 256 |
+
| **Exponential Scaling** | Small S_pre gains yield large S_F improvements | High-performance focus |
|
| 257 |
+
|
| 258 |
+
**Strategic Performance Guidelines:**
|
| 259 |
+
- **Minimum Target**: Achieve S_pre > 0.6 for meaningful reward activation
|
| 260 |
+
- **Optimization Focus**: Exponential curve creates powerful excellence incentives
|
| 261 |
+
- **High-Performance Strategy**: Small quality improvements at elevated levels yield disproportionate benefits
|
| 262 |
+
|
| 263 |
+
#### Graph analysis
|
| 264 |
+
|
| 265 |
+
!<img src="./images/graph3.png" alt="Length Score Analysis" width="1200" height="1000">
|
| 266 |
|
| 267 |
---
|
| 268 |
|
| 269 |
+
### Penalty & Bonus System
|
| 270 |
+
|
| 271 |
+
#### Historical Performance Multiplier Architecture
|
| 272 |
|
| 273 |
+
The advanced scoring system incorporates a **rolling 10-round historical performance window** to evaluate consistency patterns and apply dynamic multipliers based on sustained performance trends.
|
| 274 |
+
|
| 275 |
+
#### System Formula
|
| 276 |
|
| 277 |
```
|
| 278 |
+
Final Adjusted Score = S_F Γ Performance Multiplier
|
| 279 |
+
Performance Multiplier = Bonus Multiplier Γ S_F Penalty Γ S_Q Penalty
|
| 280 |
```
|
| 281 |
|
| 282 |
---
|
| 283 |
|
| 284 |
+
#### Bonus System (Excellence Rewards)
|
| 285 |
+
|
| 286 |
+
**Activation Criteria:** `S_F > 0.77` in mining round
|
| 287 |
|
| 288 |
+
**Mathematical Model:**
|
| 289 |
+
```python
|
| 290 |
+
bonus_multiplier = 1.0 + (bonus_count / 10) Γ 0.15
|
| 291 |
+
```
|
| 292 |
+
|
| 293 |
+
**System Characteristics:**
|
| 294 |
+
| Parameter | Value | Description |
|
| 295 |
+
|-----------|-------|-------------|
|
| 296 |
+
| **Maximum Bonus** | +15% | All 10 rounds achieve S_F > 0.77 |
|
| 297 |
+
| **Scaling Method** | Linear | Based on consistency frequency |
|
| 298 |
+
| **Primary Purpose** | Sustained excellence reward | Long-term performance incentive |
|
| 299 |
|
| 300 |
+
**Example Calculation:** 7/10 rounds with S_F > 0.77 β 1.105Γ multiplier (+10.5% bonus)
|
| 301 |
|
| 302 |
---
|
| 303 |
|
| 304 |
+
#### S_F Penalty System (Performance Penalties)
|
| 305 |
+
|
| 306 |
+
**Activation Criteria:** `S_F < 0.45` in mining round
|
| 307 |
+
|
| 308 |
+
**Mathematical Model:**
|
| 309 |
+
```python
|
| 310 |
+
penalty_f_multiplier = 1.0 - (penalty_f_count / 10) Γ 0.20
|
| 311 |
+
```
|
| 312 |
+
|
| 313 |
+
**System Characteristics:**
|
| 314 |
+
| Parameter | Value | Description |
|
| 315 |
+
|-----------|-------|-------------|
|
| 316 |
+
| **Maximum Penalty** | -20% | All 10 rounds achieve S_F < 0.45 |
|
| 317 |
+
| **Scaling Method** | Linear | Based on poor performance frequency |
|
| 318 |
+
| **Primary Purpose** | Performance consistency enforcement | Discourages sustained poor results |
|
| 319 |
+
|
| 320 |
+
**Example Calculation:** 4/10 rounds with S_F < 0.45 β 0.92Γ multiplier (-8% penalty)
|
| 321 |
+
|
| 322 |
+
---
|
| 323 |
+
|
| 324 |
+
#### S_Q Penalty System (Quality Penalties)
|
| 325 |
+
|
| 326 |
+
**Activation Criteria:** `S_Q < 0.5` in mining round
|
| 327 |
+
|
| 328 |
+
**Mathematical Model:**
|
| 329 |
+
```python
|
| 330 |
+
penalty_q_multiplier = 1.0 - (penalty_q_count / 10) Γ 0.25
|
| 331 |
+
```
|
| 332 |
+
|
| 333 |
+
**System Characteristics:**
|
| 334 |
+
| Parameter | Value | Description |
|
| 335 |
+
|-----------|-------|-------------|
|
| 336 |
+
| **Maximum Penalty** | -25% | All 10 rounds achieve S_Q < 0.5 |
|
| 337 |
+
| **Scaling Method** | Linear | Based on quality failure frequency |
|
| 338 |
+
| **Primary Purpose** | Quality standard enforcement | Strongest penalty (quality is critical) |
|
| 339 |
+
|
| 340 |
+
**Example Calculation:** 3/10 rounds with S_Q < 0.5 β 0.925Γ multiplier (-7.5% penalty)
|
| 341 |
+
|
| 342 |
+
---
|
| 343 |
+
|
| 344 |
+
#### Performance Multiplier Case Studies
|
| 345 |
+
|
| 346 |
+
| Miner Category | Avg S_F | Avg S_Q | Bonus Rate | S_F Penalty | S_Q Penalty | **Final Multiplier** | **Net Effect** |
|
| 347 |
+
|----------------|---------|---------|------------|-------------|-------------|---------------------|----------------|
|
| 348 |
+
| **Elite Miner** | 0.854 | 0.717 | 10/10 | 0/10 | 0/10 | **1.150Γ** | **+15.0%** |
|
| 349 |
+
| **Good Miner** | 0.653 | 0.571 | 0/10 | 0/10 | 0/10 | **1.000Γ** | **Β±0.0%** |
|
| 350 |
+
| **Average Miner** | 0.511 | 0.505 | 0/10 | 0/10 | 3/10 | **0.925Γ** | **-7.5%** |
|
| 351 |
+
| **Poor Miner** | 0.311 | 0.411 | 0/10 | 10/10 | 10/10 | **0.600Γ** | **-40.0%** |
|
| 352 |
+
|
| 353 |
+
#### Penalty Analysis
|
| 354 |
+
|
| 355 |
+
!<img src="./images/graph4.png" alt="Length Score Analysis" width="1200" height="800">
|
| 356 |
+
|
| 357 |
+
|
| 358 |
+
---
|
| 359 |
+
|
| 360 |
+
#### System Benefits & Strategic Impact
|
| 361 |
+
|
| 362 |
+
**Core System Benefits:**
|
| 363 |
|
| 364 |
+
| Benefit | Description | Strategic Impact |
|
| 365 |
+
|---------|-------------|------------------|
|
| 366 |
+
| π― **Consistency Rewards** | Elite miners maintain sustained +15% bonus | Long-term competitive advantage |
|
| 367 |
+
| β‘ **Responsive Penalties** | Poor performance accumulates immediate penalties | Rapid feedback mechanism |
|
| 368 |
+
| π **Recovery Incentive** | Miners can improve multipliers over 10 rounds | Encourages continuous improvement |
|
| 369 |
+
| βοΈ **Balanced Impact** | Quality penalties are strongest (-25% max) | Emphasizes quality importance |
|
| 370 |
+
| π **Progressive Scaling** | Linear scaling prevents extreme swings | Maintains system stability |
|
| 371 |
+
|
| 372 |
+
---
|
| 373 |
+
|
| 374 |
+
## Implementation Notes
|
| 375 |
+
|
| 376 |
+
### Performance Monitoring
|
| 377 |
+
|
| 378 |
+
**Real-time Operations:**
|
| 379 |
+
- β
Scores calculated in real-time during mining operations
|
| 380 |
+
- β
Historical performance data maintained for trend analysis and multiplier calculation
|
| 381 |
+
- β
Weight adjustments implemented based on network-wide performance metrics
|
| 382 |
+
- β
Performance multipliers updated after each mining round
|
| 383 |
+
|
| 384 |
+
### Scoring Strategy Recommendations
|
| 385 |
+
|
| 386 |
+
**Performance-Based Guidelines:**
|
| 387 |
+
|
| 388 |
+
| Miner Category | Primary Focus | Strategic Recommendations |
|
| 389 |
+
|----------------|---------------|---------------------------|
|
| 390 |
+
| **New Miners** | Foundation Building | Focus on achieving consistent S_pre > 0.5 before optimizing for length |
|
| 391 |
+
| **Established Miners** | Quality Optimization | Prioritize quality improvements when S_pre > 0.6 to avoid S_Q penalties |
|
| 392 |
+
| **Elite Miners** | Consistency Maintenance | Maintain consistency above S_F > 0.77 to secure maximum bonus multipliers |
|
| 393 |
+
| **Recovery Phase** | Systematic Improvement | Focus on quality (S_Q > 0.5) first, then performance (S_F > 0.45) to restore multipliers |
|
| 394 |
+
|
| 395 |
+
### Future Enhancement Roadmap
|
| 396 |
+
|
| 397 |
+
**Planned Developments:**
|
| 398 |
+
|
| 399 |
+
- [ ] **Extended Content Length Support** - Processing durations up to 320s
|
| 400 |
+
- [ ] **Dynamic Weight Adjustment Algorithms** - Automated optimization based on network performance
|
| 401 |
+
- [ ] **Advanced Quality Metrics Integration** - Additional assessment parameters
|
| 402 |
+
- [ ] **Multi-dimensional Scoring Parameters** - Enhanced evaluation criteria
|
| 403 |
+
- [ ] **Adaptive Difficulty Scaling** - Network performance-based adjustments
|
| 404 |
+
- [ ] **Advanced Penalty/Bonus Optimization** - Network-wide performance distribution analysis
|
| 405 |
+
- [ ] **Seasonal Performance Multiplier Adjustments** - Time-based optimization cycles
|
| 406 |
+
|
| 407 |
+
---
|
| 408 |
+
|
| 409 |
+
## Technical Specifications
|
| 410 |
+
|
| 411 |
+
### Core System Parameters
|
| 412 |
+
|
| 413 |
+
| Parameter | Current Value | Configurable Range | Implementation Notes |
|
| 414 |
+
|-----------|---------------|-------------------|---------------------|
|
| 415 |
+
| **Default Content Length** | 5s | 5s - 40s | Actively configurable by miners |
|
| 416 |
+
| **Quality Weight (W1)** | 0.5 | 0.0 - 1.0 | Dynamically adjusted based on network data |
|
| 417 |
+
| **Length Weight (W2)** | 0.5 | 0.0 - 1.0 | Dynamically adjusted based on network data |
|
| 418 |
+
| **Exponential Coefficient** | 6.979 | Fixed | Dynamically adjusted based on network data |
|
| 419 |
+
| **Score Transformation Base** | 0.1 | Fixed | Baseline multiplier constant |
|
| 420 |
+
|
| 421 |
+
### Performance Multiplier System Parameters
|
| 422 |
+
|
| 423 |
+
| Parameter | Current Value | Configurable Range | System Impact |
|
| 424 |
+
|-----------|---------------|-------------------|---------------|
|
| 425 |
+
| **Performance History Window** | 10 rounds | 5-20 rounds | Configurable for different network conditions |
|
| 426 |
+
| **Bonus Threshold** | S_F > 0.77 | 0.7-0.85 | Adjustable based on network performance |
|
| 427 |
+
| **S_F Penalty Threshold** | S_F < 0.45 | 0.3-0.5 | Adjustable based on network performance |
|
| 428 |
+
| **S_Q Penalty Threshold** | S_Q < 0.5 | 0.4-0.6 | Adjustable based on network performance |
|
| 429 |
+
| **Maximum Bonus** | +15% | 10%-20% | Scalable reward system |
|
| 430 |
+
| **Maximum S_F Penalty** | -20% | 15%-25% | Scalable penalty system |
|
| 431 |
+
| **Maximum S_Q Penalty** | -25% | 20%-30% | Strongest penalty for quality issues |
|
| 432 |
+
|
| 433 |
+
---
|
| 434 |
+
|
| 435 |
+
## Mathematical Properties
|
| 436 |
+
|
| 437 |
+
### Length Score Function Properties
|
| 438 |
+
|
| 439 |
+
**Mathematical Characteristics:**
|
| 440 |
+
- **Domain**: [5, 320] seconds
|
| 441 |
+
- **Range**: [0.3105, 1.0000]
|
| 442 |
+
- **Function Type**: Logarithmic (concave)
|
| 443 |
+
- **Growth Rate**: Decreasing marginal returns
|
| 444 |
+
- **Optimization Point**: Balanced between processing capability and diminishing returns
|
| 445 |
+
|
| 446 |
+
### Final Score Function Properties
|
| 447 |
+
|
| 448 |
+
**Mathematical Characteristics:**
|
| 449 |
+
- **Domain**: [0, 1] (S_pre values)
|
| 450 |
+
- **Range**: [0.0025, 40.43] (theoretical maximum)
|
| 451 |
+
- **Function Type**: Exponential (convex)
|
| 452 |
+
- **Critical Point**: S_pre = 0.5 (inflection point for reward/penalty)
|
| 453 |
+
- **Scaling Behavior**: Exponential amplification of performance differences
|
| 454 |
+
|
| 455 |
+
### Performance Multiplier Properties
|
| 456 |
+
|
| 457 |
+
**Mathematical Characteristics:**
|
| 458 |
+
- **Domain**: [0.55, 1.15] (practical operational range)
|
| 459 |
+
- **Function Type**: Linear combination of historical performance frequencies
|
| 460 |
+
- **Update Frequency**: After each mining round completion
|
| 461 |
+
- **Memory System**: Rolling 10-round window with automatic history management
|
| 462 |
+
- **Convergence**: Stabilizes after 10 rounds of consistent performance patterns
|
| 463 |
+
|
| 464 |
+
---
|
| 465 |
+
|
| 466 |
+
## Conclusion
|
| 467 |
+
|
| 468 |
+
The VIDAIO subnet validation and incentive mechanism represents a comprehensive, mathematically-grounded approach to ensuring high-quality video processing while maintaining fair competition and encouraging continuous improvement. Through the integration of industry-standard metrics (VMAF and PIE-APP), dynamic scoring systems, and sophisticated penalty/bonus mechanisms, the system creates a robust environment that rewards excellence and consistency while providing clear pathways for improvement.
|
| 469 |
+
|
| 470 |
+
These metrics together ensure that miners maintain high-quality video processing standards while meeting demands for fast and efficient processing, creating a sustainable and competitive ecosystem for video enhancement services.
|
| 471 |
+
|
| 472 |
+
---
|
| 473 |
|
| 474 |
+
*This documentation is continuously updated to reflect the latest scoring mechanisms, performance optimizations, and system enhancements.*
|