← Lab /Security & privacy

Network traffic analysis with semi-supervised learning deanonymizes Bitcoin transactions 1.6× better than…

NTSSL can deanonymize Bitcoin transactions with 1.6 times higher performance than existing machine-learning approaches

Security & privacy arXiv 18 Mar 2026 Attack Simulation evidence Threat model

Published as “Deanonymizing Bitcoin Transactions via Network Traffic Analysis with Semi-supervised Learning”

Why it matters

An attacker controlling a modest number of inbound connections can reliably link Bitcoin transactions to IP addresses, weakening network-layer privacy guarantees.

Summary

NTSSL achieves a recall of 70.2%, precision of 79% and an F1-score of 0.74 when the attacker controls all of the target node’s connections, and NTSSL+ further raises performance by 20%-40% using cross-layer transaction clustering. The method works even with only 25% of connections controlled, though precision drops to 49.8% (F1 0.5). Evidence comes from real-world Bitcoin mainnet traffic captured from ~15 K transactions. The evaluation compares against the prior PERIMETER approach and an unsupervised learning baseline.

What they found 3

  1. NTSSL reaches 70.2% recall, 79% precision and 0.74 F1-score with 100% connection control

    “When the attacker intercepts 100% of the target node’s connections, the transaction deanonymization model produced by the NTSSL algorithm achieves a recall of 70.2%, a precision of 79%, and an F1-score of 0.74-higher than the unsupervised learning-based deanonymization method.”

  2. NTSSL+ improves performance by 20%-40% over NTSSL

    “Our cross-layer collaborative deanonymization method improves performance by 20% ∼40% compared to NTSSL, and far surpasses the performance of unsupervised learningbased deanonymization methods.”

  3. With only 25% of connections controlled, precision falls to 49.8% (F1 0.5)

    “Even for the weakest attacker, capable of intercepting only 25% of the target node’s connections, the algorithm still achieved a recall of 56.8%, a precision of 49.8%, and an F1-score of 0.5.”

Caveats 3

  • Precision drops below 50% when the attacker controls only 25% of incoming connections, limiting practical deanonymization reliability.
  • While there is still room for optimization in this semi-supervised learningbased deanonymization method, it demonstrates a significant improvement compared to PERIMETER.
  • Through experiments (cf. Sec. IV-E), we found that a supervised learning model trained on one node does not perform well when applied to other nodes.

What’s new here 4

  • Works despite the diffusion mechanism’s random delays
  • Maintains effectiveness when only a subset of incoming connections is occupied
  • Bypasses encrypted P2P transport by analyzing message counts rather than payloads
  • Combines network-layer analysis with transaction-layer clustering (NTSSL+)

Threat model stated by the source

AdversaryAttacker deploying up to 114 probe nodes to occupy incoming connections of a target full node
CapabilityCan establish and maintain inbound connections, capture Inv/Getdata/Tx messages, and run semi-supervised ML analysis
AssumesTarget node is a full node with a public IP address; Attacker can deploy probe nodes on the Bitcoin network