Page cover image

Introduction to Nesa

The Layer-1 for trusted AI on-chain.

Nesa means miracle, in tribute to the golden age of AI that we are living in. Sufficiently advanced technology - like trusted AI - is often indistinguishable from magic.

Nesa is the lightweight Layer-1 executing critical AI inference on queries that require a high degree of privacy, security, and trust using advanced methods on-chain, including zero-knowledge machine learning (ZKML), split learning (SL), and more.

Nesa was created as an alternative to ChatGPT and other inference platforms today that are centralized and controlled by major players. These platforms have zero visibility or accountability in their output on your critical transactions and provide zero privacy in your data and results. This is a big problem in AI.

Limitations in Centralized Architecture. While commonly used, centralized processing architectures pose significant risks related to data privacy, computational bottlenecks, deterministic output, and single points of failure. The prohibitive cost and scarcity of high-performance computing resources, such as advanced GPUs, prevent the mass adoption of the only counter option to centralization, which is open-source, decentralized AI. These challenges further limit the ability to contribute to developing, training, fine-tuning, and executing AI models. This severely interdicts the adoption of state-of-the-art (SOTA) AI models for enterprises and developers, as well as shared research worldwide.

The challenges around security further impede collaborative efforts to execute AI today. Techniques like continuous adaptation and domain adaptation offer partial solutions by enabling model sharing without direct data exchange. However, these methods are susceptible to backdoor attacks and often result in suboptimal model performance due to the limitations of semi-supervised or unsupervised fine-tuning. Collectively, these issues have real-world implications for businesses that require critical inference. In the financial domain, for example, where institutions analyze vast amounts of sensitive transactional data, traditional centralized systems fail to meet the strict requirements for data privacy and security, while existing decentralized systems fail to achieve the need for both confidentiality and verifiability.


Nesa's Private, Secure, Decentralized Solution. We have built the first decentralized query marketplace - a large AI model store for Web3 that is powered by a reward economy for AI developers, queriers, miners, and model reviewers. This is the first global repository for AI that is decentralized and on-chain. Note our model store is beyond large language models (LLMs) but also includes leading models for visions (such as vision language models) and other key modalities. Additionally, we suppot proprietary small models for businesses and individuals as well for high security and privacy measures.

How inference works on Nesa is simple. Nesa’s Layer-1 trustlessly queries AI models off-chain while keeping their parameters and output secret. Our mining network reaches consensus and then broadcasts these trustworthy proofs on-chain via system oracles.

Nesa introduces the first model-agnostic hybrid sharding approach layered onto a hardware-based and software-based privacy co-optimization protocol. This solution distributes computational loads across multiple nodes on a decentralized inference network. Nesa’s distributed inference protocol delivers privacy-preserving data processing while facilitating the scalable, auditable execution of AI inference. The figure below highlights our key components.

High-level overview of the Nesa network

This new protocol greatly lowers the barrier to entry for participating nodes by accommodating various levels of computational capabilities, which is particularly pertinent given the high hardware requirements of competing systems that restrict inference participation only to the entities with access to top-tier GPUs. By allowing even nodes with limited resources to contribute as validators, Nesa’s protocol democratizes AI inference and makes network participation accessible to all.

Innovations of Nesa. This book introduces two innovations distinct to Nesa. We begin with a detailed look at (1) our novel decentralized, distributed training and inference framework powered by model-agnostic sharding, and then zoom into (2) the leading methods in preserving its security and privacy via zero-knowledge machine learning (ZKML), consensus-based verification, and split learning.

In more granularity, this book will provide details into our decentralized architectural design, Nesa's cryptographic advancements in security and privacy, and the platform’s tokenomics structure, as well as the broader implications of our project in reshaping the landscape of decentralized AI applications.

Last updated