Giter VIP home page Giter VIP logo

deepsense6g_tii's Introduction

DeepSense6G_TII

The repository contains code, report and presentation for the solution of Team TII for ITU AI/ML in 5G Grand Challenge 2022: ML5G-PS-011: Multi Modal Beam Prediction: Towards Generalization

Report and Presentation

Problem Statement

The objective of the challenge is to design a machine learning solution that takes a sequence of 5 samples camera, LiDAR, radar sensor data and 2 samples user GPS data, to predict the optimal beam index.

The beautiful MDN logo.

Figure 1: Schematic representation of the input data sequence utilized in this challenge tasks

Solution

We develop a transformer-based multi-modal deep learning framework for sensing assisted beam prediction. We first preprocess sensor data by enhancing and segmenting images, filtering point-clouds, transforming radar signal and user's GPS location. We then employ ResNet CNN to extract the features from image, point-cloud and radar raw data. The GPT transformer is used after each convolutional block to fuse feature maps of different modalities. We utilize data augmentation, soft targets, focal loss, cosine decay schedular, exponential moving average to train the model. Experimental results shows our model produces effective beam prediction generalized to different scenarios. Our framework can be easily extended to different applications of sensing and communicaitons.

The beautiful MDN logo.

Figure 2: Transformer-based Multi-Modal Sensing assisted Beam Prediction Model

Installation

Clone this repository:

git clone https://github.com/DeepSenseChallengeTeam/DeepSense6G_TII.git
cd DeepSense6G_TII

Create the environment:

conda env create -f environment.yml 
conda activate tfuse 

Data Preprocessing

We enhance and augment the multi-modal sensor data provided by the challenge. The final data necessary to reproduce our experiment can be downloaded directly from this link: MultiModalSensorPreprocessedData. After downloading, unzip and put these three datasets under Dataset.

The dataset and pretrained model are structured as follows:

- DeepSense6G_TII
    - Dataset
        - Adaptation_dataset_multi_modal
        - Multi_Modal
        - Multi_Modal_Test
        - scenario31.jpg
        ...
    - log
        - test
            -best_model.pth
            -args.txt
        ...

We develop following tools to preprocess the original dataset for training our model:

Training and Evaluation

The framework can be experimented with different approaches and hyperparameters for training and data preprocessing. The configurations and descriptions can be viewed as follows:

python3 train2_seq.py --help

The core code of our solution can be found in the following scripts:

A minimal example of running the training script to reproduce our best submitted model:

python3 train2_seq.py --id test --logdir log --device cuda --epochs 150 --lr 1e-4 --batch_size 12 --add_velocity 1 --add_mask 0 --enhanced 1 --filtered 0 --loss focal --scheduler 1 --load_previous_best 0 --temp_coef 1 --train_adapt_together 1 --finetune 0 --Test 0 --augmentation 1 --angle_norm 1 --custom_FoV_lidar 1 --add_seg 0 --ema 1 --flip 0

The best pretrained model can be downloaded from this link: best_model.pth

The following script reproduce our best result, by saving the pretrained model in './log/test' folder:

python3 train2_seq.py --id test --logdir log --Test 1 --add_velocity 1 --add_mask 0 --enhanced 1 --filtered 0 --angle_norm 1 --custom_FoV_lidar 1 --add_seg 0

Our best solution is save in beam_pred.csv.

The best DBA score of each scenario on the test dataset is as follows:

Scenario 31 Scenario 32 Scenario 33 Scenario 34 Overall
0.5331 0.7173 0.7910 0.8209 0.6671

Future work

We are experimenting further approaches to improve the solutions such as semi-supervised learning, contrastive learning. We also plan to extend the framework for wider applications of integrated sensing and communications.

Contact

  • Qiyang Zhao, Yu Tian, Zine el abidine Kherroubi, Fouzi Boukhalfa
  • Technology Innovation Institute, 9639 Masdar City, Abu Dhabi, UAE
  • {qiyang.zhao, yu.tian, zine.kherroubi, fouzi.boukhalfa}@tii.ae

Reference

  • TransFuser: Imitation with Transformer-Based Sensor Fusion for Autonomous Driving
  • MIRNet: Learning Enriched Features for Ream Image Resotration and Enhancement
  • PIDNet: A Real-time Semantic Segmentation Network Inspired form PID Controller

deepsense6g_tii's People

Contributors

deepsensechallengeteam avatar chaishimei avatar qiyang-zhao 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.