In the last round of decentralized AI craze, star projects such as Bittensor, io.net and Olas quickly became industry leaders with their innovative technologies and forward-looking layout. However, as the valuations of these old projects continue to rise, the threshold for ordinary investors to participate is also getting higher and higher. So, in the face of this round of sector rotation, are there any new opportunities for participation?
Flock: Decentralized AI Training and Verification Network
Flock is a decentralized AI model training and application platform that combines federated learning and blockchain technology to provide users with a secure model training and management environment while protecting data privacy and fair community participation. The word Flock first came into the public eye in 2022, when its founding team jointly published an academic paper titled "FLock: Defending malicious behaviors in federated learning with blockchain", proposing the idea of introducing blockchain into federated learning to prevent malicious behavior. The paper explains how to strengthen data security and privacy protection in the model training process through decentralized mechanisms, and also reveals the application potential of this new architecture in distributed computing.
After the initial proof of concept, Flock launched the decentralized multi-agent AI network Flock Research in 2023. In Flock Reseach, each agent is a large language model (LLM) tuned for a specific field, which can provide users with insights in different fields through collaboration. Then in mid-May 2024, Flock officially opened the testnet of the decentralized AI training platform, where users can participate in the training and fine-tuning of the model by using the test token FML and receive rewards. As of September 30, 2024, the number of daily active AI engineers on the Flock platform has exceeded 300, and the cumulative number of submitted models has reached more than 15,000.
With the continuous development of the project, Flock has also attracted the attention of the capital market. In March this year, Flock completed a $6 million financing led by Lightspeed Faction and Tagus Capital, with participation from DCG, OKX Ventures, Inception Capital and Volt Capital. It is worth noting that Flock is also the only AI infrastructure project that received funding in the 2024 Ethereum Foundation Academic Funding Round.
Reshaping the cornerstone of AI production relations: Introducing smart contracts for federated learning
Federated learning (Federated Learning Federated Learning is a machine learning method that allows multiple entities (usually called clients) to jointly train models while ensuring that data is stored locally. Unlike traditional machine learning, federated learning avoids uploading all data to a central server, but protects user privacy through local computing. At present, federated learning has actually been applied in many practical scenarios. For example, Google has introduced federated learning into its Gboard input method since 2017 to optimize input suggestions and text predictions while ensuring that user input data is not uploaded. Tesla also uses similar technology in its autonomous driving system to improve the vehicle's environmental perception capabilities in a local way and reduce the need for massive video data transmission.
However, these applications still have some problems, especially in terms of privacy and security. First, users need to trust centralized third parties. Secondly, in the process of model parameter transmission and aggregation, it is also necessary to prevent malicious nodes from uploading false data or malicious parameters, which will cause the model to deviate from the overall performance or even output incorrect prediction results. According to the research published by the FLock team in the IEEE journal, the accuracy of the traditional federated learning model will drop to 96.3% when 10% of malicious nodes exist, and when the proportion of malicious nodes increases to 30% and 40%, the accuracy drops to 80.1% and 70.9% respectively.
To solve these problems, Flock introduced smart contracts on the blockchain as a "trust engine" in its federated learning architecture. As a trust engine, smart contracts can realize automated parameter collection and verification in a decentralized environment, and publish model results unbiasedly, thereby effectively preventing malicious nodes from tampering with data. Compared with traditional federated learning solutions, FLock's model accuracy can still be maintained above 95.5% even when 40% of the nodes are malicious nodes.
Positioning the AI execution layer, analyzing the three-layer architecture of FLock
A major pain point in the current AI field is that the resources for AI model training and data use are still highly concentrated in the hands of a few large companies, and it is difficult for ordinary developers and users to use these resources effectively. Therefore, users can only use pre-built standardized models, and cannot customize them according to their own needs. This mismatch between supply and demand also means that even if the market has abundant computing power and data reserves, it cannot be converted into practical models and applications.
To address this problem, Flock hopes to become an effective scheduling system for coordinating demand, resources, computing power and data. Flock draws on the Web3 technology stack to position itself as the "execution layer", because as a core function, it is mainly responsible for allocating users' customized AI needs to various decentralized nodes for training, and scheduling these tasks to run on nodes around the world through smart contracts.
At the same time, in order to ensure the fairness and efficiency of the entire ecosystem, the FLock system is also responsible for "settlement" and "consensus". Settlement refers to the incentives and management of the contributions of participants, and rewards and penalties based on the completion of tasks. Consensus is responsible for evaluating and optimizing the quality of training results to ensure that the final generated model can represent the global optimal solution.
The overall product architecture of FLock consists of three major modules: AI Arena, FL Alliance and AI Marketplace. Among them, AI Arena is responsible for decentralized model basic training, FL Alliance is responsible for model fine-tuning under the smart contract mechanism, and AI Marketplace is the final model application market.
AI Arena: Localized Model Training and Verification Incentives
AI Arena is Flock's decentralized AI training platform. Users can participate by staking Flock testnet tokens FML and receive corresponding staking rewards. After the user defines the required model and submits the task, the training node in AI Arena will use the given initial model architecture to train the model locally without uploading the data directly to the centralized server. After each node completes the training, a validator will be responsible for evaluating the work of the training node, checking the quality of the model and scoring it. If you do not want to participate in the verification process, you can also choose to delegate your tokens to the validator to receive rewards.
In AI Arena, the reward mechanism for all roles depends on two core factors: the number of stakes and the quality of the task. The number of stakes represents the "commitment" of the participant, while the quality of the task measures its contribution value. For example, the rewards for training nodes depend on the number of stakes and the quality ranking of the submitted model, while the rewards for validators depend on the consistency of voting results with consensus, the number of staked tokens, and the number of times and successes of participating in validation. The benefits of delegators depend on the validators they choose and the number of stakes.
FL Alliance: A fine-tuning platform automatically managed by smart contracts
The highest-scoring model on AI Arena will be selected as the "consensus model" and will be assigned to the FL Alliance for further fine-tuning. Fine-tuning will go through multiple rounds. At the beginning of each round, the system will automatically create a FL smart contract related to the task, which will automatically manage task execution and rewards.Similarly, each participant needs to stake a certain amount of FML tokens. Participants will be randomly assigned to be proposers or voters, where proposers use their own local datasets to train models and upload the trained model parameters or weights to other participants. The voters will summarize and vote on the proposer's model update results. All results will then be submitted to the smart contract, which will compare each round of scores with the previous round to evaluate the improvement or decline in model performance. If the performance score improves, the system will enter the next stage of training; if the performance score decreases, another round of training, summarization, and evaluation will begin using the model verified in the previous round.
AI Marketplace: How to provide personalized AI services?
The models trained by AI Arena and fine-tuned by FL Alliance will eventually be deployed to AI Marketplace for other applications to call and use. Unlike traditional "model markets", AI Marketplace not only provides ready-made models, but also allows users to further modify the models and integrate new data sources to cope with different application scenarios. In addition, AI Marketplace also integrates RAG (Retrieval-Augmented Generation) technology to improve the accuracy of models in specific fields. RAG is a method to enhance large language models by retrieving relevant information from external knowledge bases when generating answers, ensuring that the model's responses are more accurate and personalized.
Currently, many customized GPT models based on different application scenarios have been launched on AI Marketplace, including BTC GPT, Farcaster GPT, Scroll GPT, Ethereum GPT, etc. We can use BTC GPT as an example to understand the difference between customized models and general models.
In December 2023, when BTC GPT and ChatGPT were asked “What is ARC20?”:
BTC GPT’s answer: “The ARC20 protocol is a protocol built on the Bitcoin network that allows users to create, transfer, and upgrade digital items such as NFTs and interchangeable tokens. Through the ARC20 protocol, non-interchangeable NFTs and interchangeable tokens can be generated on the Bitcoin network. The main token of the ARC20 protocol is ATOM and is used for various purposes within the protocol.”
ChatGPT’s answer: “As of my last knowledge update in January 2022, there was no widely recognized standard or technology called ARC20 in technology, finance, or other common fields. Perhaps after that, a standard called ARC20's new technology or standard, but I don't have the relevant information. "
From the answers of the two, we can see the importance and advantages of customized GPT models. Unlike general language models, customized GPT models can provide more accurate answers by training data for specific fields.
Both support DCG, what are the similarities and differences between Flock and Bittensor?
With the recovery of the AI sector, the token of Bittensor, one of the representatives of decentralized AI projects, has risen by more than 93.7% in the past 30 days. The price was close to the historical high, and the total market value exceeded 4 billion US dollars again. It is worth noting that DCG, the investment institution of Flock, is also one of the largest validators and miners in the Bittensor ecosystem. Previously, according to people familiar with the matter, DCG holds about $100 million in TAO, and in a 2021 "Business Insider" article, DCG investor Matthew Beck recommended Bittensor as one of the 53 most promising crypto startups.
Although both are DCG-supported projects, FLock and Bittensor have different focuses. In terms of specific positioning, Bittensor's goal is to build a decentralized AI Internet, using "subnets" as the basic unit. Each subnet is equivalent to a decentralized market, and participants can join as "miners" or "validators". Currently, there are 49 subnets in the Bittensor ecosystem, covering multiple fields such as text-to-speech, content generation, and fine-tuning of large language models.
Unlike Bittensor, FLock is committed to providing users with personalized AI services by introducing blockchain into federated learning. Flock positions itself as "Uber in the field of AI". In this model, Flock acts as a "decentralized scheduling system" that matches AI needs with developers, automatically managing task allocation, result verification and reward settlement through on-chain smart contracts to ensure that each participant can participate in the distribution fairly according to their contribution. But similar to Bittensor, in addition to becoming a training node and validator, Flock also provides users with the option of delegating participation.
Specifically:
Training Node: Participate in the training competition of AI tasks by staking tokens, suitable for users with computing power and AI development experience.
Validator: Also need to stake tokens to participate in the network, responsible for verifying the quality of miners' models, and influence reward distribution by submitting verification scores.
Delegator: Delegate tokens to miners and validator nodes to increase the weight of nodes in task allocation, and share the reward income of the delegated nodes. In this way, even users who do not have the technical ability to train or verify tasks can participate in the network and earn income.
FLock.io now officially opens the delegate participation function. Any user can earn income by staking FML tokens, and can choose the best node according to the expected annualized rate of return to maximize their staking income. Flock also stated that the staking and related operations in the testnet stage will affect the potential airdrop rewards after the mainnet is launched in the future.
Overall, although Bittensor and Flock have different market positioning, both are trying to redefine the production relations in the AI ecosystem through different decentralized technical architectures. Their common goal is to break the monopoly of centralized giants on AI resources and build a more open and fair AI ecosystem, which is exactly what the current market urgently needs.
Preview
Gain a broader understanding of the crypto industry through informative reports, and engage in in-depth discussions with other like-minded authors and readers. You are welcome to join us in our growing Coinlive community:https://t.me/CoinliveSG