TL;DR
This paper introduces Proof of User Similarity (PoUS), a novel blockchain consensus mechanism that repurposes computational power to calculate user similarities, enhancing efficiency and enabling spatial analysis of user behavior. PoUS aims to overcome the energy inefficiency of Proof of Work (PoW) while addressing plagiarism and lying risks in its consensus process through advanced cryptographic techniques.
What Problem Does This Paper Address?
Traditional blockchain consensus mechanisms, particularly Proof of Work (PoW), are notoriously energy-intensive due to their reliance on brute-force computational puzzles. While alternatives like Proof of Stake (PoS) offer energy savings, they can lead to centralization and a "rich get richer" scenario. This paper tackles the challenge of creating an energy-efficient consensus mechanism that not only conserves energy but also reuses computational power for valuable tasks, thereby improving blockchain functionality. Specifically, it addresses the uneconomical nature of PoW and the potential unfairness of other energy-saving methods by proposing a system that leverages user similarity calculations for consensus.
Methods
PoUS introduces a three-stage consensus process:
- Mining (User Similarity Calculation): Instead of solving arbitrary puzzles, miners calculate the similarity between users based on their transaction data. This is done by first acquiring user data (historical and mempool transactions), constructing user vectors representing their interests, and then measuring the similarity between these vectors to generate a User Similarity Matrix (USM). To manage the computational burden, PoUS employs a "best-effort" schema, allowing miners to submit partial calculation results.
- Voting (Plagiarism and Lying-Proof): To select a leader from the miners who have computed USMs, PoUS uses a secure voting mechanism. This involves:
- Secure Two-Party Computation (2PC): Miners vote without revealing their actual USMs to others, preventing plagiarism. This is achieved using garbled circuits and oblivious transfer protocols.
- Bayesian Truth Serum: An incentive mechanism that encourages honest voting by rewarding truthful reporters more than liars, mitigating the risk of dishonest votes.
- Packing (Clustering-Based): The selected leader clusters transactions based on the global best user similarity and then packs them into blocks according to a priority rule that considers waiting time, transaction fees, and user similarity. This allows for cohort analysis and spatial representation of users.
Datasets
Not discussed in the paper. The paper focuses on simulating blockchain networks with varying numbers of nodes and transaction parameters.
Key Insights and Ideas
- Repurposing Computational Power: The core innovation is using computational power not for arbitrary puzzles, but for calculating meaningful user similarities, directly benefiting the blockchain's functionality.
- Spatial Dimension for Blockchain: PoUS introduces a "spatial measurer" by revealing user distribution and behavior patterns, complementing the traditional temporal aspect of blockchains.
- Best-Effort Mining: Allowing miners to contribute partial results significantly lowers the barrier to entry and makes large-scale similarity calculations feasible.
- Privacy-Preserving Voting: The combination of 2PC and Bayesian truth serum effectively tackles both plagiarism and lying in the voting process, crucial for a decentralized system.
- Searchable Blockchain: The user similarity-based clustering naturally leads to a more organized and searchable blockchain, facilitating efficient querying.
Key Results
- Performance Improvement over PoW:
- Average TPS improvement of 15.66% (varying block size) and 24.01% (varying block interval).
- Average confirmation latency reduction of 24.14% (varying block size) and 43.64% (varying block interval).
- Interval Insensitivity: PoUS exhibits a linear trend in confirmation latency with respect to block interval, unlike PoW's exponential trend, making it more stable.
- Negligible Overhead: The cryptographic computation time and communication cost for the voting process are minimal, making PoUS practical.
- Functionality: PoUS successfully portrays user spatial information and demonstrates fairness in transaction packing, even for transactions with lower similarity but higher urgency or fees.
Limitations and Future Work
- Initial Consensus for Smart Contracts: PoUS requires a secure smart contract for its voting mechanism. The authors suggest using existing consensus mechanisms like PoW or PoS initially to establish the smart contract before transitioning to PoUS.
- Computational Cost of Similarity Calculation: While the best-effort schema helps, the overall similarity calculation can still be resource-intensive, though the paper argues it's manageable with distributed effort.
- Future Work: The paper suggests that the user similarity-based classification achieved by PoUS can lead to more efficient querying and decision-making, particularly in applications like supply chain management and public health monitoring. The ability to build detailed user profiles also opens avenues for deeper cohort analysis and understanding user value retention.
Summary updated