ACon $^2$:可证明区块链预言机的自适应共形共识
ACon$^2$: Adaptive Conformal Consensus for Provable Blockchain Oracles
摘要:
具有智能合约的区块链是分布式账本系统,通过仅允许智能合约的确定性操作来实现分布式节点之间的块状态一致性。然而,智能合约的力量是通过与随机的链下数据交互来实现的,这反过来又有可能破坏块状态的一致性。为了解决这个问题,使用Oracle智能合约来提供外部数据的单一一致源;但同时,这引入了一个单点故障,称为Oracle问题。为了解决预言机问题,我们提出了一个自适应共形共识(ACon $^2$)算法,通过在线不确定性量化学习的最新进展,从多个预言机合同中获得共识数据集。有趣的是,共识集在分布偏移和拜占庭对手下提供了所需的正确性保证。我们在两个价格数据集和以太坊案例研究上证明了该算法的有效性。特别是,所提出的算法的Solidity实现显示了所提出的算法的潜在实用性,这意味着在线机器学习算法适用于解决区块链中的安全问题。
英文摘要:
Blockchains with smart contracts are distributed ledger systems that achieve block-state consistency among distributed nodes by only allowing deterministic operations of smart contracts. However, the power of smart contracts is enabled by interacting with stochastic off-chain data, which in turn opens the possibility to undermine the block-state consistency. To address this issue, an oracle smart contract is used to provide a single consistent source of external data; but, simultaneously, this introduces a single point of failure, which is called the oracle problem. To address the oracle problem, we propose an adaptive conformal consensus (ACon$^2$) algorithm that derives a consensus set of data from multiple oracle contracts via the recent advance in online uncertainty quantification learning. Interesting, the consensus set provides a desired correctness guarantee under distribution shift and Byzantine adversaries. We demonstrate the efficacy of the proposed algorithm on two price datasets and an Ethereum case study. In particular, the Solidity implementation of the proposed algorithm shows the potential practicality of the proposed algorithm, implying that online machine learning algorithms are applicable to address security issues in blockchains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。