This article is the first part of a series on AI on blockchain Ecosystems. In these overviews, I will provide outlines of why we need it, how is it achieved, and what does it offer.
- Part 1: AI on Blockchain — What’s the catch?
- Part 2: AI Smart Contracts — The Past, Present, and Future
- Part 3: Running Artificial Intelligence on the Blockchain
- Part 4: Cortex AI on Blockchain Ecosystem
- Part 5: AI on Blockchain Use Cases
Smart Contracts may be one of the biggest drive behind the enthusiasm for blockchain. The idea is to digitally facilitate, verify, and enforce the negotiation and execution of a contract, which is carried out simultaneously in a distributed fashion on multiple nodes in a blockchain. However, the current smart contract protocol is far from perfect, suffering from both limited computing capacity and flawed governance.
The simplicity of the smart contract may not seem to be a big issue right now but its limitations may pose a threat to applications on blockchain. Without enhancing the capability of the smart contract it is hard to implement real-world decentralized applications on the blockchain.
Whilst there are various approaches to solving the problem, enabling AI on the blockchain and integrating AI to be nested within the smart contract offers us a powerful solution.
Cortex (CTXC), the company I work for, is a decentralized Artificial Intelligence Platform that supports AI smart contract and AI inference. AI developers can upload their models to the blockchain, Smart Contract and DApp developers can then access these AI models by paying CTXC, the Cortex native token.
Cortex is the first public chain that enables adding AI models to the smart contact and executing of AI algorithms on the blockchain.
Cortex has released its mining TestNet, Bernard, and AI TestNet, Dolores.
What Is Cortex solving?
To date, Artificial Intelligence has become ubiquitous and our reliance on Artificial Intelligence increases day by day. For examples, Amazon’s recommendation system that offers users personalized recommendations based on previous purchases or activity; Uber’s AI model to determine arrival times, pick-up locations, and fare price; and PayPal that uses machine learning algorithms to detect and combat fraud.
Having a few companies to dominate the AI industry may not be wise. AI models trained by the big corporations often put their own interests before costumers’ privacy or needs. Blockchain technology can change the status quo by decentralizing and open-sourcing AI algorithms to ensure that people could choose from multiple AI providers and are free from the danger of big corporations.
The Cortex blockchain can democratize AI by creating a tokenomic model that incentivizes AI developers to share their models with the world: every time a model is called, the owner of that model will get paid in CTXC. This will encourage more developers to post better AI models on-chain. With more and better models being submitted on the chain, Smart contract and DApp developers will have access to more functional AI tool to include in their development. This creates a new and healthy eco-cycle for the AI industry.
Limited Smart Contract Capability
Smart Contract is one of the best inventions of the century. The idea is that contracts can be translated into code, which is then distributed to multiple nodes for verification in a blockchain. Yet, the current smart contracts are not actually “smart” but more like digital contracts. Without enhancing the capability of the smart contract it is hard to implement real-world decentralized applications on the blockchain. A real smart contract should have AI functionalities.
With the current smart contact technology, developers could only create applications like CryptoKitties that offers users static cat pictures with no interaction or Fomo3D that uses Mathematical calculations to provide a scam-like experience. With Cortex’s AI smart contract, developers could create more complex applications such as a KYC application that uses a face recognition model to provide a more secure process and prevent fraudulent actions.
Unable to Make AI Inference On-Chain
At present, smart contracts and virtual machines are executed on CPUs; however, due to the complexity of AI algorithms, there is no public blockchain that has enough computational power to effectively execute AI algorithms. Current solutions limit the company to execute AI off-chain or on the side-chain then bring the results back on the mainchain which still pose black-box issue. The Cortex public blockchain is built from the ground up, using GPU/FPGA on full nodes to support AI inference. The Cortex Virtual Machine will use GPU/FPGA to execute the AI smart contract which also creates a transparent audit trail to improve the trustworthiness of the result.
How does Cortex do that?
AI-powered Decentralized Applications foresee a trillion-dollar market, and Cortex will be the first infrastructural blockchain to support this ecosystem.
AI Smart Contract and DApp
Allow smart contracts to include AI functions, creating truly intelligent smart contracts and enhanced DApps with more diverse use cases. AI DApps will be executed on each full node using GPU/FPGA and reach consensus on-chain. AI DApps will have enhanced capabilities, such as more vivid NPCs in decentralized gaming, AI-governed stable coins, AI model competitions, Autonomous Driving, Cryptocurrency Lending, Ads platform, and Recommendation System.
With Cortex’s unique approach to bring AI inference directly on-chain, the inference result no longer comes from a third-party Oracle, eliminating the trust problem. Cortex provides “Synapse”, an integer inference engine to do deterministic AI inference with Cuckoo Cycle consensus mechanism, one of the most promising ASIC-resistant frameworks due to the memory-intensive algorithm, yet with instant verification. Cortex also proposes MRT (Material Representation Tool), an open and flexible standard that enables deep learning frameworks and tools to be interoperable. MRT guarantees AI models deployed on Cortex can be executed with the same inference results.
AI Model Platform
An AI model platform on blockchain where AI model developers and providers can store their most advanced AI models on-chain and be accessed by smart contract developers who pay them in CTXC. The platform can boost applications like AI DApps, AI competitions, model zoos, and data stores that help the open-sourcing of AI.
Cortex Virtual Machine
The CVM is fully compatible with EVM but the entire infrastructure runs on GPU. Ethereum developers can migrate their Ethereum smart contracts to the Cortex blockchain and add AI functionalities. Developers can use Solidity to write AI smart contract with infer instruction sets that are intuitive and easy to implement.
Cortex is the first ever blockchain technology that allows the execution of AI algorithms on the blockchain. Cortex provides an AI platform and stack for developers to upload their models on the blockchain that can be integrated with the smart contract. TestNet for mining and AI smart contract is out, Click here to learn more!