Yuma Consensus
Introduction
Yuma Consensus (YC) is a critical algorithmic process within Bittensor, which runs on-chain within Subtensor. Its responsibility is to compute validator and miner emissions from validators' rankings of miners' performances.
Each of a subnet's validators periodically submits a vector of weights ranking the value of the work of each miner they've evaluated. The YC algorithm resolves this matrix of rankings into two emissions vectors—one each for miners and validators. These emissions vectors allocate emissions over participants based on their performances.
The algorithm is designed to more heavily weight the inputs of more trusted validators, in order to ignore the portion of the validation signal that is less reliable. By disregarding unreliable weight-settings, YC incentivizes validators to be worthy of trust by working hard to give consistent, fast, honest evaluations of miners that predict the eventual convergence of other validators' evaluations. YC incentivizes miners to work hard for the highest combined evaluation by the community of validators.
See:
- How Yuma Consensus 3 Makes Bittensor More Fair
- Yuma Consensus 3 Migration Guide
- Emissions
- Subtensor Docs: Yuma Consensus
Clipping
Clipping is designed to punish innacurate miner evaluation, especially in patterns that could constitute collusion to manipulate the accuracy of consensus to favor certain miners.
To achieve this, the judgment of the most trusted validators (as measured by stake) serves as a benchmark. Weights that exceed this benchmark are clipped, meaning neither the miner nor the validator receives emissions for them.
This clipping protects against erroneous or collusive over-evaluation of miners by validators.
See how it's calculated
To compute the benchmark for miner and set of the subnet's validators, we gather all validator weights for any validator , sort them by validator’s stake , and then find the maximum weight level supported by at least a fraction of total stake.