📄 Sciences Methods and Technologies
International Journal (SciMeTech)

Volume 2 · Issue 2 · 2026
ISSN: 3085-5284
A Lightweight Blockchain-based Framework for Ensuring Training Data Integrity in Machine Learning Pipelines
Achraf AIT BENAALI, Anas ABOU EL KALAM, Wissam ABBASS
Pages 170–176 · Cadi Ayyad University, National School of Applied Sciences, Research Laboratory for Smart and Sustainable Technologies, Marrakesh, Morocco
Abstract
Machine learning (ML) is based on a core concept in artificial intelligence (AI) which is data training that makes ML models understand patterns and relationships. Since ML systems heavily rely on the integrity of training data, it's essential to protect the datasets from tampering and data poisoning attacks, which can significantly degrade model performance. In this paper, we propose a lightweight and practical framework that leverages blockchain technology to ensure the integrity of training datasets. The proposed approach computes a cryptographic hash of the dataset and stores it on a blockchain-like structure, enabling verification prior to model training. We implement a prototype using Python and evaluate the system under normal and tampered data scenarios. Experimental results demonstrate that the proposed method effectively detects dataset modifications with negligible overhead. This work provides a simple yet effective solution for enhancing trust in ML pipelines.
Keywords: Machine Learning Security, Blockchain, Data Integrity, Data Poisoning, Dataset Verification, Cybersecurity

References

  1. Kim, S.-K. (2025). Enhanced blockchain-based data poisoning defense mechanism. Applied Sciences, 15, 4069.
  2. Venkatesan, K., & Rahayu, S. B. (2024). Blockchain security enhancement: An approach towards hybrid consensus algorithms and machine learning techniques. Scientific Reports, 14, 1149.
  3. Usama, M., Aziz, A., Alasbali, N., Alturki, N., Hanif, M., & Rehman, M. U. (2026). Blockchain-enabled identity management for IoT: A multi-layered defense against adversarial AI. Scientific Reports, 16, 4371.
  4. Wankhede, S. B., & Patel, D. (2025). Federated learning and blockchain approach for securing IoT data. Discover Internet of Things, 5, 116.
  5. Pinuto, P. (n.d.). Ecodrive: CO2 emissions efficiency analysis [Dataset]. Kaggle. https://www.kaggle.com/code/pinuto/ecodrive-co2-emissions-efficiency-analysis/input