← Latest papers
💻 computer science

Tracing the Shadows: Automatic Tracking and Analysis of Crypto Money Laundering via Transaction Semantic Analysis

This paper introduces AMLGuard, a semantic-aware framework that leverages static rule-based analysis and retrieval-augmented LLM reasoning to infer high-level transaction intents and accurately track illicit fund flows across single and cross-chain DeFi environments, achieving superior precision and recall in reconstructing money laundering topologies for over $1 billion in stolen assets.

Original authors: Hao Wu, Haijun Wang, Shangwang Li, Yin Wu, Ming Fan, Ting Liu, Xiapu Luo

Published 2026-07-22
📖 7 min read🧠 Deep dive

Original authors: Hao Wu, Haijun Wang, Shangwang Li, Yin Wu, Ming Fan, Ting Liu, Xiapu Luo

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine the internet as a giant, global playground where people can trade digital tokens without needing a bank or a teacher to watch over them. This is the world of Decentralized Finance, or DeFi. It's like a massive, automated vending machine that never sleeps, letting anyone swap one digital coin for another, lend their coins to earn interest, or borrow against them. But because everyone is anonymous and the machines are open to the public, bad actors have found a way to sneak in. When hackers steal billions of dollars worth of these digital tokens, they don't just keep them; they try to wash them. Think of money laundering like trying to clean a muddy, muddy shoe so it looks brand new. They run the dirty money through a dizzying maze of digital swaps, loans, and jumps between different blockchains (which are like different, separate playgrounds) to hide where it came from. The goal is to make the "dirty" money look so clean and mixed up that no one can tell it was stolen. This is a huge problem because if we can't track the money, we can't catch the thieves or get the money back.

This is where a new tool called AMLGuard comes in, acting like a super-smart detective for the digital world. Traditional methods of tracking stolen crypto are like trying to follow a thief by counting every single step they take, even the ones they take just to tie their shoes. It's messy, confusing, and often leads you in circles. AMLGuard, however, doesn't just count steps; it understands why the thief is moving. It looks at a complex digital transaction and figures out the "story" behind it—was it a swap? A deposit? A cross-chain jump? By understanding the story, it can ignore the noise and follow the real path of the stolen money, even when the thief tries to jump between different blockchains to hide.

The Problem: The Maze of Digital Laundry

In the world of crypto, hackers who steal money face a challenge: they have to hide the origin of their loot. They do this by moving the stolen tokens through a series of addresses, swapping them for different coins, lending them out, and sometimes even sending them across different blockchains (like jumping from one playground to another). This process is called "money laundering."

The problem is that the digital trails left behind are incredibly messy. A single move by a hacker might trigger dozens of tiny, internal computer actions. Old tracking tools look at these tiny actions one by one. They see a token move from Address A to Address B, then to a contract, then to Address C, and they get confused. They might think a harmless computer program (like a vending machine) is a criminal accomplice, or they might get lost in a maze of dead ends. They struggle to see the big picture: "Oh, this whole mess was just a simple swap of one coin for another." Because they can't understand the "meaning" of the transaction, they create huge, noisy maps that are impossible to follow, especially when the money jumps between different blockchains where the connection isn't obvious.

The Solution: AMLGuard's "Semantic" Superpower

The researchers behind this paper, led by Hao Wu and Haijun Wang, built a new system called AMLGuard. Instead of just counting tokens, AMLGuard tries to understand the intent of every transaction. They call this "semantic analysis."

Think of it like this: If you see a person walk into a bakery, buy a cake, and walk out, a basic camera just records "Person moved from Point A to Point B." A smart observer, however, understands the action: "They bought a cake." AMLGuard does this for crypto. It takes a complex transaction and translates it into a high-level "DeFi Semantic Unit" (DSU). Instead of seeing 50 tiny token moves, it sees one clear action: "Swap," "Deposit," or "Withdraw."

To do this, AMLGuard uses two main tricks:

  1. Rule-Based Detective Work: It has a list of common patterns (like "If tokens go in and different tokens come out, it's a swap") to quickly identify standard moves.
  2. AI Brain Power: For the tricky, weird moves that don't fit the rules, it uses a Large Language Model (LLM)—a type of AI that's really good at understanding context. It looks at the messy data and asks the AI, "Based on similar patterns we've seen before, what is this actually doing?" The AI then guesses the meaning, and the system double-checks its own work to make sure it's not making things up.

The Cross-Chain Challenge: Jumping the Fence

One of the hardest parts of tracking money is when it jumps from one blockchain to another (like from Ethereum to Arbitrum). It's like a thief running from one city to another, and the police in the first city lose the trail because the second city's police don't have the same map.

AMLGuard solves this by looking closely at the "envelope" of the transaction. Even though the connection between the two chains isn't always obvious, the system can read the hidden instructions inside the transaction data to figure out exactly where the money is going next. It recovers the "cross-chain intent," allowing the tracking to continue seamlessly across different blockchains without breaking the trail.

The Results: Catching the Thieves

The researchers tested AMLGuard on 82 real-world cases where hackers had stolen over $1 billion in assets. They compared it against five other top tracking methods.

The results were impressive:

  • Accuracy: AMLGuard found the final destination of the stolen money with 94.4% precision on single-chain cases and 87.6% on cross-chain cases. This means when it pointed to a final address, it was almost always right.
  • Completeness: It managed to find 98.4% of the addresses involved in single-chain laundering and 95.8% on cross-chain cases. It didn't miss many steps.
  • Efficiency: While other tools got lost in huge, messy maps with tens of thousands of transactions, AMLGuard kept the map small and clean, analyzing only about 299 transactions per incident on average. This made it much faster for human investigators to review.

In a real-world test, human experts using AMLGuard were able to solve complex cases in 10 minutes and 3 minutes, respectively, compared to the much longer time it took them to do it manually or with older tools. The system successfully reconstructed the "illicit fund-flow topology," which is just a fancy way of saying it drew a clear, accurate map of how the stolen money moved from the hacker to the final cash-out spot.

What It Doesn't Do (And What's Next)

It's important to know what AMLGuard doesn't do. It stops tracking once the money hits a "mixer" (a service designed to scramble coins so they are untraceable) or a centralized exchange where the thief cashes out. Once the money enters a mixer, the trail is considered broken for this study. Also, the system currently focuses on transactions that happen all at once (single transactions). It doesn't yet track complex schemes that stretch out over many different days and transactions, though the researchers think that's a good thing to work on next.

The paper suggests that by understanding the meaning of digital transactions rather than just the raw data, we can build much better defenses against crypto crime. AMLGuard shows that with the right mix of rules and smart AI, we can cut through the noise and trace the shadows, making it harder for thieves to hide their loot.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →