Jump to content

Draft:Bittensor

From Wikipedia, the free encyclopedia
  • Comment: This article is not properly sourced to demonstrate notability. OnlyNanotalk 01:24, 2 July 2024 (UTC)


Bittensor
Logo of Bittensor
Denominations
Symbol𝞃
CodeTAO
Precision10−9
Subunits
11000000000RAO
Development
Original author(s)Yuma Rao
White paper"Bittensor: A Peer-to-Peer Intelligence Market"
Initial release2.1.0 / 5 August 2022 (22 months ago) (2022-08-05)
Latest release7.2.0 / 12 June 2024 (20 days ago) (2024-06-12)
Code repositorygithub.com/opentensor/bittensor/
Development statusActive
Written inPython
Source modelFree and open-source software
LicenseMIT License
Ledger
Ledger start3 January 2021 (3 years ago) (2021-01-03) (Kusanagi)
Timestamping schemeProof of work / Proof of stake
Issuance scheduleDecentralized (block reward)
Initially 1𝞃 per block, halved every 10,500,000 blocks
Block reward𝞃 1 (as of 2024)
Block time12 seconds
Block explorertaostats.io
Circulating supply7,004,663 (as of 1 July 2024)
Supply limit𝞃 21,000,000
Valuation
Exchange rateFloating
Website
Websitebittensor.com

Bittensor (abbreviation: TAO; sign: 𝞃) is an open-source, decentralized protocol that combines blockchain technology with artificial intelligence to create a peer-to-peer machine learning network and blockchain-based digital commodities market.[1][2] It incentivizes participants to contribute AI models and rewards them with the native TAO token based on the value they provide to the network.[3]

Bittensor employs a modular architecture with subnets dedicated to specific machine learning domains[2][4], where miners register pre-trained AI models to provide services and validators ensure response quality.[5][6] Consensus is achieved using the Yuma Consensus, a hybrid Proof-of-Stake and Proof-of-Work mechanism that evaluates AI model quality and protects against malicious validator activity.[7][8]

TAO, the native cryptocurrency of Bittensor, is used for staking, governance, and payments within the ecosystem.[3][9][10] It has a capped supply of 21 million tokens, closely resembling Bitcoin's model, and follows a halving cycle every 10.5 million blocks.[10][11][12]

Bittensor's decentralized AI marketplace has potential applications across various industries, including natural language processing, computer vision, predictive analytics, and autonomous systems.[2] By democratizing access to AI capabilities and fostering collaboration, Bittensor aims to accelerate innovation and promote more equitable ownership of machine intelligence.[2][13] However, as an emerging technology, it faces challenges such as regulatory uncertainty, security vulnerabilities, and competition from centralized AI providers.[2][14]

History[edit]

Background[edit]

The first decentralized blockchain was conceptualized by Satoshi Nakamoto in 2008, and has introduced a new approach to trust, security, and decentralization in digital systems. The decentralized nature of blockchain has led to the development of various applications, including decentralized finance and marketplaces.[15][16]

Centralized marketplaces for digital commodities, however, have been associated with certain limitations, such as high costs, lack of transparency, and the potential for monopolistic practices.[17][18] Bittensor, a decentralized marketplace for machine intelligence, aims to address these limitations by leveraging blockchain technology.[2][11]

Bittensor's system is based on a network of computers that continuously and asynchronously share representations peer-to-peer across the internet.[1] The marketplace utilizes a digital ledger to record ranks and provide incentives to peers in a decentralized manner.[1]

The decentralized structure of Bittensor's marketplace is designed to promote competition, innovation, and accessibility, potentially democratizing access to digital resources.[2][10] The growth of edge computing, IoT, and AI applications has led to discussions about the potential benefits of decentralized commodity marketplaces.[19]

Creation[edit]

Bittensor was founded in March 2019 by the Opentensor Foundation, a non-profit organization focused on developing decentralized artificial intelligence technologies.[4][8] The project's initial whitepaper, titled "BitTensor: An Intermodel Intelligence Measure'', was authored by Jacob Robert Steeves, Ala Shaabana, and Matthew McAteer.[20]

