Know Your Intent: An Autonomous Multi-Perspective LLM Agent Framework for DeFi User Transaction Intent Mining
Qian'ang Mao, Yuxuan Zhang, Jiaman Chen, Wenjun Zhou, Jiaqi Yan
TL;DR
The paper tackles understanding user intent behind DeFi transactions in the face of complex on-chain and off-chain signals. It introduces the TIM framework, a structurally deterministic, multi-agent LLM system guided by a grounded-theory–derived DeFi intent taxonomy and a meta-level planner, with reflective multimodal data retrieval and a Cognition Evaluator for verification. Experimental results show TIM substantially outperforms traditional ML models, a single LLM, and single-agent baselines, with ablation indicating each component's necessity. The work enhances explainable, context-aware blockchain analytics and supports applications in risk monitoring, product design, and market forecasting.
Abstract
As Decentralized Finance (DeFi) develops, understanding user intent behind DeFi transactions is crucial yet challenging due to complex smart contract interactions, multifaceted on-/off-chain factors, and opaque hex logs. Existing methods lack deep semantic insight. To address this, we propose the Transaction Intent Mining (TIM) framework. TIM leverages a DeFi intent taxonomy built on grounded theory and a multi-agent Large Language Model (LLM) system to robustly infer user intents. A Meta-Level Planner dynamically coordinates domain experts to decompose multiple perspective-specific intent analyses into solvable subtasks. Question Solvers handle the tasks with multi-modal on/off-chain data. While a Cognitive Evaluator mitigates LLM hallucinations and ensures verifiability. Experiments show that TIM significantly outperforms machine learning models, single LLMs, and single Agent baselines. We also analyze core challenges in intent inference. This work helps provide a more reliable understanding of user motivations in DeFi, offering context-aware explanations for complex blockchain activity.
