Cointime

Download App
iOS & Android

Introducing HyperOracle’s zkOracle: Paving the Way for Onchain AI and ML with opML

As of today, decentralised applications face challenges in securely organising and automating data in off-chain contexts. Enter HyperOracle, presenting zkOracle — a solution that leverages zero-knowledge proofs to bridge on-chain data with off-chain environments seamlessly.

HyperOracle acts as the channel for bringing machine learning on-chain, unlocking scalable AI capabilities while maintaining decentralisation and verifiability.

At the crossroads of AI and blockchain, transparency is crucial. Despite assurances of openness, the opacity of AI models remains a significant concern. Ethereum’s founder, Vitalik Buterin, sees potential in the convergence of AI and crypto, where blockchain’s transparency offsets AI’s inherent obscurity.

Endorsed by the Ethereum Foundation, recognising its advanced work with Halo2 technology HyperOracle has made significant strides in blockchain standards and technology, contributing to Ethereum (ERC-6150, ERC-7007), Celestia, and Uniswap.

In today’s article, we delve into HyperOracle’s role in democratising AI, bridging the gap between transparency and innovation, and shaping the future of decentralised applications.

In today’s AI and ML sectors, transparency is a pressing concern. Despite claims of openness, understanding the specific models behind AI outputs remains a challenge. Vitalik Buterin sees promise in combining AI with crypto, as crypto’s transparency can counteract AI’s opacity. HyperOracle steps in with a promising solution.

Source: Vitalik’s article

HyperOracle aims to develop the World Supercomputer, a global network securely linking diverse peer-to-peer networks. This initiative enhances Ethereum’s capabilities, supporting computational demands and scaling storage. By integrating AI and ML on-chain, HyperOracle plans to revolutionise smart contracts with intelligence, leveraging blockchain’s transparency.

While Ethereum enables on-chain computing, its limitations hinder fully on-chain ML/AI. HyperOracle addresses this with opML and zkML, innovative technologies validating computations on-chain, overcoming challenges in cost and performance. zkOracle, a decentralised oracle network, utilises zero-knowledge proofs to bring on-chain data off-chain, perform off-chain computation on-chain, and verify off-chain proofs, ushering in a new era of transparency and efficiency.

Ethereum serves as the consensus ledger, while the zkOracle network runs resource-intensive computations, connecting various components with zero-knowledge proof technology.

opML optimises on-chain AI and ML, offering efficiency, scalability, and decentralisation. By embracing this novel approach, they pretend to unlock the full potential of AI and blockchain, maintaining transparency, security, and ethical responsibility.

As established in their documentation, HyperOracle is a programmable zkOracle protocol that powers smart contracts with arbitrary computing and richer data sources. HyperOracle offers full security and decentralisation for trustless automation and on-chain AI/ML so builders can easily create next-gen dApps.

In the HyperOracle network, multiple zkOracle nodes can be described as a node, similar to an Ethereum node, that carries out computations but also produces zero-knowledge proofs.

As you can imagine, the technical aspects of this project are quite complex. Even after delving into the documentation in detail, understanding it completely can be challenging. Nevertheless, let’s dissect the revolutionary elements that HyperOracle introduces, which allows us to better grasp its future potential.

zkMLinference is HyperOracle’s trustless machine learning inference protocol based on zero-knowledge proofs. It is a zkAutomation-like input and output zkOracle Meta App that integrates zk machine learning frameworks using zkGraph as the core component to enable on-chain ML inference. Developers will be able to use zkMLinference to build any DApp driven by ML and secured by Ethereum.

zkML empowers blockchain technology to discreetly authenticate AI model applications, ensuring data confidentiality throughout the entire process.

Source: Binance Research

zkML is an exciting intersection of Crypto and AI, with Modulus Labs and Giza Tech leading the way in its commercial application. Despite its promise, there’s a noticeable gap in the AI supply chain, particularly in authentication, which hasn’t been fully addressed. The slow adoption of zkML frameworks is mainly due to their lengthy proving times and high computational costs, highlighting the need for further development in this area.

To bridge the gap between zero-knowledge proofs and machine learning models, two distinct implementation approaches have been suggested:

  • Specific ZK Circuits: These are tailored ZK circuits designed for different models, meeting their unique precision requirements.
  • General zkML Runtime: This approach integrates ZK proofs with ML models using a universal runtime, similar to how zkEVM functions for EVM-based programs.
Source: Hyper Oracle

As mentioned above, zkML technology is not yet fully optimised. HyperOracle acknowledges this and, while they are working on it, their founder introduced a new concept called Optimistic Machine Learning (opML) as a solution until the launch of zkML.

As the creators of the first open-source implementation of opML, they believe that opML can facilitate the integration of AI and Crypto by eliminating cryptographic overhead through game theory.

opML conducts AI model inference and training/fine-tuning on-chain using an optimistic verification mechanism. Compared to zkML, opML provides ML proofs with low cost and high efficiency. Additionally, opML has low hardware requirements, allowing it to run large language models on common PCs without GPUs.

opML employs a verification game (similar to optimistic rollup systems) to ensure decentralisation and verifiability of the ML compute process.

HyperOracle stands as the first open-source implementation of opML.

Source: Hyper Oracle

zkGraphs are like customisable “Smart Contracts” for HyperOracle nodes, managing data behaviours and zero-knowledge proof generation, similar to how smart contracts define Ethereum node computations. Smart contract developers can construct both smart contracts and zkGraphs, allowing users to interact with both.

A zkGraph comprises three main components:

  • Manifest (zkgraph.yaml): Configures information like zkGraph Standards, target blockchain network, and target smart contract.
  • Mapping (mapping.ts): Computes blockchain data into other forms (Off-chain Computation).
  • (Optional) Schema (schema.graphql): Defines data storage and access.

For deployment, all ZKgraph code files are stored in EthStorage, a decentralised storage scaling layer supported by Ethereum ESP.

Source: Hyper Oracle

To understand its direct competitors better, let’s examine what this project brings to the table, as it innovatively applies well-known technologies. Firstly, HyperOracle introduces a blockchain service, the zkOracle protocol, for performing complex calculations in smart contracts, akin to Chainlink’s approach. It also employs zkGraph technology for data processing post-collection, similar to The Graph. Also, it’s important to note that HyperOracle isn’t the only project offering AI features on the blockchain, even within the zkML area, other projects, such as Modulus Labs, are notable players.

Source: Greythorn Internal
Source: Hyper Oracle

HyperOracle stands out from traditional knowledge graphs such as The Graph by utilising zkWASM. Some of its benefits include:

  • Uses zkWASM for enhanced security without affecting performance.
  • Employs zk proofs for faster data requests, improving response times, as well as rigorous data security and verifiability.
  • Provides secure, off-chain automation with programmable zkGraph.
  • Improves performance with trustless requests to the closest zkOracle node.
  • Enables building any decentralised application confidently with zk proofs.

Compared to traditional knowledge graphs, which often lack decentralised security due to their reliance on conventional indexing methods, HyperOracle offers distinct advantages. Traditional approaches may depend on DAOs or legal documents, adding uncertainty to automation processes. Additionally, their security is typically less robust, often relying on multi-signature dispute councils for conflict resolution.

Source: Hyper Oracle

To simplify, what they suggest is that Chainlink and The Graph are networks that fetch and integrate data into blockchain apps but can’t fully ensure data accuracy. Chainlink uses multiple data sources and security measures which, although substantial, are not foolproof. Both rely on data aggregation and incentives to aim for correctness, yet this doesn’t guarantee absolute data integrity. HyperOracle believes more is needed for secure, trustless applications, and that’s why they are developing a network that uses mathematical proofs to verify data quickly, offering a more reliable solution than traditional trust-based or incentive-driven methods.

Thoughts: Keep in mind that the innovative features often mentioned in the whitepapers of new projects can be challenging to realise in practice. In contrast, traditional oracle solutions such as Chainlink have a track record of proven effectiveness over time. The ability of these new features to match or exceed such established standards remains to be seen.

