Background

Due to the boom of LLM, we have seen more and more AI + Blockchain projects recently. Besides the combination of LLM and blockchain, we also see AI coming back to the blockchain. ZKML is one of the popular combinations.

AI and Blockchain are two different technologies with totally different characteristics. AI needs large computation power which is offered by centralized data centers. Blockchains provide decentralized computation and privacy but are not good at large computation and large storage. We are still exploring the correct way to combine AI and blockchain. Here is an overview of AI + Blockchain projects.

This map is also used in our OFR activity

This map is also used in our OFR activity

In this research piece, we will mainly focus on the application of LLM in the crypto space. LLM is really powerful tech because of its ability to understand natural language and developers are using LLM in these two directions:

Here is an engineering workflow diagram for building an LLM app to answer users’ questions. First, related data sources are generated into embeddings and stored in the vector database. The LLM adapters use user query and similarity search to find related contexts from the vector database. The related contexts are put into the prompt and sent to the LLM. LLM will execute the prompts and use the tools it has to generate the response. Sometimes the LLM is tuned on specific datasets to improve accuracy and cut the cost.

Untitled

The LLM application workflow can be generally categorized into three main phases:

We come up with 8 potential directions in which LLM can help the blockchain space: