πŸ› οΈPoAI - Proof of Artificial Intelligence

Date: March 13, 2023 Author: NeutrinosChain

In this consensus scheme, a node must train a Neutrinos neural network and use it to solve puzzles provided by the network in order to gain the right to propose the validity of transactions.

What is AI

Artificial intelligence is a wide-ranging branch of computer science concerned with building smart machines capable of performing tasks that typically require human intelligence.

Smart Machines

A smart machine is a device embedded with machine-to-machine (M2M) and/or cognitive computing technologies such as artificial intelligence (AI), machine learning or deep learning, all of which it uses to reason, problem-solve, make decisions and even, ultimately, take action. Neutrinos is a network of smart machine.

What is PoAI

PoW (Proof of WorkοΌ‰protocol consumes a large number of electricity, PoS (Proof of Stake) and DPOS (Delegated Proof of Stake) are both essentially a centralized voting agreement. To overcome the shortcomings of the above protocols, we present a new energy-saving consensus protocol

PoAI (Proof of Artificial Intelligence) to ensure the decentralization, fast and safety of a blockchain system. Artificial intelligence based on machine learning will become perfect as it is used and will surpass all the currently used consensuses.

Overview of Proof-of-Artificial Intelligence

A method for intelligently selecting an accounting node, relating to fields of blockchain, virtual currency and artificial intelligence, is provided, including steps of: Calculate the AVN value of each node by Convolutional Neural Network select the random nodes and the super nodes under a certain threshold value. Characteristic data of nodes are taken as the input information of PoAI, and then a node pool and the mining node are determined as outcomes.

On a premise of guaranteeing fairness, decentralization and security of the blockchain, problems of energy waste and low accounting efficiency due to mining conflict are solved. Specifically, a random distribution of accounting rights or mining rights is also adopted for avoiding hacker attacks. The process of constructing a node pool does not require human participation and does not require hash operation to compete computing power, which saves electricity, and ensures fairness and decentralization.

Pick Super nodes and Random nodes

All nodes are divided into three categories by Algorithm 2.

𝑁𝑖 ={Super βˆͺ Random βˆͺ Unknown} 𝑖=1,2,…,π‘π‘’π‘š

Algorithm

  1. Calculate ATN_sorted

  2. Determine the maximum capacity of a node pool π‘Šβ„Žπ‘œπ‘™π‘’_π‘šπ‘Žπ‘₯

  3. Generate a random integer i (0.5 π‘Šβ„Žπ‘œπ‘™π‘’_π‘šπ‘Žπ‘₯ <i<π‘Šβ„Žπ‘œπ‘™π‘’_π‘šπ‘Žπ‘₯) as node number in a node pool π‘π‘œπ‘‘π‘’_π‘π‘œπ‘œπ‘™_π‘›π‘’π‘š

  4. Generate π‘‡β„Žπ‘Ÿπ‘’π‘  (<π‘π‘œπ‘‘π‘’π‘ _π‘π‘œπ‘œπ‘™_π‘›π‘’π‘š) to determine the number of super nodes 𝑆𝑒𝑝_π‘›π‘’π‘š

  5. Select the first 𝑆𝑒𝑝_π‘›π‘’π‘š nodes as the Super nodes

  6. Pick 𝑅𝐴𝐷_π‘›π‘’π‘š random nodes

The ATN values can be obtained from the well-trained convolution neural network, and a ranking list ATN_sorted in descending order is easy to be calculated by stable Merging sort algorithm with low time and space complexity. One node is awarded as a super node as long as its rank is higher than 𝑆𝑒𝑝_π‘›π‘’π‘š .We pick R𝐴𝐷_π‘›π‘’π‘š random nodes from the ATN_sorted except for Super nodes stochastically.Both super nodes and random nodes form the node pool. The mining node can be picked from the node pool based on a rotation mechanism.

A node pool consisting of super nodes and random nodes realizes fairness of the whole network since both powerful nodes and common nodes participate in transaction record. The mechanism of generating random nodes ensures that the distributed network is capable to resist external some attacks. As the number of nodes in the network increases, the node capacity of the node pool remains unchanged. It is a fact that only nodes in the node pool has the right to mine by turn. This consensus encourages nodes to enhance their personal strength 𝐢𝑅𝑇 and lower security risk 𝐷𝐴𝐴 as much as possible in blockchain.

ATN of different factors

Last updated