This area becomes more complex due to the novelty of this emerging trend and the protocols developing it. For instance, Modulus Labs is combining AI with blockchain using ZK proofs and machine learning to produce transparent, verifiable AI algorithms for blockchain applications. It adopts a unique strategy, especially in handling the demands of proof generation, while promising to allow Dapps to incorporate AI and ML without compromising trust or security.

Another significant project in this domain is Gensyn, a blockchain-based AI compute protocol that recently completed a $43 million Series A funding round led by a16z.

  • The Hyper Oracle team has suggested, without official confirmation, that their upcoming token might take inspiration from the proof-of-work (POW) systems used by blockchains like Ethereum or Aleo.
  • The fusion of AI and ML with blockchain technology offers exciting prospects for smart contracts. If Hyper Oracle successfully establishes itself in this space, it could potentially see significant increases in its valuation.
  • Hyper Oracle has raised $3 million in funding, with Sequoia China’s seed fund and Dao5 co-leading the round.
  • The project earns trust from key blockchain entities like the Ethereum Foundation, Compound, and Uniswap. Additionally, it boasts a solid roadmap and is led by a founder with a notable career at Google.
  • Hyper Oracle remains in an experimental stage, lacking evidence of its future efficiency and effectiveness.
  • The efficiency and practicality of off-chain authentication methods present hurdles for Hyper Oracle’s opML framework.
  • Key aspects such as tokenomics are yet to be determined, making it challenging to assess this project from an investment standpoint.
  • AI systems, including those within Hyper Oracle, can be intricate and obscure, posing difficulties in understanding, interpretation, and trust.

At Greythorn, we make it a priority to stay updated on the latest developments in blockchain and crypto technology. One particularly intriguing area of growth lies in the intersection of AI and blockchain. While traditional smart contracts follow preset actions triggered by events, the incorporation of AI and ML enables smart contracts to autonomously make real-time decisions. These proactive capabilities represent exciting additions to blockchain functionality.

If you’re keen on exploring this topic further, we invite you to check out our latest research on OLAS.

For more insights and upcoming research pieces, follow us on LinkedInX, and Medium. You can also visit our website for additional information.

If you find this information valuable, we welcome any interaction with this post.

Looking forward to connecting,

The Greythorn Team.

This presentation has been prepared by Greythorn Asset Management Pty Ltd (ABN 96 621 995 659) (Greythorn). The information in this presentation should be regarded as general information only rather than investment advice and financial advice. It is not an advertisement nor is it a solicitation or an offer to buy or sell any financial instruments or to participate in any particular trading strategy. In preparing this document Greythorn did not take into account the investment objectives, financial circumstance or particular needs of any recipient who receives or reads it. Before making any investment decisions, recipients of this presentation should consider their own personal circumstances and seek professional advice from their accountant, lawyer or other professional adviser. This presentation contains statements, opinions, projections, forecasts and other material (forward looking statements), based on various assumptions. Greythorn is not obliged to update the information. Those assumptions may or may not prove to be correct. None of Greythorn, its officers, employees, agents, advisers or any other person named in this presentation makes any representation as to the accuracy or likelihood of fulfilment of any forward looking statements or any of the assumptions upon which they are based. Greythorn and its officers, employees, agents and advisers give no warranty, representation or guarantee as to the accuracy, completeness or reliability of the information contained in this presentation. None of Greythorn and its officers, employees, agents and advisers accept, to the extent permitted by law, responsibility for any loss, claim, damages, costs or expenses arising out of, or in connection with, the information contained in this presentation. This presentation is the property of Greythorn. By receiving this presentation, the recipient agrees to keep its content confidential and agrees not to copy, supply, disseminate or disclose any information in relation to its content without written consent.

Comments

All Comments

