Is the Post-Shock Collapse of Crypto Laundering Detectors a Ranking Failure or a Calibration Failure?

Machine-learning detectors for illicit cryptocurrency transactions work well on held-out data and then fail when the world changes. On the Elliptic Bitcoin benchmark, a darknet marketplace was shut down by law enforcement at time step 43, and every model tested (random forests, graph networks, temporal graph networks) lost most of its illicit-class accuracy right after that event. After OFAC sanctioned the Tornado Cash mixer on Ethereum, launderers moved to cross-chain bridges and dusting attacks within days. Both papers treat this as one undifferentiated "collapse." This proposal argues the collapse has two separable parts. One is a change in how common illicit activity is, which breaks a detector's decision threshold but leaves its ordering of suspicious accounts intact. The other is a change in what illicit activity looks like, which breaks the ordering itself. The first can be repaired within hours using unlabeled data and a signal that tells the system a shock has happened. The second cannot be repaired without new labels.

Off-chain information supplies that signal. Enforcement announcements, sanction notices, and crypto market price regimes arrive at the moment of a shock, weeks before investigators produce new labels. We propose to measure how much of each historical collapse is threshold breakage and how much is ordering breakage. We then test whether off-chain event signals, used only to decide when and in which direction to recalibrate a frozen detector, recover performance faster than on-chain change detection or rolling retraining. If they do not, the honest conclusion is that off-chain data adds nothing for this problem, and the experiments are built to show that clearly.

Core Claim

A large share of post-shock detection loss is prior shift: the fraction of illicit transactions moves while the appearance of each class changes little. This share is recoverable without labels. If the detector's scores are $s(x) \approx p_{\text{old}}(y \mid x)$, then under pure prior shift the correct posterior after the shock is

$$ p_{\text{new}}(y \mid x) \propto \frac{\pi_{\text{new}}(y)}{\pi_{\text{old}}(y)}\, p_{\text{old}}(y \mid x), $$

where $\pi_{\text{old}}(y)$ and $\pi_{\text{new}}(y)$ are the class frequencies before and after the shock. $\pi_{\text{new}}$ can be estimated from the unlabeled post-shock score distribution. This rescaling leaves the ranking of accounts unchanged. So the diagnostic is direct: if ranking metrics survive the shock and F1 does not, the collapse is mostly threshold breakage.

The contribution that crosses the three directions is narrower than "fuse text with transaction graphs." Off-chain signals are not used as features of individual transactions. They are used as a trigger, and as a prior on the sign of the class-frequency change. A marketplace seizure implies fewer illicit transactions. A sanction implies rerouting, with possibly stable volume but new venues. The bet is that this trigger reaches the detector earlier than any on-chain change detector, because the on-chain one must wait for enough post-shock blocks to accumulate.

Relation to Prior Work

