Tracking users' daily activities on their smartphones and other devices, often shared with companies, raises serious concerns about data privacy. Such practices compromise users' privacy and put their data at risk of misuse and unauthorized access, including being sold to third-party apps. For instance, ubiquitous features like keyboard word prediction and fitness activity tracking, designed to enhance user experience, inadvertently become conduits for extensive data collection, leaving users vulnerable to exploitation.
Rather than directly sharing data across devices to train a model for generating recommendations, we address this challenge by distributing a pre-trained model and a numpy array containing the resulting weights of model training across a network of users' diverse devices via blockchain technology. When a device's collected data is required to contribute to training the distributed model, we train its model locally on its own dataset and aggregate its resultant weights with the weights already stored on blockchain using the pre-trained model stored in IPFS, using federated learning techniques. Subsequently, we update the numpy array on the blockchain, whereas the pre-trained model remains the same. This methodology enhances privacy and security while promoting improvement in the collaborative model.
- Hardhat
- Solidity
- IPFS
- Ethereum
- Django
- Node.js
- Federated Learning
- LSTM
- Metamask
- JavaScript
Team Name: AIOverlords
- Integrating blockchain and machine learning technologies proved time-consuming, necessitating the use of Django to interface with ML and Node.js to interface with Hardhat. Bridging these disparate web technologies posed complexities that we addressed through Axios.
- Optimizing gas fees in smart contracts presented a formidable hurdle. We underwent multiple iterations of optimization to minimize gas usage.
- Implementing federated learning techniques also posed considerable challenges, demanding thorough attention to detail and innovative problem-solving.