Recommended for you

  • Crypto exchange GRVT completes $5 million financing, led by Further Ventures

    GRVT, a ZKsync hybrid encryption exchange, has completed a $5 million financing round with Further Ventures leading the investment.

  • BTC falls below $108,000

    the market shows that BTC has fallen below $108,000 and is now trading at $107,997.19 with a 24-hour increase of 2.91%. The market is fluctuating greatly, so please be prepared for risk control.

  • Blockchain-based animation platform Oshi completes $12.5 million financing, led by Polychain Capital and others

    On January 20th, Oshi, a blockchain-based anime platform, announced the completion of a $12.5 million financing round, led by Polychain Capital and Superscrypt, with participation from Folius Ventures, Sfermion, The Spartan Group, Nomad Capital, CMT Digital, and others.

  • AI-driven crypto analytics platform Mind AI completes $1.2 million in funding, with participation from Lunar Labs Capital and others

    the AI-driven encryption analysis platform, Mind AI, has completed a $1.2 million financing round with participation from Castrum Istanbul, Dewhales, SMO Capital, Metazero Capital, X21 Digital, Zephyrus Capital, AlfaCatalyst, Maven Capital, Unicorn Ventures, and Lunar Labs Capital. The platform aims to solve problems such as information overload and unreliable KOL advice in the encryption industry. The new funds are intended to support the construction of AI and machine learning-based aggregation and analysis tools for on-chain and off-chain data, providing investors with feasible digital asset market analysis and decision-making.

  • Open source economic infrastructure Merit Systems completes $10 million seed round of financing, led by a16z crypto and others

    Merit Systems, an open-source economic infrastructure, has completed a seed round of financing of $10 million, led by a16z crypto and Blockchain Capital, with participation from Solana co-founder Toly, Not Boring Capital founder Packy McCormick, Farcaster co-founder Dan Romero, and Framework Ventures co-founder Vance Spencer. The funds raised will be used to accelerate the development of open-source economy.

  • AI code editor Cursor completes $105 million Series B financing

    On January 17th, AI code editor Cursor announced the completion of a $105 million Series B financing round, with investors including Thrive Capital, Andreessen Horowitz, and Benchmark. This round of funding will be used to expand the team and conduct cutting-edge research, promoting the development of "human-machine collaborative programming" mode and significantly improving programming efficiency.

  • MegaETH Ecosystem DEX Platform GTE Completes $10 Million Financing

    Global Token Exchange (GTE), a decentralized trading platform on the MegaETH blockchain, has raised $10 million in three rounds of financing. This includes $1.5 million in pre-seed financing, $6.942 million in seed financing, and $2.5 million in community financing, the latter of which was conducted on the Echo platform founded by cryptocurrency trader Jordan Fish (also known as Cobie).

  • Nomura-backed cryptocurrency firm Komainu raises $75 million

    Komainu Holdings Ltd., a cryptocurrency custody company supported by Nomura Holdings Inc., has raised $75 million in financing from Blockstream Capital Partners. This funding will be used to support Komainu's global expansion and integrate collateral management and tokenization technology developed by Blockstream.

  • Today's Fear and Greed Index rose to 75, and the level is still Greedy

    Today, the Fear and Greed Index rose to 75, and the level is still greedy. Note: The threshold of the Fear Index is 0-100, including indicators: volatility (25%) + market trading volume (25%) + social media heat (15%) + market research (15%) + Bitcoin's proportion in the entire market (10%) + Google hot word analysis (10%).

  • US PPI data will be released at 21:30 tonight

    investors are currently waiting for the Producer Price Index (PPI) report to be released at 21:30 tonight, as well as the US Consumer Price Index (CPI) data on Wednesday, to further understand the economic situation and the policy direction of the Federal Reserve in 2025. Walter, Chief Market Analyst at KCM Trade, said that if this week's inflation data is weak, the dollar may come under pressure and this could push up gold. Traders are currently betting that the Fed will not significantly ease monetary policy in 2025. In the context of a robust economy and labor market, policymakers need to see new progress in slowing inflation before they can continue to cut interest rates. However, at present, such progress is uncertain. (Jinshi)