An interdisciplinary synthesis of the preprint arXiv:2107.00925v1 “A Collective Anomaly Detection Method Over Bitcoin Network” and questions from a research designer on quantum technologies.
An important clarification. Preprint 2107.00925v1 does not involve quantum computing and does not explore quantum cryptanalysis. It is devoted to collective anomaly detection in Bitcoin using trimmed K-means. The quantum context in this paper is not wishful thinking, but rather a research bridge : classical fraud and future post-quantum migration are considered two layers of a single Bitcoin security problem. This is an analytical and methodological work, not an experimental confirmation of a quantum attack.
Content
- Intrigue: two criminals and two horizons
- What exactly is proven in PDF 2107.00925v1
- Selected questions from the designer
- Topic, hypotheses and refutation criteria
- Mechanism: Collective Anomaly and Quantum Risk
- History: From Zambre to a Collective Approach
- Algorithms and mathematical model
- Experiment, evidence and reproducibility
- Quantum Cryptographic Analysis of Bitcoin
- Practical value and economics
- Limitations and fair comparison
- The Future and Open Questions
- Conclusion
- Sources
1. Intrigue: two criminals and two horizons
Imagine two attackers. The first steals keys and coins today, spreading the theft across dozens of wallets: each individual address appears almost normal, but together they form an anomaly. The second is waiting for a quantum computer that will one day be able to undermine the cryptographic assumptions that underlie Bitcoin’s digital signatures. These are different threats, but they share a common feature: both cannot be reliably understood by looking at just one data point .
This is where the intrigue arises. Preprint 2107.00925v1 demonstrates that Bitcoin fraud detection benefits from shifting from the “single” anomaly of a single address to the collective anomaly of a user with multiple wallets. A quantum threat, however, is not a single-address anomaly, but a property of the protocol, the threat model, and the timing of public key disclosure. The question posed by the paper is: is it possible to construct a coherent study in which classical collective anomaly detection becomes a practical layer of defense, and quantum analysis becomes a layer of long-term resilience?
The main point: the quantum threat does not eliminate classical fraud. Bitcoin’s post-quantum migration should be designed alongside, not instead of, fraud detection methods.
2. What exactly is proven in PDF 2107.00925v1
The authors of the paper, Mohammad Javad Shayegan and Hamid Reza Sabor, explore anomaly detection in the Bitcoin network. Their key idea is that attackers often use multiple addresses and wallets to make each individual address appear normal. Therefore, instead of a single address anomaly, they propose a collective anomaly of a user combining multiple wallets.
2.1 Data and preprocessing
The ELTE Bitcoin Project dataset is used. The data covers the period up to April 7, 2013. The paper describes a three-stage preprocessing process:
- Cleanup: Removed entries with no inputs or outputs; reduced the number of entries from 13,086,527 to 10,800,406.
- Aggregation: Addresses and wallets of a single user are combined using the Contraction feature; the number of records is reduced to 5,305,678.
- Normalization: min-max linear scaling is used.
2.2. Features and algorithm
Previous studies, particularly those by Monamo et al., used 14 features. The proposed method retains 10 features. Two computationally expensive features, clustering coefficient and triangle , are removed . The rationale is that user-level aggregation reduces the need for features describing multiple relationships between individual addresses. Furthermore, redundant in-degree and out-degree features are eliminated.
Trimmed K-means , a robust version of K-means, is used for clustering. It places the fraction α of objects furthest from the centers into a separate outlier cluster O. In the paper, α = 0.01 and k = 8. It is claimed that all detected anomalous addresses fall into cluster O, i.e., 1% of outliers.
2.3. Main results
| Indicator | Result in PDF | Comment |
|---|---|---|
| Users | 14 users | For the first time, compared to previous works, users were detected, not just addresses. |
| Wallet addresses | 26 addresses | Associated with known cases of theft, hacking, fraud or loss. |
| Types of incidents | 9 cases | Among them are Stone Man Loss, Stefan Thomas loss, Allinvain Theft, Mass MyBitcoin Thefts, Mt. Gox Loss, Linode Hacks, Bitcoinica Hack, Bitfloor Theft, Checker Theft. |
| Previous best result | 7 addresses in 5 cases | Compared to Monamo et al. [11]. |
| Dimension | 10 signs instead of 14 | Reducing the computational cost of feature extraction. |
| Number of records | 5,305,678 after aggregation | Against 10,800,406 after cleaning. |
A strength of the work is its attempt to change the unit of analysis: from address to user. This is consistent with the real-world tactics of attackers, who fragment their activity across wallets. A weakness is that the success metric is formulated as the number of known addresses and incidents found, but precision, recall, F1, ROC-AUC, or false-positive analysis are not provided. Therefore, the correct conclusion is that the work demonstrates a promising case, but does not prove statistical superiority over all alternatives .
3. Selected questions from the designer
The questions that form the core of the article were selected from the file quantum_research_questions_ru.html : 18 general questions and 6 specific cryptographic questions. Issues of practice and future development were discussed.
| Block | Question numbers | Why are they needed? |
|---|---|---|
| Statement of the problem and intrigue | 1, 2, 3, 4, 5, 6 | Define the problem, hypothesis, boundaries and refutation criterion. |
| Mechanism and explanation | 7, 8, 10, 11, 12 | Explain collective anomaly and quantum risk without resorting to analogy. |
| History and controversy | 13, 16, 17, 18 | Show line Zambre → Pham → Monamo → Chawathe → suggested method. |
| Advantage and Comparison | 37, 38, 39 | Separate the theoretical acceleration, experimental result and practical benefit. |
| Evidence and reproducibility | 43, 44, 45, 46, 47 | Check what exactly constitutes evidence and whether the result can be repeated. |
| Cryptography and cryptanalysis | 49, 50, 51, 52, 54, 56 | Understand ECDSA, SHA-256, threat model, QKD and post-quantum migration. |
| Practice and the Future | 63, 64, 65, 69, 70, 71, 72, 73 | Link the outcome to users, economics, and future experiments. |
4. Topic, hypotheses and criteria for refutation
Research topic: Collective anomaly detection as a practical security layer for Bitcoin and its connection to quantum risk assessment and post-quantum migration.
H1. User-level aggregation
Moving from addresses to users and reducing the number of features from 14 to 10 allows us to detect known cases of multi-wallet fraud just as well as the address-based approach.
Refutation criterion: when faithfully reproduced on a holdout sample, the method does not outperform the baseline 14-feature approach or produces an unacceptably high false positive rate.
H2. Double layer protection
Bitcoin quantum risk assessment must include a classical anomaly detection layer because post-quantum migration changes cryptographic primitives but does not eliminate key theft, fraud, money laundering, and infrastructure compromise.
Refutation criterion: If, after the transition to post-quantum signatures and secure key management, all the considered classes of fraud disappear or become indistinguishable from normal activity, the hypothesis is unnecessary. In practice, this is unlikely.
H3. The cost of feature reduction
Feature reduction reduces computational cost but may increase the risk of missing anomalies. It is a testable hypothesis, not an automatic consequence.
Refutation criterion: If feature reduction does not worsen recall or reduce feature extraction time across multiple independent datasets, H3 is weakened.
5. Mechanism: Collective Anomaly and Quantum Risk
5.1 Collective Anomaly
A single anomaly is an object that is unlike any other. A collective anomaly is a group of objects, each of which may appear normal, but together they form a suspicious pattern. In Bitcoin, an attacker can fragment a theft across many addresses: an individual address may not appear unusual, but the aggregate user profile—the number of connections, the distribution of amounts, the standard deviations, the neighborhood averages—becomes anomalous.
PDF uses precisely this logic. Features like Average neighborhood (In-in) , In-out , Out-in , Out-out , as well as average amounts, standard deviations, and total amounts of sent and received bitcoins, describe not a single address, but aggregate behavior. Trimmed K-means then separates the 1% most distant objects into cluster O.
5.2 Quantum risk
Quantum risk for Bitcoin cannot be summed up simply as “a quantum computer will hack Bitcoin.” It’s important to differentiate between:
- ECDSA signatures over secp256k1. Shor’s algorithm is, in principle, a threat to the discrete logarithm on elliptic curves. However, an attacker needs a public key. A Bitcoin address is a hash of a public key; the public key is revealed when funds are spent. Therefore, the risk depends on address reuse and when the key became public.
- SHA-256 hashing. Grover’s algorithm provides a quadratic speedup in search speed, but this doesn’t mean it’s practically breakable with current parameters. One shouldn’t confuse “quantum-accelerated brute-force” with “instant hash breaking.”
- Protocol and infrastructure. Key theft, phishing, exchange compromise, wallet errors, and fraud remain classic threats even with post-quantum signatures.
- Post-quantum standards. In August 2024, NIST approved FIPS 203, 204, and 205—key establishment and digital signature standards designed to address future quantum threats. This is an important historical benchmark, but not a ready-made migration path for Bitcoin.
Quantum Key Distribution (QKD) is not a replacement for Bitcoin signatures: it is a channel-based key distribution technology, not a mechanism for publicly verifying transactions on an open network. Therefore, post-quantum signatures and protocol migration are of practical interest for Bitcoin, rather than a mechanical “add QKD.”
6. History: From Zambre to a collaborative approach
The PDF builds a line of work that can be conveniently presented as a sequential study:
| Job | Signs | Method | Result / role |
|---|---|---|---|
| Zambre et al. [8] | 6 | K-means | An early attempt to find suspicious users; a starting point. |
| Pham et al. [10] | 9 | Power degree & densification laws, K-means, LOF | Network view; 1 known case out of 30 detected. |
| Pham et al. [6] | 12 | K-means, Mahalanobis, SVM | Combination of unsupervised methods; 3 cases out of 30. |
| Monamo et al. [4] | 14 | Trimmed K-means | 5 addresses linked to 30 cases of theft/burglary/fraud/loss. |
| Monamo et al. [11] | 14 | kd-tree | 7 addresses in 5 cases is the best previous result. |
| Chawathe [13] | 14 | Trimmed K-means | Confirms and analyzes Monamo’s approach. |
| The proposed method | 10 | Collective anomaly + trimmed K-means | 14 users, 26 addresses, 9 cases; dimensionality reduction. |
This line is methodologically important: researchers gradually shifted not only the algorithm but also the unit of analysis . First, the address, then network connections, and finally, a user with multiple wallets. In the quantum context, a similar shift is occurring: from “a single key” to “a protocol threat model and key lifecycle.”
7. Algorithms and mathematical model
7.1 Trimmed K-means in General
Standard K-means minimizes the sum of squared distances from points to the nearest centers. Trimmed K-means adds robustness: the fraction α of objects furthest from the centers belongs to the outlier cluster O and does not influence the center update as much as in standard K-means. In the PDF, α = 0.01, k = 8.
Formally, the idea can be written as follows: centers c 1 , …, c k and a set O from a fraction of α objects are selected so as to minimize the sum of distances for the remaining objects. The exact implementation and initialization are not disclosed in the PDF, which limits reproducibility.
7.2 What exactly is being clustered?
Aggregated user profiles are clustered, not individual transactions. Features describe average amounts, total amounts, standard deviations, and average input/output neighborhoods. Such a profile is closer to behavior than to a single transaction.
7.3. The Quantum Part: What Can and Cannot Be Asserted
For ECDSA, the correct formulation is: Shor’s algorithm poses a theoretical threat to the discrete logarithm if a public key and a sufficiently large fault-tolerant quantum computer are available. For SHA-256, the correct formulation is: Grover’s algorithm provides a quadratic speedup, but does not make SHA-256 practically breakable under reasonable parameters. For Bitcoin, the correct formulation is: the risk depends on public key disclosure, address reuse, and the transition to post-quantum signatures.
8. Experiment, evidence and reproducibility
8.1 What constitutes evidence in PDF
The PDF proof is a comparison of the clustering results with a pre-prepared list of known thefts, hacks, frauds, and losses. The authors report 14 users, 26 addresses, and 9 cases. This is a retrospective test on known labels , not a prospective deployment in a real system.
8.2. Missing Metrics
For a strong conclusion you need:
- precision, recall, F1 and area under the ROC curve;
- number of false positives per million profiles;
- cost of manual verification of one operation;
- comparison on the same features and the same pre-processing;
- cross-validation over time, not random shuffling;
- stability analysis for the choice of α and k;
- publishing code and configuration.
8.3. Correct conclusion
What can be argued: The PDF demonstrates a plausible case that user-level aggregation and feature reduction can find more known addresses and incidents than the previous best result, at a lower dimensionality.
What cannot be stated is that the method is guaranteed to be better than all alternatives, that it is ready for industrial use without false positive analysis, and that it is directly related to quantum cryptanalysis.
9. Quantum cryptographic analysis of Bitcoin
Below are scenarios that are useful to distinguish between in a research article and in a practical risk assessment.
| Scenario | What is being attacked? | What does an attacker need? | Correct wording |
|---|---|---|---|
| Quantum threat to signatures | ECDSA/secp256k1 | Public key and large-scale fault-tolerant quantum computer | Theoretical threat of Shor’s algorithm; the risk depends on key disclosure and address reuse. |
| Quantum search acceleration | SHA-256 hashing | Quantum search of space | Grover’s quadratic acceleration; not equal to practical hacking under current parameters. |
| Theft of keys | Private keys, wallets, exchanges | Phishing, malware, infrastructure compromise | A classic threat; post-quantum signatures do not eliminate it. |
| Multiple wallet scam | User behavior | Aggregated analysis, incident labels | It is this layer that PDF 2107.00925v1 examines. |
| Post-quantum migration | Protocol, wallets, exchanges | Standards, Compatibility, and Governance | A lengthy engineering process; FIPS 203/204/205 are a benchmark, not a ready-made Bitcoin migration. |
Important: QKD is not a “silver bullet” for Bitcoin. QKD solves the problem of key distribution over a dedicated channel, while Bitcoin requires publicly verifiable digital signatures and open network compatibility. Therefore, the correct conclusion is that post-quantum signatures, key lifecycle management, and protocol migration are central to Bitcoin; QKD is a related, but not a replacement, technology.
10. Practical value and economics
The practical value of the article lies not in the promise of a “quantum hack,” but in the connection of two measurable tasks:
- For exchanges and custodians: an aggregated user profile helps identify multi-wallet schemes; precision, recall, and the cost of manual verification are important.
- For forensics: a collective anomaly provides priority for investigation, but does not replace legally significant evidence.
- For post-quantum migration, metrics for signature size, verification time, wallet compatibility, transaction costs, and protocol upgrade management are needed.
- For researchers: a reproducible comparison table of “classical detection + quantum risk” with the same units of analysis is needed.
Economically, reducing the number of features from 14 to 10 and the number of records from 10.8 million to 5.3 million could reduce the cost of feature extraction. However, this savings shouldn’t be purchased at the cost of an unmanageable increase in false positives. Therefore, the correct practical recommendation isn’t to “replace the old method with a new one,” but to “compare both using the same metrics and choose an operating mode.”
11. Limitations and fair comparison
- The PDF data is from before April 7, 2013; transferring the findings to modern Bitcoin requires further analysis.
- The list of known thefts and break-ins provides labels; may be incomplete and biased.
- Precision/recall/F1 and false positive rate analysis are not provided.
- Not all details of the Trimmed K-means implementation and preprocessing are disclosed.
- Comparison with previous works is not a fully controlled experiment: features, samples and metrics differ.
- There is an ambiguity in the PDF text regarding the “9³ categories”; the tables actually refer to nine incident types. This requires clarification.
- The quantum part of the article is analytical: it does not confirm the existence of a quantum attack and does not measure the resources of a real quantum computer.
12. The Future and Open Questions
- Reproduce the PDF method on a modern dataset and compare it with graph and behavioral models.
- Add precision/recall/F1 and false positive cost.
- Check the robustness to the choice of α and k, as well as to different methods of user aggregation.
- Construct a “classical threat × quantum threat × security measure” matrix for Bitcoin.
- Evaluate post-quantum signatures by size, verification time, and wallet compatibility.
- To check whether the transition to post-quantum schemes creates new anomalies in the behavior of users and infrastructure.
- Formulate a new test question: “Which fraud detection metrics remain meaningful after changing the cryptographic primitive?”
13. Conclusion
Preprint 2107.00925v1 is valuable not because it “solves the quantum problem,” but because it demonstrates a shift in the unit of analysis: from a single address to a user with multiple wallets. This is methodologically close to quantum risk assessment, which also cannot be limited to a single point—it requires examining the protocol, the key lifecycle, and the threat model.
A scientifically sound synthesis is as follows: collective anomaly detection is Bitcoin’s practical security layer today; post-quantum migration is its long-term resilience layer. They need to be explored together, but not mixed. PDF’s work provides a plausible case for the first layer. Quantum cryptography provides a framework for the second. The next step is a reproducible comparison using modern data and a clear risk matrix, not the promise of a sensation.
Sources
- Shayegan MJ, Sabor HR A Collective Anomaly Detection Method Over Bitcoin Network. arXiv:2107.00925v1. URL: https://arxiv.org/abs/2107.00925
- National Quantum Initiative. URL: https://www.quantum.gov/national-quantum-initiative/
- NIST. Post-quantum cryptography: FIPS 203, 204, 205 approved, 13 August 2024. URL: https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved
- NIST NCCoE. Migration to Post-Quantum Cryptography. URL: https://www.nccoe.nist.gov/applied-cryptography/migration-to-pqc
- Kondor D., Pósfai M., Csabai I., Vattay G. Do the rich get richer? An empirical analysis of the Bitcoin transaction network. PLoS ONE, 2014.
- Monamo P., Marivate V., Twala B. Unsupervised learning for robust Bitcoin fraud detection. ISSA, 2016.
- Monamo PM, Marivate V., Twala B. A multifaceted approach to Bitcoin fraud detection: Global and local outliers. ICMLA, 2016.
- Pham T., Lee S. Anomaly detection in bitcoin network using unsupervised learning methods. arXiv:1611.03941, 2016.
- Pham T., Lee S. Anomaly detection in the bitcoin system—a network perspective. arXiv:1611.03942, 2016.
- Zambre D., Shah A. Analysis of Bitcoin network dataset for fraud. Unpublished report, 2013.
- Chawathe SS Clustering blockchain data. In: Clustering Methods for Big Data Analytics. Springer, 2019.
- Cuesta-Albertos JA, Gordaliza A., Matrán C. Trimmed k-means: An attempt to robustify quantizers. The Annals of Statistics, 1997.
