CRApr 4

LiquiLM: Bridging the Semantic Gap in Liquidity Flaw Audit via DCN and LLMs

arXiv:2604.0386010.3
Predicted impact top 41% in CR · last 90 daysOriginality Incremental advance
AI Analysis

This addresses a critical security issue for DeFi and PoL ecosystems by improving audit accuracy, though it is incremental as it combines existing LLMs with a novel network for a specific bottleneck.

The paper tackles the problem of detecting hidden liquidity logic flaws in smart contracts, which threaten system stability and asset security in DeFi and Proof of Liquidity ecosystems, by proposing the LiquiLM framework that integrates LLMs with a Dynamic Co-Attention Network; it achieves F1-scores exceeding 90% on validation contracts and identifies 238 high-risk contracts and 10 CVE-certified vulnerabilities in real-world audits.

Traditional consensus mechanisms, such as Proof of Stake (PoS), increasingly reveal an excessive dependency on large liquidity providers. Although the Proof of Liquidity (PoL) mechanism serves as a critical paradigm for incentivizing sustained liquidity provision and ensuring market stability, its transition from asset staking to active liquidity management significantly increases the complexity of underlying smart contract economic models and interaction logic. This renders hidden liquidity logic flaws difficult to detect via traditional methods, seriously threatening the system stability and user asset security of mainstream DeFi and emerging PoL ecosystems. To address this, we propose the LiquiLM framework, which integrates Large Language Models (LLMs) with a Dynamic Co-Attention Network (DCN). By establishing a dynamic interaction between liquidity-critical contracts and flaw descriptions, the framework effectively bridges the semantic gap between underlying code implementations and high-level liquidity intents. We evaluate the performance of LiquiLM on 1,490 validation contracts (covering precision, recall, specificity, and F1-score). The results show that it achieves significant effectiveness in auditing and explaining liquidity flaws: in experiments using Gemini 3 Pro and GPT-4o as backbone models, respectively, the F1-scores both exceed 90%. Furthermore, through an in-depth audit of 1,380 real-world PoL and Ethereum economic contracts, LiquiLM successfully identifies 238 high-risk contracts and assists in discovering 10 vulnerabilities that have received CVE certification.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes