Proof of Anomalous Transactions Integrates Machine Learning to Accelerate

Computer scientists J. Thiyagaraj and Sivakumar Nagarajan from the Vellore Institute of Technology have created a new blockchain system called Proof of Anomalous Transactions (PoAT). It uses machine learning as part of the process that helps computers in a blockchain network agree on which transactions are valid. The researchers described the system in the journal Frontiers in Artificial Intelligence. It combines a machine learning model that corrects for uneven numbers of normal and fraudulent transactions with a three-level system for checking transactions. The system checks transactions before they are added to a block. It removes suspicious transactions, processes valid transfers faster, and sends uncertain transactions for extra checks. In their analysis, the researchers estimated that the system could handle up to 1,850 transactions per second across ten regions working at the same time. The average processing time, weighted by the amount of network traffic, was 5.40 milliseconds per transaction. The researchers say that adding machine learning directly to the agreement process can help a blockchain handle many transactions quickly while keeping its basic protection against attacks by faulty or dishonest computers.
Blockchain systems have grown beyond digital currencies. They are now also used in supply chains, identity systems, and networks of connected devices called the Internet of Things (IoT). However, the methods these systems use to agree on transactions still involve difficult trade-offs. Traditional Proof of Work provides strong protection against attackers, but it uses huge amounts of computing power and energy. Proof of Stake can create problems if a small number of participants gain too much control or if the system treats participants unfairly. Other methods, such as Practical Byzantine Fault Tolerance, can process transactions with low delays but require communication between computers to grow at a rate proportional to the square of the number of computers, written as O(n squared). This makes it harder to expand the network as more computers join. In standard permissionless blockchain networks, computers that check transactions usually treat every incoming transaction in the same way. This means the whole network must carry out the same checking steps for every transaction. The authors explained that earlier attempts to use artificial intelligence in blockchain systems mostly focused on choosing validators, predicting fees, or analyzing data outside the main system. They did not closely connect real-time machine learning with the actual checking of transactions and creation of blocks.
The Proof of Anomalous Transactions system addresses these problems by dividing the agreement process into three steps. Each step combines machine learning checks with several levels of validation. Phase I collects transactions, groups them by region, uses a gradient boosting model to classify them, and creates cryptographic proofs that can be checked. Phase II checks these proofs and collects votes from regional validators. Local groups of computers confirm the proof hashes created by regional leaders. Phase III checks results between regions, collects votes from global leaders, and creates the final block. The system groups transactions by geographic region and gives local groups of computers responsibility for checking them. This avoids requiring every computer in the entire network to communicate directly with every other computer. Instead, the system limits the overall communication complexity to O(K), where K is the number of active regions. This means communication grows in a straight line as the number of regions increases. The system also requires groups at the regional, cross-regional, and global levels to complete their checks in order.
In Phase I, the system collects transactions during a set period and groups them by geographic region so that several regions can process transactions at the same time. All regions use the same LightGBM machine learning model, which has been approved across the network. Its cryptographic hash is stored on the blockchain through smart contracts. This prevents anyone from secretly replacing the approved model. The model examines 45 features of each transaction to calculate a fraud probability score between zero and one. Fraudulent blockchain transactions are much less common than legitimate ones, so the researchers used a method called the Synthetic Minority Over-sampling Technique (SMOTE) to balance the two groups in the training data. They also used five-fold cross-validation to test the model. Regional leaders run the model on their assigned transactions and create verifiable PoAT proofs containing the classification results and other information. Regional validators then run the same model independently on the same transaction data. This checks that their results match the regional leaders' results before the transactions move on to regional voting.
The system sends transactions through different checking paths based on three risk levels. The researchers used receiver operating characteristic curve analysis to set these levels. They applied the Youden index, a method that aims to identify as many fraudulent transactions as possible while keeping false alarms low. They set the main decision threshold, called tau, at 0.1723, with an uncertainty range from 0.1223 to 0.2223. Transactions with fraud scores below 0.1223 are placed in Zone 1 and treated as legitimate. These made up 73.4 percent of the transactions tested. They follow a fast approval process that takes 5.31 milliseconds. Transactions with scores above 0.2223 are placed in Zone 3 and treated as suspicious. These made up 24.1 percent of the traffic. The system rejects them immediately and creates signed cryptographic records that allow the rejection to be checked later. This also takes 5.31 milliseconds. The remaining 2.4 percent are placed in Zone 2 because their scores fall within the uncertain range. They receive additional checks through all three levels of the system, taking 14.39 milliseconds.
During Phase II, the system chooses groups of regional validators using a ranking method that considers how much stake they own, their past reputation, and their computing power. Stake scores are adjusted using logarithms so that wealthy computers cannot gain too much influence. Computers that do not meet the minimum stake requirement are left out to reduce the risk of Sybil attacks, in which one participant pretends to be many different participants. Reputation scores change gradually through a method called exponential smoothing. This rewards validators that behave honestly over a long period without allowing their scores to change sharply from one round to the next. The system also checks each validator's availability, participation, speed, precision, recall, and proof accuracy. To encourage fair rotation, validators that were recently selected receive a temporary penalty that lowers their overall ranking. Each region chooses its 15 highest-ranked validators to form an odd-numbered committee. This helps prevent tied votes. At least 10 validators must agree, forming a Byzantine supermajority, before the regional transaction proof hashes can be approved.
Phase III makes the final blockchain records official through several levels of checking between regions. The system groups computers according to how close they are to regional centers, using Euclidean distance calculations. This helps reduce delays when information travels between computers. Each region also has three designated leaders who coordinate the collection of results and communication between regions. Having three leaders helps prevent the system from depending on a single computer. After a regional committee approves a transaction hash with the required Byzantine supermajority, nearby regions send confirmation signals. At least two of the three geographically closest neighboring regions must confirm the result before it can be accepted globally. After this cross-region approval, five global leaders independently check the approved regional hashes. At least three of these five leaders must agree before the block can be finalized. This allows the system to tolerate up to two faulty global leaders. Once the block is approved, the system combines the validated transaction groups from all regions and adds the final block to the blockchain in a fixed, predictable way.
The researchers tested the machine learning model using a public Ethereum fraud detection dataset from Kaggle. It contained 9,841 transactions: 7,662 legitimate transactions and 2,179 confirmed fraudulent transactions. During model selection, LightGBM produced the most stable results, with an average F1-macro score of 0.9459, plus or minus 0.0048, across cross-validation tests. It performed better than XGBoost, which scored 0.9451; GradientBoosting, which scored 0.9405; RandomForest, which scored 0.9281; and a multi-layer perceptron neural network, which scored 0.7007. When tested on a separate group of transactions that had not been used for training, LightGBM achieved 0.9641 accuracy, 0.9448 precision, 0.8899 recall, and an F1-macro score of 0.9468. Its receiver operating characteristic curve had an area under the curve of 0.9916. This showed that the model could strongly distinguish legitimate transactions from fraudulent ones. At the chosen decision threshold, its false-positive rate was 1.48 percent.
Performance tests showed that sending transactions through different checking paths helped the blockchain process transactions faster and respond more quickly. Most transactions could be approved or rejected using the fast paths. As a result, the system achieved an average processing time of 5.40 milliseconds per transaction when weighted by network traffic. This was 62.5 percent lower than the 14.39 milliseconds needed by a hierarchical system without machine learning assistance. Classifying one transaction took 0.97 milliseconds. When regional leaders scored transactions in batches, the average scoring time fell to 0.007 milliseconds per transaction. With a block interval of 60 seconds, each region could process about 185 transactions per second. Across ten regions working in parallel, the estimated maximum throughput was 1,850 transactions per second. This would allow up to 111,000 transactions to be processed in each block, including 84,240 valid transactions. The system could finalize a block in about 125 milliseconds in a predictable way. By comparison, established blockchains have lower transaction rates and use probabilistic methods to confirm that transactions are final. Bitcoin handles about 7 transactions per second, while Cardano handles about 257 transactions per second.
To test the system under practical conditions, the researchers built a working prototype with a FastAPI backend and a React dashboard. The backend uses machine learning models trained in advance and saved as serialized Python pickle files. It keeps the decision threshold at 0.1723, uses 45 transaction features, and follows the selected consensus timing settings. The researchers tested the complete dataset of 9,841 transactions as if it were a live group of incoming transactions waiting to be processed. The system sent 7,228 transactions to Zone 1 for fast approval, 239 to Zone 2 for additional checks, and 2,374 to Zone 3 for rejection. Across ten simulated regional committees, eight reached full agreement, with all 15 validators voting in favor. The other two regions each reached agreement among 14 of their 15 validators. The five global leaders then approved all regional results, with between four and all five leaders voting in favor. When the researchers combined the Zone 1 approvals with legitimate transactions confirmed in Zone 2, they found that 7,453 transactions could be included in the block. This showed that the different stages of the system could work together in the prototype.
The authors also described several limits and assumptions in their research. The reported processing times and transaction rates are upper estimates based on models of communication within each region. The researchers did not test real communication delays across widely separated networks, changes in the number of active computers, or unpredictable internet conditions. The machine learning model was also trained using fixed data collected in advance. This means it may struggle when transaction behavior changes over time. Attackers might also try to poison the training data by adding misleading information. These problems may require the model to be updated regularly. Transactions in Zone 2 also carry a risk of being classified incorrectly. A fraudulent transaction could be allowed into a block, or a legitimate transaction could be rejected. The researchers plan to carry out larger tests on test networks, study whether graphics processing units can make the model run faster, investigate quantum machine learning models, and explore quantum key distribution for communication between regions. These steps could improve the security of communication against future threats from quantum computers.
Subject of Research: Using machine learning to detect fraud as part of a hierarchical blockchain agreement system
Article Title: Integrating machine learning with blockchain consensus: a scalable and secure Proof of Anomalous Transactions (PoAT) approach
Article References: Thiyagaraj, J., & Nagarajan, S. (2026). Integrating machine learning with blockchain consensus: a scalable and secure Proof of Anomalous Transactions (PoAT) approach. Frontiers in Artificial Intelligence, 9, 1873998. https://doi.org/10.3389/frai.2026.1873998
Image Credits: AI Generated
DOI: 10.3389/frai.2026.1873998
Keywords: Proof of Anomalous Transactions, blockchain consensus, LightGBM, Byzantine Fault Tolerance, transaction filtering, machine learning, hierarchical consensus, fraud detection, Ethereum dataset, deterministic finality, regional validation, SMOTE, anomaly routing, smart contracts, cryptographic verification, throughput scalability, latency optimization
News Source: Teresa Odom. (November 27, 2026). Proof of Anomalous Transactions Integrates Machine Learning to Accelerate Blockchain Consensus. Scienmag.
