Introduction
In the Decentralized Finance (DeFi) ecosystem, "opportunistic traders" engage in a high-stakes competition to extract Miner Extractable Value (MEV) by strategically reordering, inserting, or censoring transactions. While the introduction of Flashbots bundles moved this competition off-chain to mitigate network congestion, it simultaneously facilitated more sophisticated and opaque extraction strategies. Recent research introduces a framework comprising ActLifter and ActCluster to systematically expose this "dark forest," uncovering 17 previously undocumented MEV activity types that appear in over 53% of all bundles.
The MEV Identification Challenge
Existing MEV research faces two primary hurdles. First, most tools rely on hard-coded, application-specific rules (e.g., for Uniswap), which are brittle and lack scalability. Second, current methodologies are designed to detect known attack patterns like sandwiches or liquidations, leaving them blind to "unknown unknowns"—evolving strategies that deviate from established norms.
Methodology: ActLifter and ActCluster
To address these limitations, the proposed framework automates DeFi action identification and enables the discovery of novel MEV strategies.
ActLifter: Automated Identification
ActLifter identifies high-level DeFi actions (e.g., Swaps, NFT Minting) within transaction execution traces through a two-step process:
- Asset Transfer Tracking (S-1): It parses traces to monitor Ether and token transfers (ERC20, ERC721), mapping smart contract events to specific action types.
- Action Recognition (S-2): It matches observed transfer patterns against a library of known DeFi behaviors (e.g., a "Swap" pattern where a contract receives one asset and emits another).
ActCluster: Strategy Discovery
To find undocumented MEV types, the framework employs representation learning and iterative clustering:
- Feature Extraction: A Convolutional Neural Network (CNN) transforms complex transaction bundles into low-dimensional feature vectors.
- Iterative DBSCAN: The DBSCAN algorithm groups similar bundles. Researchers then manually inspect samples from new clusters to identify novel MEV types.
- Pruning Loop: Once a new type is identified, the data is labeled, the model is retrained, and the process repeats, allowing the system to filter out known activities and focus on rare, undocumented strategies.
Key Results and Insights
The framework was evaluated against massive datasets, including DBundle (6.6 million Flashbots bundles) and DTrans (1.3 million transactions).
Performance and Discovery
ActLifter achieved nearly 100% precision and recall, significantly outperforming tools like Etherscan and DeFiRanger. Through ActCluster, the researchers identified 17 new MEV types, such as Liquidity Sandwich Arbitrage and Rebasing Backrun Arbitrage (RBA). The latter exploits the supply-adjustment mechanics of rebase tokens rather than simple price discrepancies.
The Hidden MEV Landscape
A striking 53.12% of analyzed bundles contained MEV activities previously unreported in academic literature. This suggests that the MEV ecosystem is far more diverse than the common focus on sandwiches and simple arbitrage implies.
Security and User Impact
The study quantifies significant risks to blockchain stability. In extreme cases, single blocks contained MEV rewards up to 792 times the standard block reward, creating incentives for miners to attempt chain reorganizations (reorgs). Furthermore, statistical analysis (Granger causality) confirms that MEV activities in one block cause significant delays for regular user transactions in subsequent blocks.
Conclusion
The development of ActLifter and ActCluster reveals a complex and pervasive MEV landscape within Flashbots bundles. By automating the discovery of sophisticated strategies, this research provides a foundation for building more robust "MEV Hunters" to protect users and enhance the security of decentralized networks.
Summary updated