ACon$^2$: Adaptive Conformal Consensus for Provable Blockchain Oracles
- URL: http://arxiv.org/abs/2211.09330v1
- Date: Thu, 17 Nov 2022 04:37:24 GMT
- Title: ACon$^2$: Adaptive Conformal Consensus for Provable Blockchain Oracles
- Authors: Sangdon Park and Osbert Bastani and Taesoo Kim
- Abstract summary: Power of smart contracts is enabled by interacting with off-chain data, which in turn opens the possibility to undermine the block state consistency.
We propose an adaptive conformal consensus (ACon$2$) algorithm, which derives consensus from multiple oracle contracts.
In particular, the proposed algorithm returns a consensus set, which quantifies the uncertainty of data and achieves a desired correctness guarantee.
- Score: 31.439376852065713
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Blockchains with smart contracts are distributed ledger systems which 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, which derives consensus from
multiple oracle contracts via the recent advance in online uncertainty
quantification learning. In particular, the proposed algorithm returns a
consensus set, which quantifies the uncertainty of data and achieves a desired
correctness guarantee in the presence of Byzantine adversaries and distribution
shift. 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 practicality of the proposed algorithm,
implying that online machine learning algorithms are applicable to address
issues in blockchains.
Related papers
- Contractual Reinforcement Learning: Pulling Arms with Invisible Hands [68.77645200579181]
We propose a theoretical framework for aligning economic interests of different stakeholders in the online learning problems through contract design.
For the planning problem, we design an efficient dynamic programming algorithm to determine the optimal contracts against the far-sighted agent.
For the learning problem, we introduce a generic design of no-regret learning algorithms to untangle the challenges from robust design of contracts to the balance of exploration and exploitation.
arXiv Detail & Related papers (2024-07-01T16:53:00Z) - DecTest: A Decentralised Testing Architecture for Improving Data Accuracy of Blockchain Oracle [5.327976961338759]
We introduce a new Decentralized Testing architecture (DecTest) that aims to improve data accuracy.
A blockchain oracle random secret testing mechanism is first proposed to enhance the monitoring and verification of nodes.
We successfully reduced the discrete entropy value of the acquired data and the real value of the data by 61.4%.
arXiv Detail & Related papers (2024-04-21T05:10:17Z) - Generative AI-enabled Blockchain Networks: Fundamentals, Applications,
and Case Study [73.87110604150315]
Generative Artificial Intelligence (GAI) has emerged as a promising solution to address challenges of blockchain technology.
In this paper, we first introduce GAI techniques, outline their applications, and discuss existing solutions for integrating GAI into blockchains.
arXiv Detail & Related papers (2024-01-28T10:46:17Z) - Addressing Trust Challenges in Blockchain Oracles Using Asymmetric Byzantine Quorums [0.5461938536945723]
A third-party interface or what is known as an Oracle is needed to interact with the external world.
The genuineness of the data sourced by these Oracles is paramount, as it directly influences the Byzantine's reliability, credibility, and scalability.
A strategy rooted in fault tolerance phi is introduced to tackle these challenges.
An autonomous system for sustainability and audibility, built on detection, is put forth.
arXiv Detail & Related papers (2023-12-30T08:53:45Z) - Blockchain Smart Contract Threat Detection Technology Based on Symbolic
Execution [0.0]
Reentrancy vulnerability, which is hidden and complex, poses a great threat to smart contracts.
In this paper, we propose a smart contract threat detection technology based on symbolic execution.
The experimental results show that this method significantly increases both detection efficiency and accuracy.
arXiv Detail & Related papers (2023-12-24T03:27:03Z) - A Trustworthy and Consistent Blockchain Oracle Scheme for Industrial Internet of Things [7.430160508879777]
This paper proposes a secure and reliable oracle scheme that can obtain high-quality off-chain data.
Specifically, we first design an oracle node selection algorithm based on Verifiable Random Function (VRF) and reputation mechanism.
Second, we propose a data filtering algorithm based on a sliding window to further improve the consistency of the collected data.
arXiv Detail & Related papers (2023-10-08T02:44:29Z) - Byzantine-Robust Online and Offline Distributed Reinforcement Learning [60.970950468309056]
We consider a distributed reinforcement learning setting where multiple agents explore the environment and communicate their experiences through a central server.
$alpha$-fraction of agents are adversarial and can report arbitrary fake information.
We seek to identify a near-optimal policy for the underlying Markov decision process in the presence of these adversarial agents.
arXiv Detail & Related papers (2022-06-01T00:44:53Z) - Blockchain Framework for Artificial Intelligence Computation [1.8148198154149393]
We design the block verification and consensus mechanism as a deep reinforcement-learning process.
Our method is used to design the next generation of public blockchain networks.
arXiv Detail & Related papers (2022-02-23T01:44:27Z) - Online Adversarial Attacks [57.448101834579624]
We formalize the online adversarial attack problem, emphasizing two key elements found in real-world use-cases.
We first rigorously analyze a deterministic variant of the online threat model.
We then propose algoname, a simple yet practical algorithm yielding a provably better competitive ratio for $k=2$ over the current best single threshold algorithm.
arXiv Detail & Related papers (2021-03-02T20:36:04Z) - Coded Stochastic ADMM for Decentralized Consensus Optimization with Edge
Computing [113.52575069030192]
Big data, including applications with high security requirements, are often collected and stored on multiple heterogeneous devices, such as mobile devices, drones and vehicles.
Due to the limitations of communication costs and security requirements, it is of paramount importance to extract information in a decentralized manner instead of aggregating data to a fusion center.
We consider the problem of learning model parameters in a multi-agent system with data locally processed via distributed edge nodes.
A class of mini-batch alternating direction method of multipliers (ADMM) algorithms is explored to develop the distributed learning model.
arXiv Detail & Related papers (2020-10-02T10:41:59Z) - Learning while Respecting Privacy and Robustness to Distributional
Uncertainties and Adversarial Data [66.78671826743884]
The distributionally robust optimization framework is considered for training a parametric model.
The objective is to endow the trained model with robustness against adversarially manipulated input data.
Proposed algorithms offer robustness with little overhead.
arXiv Detail & Related papers (2020-07-07T18:25:25Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.