[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-117128-en":3,"doc-seo-117128-105":30,"detail-sidebar-cat-0-en-105":83},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},117128,549758252649,"Ivy","https://ap-avatar.wpscdn.com/avatar/8000253669c5317157?_k=1778319167496531819",8,"Research & Report","opML - Optimistic Machine Learning on Blockchain - Fraud Proof Interactive Protocol","Integration of machine learning with blockchain enables decentralized, secure, and transparent AI services, yet running AI computation directly on-chain is often infeasible due to prohibitive gas costs. The document presents opML (Optimistic Machine Learning on chain), an optimistic, interactive fraud-proof protocol inspired by optimistic rollups, designed to deliver verifiable consensus for ML inference without zero-knowledge proofs. opML improves cost-efficiency and participation requirements, allowing execution of larger models such as 7B-LLaMA on standard PCs without GPUs, expanding on-chain accessibility for secure AI services.","arXiv :2401 . 17555v2 [ cs .CR] 5 Feb 2024  \nopML: Optimistic Machine Learning on Blockchain  \nKD CONWAY, Hyper Oracle CATHIE SO, Hyper Oracle XIAOHANG YU, Hyper Oracle KARTIN WONG, Hyper Oracle  \nThe integration of machine learning with blockchain technology has witnessed increasing interest, driven by the vision of decentralized, secure, and transparent AI services. In this context, we introduce opML (Optimistic Machine Learning on chain), an innovative approach that empowers blockchain systems to conduct AI model inference. opML lies a interactive fraud proof protocol, reminiscent of the optimistic rollup systems. This mechanism ensures decentralized and verifiable consensus for ML services, enhancing trust and transparency. Unlike zkML (Zero-Knowledge Machine Learning), opML offers cost-efficient and highly efficient ML services, with minimal participation requirements. Remarkably, opML enables the execution of extensive language models, such as 7B-LLaMA, on standard PCs without GPUs, significantly expanding accessibility. By combining the capabilities of blockchain and AI through opML, we embark on a transformative journey toward accessible, secure, and efficient on-chain machine learning.  \nAdditional Key Words and Phrases: Blockchain, Machine Learning, Fraud Proof, Rollup, Layer 2  \n1 Introduction  \nIn the rapidly evolving digital landscape, technological innovations are continually reshaping the way we interact with and harness the power of information. Among these innovations, the convergence of two remarkable forces, Artificial Intelligence (AI) and blockchain technology, stands out as a pivotal development. AI, with its capacity for advanced data analysis and decision-making, and blockchain, a decentralized ledger known for its security and transparency, have joined forces to explore new frontiers in the digital realm [11, 35, 47] . As two pioneering forces, each with its distinct capabilities, AI and blockchain, are now merging to redefine the boundaries of what’s possible in the digital world. This synergy has given rise to the concept of \"Onchain AI\" [11, 35, 47], a paradigm that holds the promise of delivering decentralized, secure, and efficient AI services directly within the blockchain network.  \nHowever, a prevalent challenge in the current landscape of \"Onchain AI\" is the infeasibility of conducting AI computations directly on chain [26] . For example, a simple task of naïve matrix multiplication of 1000 × 1000 integers would cost over 3 billion gas [50], which far exceeds the current Ethereum’s block gas limit [43] . Consequently, most of these applications resort to off-chain computations on centralized servers, only uploading the results onto the blockchain. While this strategy may yield functional results, it inherently sacrifices decentralization. Such a trade-off not only poses significant security challenges but also diminishes the core principles of trust and transparency that blockchain technology aims to uphold.  \nOne alternative approach is to leverage Zero-Knowledge Machine Learning (zkML) [42, 49] . zkML represents a novel paradigm in the integration of machine learning and blockchain. zkML’s reliance on zk-SNARKs (Zero-Knowledge Succinct Non-Interactive Arguments of Knowledge)[2, 3, 5, 18] has been pivotal in safeguarding confidential model parameters and user data during the training and inference processes. This not only mitigates privacy concerns but also reduces the computational burden on the blockchain network, making zkML a promising candidate for decentralized ML applications.  \nWhile zkML undeniably presents a range of advantages in enhancing privacy and security within machine learning on the blockchain, it is crucial to acknowledge its inherent limitations. One of the most prominent challenges is the high cost associated with proof generation in zkML. The  \nprocess demands considerable computational resources, resulting in extended generation times and substantial memory consumption","cbCaipks4wilkR9o","https://ap.wps.com/l/cbCaipks4wilkR9o","pdf",889180,1,20,"English","en",105,"# Introduction\n## On-chain AI and the computation challenge\n## zkML as an alternative: strengths and limitations\n## Fraud proofs and optimistic systems\n# opML: Optimistic Machine Learning on the blockchain","[{\"question\":\"What is the role of fraud proofs in opML?\",\"answer\":\"opML assumes proposed results are valid by default and introduces a challenge period where validators can challenge and generate a fraud proof if the result is incorrect, keeping arbitration on-chain costs low.\"}]","opML - Optimistic Machine Learning on Blockchain - Fraud Proof Interactive Protocol | PDF",1785674028,50,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":78,"head_meta":80,"extra_data":82,"updated_unix":28},"opml-optimistic-machine-learning-on-blockchain-fraud-proof-interactive-protocol","",{"@graph":36,"@context":77},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/opml-optimistic-machine-learning-on-blockchain-fraud-proof-interactive-protocol/117128/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-02",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71],{"name":72,"@type":73,"acceptedAnswer":74},"What is the role of fraud proofs in opML?","Question",{"text":75,"@type":76},"opML assumes proposed results are valid by default and introduces a challenge period where validators can challenge and generate a fraud proof if the result is incorrect, keeping arbitration on-chain costs low.","Answer","https://schema.org",{"og:url":52,"og:type":79,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":81,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":84},[85,89,93,97,102,106,111,114,118,121,125],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":86,"show_sort_weight":87,"slug":88},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":90,"show_sort_weight":91,"slug":92},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Exam",70,"exam",{"id":98,"doc_module":4,"doc_module_name":46,"category_name":99,"show_sort_weight":100,"slug":101},5,"Comic",60,"comic",{"id":103,"doc_module":4,"doc_module_name":46,"category_name":104,"show_sort_weight":29,"slug":105},6,"Technology","technology",{"id":107,"doc_module":4,"doc_module_name":46,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":112,"slug":113},30,"research-report",{"id":115,"doc_module":4,"doc_module_name":46,"category_name":116,"show_sort_weight":21,"slug":117},9,"Religion & Spirituality","religion-spirituality",{"id":21,"doc_module":4,"doc_module_name":46,"category_name":119,"show_sort_weight":21,"slug":120},"World Cup","world-cup",{"id":122,"doc_module":4,"doc_module_name":46,"category_name":123,"show_sort_weight":122,"slug":124},10,"Lifestyle","lifestyle",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":127,"show_sort_weight":98,"slug":128},19,"General","general"]