Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build LSTM Model for Detecting Malicious Nodes in Proof-of-Stake Blockchain #386

Open
Karm-Dave opened this issue Oct 16, 2024 · 3 comments

Comments

@Karm-Dave
Copy link

Issue Title: Develop LSTM Model for Malicious Node Detection in Proof-of-Stake Blockchain Dataset

Description:
We are using a dataset of over 10,000 entries that contains node data from a Proof-of-Stake (PoS) blockchain. The dataset was initially developed with 303 semi-synthetic entries and later augmented using Python to simulate more data. It includes both malicious and non-malicious nodes, making it ideal for detecting abnormal node behavior on a PoS blockchain.

Objective:
The task is to implement a Long Short-Term Memory (LSTM) model to detect malicious nodes in the dataset. The LSTM model will analyze node behavior over time and classify nodes as either malicious or non-malicious based on the sequential data provided.

Key Requirements:

  • LSTM Model: Design and train an LSTM model to classify nodes as malicious or non-malicious based on blockchain node data.
  • Data Preprocessing: Ensure the dataset is properly prepared for time series modeling, including normalization and reshaping of data for LSTM input.
  • Model Training: Train the LSTM model on the augmented dataset, splitting it into training and testing sets.
  • Evaluation: Use performance metrics such as accuracy, precision, recall, and F1-score to evaluate the model’s effectiveness in detecting malicious nodes.
  • Visualization: Provide visualizations for the training process (e.g., accuracy and loss curves) and classification performance (e.g., confusion matrix).

Tech Stack:

  • Python
  • TensorFlow/Keras (for LSTM implementation)
  • pandas and numpy (for data preprocessing)
  • matplotlib or seaborn (for visualization)

This is a crucial project for blockchain security research, especially for analyzing and improving the behavior of nodes in PoS blockchains. Please assign this issue to me for development under GSSOC Extd 2024.

Copy link

Thanks for creating the issue in ML-Nexus!🎉
Before you start working on your PR, please make sure to:

  • ⭐ Star the repository if you haven't already.
  • Pull the latest changes to avoid any merge conflicts.
  • Attach before & after screenshots in your PR for clarity.
  • Include the issue number in your PR description for better tracking.
    Don't forget to follow @UppuluriKalyani – Project Admin – for more updates!
    Tag @Neilblaze,@SaiNivedh26 for assigning the issue to you.
    Happy open-source contributing!☺️

Copy link

Thanks for raising this issue! However, we believe a similar issue already exists. Kindly go through all the open issues and ask to be assigned to that issue.

@UppuluriKalyani
Copy link
Owner

@Karm-Dave Assigned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants