伪MDP:一种高效优化区块链中最后揭示者种子操纵的框架
Pseudo-MDPs: A Novel Framework for Efficiently Optimizing Last Revealer Seed Manipulations in Blockchains
AI总结:
针对区块链最后揭示者攻击的MDP求解难题,提出伪MDP框架,通过双重归约将复杂度从指数级降至多项式级,并保证快速收敛,适用于资源受限场景。
摘要:
本研究解决了求解一类受限马尔可夫决策过程(MDP)的计算挑战。其动机源于最后揭示者攻击(LRA),该攻击破坏了某些权益证明(PoS)区块链(如以太坊,市值4000亿美元)的公平性。我们引入了伪MDP(pMDP)这一框架,自然地对这类问题进行建模,并提出了两种将问题归约为标准MDP的归约方法。其中一种归约提供了一种新颖的、反直觉的视角,而将两种归约结合使用,能够显著改进诸如值迭代等动态规划算法。对于规模由κ参数化的LRA(以太坊中κ=325),我们将计算复杂度从O(2^κκ^{2^{κ+2}})降低到O(κ^4)(每次迭代)。该解决方案还提供了动态规划解决方案的常见优势:保证指数级快速收敛到最优解。双重视角还简化了策略提取,使得该方法非常适合资源受限的智能体,这些智能体在问题解决后可以在极有限的存储和计算条件下运行。此外,我们将这些结果推广到更广泛的MDP类别,增强了其适用性。该框架通过两个案例研究进行了验证:一个虚构的纸牌游戏和以太坊随机种子共识协议上的LRA。这些应用证明了该框架能够有效解决大规模问题,同时为最优策略提供可操作的见解。这项工作推进了MDP的研究,并有助于理解区块链系统中的安全漏洞。
英文摘要:
This study tackles the computational challenges of solving Markov Decision Processes (MDPs) for a restricted class of problems. It is motivated by the Last Revealer Attack (LRA), which undermines fairness in some Proof-of-Stake (PoS) blockchains such as Ethereum (\$400B market capitalization). We introduce pseudo-MDPs (pMDPs) a framework that naturally models such problems and propose two distinct problem reductions to standard MDPs. One problem reduction provides a novel, counter-intuitive perspective, and combining the two problem reductions enables significant improvements in dynamic programming algorithms such as value iteration. In the case of the LRA which size is parameterized by $κ$ (in Ethereum's case $κ$= 325), we reduce the computational complexity from $O(2^κκ^{2^{κ+2}})$ to $O(κ^4)$ (per iteration). This solution also provide the usual benefits from Dynamic Programming solutions: exponentially fast convergence toward the optimal solution is guaranteed. The dual perspective also simplifies policy extraction, making the approach well-suited for resource-constrained agents who can operate with very limited memory and computation once the problem has been solved. Furthermore, we generalize those results to a broader class of MDPs, enhancing their applicability. The framework is validated through two case studies: a fictional card game and the LRA on the Ethereum random seed consensus protocol. These applications demonstrate the framework's ability to solve large-scale problems effectively while offering actionable insights into optimal strategies. This work advances the study of MDPs and contributes to understanding security vulnerabilities in blockchain systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。