FLOCK 백서

FLOCK

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 16쪽 중 8쪽

ly token emission. The proportion between the two is dynamic per month and can be refined by the community through the DAO voting. In AI Arena, for training nodes, rewards depend on the relative staking amount of this task against all tasks, the stake of a given training node in a given task, as well as the quality of the training node’s submission, measured by its rank amongst its peers . As for validators, rewards depend on three factors: (i) the quality of the validation, determined by how validators vote compared to the majority consensus; (ii) how much validators stake; (iii) the number of submissions that the given validator has successfully validated. For delegators, rewards depend on the quality of the validations produced by the delegated validator, as well as how much the delegators stake. As for FL Alliance, the participants will assigned to be the roles of voter and proposer randomly at each round. Their rewards at each round depends on the reward pool for the given task (initialised when a task is first created), remaining rounds in the task, stake amount of participants, and the total stake amount of all good participants (see [here](/flock-tokenomics/network-participation/fl-alliance/fl-nodes) for how “good” is being determined). In FOMO, rewards are distributed to Real Model Asset (RMA) Issuers, model token ($MT) stakers, inference users through a combination of daily $FLOCK emissions, inference-linked buybacks, staking incentives, and revenue sharing. For RMA Issuers, rewards depend on the net inference revenue generated by the deployment, creator fees earned during the Real Model Offering (RMO), deployment-level $FLOCK emissions, and the long-term performance of the associated model economy. For $MT stakers and inference users, rewards depend on the amount of $MT staked, the user’s gross inference usage, the deployment’s relative revenue contribution across all active deployments, and the deployment’s freshness score, which decays gradually over time.&#x20; # Security The FLock system is designed to be resilient against a wide array of potential attacks, ensuring the integrity and security of its operations. For instance, Sybil attacks are mitigated by requiring participants to stake a minimum amount of assets, making it costly to control multiple identities. Furthermore, validators are kept unaware of the model origins, reducing the risk of collusion, and only the top-performing training nodes and validators receive rewards, discouraging poor performance and manipulation. To mitigate DoS attacks, the Flock system implements rate limiting, preventing any single participant from monopolising resources. Free-rider attacks are addressed by rewarding only the top contributors, ensuring that participants who do not genuinely contribute cannot benefit. The use of dual datasets (Dataset A and B) in evaluations prevents lookup attacks, as optimizing for one dataset does not guarantee success in the other. For FL model poisoning attacks, a majority voting system and slashing mechanism protect the model's integrity, punishing malicious actors and discouraging future attempts. These measures collectively fortify the FLock system against a range of threats, promoting a secure and reliable environment for participants. # Token Utility In the following sections, you will understand both the supply for and demand of our native token FLOCK # Supply ### 1. Emission FLock's ecosystem will feature `FLOCK` tokens, set to be distributed to various stakeholders through an initial token emission and a strategically designed reward allocation system over time. Participants will receive rewards in FLOCK tokens based on their contributions to the system. The total supply of `FLOCK` is capped at 1 billion tokens. See [here](/flock-tokenomics/token-allocations) for token allocations details. ### 2. Slashing FLock has robust mechanisms in place to ensure the system's integrity and reliability by penalising participants who engage in malicious activities. Specifically, in FL Alliance, if a participant is found to be violating the system's rules or attempting to undermine the network through malicious actions, they may face slashing. Parts of the slashed tokens are rewarded to the honest participants (specifically, it goes to the ones who call the slashing function). This slashing mechanism protects the system from immediate threats by removing or deterring malicious actors, thereby fostering a culture of trust and cooperation among participants. # Demand &#x31;**. Utility** In order to participate in the FLock’s ecosystem, users first need to stake FLOCK, whether it’s for model creation, training, or validation. This is to ensure that participants are incentivised to behave honestly in the system. In the event of abusive or dishonest behaviour, the user’s staked tokens will be slashed as a punishment. In addition, FLock allows participants to be supported by delegators through FLOCK token delegation - delegators delegate FLOCK to participants; in return, delegators take a share of the rewards earned by participants. Consequently, it creates a dynamic and competitive environment where participants are incentivised to not only perform optimally but also establish and maintain appealing conditions in order to attract current and prospective delegators. *Note: The delegation feature may not be accessible in some countries due to local laws and regulations.* **2. Payment** Our FLOCK community holders may periodically assess lists of top and trending models hosted at FLock’s platforms. This allows for rewarding prominent model contributors and creates a healthy competitive environment for the community to build better models. Users participate directly in the ecosystem's economy by spending FML tokens to access models hosted on FLock. This mechanism is intended to drive demand for FLOCK as the platform expands and usage rises. Developers within the FLock system may also be required to pay fees in FLOCK to join the system. This measure helps mitigate potential DoS attacks by malicious participants.&#x20; **3. Governance** FLock token holders are empowered to actively engage in the system’s governance through a DAO, a pivotal mechanism that democratises decision-making process. This participatory model allows token holders to propose, debate and vote on various aspects of the ecosystem’s development and management, ranging from technical updates and protocol modifications to treasury management and community initiatives. The voting process in the FLock ecosystem is designed to be transparent, fair, and resistant to manipulation. To submit a proposal for voting, a proposer must first stake a specific number of tokens. This staking requirement acts as a barrier to frivolous or potentially scam proposals, as the proposer risks losing their staked tokens if the community deems the proposal to be invalid or malicious. In return, FLock’s platform offers proposal rewards to incentivise users to submit high-quality, valuable proposals that contribute to the growth and development of the ecosystem. *NOTE: The FLock team is carefully considering the specifics of DAO design, governance mechanisms, legal structure, and on-chain tooling to support DAO operations. The information above describes our initial high level vision for the DAO. It is subject to change and we will share more detailed information for FLock’s implementation as we approach its launch date.* # Network Participation In this section, you will understand various reward mechanisms for different participants in FLock’s ecosystem in great details. Each sub-section is accompanied with examples. The FLock system enables participants to contribute models, data, or computing resources in a modular way. The FLock network promotes the creation of diverse, purpose-built models developed and maintained by and for communities, with incentive-compatible mechanisms. Participants can earn rewards by participating in the creation, training or validation of a machine learning task, or by delegating their tokens to other FLock participants. The rewards are determined by the efforts, such as staking amounts or computational resources, that participants contribute to the system, fostering a fair, equitable and transparent ecosystem running on blockchain. Moreover, the requirement of staking can mitigate potential Sybil attacks from malicious participants. ### Task Creation Each newly created AI Arena and FL Alliance task has the option to undergo a verification process conducted by the community-led DAO. This process is designed to ensure that tasks meet the necessary standards of quality and alignment with the ecosystem's goals. Once a task successfully passes verification, it becomes eligible for FLOCK's daily emissions, providing the task creator with additional resources to incentivise participation and collaboration. On the other hand, if a task is created permissionlessly without the FLock DAO’s verification, the responsibility falls on the task creator to self-fund the task. This involves using their own FLOCK to cover the costs associated with reward allocations for various participants. While this route allows for greater flexibility and decentralisation in task creation, it also places the financial burden of supporting the task’s ecosystem on the creator. This mechanism is designed to balance innovation with quality control, ensuring that only well-constructed tasks benefit from community-supported rewards while still allowing for creative freedom in the ecosystem. ### Reward between AI Arena and FL Alliance Once tasks are created, the distribution of rewards between DAO-verified AI Arena and FL Alliance tasks is dependent on the their relative stake amount of active tasks. As such, the rewards of FLOCK allocated to all active AI Arena tasks will be: $$ R^{AI} = C\_0 \cdot \frac{S^{AI}}{S^{AI} + S^{FL}} $$ and for all active FL Alliance tasks: $$ R^{FL} = C\_0 \cdot \frac{S^{FL}}{S^{AI} + S^{FL}} $$ in which $$C\_0$$ is the daily emission of FLOCK, $$S^{AI}$$ refers to the total stake amount of all active AI Arena tasks and $$S^{FL}$$ refers to the total stake amount of all active FL Alliance tasks. # AI Arena AI Arena is FLock.io's decentralised AI training platform. For more details about AI Arena, check the docs [here](/flock-products/ai-arena). This section introduces the tokenomics for different participants in AI Arena.&#x20; # Task Creator Task creation is the first stage of FLock’s decentralised AI training cycle. Creators define the desired models and submit tasks to the platform. Anyone who satisfies the following conditions can participate as a task creator. Thus, the system is, by design, democratic, making it accessible to a broad range of stakeholders. This fosters a sense of ownership and active involvement amongst the FLock community. In order to become a task creator, one has to fulfil one or more of the requirements below: (1) stake a sufficient amount of FLOCK (2) have successfully trained or validated a task before, based on on-chain records (3) have a reputation in the ML space or is a domain expert in relevant fields, which is verified by the FLock community In addition to the desired model becoming available for the task creator’s use, the creator may also receive rewards proportional to their stakes. \*This feature is not public yet. # Data Provider Data plays a crucial role in training models. Data generators provide data to FLock’s ecosystem and gain rewards in FLOCK in return. Data generator follow a similar requirements for task creators: (1) stake a sufficient amount of FLOCK (2) had successfully trained or validated a task before, based on on-chain records (3) had a reputation in the ML space or is a domain expert in relevant fields, which is verified by the FLock community \*This feature is not public yet. # Training Node Training nodes are responsible for training and fine-tuning the AI tasks initiated by the task creators. This mechanism ensures the integrity and health of the ecosystem, as nodes have vested interests via staking. In return, the nodes will be rewarded in proportion to their contributions. To become a training node, a user has to stake FLOCK. ### 0. Overview: reward drivers for training nodes Put simply, a training node’s daily return from a task depends on three factors: (1) the relative staking amount of this task against all tasks, meaning a training node’s stake in a particular task will indirectly affect it’s rewards from that task; and (2) a training node’s stake in this task as well as stake delegated to this training node; and (3) quality of the node’s submission, as shown by the node’s relative ranking. Specifically, it is a geometric series, along with its ranking, multiplied by the relative stake of this task. It’s important to note that rank is being used here to determine the quality of the training node’s work, not other metrics such as absolute scores, primarily because scores can come very closely between nodes. Such design decision is believed to make reward calculation fairer and easier. Calculation of reward distributions for training nodes follow a three-step formula: ### 1. Reward distribution within a single AI Arena task Within a single AI Arena task, the reward distribution between training nodes and validators is determined based on their relative stake amounts.&#x20; We assume there are 𝑛 submissions $$(𝑂\_1, . . . , 𝑂\_𝑛 )$$ from 𝑛 training nodes with stakes $$(𝑡\_1, . . . , 𝑡\_𝑛 )$$, and 𝑚 validators $$(𝑉\_1, . . . , 𝑉\_𝑚 )$$ with stakes $$(𝑠\_1, . . . , 𝑠\_𝑚)$$. Each validator $$𝑉\_𝑗 (1 ≤ 𝑗 ≤ 𝑚)$$ evaluates the $$n$$ models submitted by the training nodes. Let the total daily reward allocated to a task be denoted as $$R\_0$$​ and the parameter $$\gamma$$ controls the split rewards, defining the balance between fixed and stake-dependent reward components. The total rewards for training nodes are: $$ R\_0 \cdot \left( \gamma + (1 - 2\gamma) \cdot \frac{\sum\_{i=1}^{n} t\_i}{\sum\_{i=1}^{n} t\_i + \sum\_{j=1}^{m} s\_j} \right) $$ ### 2. Rewards for training nodes & their delegators We can now compute the total rewards allocated for the training nodes as well as their delegators, which is based on the quality of their submission and their total amount of stake:&#x20; $$ f\_i(g\_i, t\_i) = \frac{g\_{i} \cdot t\_i^{\alpha\_t}}{\sum\_{k=1}^{n} g\_{k} \cdot t\_k^{\alpha\_t}} $$ In which $$t\_i$$ the total stake amount from the training node 𝑖 as well as its respective delegators, $$g\_i$$ is the scores of the submitted models from training node, whereas $$k$$ denotes a given training node’s rank amongst its peers in the same task. On the other hand, $$\alpha\_t$$ is a system parameter that determines the influence of the stake on the reward distribution. ### 3. Rewards for training nodes If a training node $$i$$’s stake in the task is $$t\_n$$ and stakes delegated to training node $$i$$ is $$t\_d$$ i.e. $$t\_i = t\_n + \epsilon \cdot t\_d$$, in which $$\epsilon$$ refers to the effective delegation amount. Specifically, effective delegation amount adjusts how much of the delegated stake $$t\_d$$​ is actually counted (i.e., how “effective” it is) when computing node $$i$$'s total stake $$t\_i$$. When $$\epsilon = 1$$, then the delegated stake $$t\_d$$ ​ is counted fully—delegations are treated just like the training node’s own stake. When $$\epsilon < 1$$, then the delegated stake is “discounted,” so training node $$i$$ only gets a fraction of $$t\_d$$ when accounting for its total stake, and vice versa. \ \ Thus, the actual reward for training node $$i$$ is: $$ f\_i \cdot \left(\sigma + (1-\sigma) \cdot \frac{t\_n}{t\_n+ t\_d}\right) $$ *Note that in the front-end, you will see a “reward-sharing ratio”, which refers to* $$(1 - \sigma)$$*, which means when reward-sharing ratio is 60%,* $$\sigma$$ *is 0.4. This ratio is set by training nodes and validators permissionlessly.* ### 4. 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 $$t\_i$$ (total stake including delegated stake) to be 4,000 for Node A. For simplicity, we assume $$\gamma$$ to be 0 and $$\epsilon$$ to be in this example. First, for this given task, total rewards for \*all\* training nodes are: $$ R\_0 \times \frac{\sum\_{i=1}^n t\_i}{\sum\_{i=1}^n t\_i + \sum\_{j=1}^m s\_j} ;=; 309{,}157.68 \times \frac{6500}{6500 + 12000} \approx 108{,}623.7 $$ We can then compute the rewards for \*Node A and its delegators\*. We are assuming that the scores for Node A and B are 0.501435 and 0.498565 respectively. Consider αt​=1, rewards for Node A (together with delegators) are:&#x20; $$ f\_i(g\_i, t\_i) \= \frac{g\_i \cdot t\_i}{\sum\_{k=1}^{n} g\_k \cdot t\_k} \= \frac{0.501435 \times 4000}{(0.501435 \times 4000) + (0.498565 \times 3500)} \times 108{,}623.7 \= 58{,}084 $$ Finally, given 𝜎=0.4, the actual rewards for \*Node A alone\* is: $$ f\_i \cdot \Bigl(\sigma + (1-\sigma),\frac{t\_n}{t\_n + t\_d}\Bigr) \= 58{,}084 \times \Bigl(0.4 + 0.6 \times \tfrac{3000}{4000}\Bigr) \= 49,371.40 $$ # 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: 1. how close the score is to the consensus among all the validators, measured by score variance (calculated off-chain) 2. amount the validator (and its delegators) staked 3. 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: $$ R\_0 \cdot \left( \gamma + (1 - 2\gamma) \cdot \frac{\sum\_{j=1}^{m} s\_j}{\sum\_{i=1}^{n} t\_i + \sum\_{j=1}^{m} s\_j} \right) $$ Here, we assume there are 𝑛 submissions $$(𝑂1, . . . , 𝑂𝑛 )$$from $$n$$ training nodes with stakes $$(t\_1, . . . , 𝑡\_n)$$, and 𝑚 validators $$(𝑉\_1, . . . , 𝑉\_𝑚 )$$ with stakes $$(𝑠\_1, . . . , 𝑠\_𝑚 )$$. Each validator $$𝑉𝑗 (1 ≤ 𝑗 ≤ 𝑚)$$ evaluates the $$n$$ models submitted by the training nodes. The total daily reward allocated to a task is denoted as $$R\_0$$​ and the parameter $$\gamma$$ 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 $$s\_v$$ and stakes delegated to validator is $$s\_d$$ i.e. $$s\_i = s\_v + \epsilon \cdot s\_d$$, in which $$\epsilon$$ refers to the effective delegation amount. Specifically, effective delegation amount adjusts how much of the delegated stake $$s\_d$$​ is actually counted (i.e., how “effective” it is) when computing validator's total stake $$si$$. When $$\epsilon = 1$$, then the delegated stake $$s\_d$$ ​ is counted fully—delegations are treated just like the training node’s own stake. When $$\epsilon < 1$$, then the delegated stake is “discounted,” so the validator only gets a fraction of $$s\_d$$ when accounting for its total stake, and vice versa.&#x20; $$ f\_i\cdot F \cdot (\sigma + (1-\sigma) \cdot \frac{s\_v}{s\_v+ s\_d}) $$ Specifically, * F refers to the performance of the validation, which is calculated through off-chain consensus * $$f\_i$$ is the
프로젝트로 돌아가기