In November 2021, the whitepaper was revised with the new title "Bittensor: A Peer-to-Peer Intelligence Market", and listed Yuma Rao as a co-author alongside Steeves, Shaabana, Daniel Attevelt, and McAteer.[21] While Steeves and Shaabana are publicly known as co-founders, Rao's identity remains pseudonymous.[22]

Bittensor aimed to create a decentralized, blockchain-based machine learning network that incentivizes participants to contribute AI models and rewards them with the native TAO token based on their contributions. The stated goal was to democratize access to AI capabilities and foster collaboration in artificial intelligence development.[2][3][13]

Since its inception, the Bittensor network has undergone several iterations and upgrades:

  • Launch of Kusanagi (January 2021): Marked Bittensor's debut as the first main network version built using the Substrate blockchain development framework. This initial implementation enabled miners and validators to start earning TAO rewards for their contributions to the network.[2][8][23]
  • Pause of Kusanagi (May 2021): The Kusanagi network was temporarily halted to allow for refinements and optimizations of the consensus mechanisms, ensuring a more robust and efficient system moving forward.[23][24][25]
  • Transition to Nakamoto (November 2021): Building upon the lessons learned from Kusanagi, the Bittensor team launched the Nakamoto network as a successor through a hard fork upgrade. The blockchain and all 546,113 previously mined TAO were migrated to Nakamoto, which started from block 0.[24] This significant update introduced various enhancements and laid the groundwork for future scalability and interoperability.[23]
  • Launch of Finney (March 2023): The Bittensor network launched Finney, an upgrade named after Bitcoin pioneer Hal Finney. This upgrade introduced the Yuma hybrid consensus algorithm, which combines Proof-of-Stake and Proof-of-Work to evaluate AI model quality and protect against malicious validator activity.[23][24]

Architecture[edit]

Bittensor's architecture is designed to facilitate a decentralized, scalable, and efficient marketplace for AI services. The network consists of several key components that work together to enable collaborative learning, ensure data security, and maintain the integrity of the system.

At the core of Bittensor's architecture is the modular subnet system. Subnets are dedicated to specific machine learning domains, such as natural language processing, computer vision, or predictive analytics. Each subnet has its own set of rules and parameters, including minimum staking requirements for validators, reward distribution mechanisms, and the specific AI models and datasets used. This modular approach enhances the efficiency and scalability of the network, allowing for parallel processing of requests and the compartmentalization of data and resources.[2][4][26]

Within each subnet, there are three main types of participants: miners, validators, and nominators.[2][18][26][27]

  • Miners offer AI models and respond to user requests, contributing to the Proof-of-Work component of the consensus. Miners are rewarded with emissions, and low scoring miners are subject to being de-registered by new participants.
  • Validators send user queries to miners, assess the quality of their responses, and rank the quality of the miner’s responses. Validator emissions are weighted by their V-Trust score, which measures the reliability and effectiveness of validators based on how closely their scoring aligns with the consensus of the network.[28] Poor performing validators lose emissions, and also face the risk of deregistration.
  • Nominators are TAO holders who delegate their tokens to validators, increasing the validators' influence and earning a share of the rewards.[29]

Bittensor employs a decentralized mixture-of-experts (MoE) approach, where each miner acts as an expert, offering its specialized knowledge and capabilities to the network.[8] Within the subnet, validators distribute the request to a subset of miners, who process the input data using their AI models and generate outputs. The validators then assess the quality and relevance of each miner's response. Typically, the result from the highest-scoring miner is returned to the user, ensuring low latency.[22][27]

Bittensor's architecture is designed to scale horizontally, accommodating a growing number of participants and handling increasing volumes of requests.[30] The peer-to-peer communication protocol enables efficient and secure interactions between network participants, eliminating the need for intermediaries and reducing the risk of single points of failure.[25] The network also supports cross-subnet communication and interoperability, enabling the seamless integration of different AI services and creating opportunities for the development of novel applications that span across domains.[2][31]

Consensus Mechanism[edit]

