万字解析 Bittensor:如何构建连通世界 AI 的天网

MarsBitPublished on 2024-04-16Last updated on 2024-04-16

Abstract

Binance今日上线了BittensorHub项目(TAO),通过区块链网络和激励机制,让AI领域形成一个自由竞争、知识共享的算法市场。该项目的目标是让不同的AI算法和模型相互协作、学习和组合,为开发者和用户提供更好的服务。TAO代币经济学分为三部分,通过质押量和模型评分来评判矿工和验证者的质量,最终评分决定代币分配。用户可以通过下载extention并创建钱包参与质押收益计划,当前收益率约为20%。官网、文档、白皮书、数据官网、应用界面和Github都提供了相关资料。

今日 Binance 上新 @TheBittensorHub (TAO), 这个项目究竟做了什么可以令其在上大舞台前就已经在所有代币中排名前 30?
一句话 该项目既直接不贡献数据,也不直接贡献算力。 而是通过区块链网络和激励机制,来对不同的算法进行调度和筛选,从而让 AI 领域形成一个自由竞争、知识共享的算法(模型)市场。

万字解析 Bittensor:如何构建连通世界 AI 的天网


摘要
AI 时代三要素,算法(也就是模型)、算力、数据。对算力和数据该怎么结合区块链做分布式,我们相对有比较清晰的解决方案,但是对算法该怎么去中心化,怎么集中大家对力量进行算法共建、模型共建,这一直是个疑问。
Bittensor 解决了这个问题。
Bittensor 把ai分成不同任务,每条任务启动一个子网,每个矿工都提供自己所擅长任务上自己的模型,网络奖励在每个任务上做的最好的矿工。并且通过其独有的 Yuma 共识算法来保证各方参与者不作恶。
在代币经济学上,其代币 TAO 是个纯矿币,没有VC 轮、私募轮、ICO/IEO/IDO、基金会预留,获得代币的方式只有挖矿、在市场上买入。作为矿币,矿工在早期会有很强拉盘动力。现在全网 89% 的代币 stake 锁仓。
Bittensor 提供直接 ToC 的产品,聊天机器人,和为开发者服务的 API,用户体验不错。
背景 Part1
AI 市场的问题
当前的问题:
当今时代的 AI model 过于依赖 benchmark,缺乏多样化的评判手段,导致赢家通吃
当前每家的模型相对独立
Bittensor 认为这对 整个 AI 的进步和算法创新效率都不利。互相孤立的模型、只选赢家的 AI 服务,意味着一旦有人想开发新的模型,可能必须从头开始;假设模型A精通西班牙语,模型B精通写代码,当一位用户需要让 AI 解释一下带西班牙语注释的代码时,显然两个算法合力输出效果最好,但目前环境下做不到;此外,由于第三方应用集成需要 AI 模型所有者的许可,有限的功能也意味着有限的价值,整个 AI 领域的合力实际上没有得到释放。因此,Bittensor 这个项目的大目标是,让不同 AI 的算法和模型能够互相协作、学习和组合,从而形成更强大的模型,更好的为开发者和用户服务。
这样有几点好处:
构建起一个 不同模型 的协作网络,用这个网络来评判不同人提供的模型的好坏,让他们进行协作
对使用 ai 的用户来说,没有中间商挣差价,可以一更低的价格获得到 ai 服务
很多模型都是小团队自己搞的,让非巨头的小公司也可以享受这样的好处,并有ai的所有权
背景 Part2
从 BTC 产生的思考
BTC 提供了一套记账服务,这个系统自身并不提供算力,其只定义了算力被验证的方式,也就是其的 POW 机制。
在 POW 机制的激励下,全世界的矿工想办法优化自己的矿机,寻找更低的电费,去更好的挖矿(提供 BTC 记账服务)。
不过我们知道这套 POW 是在做一种无意义的运算,但如果可以让全世界的矿工不断积极地寻找方法来降低在该市场上开采 TAO 的成本,优化算法,提升准确率,降低电费,从而提供更好的模型服务,想想就很好
技术
Part1 网络中的角色和职能
矿工:可以理解为全世界各种 AI 算法和模型的提供方,它们托管AI模型并将其提供给 Bittensor 网络;不同类型的模型组成了不同的子网,比如专攻图片或声音的模型
验证者:Bittensor 网络内的评估者。评估 AI 模型的质量和有效性,根据特定任务的性能对 AI 模型进行排名,帮助消费者找到最佳解决方案。
提名者:将代币委托给特定验证者来表示支持,也可以换不同的验证者来委托。有点像 DeFi 中你将自己的代币质押给 Lido 获取收益。 用户:Bittensor 提供的 AI 模型最终使用方。可以是个人,也可以是谋求 AI 模型来做应用的开发者们。 (6/19)