Two papers motivate the proposal by documenting shocks. Anti-Money Laundering in Bitcoin: Experimenting with Graph Convolutional Networks for Financial Forensics built the Elliptic dataset: 203,769 transactions over 49 two-week steps, with 166 features. It reports the step-43 collapse in illicit F1, but it does not separate ranking loss from threshold loss, and it attempts no recovery. Evasion Under Blockchain Sanctions tracked 957 days of Ethereum after the Tornado Cash sanctions. It introduced a continuous impurity score (the fraction of an address's balance traceable to illicit sources) and documented rerouting to THORChain (over 32% of tainted funds) and dusting attacks. That paper is backward-looking tracing. We reuse its impurity score as an input feature and a baseline, and we treat its sanction date as a natural experiment.

Two papers constrain the design. Towards Improved Illicit Node Detection with Positive-Unlabelled Learning shows that labels in this domain are incomplete. It relies on the assumption that labeled illicit nodes are a random sample of all illicit nodes, and it concedes that this assumption breaks as enforcement targeting changes. Our class-frequency estimates must therefore be read as estimates of the labeled illicit share, and we report that caveat with every result. Effective Illicit Account Detection on Large Cryptocurrency MultiGraphs (DIAM) is the strongest static detector in the file, but it is evaluated only on random splits. We test whether its advantage survives a chronological split with a shock in it.

The adaptation and multimodal ideas come from finance. Financial Forecasting from Textual and Tabular Time Series found that text stayed predictive during the 2020 shock while backward-looking numbers failed. That is the motivating analogy for off-chain signals leading on-chain ones. Jiarui Wang combines a long-history model with a short-window model to cut lag after regime changes. We borrow this dual-horizon structure for the class-frequency estimator. Enhancing financial crisis prediction: integrating change point detection for exogenous event identification supplies the change-point detection machinery we use as the on-chain trigger to beat.

CTBench supplies hourly Binance prices for 452 tokens from 2020 to 2024, which we use for market-regime context. It also supplies a warning: low statistical error did not translate into useful decisions. That warning is why we evaluate at a fixed audit budget rather than by F1 alone, a point also argued by Temporal Relational Ranking for Stock Prediction for portfolios.

Research Program

The first stage is a decomposition study. On Elliptic, we freeze detectors trained on steps 1–34 and score every later step. For each step we compute illicit F1 at the frozen threshold, ranking quality (area under the precision–recall curve), and precision among the top $k$ flagged transactions. Here $k$ is a fixed audit budget, set as the number an analyst team could review per period. The gap between F1 loss and ranking loss before and after step 43 measures how much of the collapse is threshold breakage.

On Ethereum, we rebuild the impurity-score pipeline of Liu et al. across the sanction date and train a DIAM-style detector on pre-sanction labels. We then report the same decomposition, split by laundering venue: the mixer, DEX swaps, and bridges.

The second stage tests the decomposition causally on AMLworld, an agent-based simulator of money laundering with ground-truth labels. Because the simulator lets us control the data-generating process, we inject two kinds of shock mid-stream. A "seizure" shock removes one laundering typology. A "rerouting" shock keeps illicit volume but changes its pattern. The decomposition should attribute the first shock mostly to threshold breakage and the second mostly to ranking breakage. If it does not, the diagnostic is invalid and stage one's conclusions are withdrawn.

The third stage builds the recalibrator. It keeps the detector frozen and re-estimates the illicit share $\pi_{\text{new}}$ from unlabeled scores using expectation-maximization over the score mixture. Following Wang, it keeps a long-horizon estimate and a short-window estimate, and it switches weight to the short window when a trigger fires.

Triggers come from three sources. The on-chain source is change-point detection on transaction-volume and impurity-score aggregates. The off-chain source is a classifier over enforcement and sanction announcements, together with a market regime state computed from CTBench prices. The off-chain classifier also outputs the expected sign of the class-frequency change, which serves as a prior in the estimation step. The third source is an oracle, the true event date, which serves as the upper bound.

On Elliptic, calendar dates are anonymized. The off-chain signal there therefore collapses to "a shock occurred at step 43." Ethereum, where announcement dates and on-chain timestamps are both real, is the only place the timing advantage of text can actually be measured.

Baselines

The do-nothing reference is the frozen random forest on all Elliptic features. Weber et al. report an illicit F1 of 0.788 for it on their temporal test split. We report its per-step trajectory, which is where the collapse appears. The same paper reports EvolveGCN at 0.720 and Skip-GCN at 0.705. EvolveGCN is the existing attempt to handle time by evolving graph weights, so it is the natural "learned temporal adaptation" competitor. We retrain both with the authors' splits and an equal hyperparameter search budget.

The strongest existing detector is DIAM. On Bitcoin-L it reports F1 of 96.55%, against 83.92% for the runner-up, but on a non-chronological split. We rerun it on the Ethereum sanction window with a chronological split, using its sequence-length cap of 32 and the same GPU budget given to every other method.

For tracing, the reference is the impurity score of Liu et al., which reports 97.61% precision and 74.08% recall on the Bybit exploit. We use it both as a standalone scorer and as an input feature, so that recalibration gains are not just a re-expression of tracing gains.

The strongest practical competitor is rolling retraining with realistic label delay. The model is retrained every period on labels that become available a fixed lag later, with lags of one, two, and four steps. Recalibration counts as beating it if it reaches higher precision at the fixed audit budget during the lag window after a shock, without losing ground once labels arrive.

The ablations isolate the key ingredient. Recalibration running continuously with no trigger tests whether triggering matters at all. The on-chain change-point trigger tests whether off-chain data matters. The oracle trigger bounds the achievable gain. Off-chain context fed as an ordinary input feature, rather than as a trigger, tests whether the "trigger, not feature" design is the right one.

Why not just…?

Why not just retrain on a rolling window? Retraining needs post-shock labels, and in this domain labels come from investigations that lag the shock. Rolling retraining is therefore blind exactly when the damage happens. Huisu Jang et al. and Wang both document that windowed models degrade or lag at regime breaks. Still, with short label lags, rolling retraining may match our method. The label-delay sweep shows at what lag, if any, recalibration stops mattering, and we will report that crossover honestly.

Why not just run change-point detection on the chain itself and skip off-chain data? This is the most serious threat. If on-chain change-point detection fires within a step or two of the event, text adds nothing, and the oracle-versus-on-chain comparison will show it. Our hypothesis is specific and falsifiable. Sanction announcements precede measurable on-chain rerouting, given that Liu et al. observed rerouting unfolding over 48 hours. The off-chain trigger should therefore cut detection delay measured in blocks. If the measured delay advantage is near zero, we report that multimodal input is unnecessary here and keep the on-chain recalibrator as the result.

Why not just use a stronger graph model like DIAM? A better static model improves ranking but does nothing for a threshold that is wrong after a frequency shift. Weber et al. show that the temporal graph network did not even beat the static random forest. The decomposition will show whether DIAM's ranking survives the sanction shock. If it does, the remaining F1 loss is threshold loss, which our method targets and DIAM does not. If DIAM's ranking also collapses, the problem is a change in what illicit activity looks like, and we say recalibration is insufficient for that case.

Why not just add an event indicator as a feature? A feature learned from pre-shock data has seen no shocks, so its weight is unidentified. The feature-versus-trigger ablation tests this directly.

Decisive Checks

The proposal stands or falls on three measurements. First, on Elliptic, the ratio of ranking loss to F1 loss across step 43. If ranking collapses as badly as F1, the prior-shift thesis is wrong for the canonical shock. Second, on AMLworld, whether the decomposition correctly classifies the injected seizure and rerouting shocks. Third, on Ethereum, the detection delay and the cumulative precision at the fixed audit budget during the first two weeks after the sanction, compared across the off-chain, on-chain, and oracle triggers.

A positive result is off-chain triggering closing most of the gap between on-chain triggering and the oracle. A negative result, off-chain and on-chain triggering being equal, is equally publishable as evidence that multimodal fusion is not where the value lies for laundering detection under shocks.