The Yuma consensus mechanism is designed to achieve consensus in a decentralized network through a game-theoretic approach involving honest participants (with stake ) and potentially malicious participants (cabal, with stake ). The objective is to optimize a Nash equilibrium, which is a state where no participant can improve their payoff by unilaterally changing their strategy, given the strategies of others.[32]

The honest participants aim to maintain their scoring power (stake) by ensuring that their emission (reward) is at least equal to their stake, i.e., . They assign a weight to themselves and to the cabal, representing the ongoing cost or expense they incur for maintaining their scoring power.[32]

On the other hand, the cabal can freely set its self-weight and weight on the honest participants without incurring any cost.[32] The cabal's goal is to maximize the honest self-weight expense by strategically setting their self-weight . This is expressed by the following formula:

This formula represents the cabal's optimal self-weight that maximizes the expected value of the honest self-weight expense , given the honest stake , honest self-weight , and cabal self-weight . The cabal aims to force the honest participants to incur a higher cost (higher ) to maintain their scoring power.[32]

However, if the honest majority (i.e., ) employs a consensus policy , they can modify all weights to optimize the Nash equilibrium and minimize the honest self-weight expense , which the cabal tried to maximize.[32] This is expressed by the following formula:

Here, the consensus policy modifies the weights to minimize the expected value of the honest self-weight expense , while considering the cabal's strategy to maximize through their self-weight . The consensus policy aims to find a Nash equilibrium where the honest participants can maintain their scoring power with minimal cost, despite the cabal's attempts to increase their cost.[32]

Weight Consensus[edit]

The consensus policy modifies the validators' weights to minimize the variance in rewards while correcting for objectively incorrect validator self-weights.[32]

The consensus weight for honest validators is calculated as:

This formula represents the consensus weight assigned to honest validators, which is a weighted average of their self-weight and the weight assigned to them by the cabal , weighted by the respective stakes and .

Similarly, the consensus weight for cabal validators is calculated as:

This formula represents the consensus weight assigned to cabal validators, which is a weighted average of the weight assigned to them by the honest validators and their self-weight , weighted by the respective stakes and .[32]

The consensus deviation is the difference between the consensus weight and the self-weight for honest validators () and cabal validators ().[32] These deviations are used in the consensus policy to adjust the weights and achieve the desired Nash equilibrium.

Quality-Weighted Voting[edit]

The Yuma consensus introduces the concept of "quality-weighted voting," which adjusts a miner's influence based on the quality of their AI services. This incentivizes miners to provide high-performing models, exhibiting an exponential reward distribution curve where more specialized miners receive greater rewards. By considering the quality of contributions, Yuma aims to incentivize miners to continuously improve the performance of their AI models and services.[2][7][32]

Security Measures[edit]

To ensure the security and integrity of the network, Yuma employs several security measures:

  1. Slashing Penalties: Malicious activities, such as proposing invalid blocks, can result in token slashing, where a portion of the validators stake is slashed or removed as a penalty. This disincentivizes validators from engaging in malicious behavior.[32]
  2. Reputation Scores: Validators maintain reputation scores, which can be reduced as a consequence of poor performance or malicious activities. Lower reputation scores can lead to reduced influence and rewards for validators, incentivizing them to maintain good behavior and performance.[32]
  3. Weight Trust: Yuma incorporates a weight trust mechanism, denoted as , which is the sum of stake assigning a non-zero weight to a validator. A consensus threshold provides a smooth threshold at , where exceeding ratio of stake quickly allows for high trust. This mechanism nullifies rewards for validators deemed untrustworthy by the majority stake, as indicated by a zero weight assigned to them.[32]

In summary, the Yuma consensus mechanism is a stake-based, variable-expense consensus algorithm designed to achieve accurate consensus in adversarial settings. It incorporates stake-based weight trust, smooth density evolution, and Nash equilibrium optimization via weight reduction, ensuring minority stake deterioration when faced with malicious actors. The combination of these mechanisms aims to create a secure and incentive-aligned decentralized network for AI services.[32][33]

TAO Token[edit]