万字解析 Bittensor:如何构建连通世界 AI 的天网


技术 Part2
角色之间的联系
用户 需要更好的 AI 模型;
矿工 提供自己的AI模型;
验证者 负责按照不同的用途筛选更好的 AI 模型;
提名者 选择支持不同的验证者。
说白了是一个开放的 AI 供需链条 : 有人提供不同模型,有人评价不同模型,有人使用最好的模型所提供的结果。
技术 Part3
如何保证矿工&验证者不作恶:Yuma Consensus
在一个开放的网络中,没有中心化机构监督,服务的提供者自然很愿意做恶,从而“降本增效”。可能的做恶有:
矿工不好好运行模型服务,结果给的是随机数
矿工只和和自己共谋的验证者连接,自己即是运动员也是裁判
诚实节点可能因为网络原因,没有全连接,而大量不诚实的节点相互沟通,实现共谋
Bittensor 为这个问题给出了一个解,这是笔者认为该项目最大的创新点。下面这段是本文的重点和难点。
技术 Part4
为了讲明白 Bittensor 的解决方案,我们需要先讲几个机器学习中的基础知识:训练、损失函数、梯度下降
如果想教会小狗如何在垫子上小便(经典案例,无不良指向)——(如果想教会机器一个知识)
方法1: 如果狗狗在垫子小便则奖励块肉,如果不在则打屁股
方法2: 如果狗狗在垫子小便则奖励块肉,如果不在则打屁股;而且距离垫子越远,打得越狠(计算损失函数)
方法3: 狗狗每走一步,就进行一次判定:
如果是朝向垫子走,则奖励块肉,如果不是朝向垫子走,则打屁股
(每进行一次训练,计算一次损失函数)
方法4: 狗狗每走一步,就进行一次判定:
如果是朝向垫子走,则奖励块肉,如果不是朝向垫子走,则打屁股;
并且给狗狗在指向垫子的方向摆一块肉,吸引狗狗往垫子走
(每进行一次训练,计算一次损失函数,之后进行能最好降低损失函数的方向,进行梯度下降)
技术 Part5
好的,对这些概念有大概的认识后,回到 Bittensor
Bittensor 把ai分成不同任务,每条任务启动一个子网。在子网创立的时候,创立者就会定义好这个子网需要完成什么任务(翻译,问答,图片生成等),并定义一个衡量指标(损失函数,BLEU等,下文以损失函数为例)
我们有 一些矿工 也有 一些 验证者,他们参与到一个 Bittensor 子网提供某种类型的 AI 服务。
如何衡量一个矿工的生成结果
可信度评分:评判每个矿工是否可信
有些矿工可能因为网不好,跟一些验证者之间没有连接(验证者和矿工间的连接关系,白皮书中表示为 C 矩阵)
将这个值做个加权,权重用每个验证者的质押量(白皮书中 S),获得可信度评分(一个矿工和越多高质押量的验证者连接,这个值就越高,这个值在白皮书中是 T)
效果评分:评判每个矿工的输出结果好坏
对每个矿工的结果做以下步骤:
每个连接该矿工的验证者 对这个矿工输出结果 使用自己的模型计算损失函数,进一步得出评分 (白皮书中 W)
不同验证者重要性不同,将每个验证者的质押量(白皮书中 S)作为权重乘上 第一步的结果,获得一个值,这就是所有验证者对这次结果的评分 (白皮书中 R)
最终评分 = 效果评分 * 可信度评分(白皮书中 I)
依据每个矿工最终评分的 高低,直接分配代币 (白皮书中 St+1)
如何评判一个 验证者
设置一个损失函数,持续优化网络,这个函数的优化目标是想让:网络中有更多高评分的节点相互连接
代币经济学 Part1 https://taostats.io/tokenomics/
TAO 代币在激励什么?
对验证者:对AI 模型的筛选和评估越准确和一致,获得的奖励就越多。显然,要成为验证者,当然需要质押一定数量的 TAO 代币 对矿工:响应用户需求提供自己的模型,根据贡献获得 TAO 代币 对提名人:将自己的 TAO 委托给验证者,类似流动性质押奖励 对用户:支付 TAO 代币开启任务,等于消费 (11/19)

万字解析 Bittensor:如何构建连通世界 AI 的天网


代币经济学 Part2
释放机制
TAO 的供应量为 21,000,000(致敬了 BTC),并同样有一个 4 年的减半周期,每 1050 万个区块,每个区块的奖励减半。一共将发生 64 次减半事件,最近的一个减半周期发生在 25 年 8 月。
目前每 12 秒,就会向网络中发送一个TAO。粗略计算,一天会有 7200 个 TAO 产出,矿工和验证者各拿一半。没有任何 VC 轮、私募轮、ICO/IEO/IDO、基金会预留等等常见套路,可以理解为纯粹的矿币。
代币经济学 Part3
详细分析下释放是如何分配到每个子网的:
每隔 12s 释放的这一个 TAO,会按照一定百分比分分配给32个子网(根据每个子网的性能,由根子网 也就是 0 号子网决定)。然后再在每个子网内分给每个 矿工、验证者。
0 号子网的验证者是全网质押量最大的 64 位验证者,如果想要知道他们会怎么分配代币,可以在运行安装了本文档最后一部分的安装教程后,代码查看,metagraph.weights.shape 是个 torch.Size([64, 33]),其中包含了 64 个 validator 对每个子网重要性的权重
操作方法 Part1
想要使用其 AI 服务
直接通过其对话机器人调:https://app.corcel.io/chat
直接调用 API(需要 API key):https://api.corcel.io/docs
API key在这里:https://app.corcel.io/dashboard/api-key…
这个调用平台的 github: https://github.com/corcel-api
操作方法 Part2
查看交易记录
使用类似格式的url ,后面跟着的是地址
https://x.taostats.io/account/5HKtJCP7tMwncxNBH4EfjwKnSZmey2G3PdCNKYSMyp6xFY1d…
https://x.taostats.io/account/5F4tQyWrhfGVcNhoqeiNsR6KjD4wMZ2kfhLj4oHYuyHbZAc3… (foundation地址)
操作方法 Part3
作为提名者,你想要获得质押收益
钱包 - 下载 extention - 新建钱包 - 新建 - 确认 - 生成 - retype - 密码 - 保存地址
提币进地址 - 点击 stake - 会需要 validator 地址
操作方法 Part4
当前质押收益 https://taostats.io/staking/ ,收益为约 20% 的 apy,全网接近90% (5.3M / 5.9M)的代币正在 stake,可以随时 unstake
操作方法 Part5 去validator 页面(https://taostats.io/verified-validators/… ),复制一个地址,在钱包中点 stake,输入密码,成功
参考
展示性质官网:https://bittensor.com
文档(介绍逻辑):https://docs.bittensor.com
如果想要深刻理解其逻辑需要搭配两份白皮书
https://bittensor.com/whitepaper
https://bittensor.com/about
数据官网(链上数据,质押数据等):https://taostats.io
应用界面( ToC 应用 ):https://app.corcel.io/chat
Github(大量开发资料需要看):https://github.com/opentensor
本文同时参考大量研报,也在此感谢!
Tao to the Moon!

Related Reads

Podcast Notes: Hyperliquid Has Become the Top Interest Point for Traditional Hedge Funds

Empire Podcast hosts Jason Yanowitz and Santiago Santos discuss the surging institutional interest in Hyperliquid, a decentralized perpetual exchange, marking the highest level of engagement from traditional hedge fund managers since Paul Tudor Jones endorsed Bitcoin in 2020. The primary driver is the demand for weekend trading of commodities like oil, especially during geopolitical tensions such as the Iran conflict, as Hyperliquid provides the only active price discovery venue when traditional markets are closed. Trade XYZ, a front-end on Hyperliquid, has seen significant growth, with weekend oil price predictions having a median error of only 50 basis points. Santos predicts commodity trading volume on Hyperliquid will surpass Bitcoin within the year and that its market cap could rise from $25 billion to $100 billion. Other key points include Kraken raising $200 million at a reduced valuation of $13.3 billion, and the SEC clarifying that self-custodied DeFi frontends like MetaMask are not subject to broker-dealer rules, resolving a major regulatory uncertainty. The hosts also note the strong correlation between crypto and macro markets, with the S&P 500 posting one of its best 10-day rallies since 1950. They highlight MicroStrategy's continued Bitcoin acquisitions and the potential of real-world asset (RWA) tokenization as a key trend. The discussion concludes with skepticism towards many L2 projects, predicting a wave of protocols truly going to zero as capital concentrates in proven assets like Bitcoin and Hyperliquid.

marsbit2h ago

Podcast Notes: Hyperliquid Has Become the Top Interest Point for Traditional Hedge Funds

marsbit2h ago

a16z: The Next Frontier of AI, The Triple Flywheel of Robotics, Autonomous Science, and Brain-Computer Interfaces

a16z presents a comprehensive investment thesis for the next frontier of AI: Physical AI, centered on a synergistic flywheel of robotics, autonomous science, and novel human-computer interfaces (HCIs) like brain-computers. While the current AI paradigm scales on language and code, the most disruptive future capabilities will emerge from three adjacent fields leveraging five core technical primitives: 1) learned representations of physical dynamics (via models like VLA, WAM, and native embodied models), 2) embodied action architectures (e.g., dual-system designs, diffusion-based motion generation, and RL fine-tuning like RECAP), 3) simulation and synthetic data as scaling infrastructure, 4) expanded sensory channels (touch, neural signals, silent speech, olfaction), and 5) closed-loop agent systems for long-horizon tasks. These primitives converge to power three key domains: * **Robotics:** The literal embodiment of AI, requiring all primitives for real-world physical interaction and manipulation. * **Autonomous Science:** Self-driving labs that conduct hypothesis-experiment-analysis loops, generating structured, causally-grounded data to improve physical AI models. * **Novel HCIs:** Devices (AR glasses, EMG wearables, BCIs) that expand human-AI bandwidth and act as massive data-collection networks for real-world human experience. These domains form a mutually reinforcing flywheel: Robotics enable autonomous labs, which in turn generate valuable data for robotics and materials science. New interfaces provide rich human-physical interaction data to train better robots and scientists. Together, they represent a new scaling axis for AI, moving beyond the digital realm to interact with and learn from physical reality, promising significant emergent capabilities and value.

