GithubHelp home page GithubHelp logo

gracebaoxp / cnn-aided-bit-flipping-for-belief-propagation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jiefangd/cnn-aided-bit-flipping-for-belief-propagation

0.0 1.0 0.0 17.76 MB

CNN-Aided Bit-Flipping for Belief Propagation Polar Decoder

Jupyter Notebook 92.69% Python 7.31%

cnn-aided-bit-flipping-for-belief-propagation's Introduction

CNN-Aided Bit-Flipping for Belief Propagation Polar Decoder

We propose a convolutional neural network-aided bit-flipping (CNN-BF) mechanism to further enhance BP decoding of polar codes. It can achieve much higher prediction accuracy and better error correction capability than prior work of critical-set bit-flipping (CS-BF) but with only half latency. Hope this code is useful for peer researchers. If you use this code or parts of it in your research, please kindly cite our paper:


Required Packages

  • python 3.6.5
  • numpy 1.16.4
  • tensorflow 1.8.0
  • keras 2.2.5

Source Code

  • config.py: adjust parameters

    • N : Block length
    • K : Information length
    • in_N : CRC's block length
    • in_K : CRC's information length
    • ebn0 : Desired SNR range
    • numOfWord : Desired batch size
  • Generate Training Data.ipynb: generate the training data for CNN

    • data_num : Desired number of training data for each SNR
  • NN_BF.ipynb: use the generated training data to train CNN and show the prediction accuracy of both CNN-BF and CS-BF

  • CS_BF.ipynb: repeat the simulatin results of critical-set belief propagation, need to set some parameters as below

    • omega : Number of flipped bit
    • all_combination : 0 for flipping and 1 for both flipping and strengthening
    • T_max : Maximum number of flipping trial and is initially set as the size of CS
  • Analyze_Bound (progressive multi bit).ipynb: analyze the error correction capability of exhaustive BF (flipping and strengthing) as shown in Fig. 3 in 2. Note that it is very slow...

  • Analyze (progressive multi bit).ipynb: analyze the error correction capability of opposite BF (only flipping) as shown in Fig. 3 in 2.

Contact Information

cnn-aided-bit-flipping-for-belief-propagation's People

Contributors

jiefangd avatar

Watchers

James Cloos 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.