visit
It is audible to the deaf and visible to the blind that we are in the era of Artificial Intelligence (AI). You might have noticed this even when you were young, thanks to movies from as far back as the 1900s, such as the Terminator series and The Matrix, etc.
DeAI comprises two technologies, which are:
Artificial Intelligence (AI) allows machines and computers to imitate human thinking and decision-making processes.
Blockchain technology is a distributed and immutable ledger that securely stores data and information in a decentralized and reliable manner.
The idea behind DeAI is that AI is too powerful to be controlled by a small group of people. It should be more transparent, accountable, and fair.
Trust and Transparency: The DeAI on ICP are fully on-chain model, which lies on its immutability and openness feature. Users don't have to blindly trust centralized servers; they can verify the model's training and inference process. This addresses a significant concern with centralized AI, where users often lack insight into data usage and model behaviour.
Data Security and Control: ICP's ability to securely access data from various blockchains using Chain Fusion(learn about this later). This suggests a potential benefit in terms of data security and control. Users could potentially retain ownership of their data while allowing DeAI models to access and learn from it, unlike centralized AI systems where data is often aggregated and controlled by a single entity.
Censorship Resistance: Running AI models on ICP could offer resistance to censorship. Centralized AI models are subject to control and potential manipulation by their operators. In contrast, DeAI on ICP could provide a more open and censorship-resistant platform for AI development and deployment.
Scalability: ICP’s DeAI offers better scalability than traditional AI systems. DeAI can adapt and expand as needed by using a network of connected nodes, processing tasks in parallel to increase overall capacity while maintaining high security and performance.
Inclusivity: ICP provides permissionless and composable access, promoting inclusivity and fairness. Individuals and small companies can also participate in AI development and decision-making, fostering innovation and collaboration.
WebAssembly Virtual Machine: The ICP leverages the WebAssembly virtual machine, which provides near-native performance for executing code, including AI models.
Deterministic Time Slicing: To handle long-running computations often required by AI models, ICP employs deterministic time slicing. This mechanism automatically divides the computation into smaller chunks and spreads them across multiple blocks, preventing blockchain performance disruption.
Powerful Node Hardware: The ICP network consists of nodes with impressive hardware specifications: 32-core CPUs, 512GiB RAM, and 30TB NVMe storage. This powerful hardware is designed to handle the demands of running AI models directly on the blockchain.
According to the VP of Engineering , Chain Fusion refers to the capability of smart contracts on the Internet Computer(ICP) to sign transactions and interact seamlessly with other blockchain networks, without depending on any single point of trust.
Chain Fusion technology enables the ICP’s smart contract(canister) to connect with multiple blockchains in a decentralized way, removing the need for a single trusted intermediary like a . This is achieved through decentralized bi-directional communication between the Internet Computer and other chains, and the ability of ICP smart contracts to sign and submit transactions to other chains.
From the explanation above, you can notice two components: Canister and Decentralized Bi-directional Communication.
Decentralized Bi-directional Communication: this is a communication protocol that enables ICP to communicate with other blockchains in a decentralized and yet seamless manner.
Canister: These are ICP smart contracts written in programming languages like Rust, Typescript, Motoko etc. They possess the ability to:
Sign and Submit Transactions: Canisters can directly sign and submit transactions to other blockchains. This enables ICP dApps to interact with other chains
User Experience: ICP's low cost, fast finality, and reverse gas model offer a user experience similar to traditional web services. Users can interact with non-ICP smart contracts via ICP using a standard browser, eliminating the need for crypto wallets or reliance on single points of trust.
High Performance: ICP smart contracts can support various web services, from social networks to AI models, offering enhanced power to dApps.
Vast On-Chain Storage: A single ICP smart contract provides up to 400GiB of storage, enabling application data storage on-chain and making decentralized storage accessible to non-ICP dApps.
Autonomous Operation: ICP smart contracts can schedule messages for themselves at any interval, allowing for autonomous operation without user input or arbitrage. Chain Fusion extends this autonomy to non-ICP smart contracts while maintaining decentralization.
Web2 Interoperability: ICP's HTTPS outcall feature allows canisters to interact with any web service in a replicated manner with deterministic responses. This brings Web2-Web3 interoperability to non-ICP dApps.
Explanation:
a. The flowchart starts with Chain Fusion Technology as the central enabler.
b. ICP interacts with multiple blockchains (Bitcoin, Ethereum, Solana) through Chain Fusion. c. Each blockchain executes its smart contracts, leading to a unified data flow back to ICP.Chain Key Cryptography: Chain Fusion leverages threshold signing which means private keys for signing transactions are securely distributed among a group of nodes, preventing any single point of compromise.
For better understanding, the founder of DFINITY Foundation shared more light on this and also shared a DeAI that recognize images based on the image provided:
is an open-source AI inference engine supporting ONNX, TensorFlow, and PyTorch models. It is written in Rust and compiles to WebAssembly, making it suitable for integration into ICP canisters for on-chain inference12.
is an open-source tool that facilitates deploying and running Python AI models on-chain, leveraging Sonos Tract2.
is another open-source deep learning framework written in Rust that supports ONNX and PyTorch models, also compiling to WebAssembly for on-chain execution on ICP. The MNIST example demonstrates its integration into a canister2.
is a minimalist ML framework for Rust, compiling to WebAssembly. An AI chatbot example shows how to run a Qwen 0.5B model in an ICP canister2.
is a Motoko package specifically designed for on-chain machine learning within the ICP ecosystem3.
: A systems programming language known for its performance and safety. Rust is commonly used for writing high-performance canisters on the ICP.
: A language specifically designed for the Internet Computer by the DFINITY Foundation. Motoko is tailored to the needs of canister development, offering features that simplify the creation of secure and efficient smart contracts.
: A statically typed superset of JavaScript that compiles to plain JavaScript. It is used for front-end development and can also be used in conjunction with ICP canisters.