Validator
Validators are responsible for evaluating the work submitted by training nodes. Similarly, validators have to stake before the evaluation tasks, and can be rewarded upon task completion. This is essential to maintaining the quality and reliability of the FLock network.
0. Overview: reward drivers for validators
The reward percentage for validator depends on:
how close the score is to the consensus among all the validators, measured by score variance (calculated off-chain)
amount the validator (and its delegators) staked
the number of submissions that the validator validated
Specifically, the reward distribution for validators follows a two-step calculation:
1. Reward distribution within a single AI Arena task
Similar to reward calculation for training nodes, the rewards for all validators in the same given AI Arena task is:
Here, we assume there are 𝑛 submissions (O1,...,On)from n training nodes with stakes (t1,...,tn), and 𝑚 validators (V1,...,Vm) with stakes (s1,...,sm). Each validator Vj(1≤j≤m) evaluates the n models submitted by the training nodes. The total daily reward allocated to a task is denoted as R0 and the parameter γ controls the split rewards, defining the balance between fixed and stake-dependent reward components.
2. Reward distribution for validators
The formula for a given validator’s daily return is calculated as such:
Consider a validator' stake in the task is sv and stakes delegated to validator is sd i.e. si=sv+ϵ⋅sd, in which ϵ refers to the effective delegation amount. Specifically, effective delegation amount adjusts how much of the delegated stake sd is actually counted (i.e., how “effective” it is) when computing validator's total stake si. When ϵ=1, then the delegated stake sd is counted fully—delegations are treated just like the training node’s own stake. When ϵ<1, then the delegated stake is “discounted,” so the validator only gets a fraction of sd when accounting for its total stake, and vice versa.
Specifically,
F refers to the performance of the validation, which is calculated through off-chain consensus
fi is the rewards for all validators
σ is the guaranteed validator return against delegators
Sv is the stake amount of this validator
Sd is the stake amount delegated to this validator
3. Example
Let’s assume daily total rewards for all AI Arena tasks for a given day is 309,157.68. We have 1 task with 2 nodes and 3 validators.
Nodes A and B stake 3,000 and 3,500 FLOCK respectively, while validators A, B and C stake 3,000, 6,000 and 3,000 respectively. Node A also receives an additional 1,000 FLOCK from its delegators, which brings the ti(total stake including delegated stake) to be 4,000 for Node A. For simplicity, we assume γ to be 0, and ϵ to be 1 in this example.
First, for this given task, total rewards for *all* validators are:
Then, if we assume validator A has a score of 0.472768, the the reward for * validator A only* is:
Last updated
Was this helpful?