🎉 Gate Square Growth Points Summer Lucky Draw Round 1️⃣ 2️⃣ Is Live!
🎁 Prize pool over $10,000! Win Huawei Mate Tri-fold Phone, F1 Red Bull Racing Car Model, exclusive Gate merch, popular tokens & more!
Try your luck now 👉 https://www.gate.com/activities/pointprize?now_period=12
How to earn Growth Points fast?
1️⃣ Go to [Square], tap the icon next to your avatar to enter [Community Center]
2️⃣ Complete daily tasks like posting, commenting, liking, and chatting to earn points
100% chance to win — prizes guaranteed! Come and draw now!
Event ends: August 9, 16:00 UTC
More details: https://www
OPML: Innovative Applications of Optimistic Machine Learning on Blockchain
OPML: Optimistic Approach-Based Machine Learning Techniques
OPML(Optimistic Machine Learning) is an emerging technology that utilizes optimistic approaches for AI model inference and training/fine-tuning on blockchain systems. Compared to ZKML, OPML can provide lower cost and higher efficiency ML services. One of the major advantages of OPML is its low barrier to entry - currently, a regular PC can run OPML containing large language models ( such as the 7B-LLaMA) of 26GB size without requiring a GPU.
OPML adopts a verification game mechanism to ensure the decentralization and verifiable consensus of ML services. Its workflow is as follows:
Single-Stage Verification Game
The core of the single-stage verification game is the precise positioning protocol, which works similarly to the computation delegation (RDoC). The main features include:
In performance testing, a basic AI model ( MNIST classification DNN model ) can complete inference in 2 seconds on a VM on a PC, and the entire challenge process can be completed in under 2 minutes in a local Ethereum testing environment.
Multi-Stage Verification Game
To overcome the limitations of single-stage verification games, we propose multi-stage verification games:
Taking the two-stage (k=2) verification game as an example:
Ensure the integrity and security of transitions between phases through Merkle trees.
Multi-Stage OPML Example: LLaMA Model
The LLaMA model adopts a two-stage OPML method:
For more complex calculations, a multi-stage OPML method with more than two stages can be introduced.
Performance Improvement Analysis
Assuming the computation graph has n nodes, each node requires m VM micro-instructions, and the acceleration ratio of GPU or parallel computing is α:
Consistency and Determinism Guarantees
To ensure the consistency of ML results, OPML adopts:
These methods effectively address the challenges posed by floating-point variables and platform differences, enhancing the reliability of OPML calculations.