marsbit3h ago

a16z: The Next Frontier of AI, The Triple Flywheel of Robotics, Autonomous Science, and Brain-Computer Interfaces

marsbit3h ago

Conversation with Bitwise Advisor: From K-Shaped Economy to AI Taking Jobs, How Can Bitcoin Save the Younger Generation?

Jeff Park, a macro strategist and advisor at Bitwise, argues that the traditional financial system is broken, particularly for young generations. He describes a "K-shaped economy" where asset inflation enriches the wealthy while leaving others behind, with unaffordable housing as a key symptom. Park explains that real estate is often a depreciating asset due to maintenance costs and taxes, yet it remains unattainable for many young people due to distorted demand from global capital flows. He proposes Bitcoin as a superior store of value—scarce, portable, and free from maintenance costs or excessive taxation. By diverting capital away from real estate, Bitcoin could help lower housing prices and increase accessibility. Park also discusses the decline of traditional "smart investing" (e.g., value stocks) and the rise of "ideological investing" in non-correlated assets like crypto, luxury goods, and collectibles. On AI, Park warns it could trigger extreme social inequality by eliminating jobs while boosting corporate profits. He believes this will push younger generations toward Bitcoin, not only as a hedge but also as a symbol of decentralization and data sovereignty—offering an alternative to centralized AI systems that use personal data without fair compensation. He advises a diversified portfolio with Bitcoin as a core holding to hedge against currency devaluation and systemic risk.

marsbit4h ago

Conversation with Bitwise Advisor: From K-Shaped Economy to AI Taking Jobs, How Can Bitcoin Save the Younger Generation?

marsbit4h ago

Trading

Spot
Futures

Hot Articles

Discussions

Welcome to the HTX Community. Here, you can stay informed about the latest platform developments and gain access to professional market insights. Users' opinions on the price of AI (AI) are presented below.

活动图片