arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.00337stat.APcs.CE
收藏

一种实用且经济的贝叶斯方法用于Gas Price预测

A Practical and Economical Bayesian Approach to Gas Price Prediction

ChihYun Chuang, TingFang Lee

AI总结:

本文提出一种基于高斯过程的贝叶斯方法预测以太坊gas price,在交易量波动大时优于传统预言机,并推荐高斯过程与GasStation-Express混合模型以提升效率与准确性。

摘要:

在以太坊网络上,确定一个既能确保交易在用户要求的时间线内被打包进区块,又不会支付过高的gas price是具有挑战性的。解决此问题的一种方法是利用历史区块数据来推荐gas price的gas price预言机。然而,当交易量迅速增加时,这些预言机往往会低估或高估价格。在本文中,我们展示了高斯过程模型如何在交易量增加时预测即将到来的区块中最低价格的分布。这是有效的,因为这些过程考虑了区块之间的时间相关性。我们使用高斯过程模型对历史区块数据进行了实证分析,并将其性能与GasStation-Express和Geth gas price预言机进行了比较。结果表明,当交易量波动很大时,高斯过程模型提供了更好的估计。此外,我们证明了通过使用经过适当预处理的较小训练样本量,可以改进GasStation-Express和Geth。基于实证分析的结果,我们推荐了一种由高斯过程和GasStation-Express组成的混合模型gas price预言机。该预言机提供了效率、准确性和更好的成本。

英文摘要:

On the Ethereum network, it is challenging to determine a gas price that ensures a transaction will be included in a block within a user's required timeline without overpaying. One way of addressing this problem is through the use of gas price oracles that utilize historical block data to recommend gas prices. However, when transaction volumes increase rapidly, these oracles often underestimate or overestimate the price. In this paper, we demonstrate how Gaussian process models can predict the distribution of the minimum price in an upcoming block when transaction volumes are increasing. This is effective because these processes account for time correlations between blocks. We performed an empirical analysis using the Gaussian process model on historical block data and compared the performance with GasStation-Express and Geth gas price oracles. The results suggest that when transactions volumes fluctuate greatly, the Gaussian process model offers a better estimation. Further, we demonstrated that GasStation-Express and Geth can be improved upon by using a smaller training sample size which is properly pre-processed. Based on the results of empirical analysis, we recommended a gas price oracle made up of a hybrid model consisting of both the Gaussian process and GasStation-Express. This oracle provides efficiency, accuracy, and better cost.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