Badruddoja, Syed and Dantu, Ram and He, Yanyan and Salau, Abiola and Upadhyay, Kritagya (2023) Scalable Smart Contracts for Linear Regression Algorithm. In: Blockchain Technology and Emerging Technologies. Second EAI International Conference, BlockTEA 2022, Virtual Event, November 21-22, 2022, Proceedings.
75436.pdf
Download (466kB)
Abstract
Linear regression algorithms capture information from previous experiences and build a cognitive model to forecast the future. The information and the cognitive model representing the history of predicting future outputs must be reliable so that expected results are trusted. Furthermore, the algorithms must be explainable and traceable, making the learning process meaningful and trackable. Blockchain smart contracts boost information integrity, providing trust and the provenance of distributed ledger transactions that support such requirements. Smart contracts are traditionally developed to perform simple transactions with integer operations. However, developing learning algorithms such as linear regression with smart contracts mandates complex computation involving floating-point operations, which are not supported by smart contracts. Moreover, smart contract transactions are expensive and time-consuming. In this work, we propose a novel implementation of smart contracts for linear regression algorithms with fraction-based computation that can train and predict on the Ethereum blockchain. Our smart contract-based training and prediction technique with Solidity programming language produced a similar mean square error to the scikit-learn-based prediction model. Moreover, our design strategy saves training costs for linear regression algorithms through off-chain computations with an optimistic roll-up solution. The off-chain training and on-chain prediction strategy demonstrated in our work will help academic and industry researchers to develop cost-effective distributed AI applications in the future.
| Item Type: | Conference or Workshop Item (UNSPECIFIED) |
|---|---|
| Uncontrolled Keywords: | Blockchain, dApp, Smart Contract, Artificial Intelligence, Multiple Linear Regression, Arbitrum, Ethereum |
| Date Deposited: | 04 Mar 2026 19:20 |
| Last Modified: | 20 Nov 2026 11:24 |
| URI: | https://eprints.eai.eu/id/eprint/56092 |