Overview[edit]

TAO is Bittensor's native cryptocurrency, serving as the heart of the network's ecosystem. It is designed to facilitate staking, governance, and payments within the Bittensor platform. TAO follows a similar tokenomic model to Bitcoin, with a capped supply of 21 million tokens, ensuring scarcity and long-term value appreciation.[2][3][18]

Distribution and Tokenomics[edit]

TAO's distribution is based on a fair launch model, with no pre-mined tokens or initial coin offerings (ICOs). Instead, TAO is issued through a block reward mechanism, where miners and validators earn tokens for their contributions to the network.[34] Approximately every 12 seconds, a new block is added to the Bittensor blockchain, and a reward of 1 TAO is distributed among the participants. This results in a daily emission of 7,200 TAO tokens.[3][35]

To maintain a balanced supply and demand dynamic, TAO incorporates a four-year halving cycle. Once half of the total TAO supply has been issued, the rate at which new tokens are created is reduced by 50%. The first halving event is expected to occur in October 2025 (as of July 2024)[36], and subsequent halvings will take place every four years thereafter. For instance, by the 12th halving event, projected to happen in 2069, the total number of TAO in existence is expected to be around 20,994,873.[37][24][35]

As of July 2024, approximately 7.01 million TAO tokens are in circulation. The majority of these tokens are actively participating in the network through staking or delegation, with 82.67% of the circulating supply being staked or delegated and 17.33% being freely traded.[24]

TAO's tokenomics also include a unique feature called "recycling," where tokens spent on miner and validator registration fees are returned to the reward pool (unissued supply). The cost of registration within subnets fluctuates based on the number of miners seeking to join, creating a dynamic market for network participation. This recycling mechanism delays the halving schedule, as every TAO spent on registration pushes the halving event by approximately 12 seconds. The exact date of the halving cannot be precisely determined due to this dynamic nature of the recycling process.[3][35]

Ecosystem and Applications[edit]

The Bittensor network is composed of various subnets, each focused on a specific domain or application of artificial intelligence and machine learning. These subnets cover a diverse range of areas, including model training, natural language processing, computer vision, compute, data analysis, storage and more.[2]

One of the key features of the Bittensor ecosystem is its ability to foster collaboration and knowledge sharing among different AI models and developers. By incentivizing valuable contributions through the TAO token, the network encourages continuous improvement and innovation across various domains.[2][3][13]

As of July 2024, the Bittensor network has a current limitation of 45 subnet slots.[38] This limited availability has created a highly competitive environment, where subnet owners must continuously demonstrate the value and performance of their subnets to avoid deregistration. New, potentially more promising ones may replace poorly performing subnets.

Several subnets within the Bittensor ecosystem are working towards lowering the entry barriers for miners and validators, aiming to address significant obstacles such as setup complexity, computing power, bandwidth, and other hardware. By providing more accessible solutions, these subnets hope to attract a wider range of participants and encourage the expansion of the Bittensor network.

Among the notable applications and subnets within the Bittensor ecosystem are:

  • Cortex.t: Focusing on natural language processing, text generation, Cortex.t enables decentralized interactions with leading neural networks, revolutionizing the way developers and users create and utilize AI-driven applications for text-based tasks.[39]
  • ItsAI: Specializing in AI detection for text, ItsAI allows users to submit text and determine the probability of it being AI-generated. The project aims to develop a full web service that will provide AI text detection capabilities to users both within and outside the Bittensor community.[40]
  • Proprietary Trading Network: Focused on financial forecasting and analysis, Proprietary Trading Network enables miners to submit short-term predictions for various financial assets, including cryptocurrencies and stocks.[41]

The Bittensor ecosystem continues to grow and evolve, with the expectation that more innovative and specialized applications will emerge, further expanding the capabilities and reach of decentralized AI. The network's focus on continuous innovation and reaching more users aligns with Bittensor's original vision.

Future Directions and Challenges[edit]

Future Directions[edit]

Bittensor's future development includes plans to expand the current limitation of 45 subnets up to 64 subnets.[38] This would enable the network to accommodate a wider range of AI applications. However, this expansion must be carefully managed to ensure platform stability and security. [42]

