-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from allora-network/kush/diederik-comments
first pass at diederiks comments
- Loading branch information
Showing
9 changed files
with
51 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
# Consensus: Reputers | ||
|
||
Reputers are rewarded based on their accuracy comparative to consensus (the other reputers providing data for a topic) and stake, with added functionality to prevent centralization of rewards caused by reputers with larger stakes. | ||
Reputers are rewarded based on their accuracy relative to consensus (formed by all reputers providing data for a topic) and stake, with added functionality to prevent centralization of rewards caused by reputers with larger stakes. | ||
|
||
## Problem: Runaway Centralization | ||
1. **Stake-Weighted Average:** | ||
- Reputers are actors who report on how accurate certain predictions or inferences are against the ground truth. | ||
- Normally, we might average the accuracy (or "losses") they report, but give more weight to reputers with bigger stakes (more reputation). | ||
- This means reputers with more stake have more influence on the consensus (agreed-upon truth). | ||
2. **Runaway Effect:** | ||
- The problem is that reputers with higher stakes get more rewards, which further increases their stakes. | ||
- The problem is that reputers with higher stakes will be closer to consensus, which they have more influence on, and get more rewards, which further increases their stakes. | ||
- This creates a cycle where the rich get richer, leading to centralization. A few reputers end up controlling most of the influence and rewards, which is unfair and unhealthy for the system. | ||
|
||
## Solution: Adjusted Stake | ||
1. **Adjusted Stake:** | ||
- To prevent runaway centralization, we adjust how much weight each reputer's stake has when setting the consensus. | ||
- Instead of using the full stake for weighting, we use an adjusted version that doesn’t let any one reputer dominate. | ||
2. **How It Works:** | ||
- The formula for adjusted stake ensures that if a reputer's stake goes above a certain level, it doesn’t keep increasing their weight. | ||
- The formula for adjusted stake ensures that if a reputer's stake goes above a certain level, it doesn’t keep increasing their weight in the consensus calculation. | ||
- It levels the playing field, so reputers with smaller stakes still have some influence. | ||
|
||
$$\hat{S}_{im} = \min \left( \frac{N_r a_{im} S_{im}}{\sum_m a_{im} S_{im}}, 1 \right)$$ | ||
|
||
Where: | ||
- $$Nr$$ is the number of reputers. | ||
- $$a_{im}$$ is a listening coefficient, which is a measure of how much the network considers each reputer's input, based on their past performance. | ||
- $$N_{r}$$ is the number of reputers. | ||
- $$a_{im}$$ is a listening coefficient, which is a measure of how much the network considers each reputer's input, and is optimized to maximize consensus among the reputers. | ||
- $$S_{im}$$ is the original stake. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# Allora Network Participants | ||
Allora Network participants can fulfill a variety of different roles after any of these participants have created a topic. A topic is registered on the Allora chain with a short rule set governing network interaction, including the loss function that needs to be optimized by the topic network. | ||
Allora Network participants can fulfill a variety of different roles after any of these participants have created a topic. | ||
A topic is registered on the Allora chain with a short rule set governing network interaction, including the loss function that needs to be optimized by the topic network. | ||
|
||
Allora Labs will contribute to the development of the network alongside other external code contributors. Allora Labs will also participate in the network as a worker by running models. Allora Labs will contribute as a sales/marketing service provider for Allora. | ||
Allora Labs will contribute to the development of the network alongside other external code contributors. Allora Labs will also participate in the network as a worker by running models. | ||
Allora Labs will contribute as a sales/marketing service provider for Allora. | ||
|
||
- **Workers** provide AI/ML-powered inferences to the network. These inferences can directly refer to the object that the network topic is generating or to the predicted quality of the inferences produced by other workers to help the network combine these inferences. A worker receives rewards proportional to the quality of its inferences. | ||
- **Reputers** evaluate the quality of the inferences provided by the workers. This is done by comparing the inferences to the ground truth when available. Reputers also quantify how much these inferences contribute to the network-wide inference. A reputer receives rewards proportional to its stake and the quality of its evaluations. Reputers are often authoritative domain experts to assess the quality of inferences accurately. | ||
- **Validators** are responsible for operating most of the infrastructure associated with instantiating the Allora Network. They do this in several ways: staking in worker nodes (data scientists) based on their confidence in said workers' abilities to produce accurate inferences, operating the appchain as Cosmos validators, operating Blockless (b7s) nodes that execute topic-specific weight-adjustment logic off-chain. | ||
- **Validators** are responsible for operating most of the infrastructure associated with instantiating the Allora Network by operating the appchain as Cosmos validators. | ||
- **Consumers** request inferences from the network. They pay for the inferences using the native network token. | ||
|
Oops, something went wrong.