[Paper Review] A decentralized aggregation mechanism for training deep learning models using smart contract system for bank loan prediction
This paper proposes a blockchain-based decentralized aggregation mechanism that trains deep learning models on vertically partitioned data—specifically for bank loan prediction—by combining intermediate feature representations from local models via Ethereum smart contracts. The approach achieves performance on par with centralized training while preserving data privacy and enabling faster convergence.
Data privacy and sharing has always been a critical issue when trying to build complex deep learning-based systems to model data. Facilitation of a decentralized approach that could take benefit from data across multiple nodes while not needing to merge their data contents physically has been an area of active research. In this paper, we present a solution to benefit from a distributed data setup in the case of training deep learning architectures by making use of a smart contract system. Specifically, we propose a mechanism that aggregates together the intermediate representations obtained from local ANN models over a blockchain. Training of local models takes place on their respective data. The intermediate representations derived from them, when combined and trained together on the host node, helps to get a more accurate system. While federated learning primarily deals with the same features of data where the number of samples being distributed on multiple nodes, here we are dealing with the same number of samples but with their features being distributed on multiple nodes. We consider the task of bank loan prediction wherein the personal details of an individual and their bank-specific details may not be available at the same place. Our aggregation mechanism helps to train a model on such existing distributed data without having to share and concatenate together the actual data values. The obtained performance, which is better than that of individual nodes, and is at par with that of a centralized data setup makes a strong case for extending our technique across other architectures and tasks. The solution finds its application in organizations that want to train deep learning models on vertically partitioned data.
Motivation & Objective
- To address data privacy challenges in training deep learning models when sensitive personal and financial data are distributed across multiple organizations.
- To enable effective model training on vertically partitioned data—where features are split across different nodes—without sharing raw data.
- To design a secure, decentralized aggregation mechanism using Ethereum smart contracts and IPFS for exchanging intermediate model representations.
- To demonstrate that a host model trained on aggregated features from distributed nodes can match the performance of a centrally trained model.
- To provide a scalable, privacy-preserving solution applicable to financial, healthcare, and other data-sensitive domains.
Proposed method
- Local artificial neural network (ANN) models are trained independently on each node using their respective data—personal details on one node and bank-specific details on another.
- Intermediate feature representations (activations) from the final hidden layer of each local model are extracted and hashed for integrity verification.
- Smart contracts on the Ethereum blockchain manage the secure exchange and aggregation of these feature vectors across nodes.
- The aggregated feature vectors are used to train a host model on a central node, which learns to map the combined representations to loan outcome labels.
- IPFS is used to store and retrieve the intermediate feature vectors and test data, ensuring decentralized, immutable access.
- The system ensures data privacy by never transferring raw data, only exchanging encrypted, hashed representations through a trustless blockchain layer.
Experimental results
Research questions
- RQ1Can a deep learning model achieve performance comparable to centralized training when trained on feature representations from vertically partitioned data?
- RQ2How does the convergence speed of a decentralized model compare to that of a centralized model when using aggregated intermediate features?
- RQ3To what extent does a blockchain-based smart contract system ensure security and integrity in the aggregation of distributed model representations?
- RQ4Can the proposed mechanism maintain high model accuracy while preserving data privacy in sensitive domains like banking and finance?
- RQ5What is the impact of feature aggregation from multiple sources on model generalization and performance metrics such as F1-score and AUC?
Key findings
- The proposed decentralized model achieved an F1-score of 0.95 and accuracy of 98.13% on the test set, closely matching the centralized model's F1-score of 0.95 and accuracy of 98.33%.
- The decentralized model demonstrated faster convergence than the centralized model, as evidenced by training loss and accuracy curves over epochs.
- The performance of the aggregated model significantly outperformed individual local models, which achieved only 0.67 F1-score on the personal details node and 0.63 on the bank-specific details node.
- The system maintained near-identical performance across precision, recall, and F1-score metrics between decentralized and centralized setups, with less than a 0.2% accuracy difference.
- The use of smart contracts and IPFS enabled secure, auditable, and immutable exchange of intermediate representations without exposing raw data.
- The results validate that vertical data partitioning does not compromise model performance when combined with secure, decentralized feature aggregation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.