Challenges[edit]

Bittensor, as a decentralized AI platform, faces challenges in navigating regulatory environments and addressing issues like "copy-weighting", where miners copy successful models' weights to gain rewards without contributing value.[43] Ensuring compliance with emerging AI regulations while maintaining decentralization is a balancing act. Bittensor has taken steps to address copy-weighting, such as blacklisting mechanisms, refining the reward system and a newly introduced commit-reveal feature.[44]

Dynamic TAO[edit]

The Dynamic TAO (dTAO) proposal aims to decentralize governance by giving TAO token holders a say in resource allocation and direction. It introduces a distinction between TAO held in reserve and Dynamic TAO used within subnets for consensus weight and dividends. The design maintains the 21 million TAO supply cap by gating all Dynamic TAO demand through TAO.[45]

Under dTAO, emission vectors for newly minted TAO to subnets are computed through Uniswap pool market dynamics, allowing decentralized resource allocation based on perceived subnet value. Global Dynamic TAO represents a key's total TAO-denominated value across dynamic tokens, attaining 50% consensus weight on all subnets to reflect TAO's market cap. The proposal decouples subnet selection from delegates, putting power in liquid market dynamics.[45][46]

References[edit]

  1. ^ a b c "Bittensor". bittensor.com. Retrieved 2024-06-30.
  2. ^ a b c d e f g h i j k l m n o p Datura, Fish | (2024-04-17). "Bittensor: A Decentralized Commodity Marketplace". Medium. Retrieved 2024-06-30.
  3. ^ a b c d e f g "Bittensor (TAO) - Cryptocurrencies". IQ.wiki. Retrieved 2024-06-30.
  4. ^ a b c Management, Greythorn Asset (2024-02-19). "Bittensor: The Rise of Decentralized AI". Medium. Retrieved 2024-06-30.
  5. ^ "Questions and Answers | Bittensor". docs.bittensor.com. Retrieved 2024-06-30.
  6. ^ knower (2023-11-14). "A short report on Bittensor and AI". knower's substack. Retrieved 2024-06-30.
  7. ^ a b "The Yuma Consensus". 2023-04-11. Retrieved 2024-06-30.
  8. ^ a b c d "Bittensor - Analyst Insight | Revelo Intel". revelointel.com. Retrieved 2024-06-30.
  9. ^ "Bittensor ($TAO)". flagship.fyi. Retrieved 2024-06-30.
  10. ^ a b c Antonovici, Anatol (2024-02-20). "What Is Bittensor (TAO) and How Does It Work?". tastycrypto. Retrieved 2024-06-30.
  11. ^ a b Hamilton, David (2024-04-13). "Investing In Bittensor (TAO) – Everything You Need to Know". www.securities.io. Retrieved 2024-06-30.
  12. ^ "Glossary". Taostats Documentation. Retrieved 2024-06-30.
  13. ^ a b c "Bittensor". bittensor.com. Retrieved 2024-06-30.
  14. ^ LABS, VAI (2023-11-22). "Decentralized Future: A Research Report on Bittensor's Integration of AI and Blockchain". Medium. Retrieved 2024-06-30.
  15. ^ Ahmed, Alim Al Ayub (2024-02-13), The Rise of DeFi: Transforming Traditional Finance with Blockchain Innovation, doi:10.20944/preprints202402.0738.v1, retrieved 2024-07-01
  16. ^ Alamsyah, Andry; Kusuma, Gede Natha Wijaya; Ramadhani, Dian Puteri (2024). "A Review on Decentralized Finance Ecosystems". Future Internet. 16 (3): 76. doi:10.3390/fi16030076. ISSN 1999-5903.
  17. ^ "The Evolving Concept of Market Power in the Digital Economy – Note by Australia". OECD. Retrieved 2024-07-01.
  18. ^ a b c Kula, Maciej (2024-04-15). "Introducing Bittensor — The Decentralized Marketplace for Machine Intelligence". Medium. Retrieved 2024-07-01.
  19. ^ "Decentralizing Compute Power: Blockchain, AI & the Trillion-Parameter Revolution for Businesses and Individuals". www.linkedin.com. Retrieved 2024-07-01.
  20. ^ Rao, Yuma; Steeves, Jacob; Shaabana, Ala; Attevelt, Daniel; McAteer, Matthew (2020-03-09), BitTensor: A Peer-to-Peer Intelligence Market, arXiv:2003.03917, retrieved 2024-07-01
  21. ^ Rao, Yuma; Steeves, Jacob; Shaabana, Ala; Attevelt, Daniel; McAteer, Matthew (2021-11-09), BitTensor: A Peer-to-Peer Intelligence Market, arXiv:2003.03917, retrieved 2024-07-01
  22. ^ a b "TAO Bittensor: Decentralized Machine Learning 2024". 2023-03-04. Retrieved 2024-07-01.
  23. ^ a b c d "Legends in the Making". bittensorwiki.com. Retrieved 2024-07-01.
  24. ^ a b c d e "TAO Tokenomics, Token Supply and Halvening Info". taostats. 2023-01-24. Retrieved 2024-07-01.
  25. ^ a b "In-Depth Exploration: How Bittensor Network and TAO Token Revolutionize the AI Industry". Gate.io. 2024-01-10. Retrieved 2024-07-01.
  26. ^ a b "Overview of Decentralized Compute - Coingecko". Coingecko. Retrieved 2024-07-01.
  27. ^ a b "Subnet Architecture". Taostats Documentation. Retrieved 2024-07-01.
  28. ^ "Andy ττ on "V-Trust, or Validator Trust, What Does it Mean and Why Should It Matter to You?"". X. Retrieved 2024-07-01.
  29. ^ "Delegation | Bittensor". docs.bittensor.com. Retrieved 2024-07-01.
  30. ^ "Andy ττ on "Bittensor's Vision: Scaling up Innovation through a massive Network of Subnets and De-Registration process. What's that mean for your staked Dynamic $TAO?"". X. Retrieved 2024-07-01.
  31. ^ Jawaid, Jasir (2024-03-26). "Bittensor Review 2024: The Future of Machine Intelligence?". Coin Bureau. Retrieved 2024-07-01.
  32. ^ a b c d e f g h i j k l m n "Bittensor". bittensor.com. Retrieved 2024-07-01.
  33. ^ "Yuma Consensus | Bittensor". docs.bittensor.com. Retrieved 2024-07-01.
  34. ^ Foundation, Opentensor (2023-09-20). "TAO Token Economy Explained". Medium. Retrieved 2024-07-01.
  35. ^ a b c "Tao". Taostats Documentation. Retrieved 2024-07-01.
  36. ^ Halving, Bittensor. "Bittensor Halving". Bittensor Halving. Retrieved 2024-07-01.
  37. ^ "Glossary". Taostats Documentation. Retrieved 2024-07-01.
  38. ^ a b tungfa (2024-05-11). "Increase of Subnets from 32 to 64 started". r/bittensor_. Retrieved 2024-07-01.
  39. ^ corcel-api/cortex.t, Corcel, 2024-06-16, retrieved 2024-07-01
  40. ^ It-s-AI/llm-detection, It's AI, 2024-06-24, retrieved 2024-07-01
  41. ^ taoshidev/proprietary-trading-network, Taoshi, 2024-06-29, retrieved 2024-07-01
  42. ^ Jash_Mirpuri (2024-06-04). "State of Bittensor #5". flagship.fyi. Retrieved 2024-07-01.
  43. ^ "Weight Copying". Taostats Documentation. Retrieved 2024-07-01.
  44. ^ "Commit Reveal | Bittensor". docs.bittensor.com. Retrieved 2024-07-01.
  45. ^ a b const (2024-01-09). "BIT001: Dynamic TAO". Medium. Retrieved 2024-07-01.
  46. ^ "bit001/bit001_1.pdf at main · Datura-ai/bit001" (PDF). GitHub. Retrieved 2024-07-01.