Loading
Loading

Neuron registration trends
AI inference at scale requires trust in the computational integrity of model predictions—yet centralized systems offer no cryptographic proof that a specific model generated a given output. When inference is outsourced to distributed nodes, validators face the computational burden of re-running models to verify results, or must accept unproven claims about model behavior and output authenticity.
Subnet 2 addresses this by implementing Proof-of-Inference: a system where miners convert AI models into zero-knowledge circuits, generate predictions from those models, and return a cryptographic proof alongside each inference result. Validators can verify the proof efficiently—confirming both that a specific model produced the output and that the computation was performed correctly—without re-running the model themselves. This shifts verification from computational re-execution to mathematical validation, reducing the burden on validators while providing mathematical certainty about inference integrity.
On Bittensor's Subnet 2, miners receive inference tasks from validators, execute them through verifiable AI models, and return both predictions and zk-proofs. Validators distribute tasks, verify proof authenticity using the Expander backend, and score miners based on proof size and response time rather than re-computation. The network incentivizes miners to build efficient, circuitizable models while rewarding validators for honest verification—creating a peer-to-peer intelligence network where inference integrity is proven, not assumed.
Use cases were auto-generated from the GitHub repository and may not reflect the latest changes.
Subnet 2 is a Proof-of-Inference system for the Bittensor network that enables decentralized, verified AI inference through zero-knowledge machine learning (zk-ML). Miners generate predictions using verifiable AI models converted into zero-knowledge circuits and return cryptographic proofs of inference, while validators distribute inference tasks, verify proof authenticity, and score miner performance based on proof efficiency and response time. This creates a peer-to-peer verified intelligence network where inference integrity is mathematically proven rather than assumed.
Subnet 2 is organized as a Rust workspace with five primary crates: sn2-types (shared protocol definitions), sn2-chain (wallet, registration, weights management, auto-update), sn2-verify (zk-proof verification via Expander backend), sn2-validator (validator binary), and sn2-miner (miner binary). Miners and validators communicate over HTTP (axum) and QUIC (btlightning) protocols. Chain interactions use subxt for direct Substrate RPC.
Validators receive input data and distribute inference tasks to miners via the network. Miners generate predictions using custom verifiable AI models and return zk-proofs of inference. Validators verify proofs and score miners based on proof efficiency and response time.
Both binaries include auto-update mechanisms that poll GitHub releases every 5 minutes and atomically replace binaries for seamless PM2 restarts.
Verifiable and distributed inference on Bittensor
This information was auto-extracted from the GitHub repository and may be incomplete or out of date. Always refer to the subnet's GitHub repository for the latest instructions.
The reward mechanism incentivizes miners to create succinct and efficient AI models that can be circuitized into zero-knowledge proofs. Validators verify that miners' returned proofs are cryptographically sound using the Expander backend, confirming both the source model and integrity of predictions. Scoring dimensions include proof generation time, proof size efficiency, and response latency.
The system reduces computational burden on validators by using zk-proofs for verification rather than recomputing predictions. Zero-knowledge proofs are CPU-intensive, allowing non-GPU miners to participate, with future incentives planned for GPU-optimized proving systems.
The sections above were auto-generated from the GitHub repository and may not reflect the latest changes. View repository
FAQs were auto-generated from the GitHub repository and may not reflect the latest changes.
Holder & total-staked metrics as of 5h ago (hourly snapshot)
CPU must be 3.2GHz minimum (3.6GHz+ recommended). Storage must be NVMe SSD. Higher specs result in better performance incentives.
CPU must be 3.2GHz minimum (3.4GHz recommended). Storage should be SSD. Validators verify miner proofs and score performance metrics.
Install pre-built binaries for your platform (linux-x86_64 or macos-aarch64) with automatic SHA256 verification
curl -fsSL https://raw.githubusercontent.com/inference-labs-inc/subnet-2/main/install.sh | bash
Create a new Bittensor wallet with coldkey and hotkey (skip if you already have a wallet configured)
btcli w new_coldkey && btcli w new_hotkey
Register your miner on Subnet 2 mainnet (netuid 2). Use --subtensor.network test --netuid 118 for testnet.
btcli subnet register --subtensor.network finney --netuid 2 --wallet.name {your_coldkey} --wallet.hotkey {your_hotkey}Start miner with PM2 process manager. Use ./sn2-miner for pre-built binaries or target/release/sn2-miner for source builds.
pm2 start ./sn2-miner --name subnet-2-miner --kill-timeout 3000 -- --wallet-name {your_miner_key_name} --wallet-hotkey {your_miner_hotkey_name} --netuid 2Install pre-built binaries for your platform (linux-x86_64 or macos-aarch64) with automatic SHA256 verification
curl -fsSL https://raw.githubusercontent.com/inference-labs-inc/subnet-2/main/install.sh | bash
Create a new Bittensor wallet with coldkey and hotkey (skip if you already have a wallet configured)
btcli w new_coldkey && btcli w new_hotkey
Register your validator on Subnet 2 mainnet (netuid 2). Use --subtensor.network test --netuid 118 for testnet.
btcli subnet register --subtensor.network finney --netuid 2 --wallet.name {validator_key_name} --wallet.hotkey {validator_hotkey_name}Start validator with PM2 process manager. Use ./sn2-validator for pre-built binaries or target/release/sn2-validator for source builds.
pm2 start ./sn2-validator --name subnet-2-validator --kill-timeout 3000 -- --wallet-name {validator_key_name} --wallet-hotkey {validator_hotkey_name} --netuid 2Monitor validator and miner processes for status and logs(optional)
pm2 monit