Giter VIP home page Giter VIP logo

mtc's Introduction


MTC

Implementation of a multi-task model for encrypted network traffic classification based on transformer and 1D-CNN.
[Paper] [W&B Report]

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. License
  6. Acknowledgments
  7. Experiments

About The Project

This is a development project based on an existing work. Following the model architecture, parameters, and utilizing some datasets mentioned in the original paper, the goal is to implement the experimental results. However, performance matching the paper cannot be guaranteed. For simplicity in development, this project exclusively utilizes the ISCX VPN-non VPN dataset and follows the preprocessing methods outlined in the paper. Finally, the model is trained according to the parameters specified in the paper.

Built With

PyTorch W&B

Getting Started

Build the Python environment on either cloud or on-premises machines. To facilitate model training, please follow these simple example steps.

Prerequisites

  • Install python packages
    pip install requirements.txt
  • Download ISCX VPN-non VPN dataset from here.

Usage

  • Preprocess ISCX VPN-non VPN data through a Makefile

    • Several pickle files would be generated in data/
      make preprocess
  • To execute various model training tasks through a Makefile, follow the step below:

    • Execute all training jobs for each model
      make train-all

(back to top)

Features

  • Multi-task model Implementation
    • 1D-CNN model
    • Transformer model
    • MTC
      • 1D-CNN + transformer + fusion blocks

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgments

Experiments

Dataset info

  • ISCX VPE-non VPN
    • After filtering by application type

      Application Amount
      aim_chat 2366
      email 19705
      facebook 2472071
      ftps 4378
      gmail 5242
      hangouts 4419276
      icq 2490
      netflix 474
      scp 19270
      sftp 1351
      skype 3727604
      spotify 939
      torrent 6885
      vimeo 611
      voipbuster 1559956
      youtube 2230

mtc's People

Contributors

yuchengml avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.