{"paper_id":"2611.27987","title":"Empirical Limits of Risk-Averse Reinforcement Learning versus Gas-Aware Routing in Deterministic DeFi Execution","authors":["Sri Sairam Gautam B"],"paper_date":"2026-05-18","paper_type":"empirical","paper_url":"https://arxiv.org/pdf/2611.27987","page_url":"https://thequant.space/flowcharts/empirical-limits-of-risk-averse-reinforcement-learning-versus-gas-aware-routing/","scores":{"empirical_rigor":8,"math_complexity":7.5,"quadrant":"Holy Grail"},"proposes":{"status":"available","statement":"We propose a Proximal Policy Optimisation (PPO) agent with a Rockafellar‑Uryasev Conditional Value‑at‑Risk (CVaR) penalty and a dual‑head Chow‑Ghavamzadeh critic, trained on a calibrated deterministic AMM/MEV environment and benchmarked against a myopic gas‑aware oracle.","quote":"A Proximal Policy Optimisation (PPO) agent with a Rockafellar-Uryasev Conditional Value-at-Risk (CVaR) penalty and a dual-head Chow-Ghavamzadeh critic is trained for one million steps across five risk-aversion levels and seeds, benchmarked against a myopic gas-aware oracle.","summary":"The migration of order execution to Automated Market Makers (AMMs) introduces two deterministic frictions absent from classical microstructure: closed-form constant-product slippage and Maximal Extractable Value (MEV) sandwich attacks gated by gas costs. We construct an end-to-end execution…","strategy":null},"assumptions":{"status":"available","items":[{"assumption":"Slippage on a Uniswap V2 pool follows the closed‑form constant‑product invariant and is deterministic.","type":"model","stated":"explicit","quote":"First, slippage on a Uniswap V2 pool is not stochastic; the post-trade reserves are determined exactly by the constant-product invariant [3].","support":"full"},{"assumption":"Every pending swap is publicly visible, allowing a rational arbitrageur to sandwich the trader whenever profit exceeds gas cost.","type":"model","stated":"explicit","quote":"Second, every pending swap is publicly visible in the mempool, so a rational arbitrageur can sandwich the trader’s order with two paired transactions whenever the resulting profit exceeds gas cost [4], [5].","support":"full"},{"assumption":"The base fee follows an AR(1)‑lognormal process fitted to the most recent 200 EIP‑1559 fee‑history records.","type":"statistical","stated":"explicit","quote":"We fit, via ordinary least squares on the most recent 200 EIP-1559 fee-history records [10], log bt+1 = µb + ϕb(log bt −µb) + σbεb t, (3) log pprio t = α + β log bt + σpεp t , (4) with εb t, εp t ∼N(0, 1) independent.","support":"full"},{"assumption":"Gas cost is computed as ct = (bt + pprio_t)·gasLimit·ρETH/10^18 with a fixed gasLimit of 2×10^5.","type":"execution","stated":"explicit","quote":"Total gas cost in the quote token is ct = (bt + pprio t ) · gasLimit · ρETH/1018, (5) where ρETH is the ETH price in quote units and gasLimit = 2 × 105 is the standard swap gas budget.","support":"partial"}]},"datasets":{"status":"available","items":[{"name":"Live Uniswap V2 WETH/USDC reserves and fee‑history","provider":"Ethereum mainnet","kind":"crypto-onchain","access":"public","period":null,"universe":"WETH/USDC pool","quote":"We construct an end-to-end execution environment calibrated to live Uniswap V2 reserves, an EIP-1559 AR(1) gas process, and real Swap events, utilising stress-volatility gas shocks to make the MEV trigger informative. We construct an end-to-end execution environment calibrated to live Uniswap V2 WETH/USDC reserves, an EIP-1559 AR(1)-lognormal gas process fitted to 200 consecutive mainnet blocks, and cyclic replay of","support":"full"}],"known":[],"sample":{"start":null,"end":null,"market":null,"asset_class":null,"frequency":null},"data_resolution":"synthetic"},"transaction_costs":{"status":"available","modeled":"yes","headline_net_of_costs":null,"detail":"Gas cost is explicitly modeled using the formula ct = (bt + pprio_t)·gasLimit·ρETH/10^18 with gasLimit = 2×10^5.","quote":"Total gas cost in the quote token is ct = (bt + pprio t ) · gasLimit · ρETH/1018, (5) where ρETH is the ETH price in quote units and gasLimit = 2 × 105 is the standard swap gas budget.","source":"front_matter","rule":"R3","candidates":{"front_matter":"yes","evidence_card":"yes","evidence_card_quoted":true},"card_detail":"Gas cost is explicitly modeled using the formula ct = (bt + pprio_t)·gasLimit·ρETH/10^18 with gasLimit = 2×10^5.","card_quote":"Total gas cost in the quote token is ct = (bt + pprio t ) · gasLimit · ρETH/1018, (5) where ρETH is the ETH price in quote units and gasLimit = 2 × 105 is the standard swap gas budget.","meaning":"costs are part of the reported headline results"},"results":{"status":"available","evaluation_type":"unclear","findings":[{"finding":"On the corrected environment, the strongest PPO variant captures 79% of the myopic gas‑aware oracle (46,542 ± 673 USDC vs 58,786 ± 616 USDC).","kind":"performance","quote":"On the corrected environment, the strongest PPO variant captures 79\\% of the myopic gas-aware oracle (46,542 $\\pm$ 673 vs 58,786 $\\pm$ 616 USDC), and extending the observation with three blocks of gas history fails to close the gap.","support":"full"},{"finding":"No empirical evidence that the tested model‑free PPO policies dominate the myopic gas‑aware oracle.","kind":"negative","quote":"We find no empirical evidence that the tested model-free MLP policies dominate this myopic gas-aware oracle, which can be evaluated in $\\mathcal{O}(\\log ε^{-1})$ time per block.","support":"full"},{"finding":"The best PPO run achieves 79.2% of the analytical oracle, outperforming the TWAP baseline by 23% but underperforming the oracle by 21%.","kind":"performance","quote":"The best PPO cell is the gas-history λ = 0.0 run at 46,542 USDC, which is 79.2% of the 58,786 USDC analytical oracle and is materially above the twap baseline at 37,847 USDC. PPO outperforms twap by 23% but underperforms the analytical oracle by 21%.","support":"full"},{"finding":"Extending the observation with three blocks of gas history does not close the performance gap to the oracle.","kind":"negative","quote":"Gas history does not rescue PPO.","support":"full"},{"finding":"A three‑block gas‑history extension did not close the gap to the oracle within 10^6 training steps.","kind":"negative","quote":"A three-block gas-history extension did not close the gap to the oracle within 106 steps.","support":"partial"}],"reported_performance":null,"out_of_sample":{"method":"unclear","headline_out_of_sample":null}},"independent_evidence":{"status":"none_found","supports":[],"contradicts":[],"qualifies":[],"compared_with":14,"citations":{"cited_by_in_corpus":0,"by_independent_authors":0,"how_cited":{"used_as_baseline":0,"uses_method_or_data":0,"extends":0,"discusses_findings":0,"mentions":0,"unclassified":0},"independent_papers":[],"scope":"Citations between papers in this corpus only; citations from outside it are not counted."}},"implementation":{"status":"available","public":false,"code_url":null,"note":"No repository presented by the authors as their own was found in the paper. Absence here is not proof that no code exists."},"replication":{"status":"none_found","card":null,"note":"No replication of this paper has been run by thequant.space yet."},"extraction":{"text_source":"fulltext","model":"openai/gpt-oss-120b","version":3,"extracted_at":"2026-11-24T11:40:58Z"},"provenance":{"claims":"Everything here is what the authors state in the paper. Nothing was re-run or reproduced by the platform.","quotes":"Assumptions, datasets, cost detail and findings were extracted by a language model. Every quote is verbatim paper text. Where an item has `support`, \"full\" means every figure in it appears in the quoted sentences and \"partial\" means a figure is stated elsewhere in the paper; items with a figure found nowhere in the paper were discarded.","datasets_known":"datasets.known lists well-known vendors and public datasets by a stable id, found by a dictionary over the full text where the sentence says the data is used; it is independent of the model and covers only names in the dictionary.","flags":"transaction_costs.modeled, results.evaluation_type and results.out_of_sample.method are platform classifications (structured-decision models); see https://thequant.space/score-guide/#penalty-flags","comparisons":"supports / contradicts / qualifies are a language model's reading of two papers' quoted findings, restricted to closely related papers that share no author. They are pointers to read, not verified replications, and coverage is partial.","implementation":"code_url is a repository the paper itself presents as its own (rule-scored, ambiguous cases judged by a model), checked for liveness when it was recorded."},"docs":"https://thequant.space/agents/"}