Coder Social home page Coder Social logo

attentioncode's Introduction

AttentionCode

This repository is the official implementation of paper [AttentionCode: Ultra-Reliable Feedback Codes for Short-Packet Communications] (https://arxiv.org/abs/2205.14955).

If you find this repository useful, please kindly cite as

@article{AttentionCode,

title={Attentioncode: Ultra-reliable feedback codes for short-packet communications},

author={Shao, Yulin and Ozfatura, Emre and Perotti, Alberto and Popovic, Branislav and Gunduz, Deniz},

journal={IEEE Transactions on Communications},

year={2023}

}

Requirements

Experiments were conducted on Python 3.8.5. To install requirements:

pip install -r requirements.txt

Well-trained models

Some well-trained models given. The achieved results are as follows:

Noiseless feedback:

Feedforwad SNR Feedback SNR BLER
-0.5 dB 100 dB 4.33e-6
0 dB 100 dB 1.17e-7
0.5 dB 100 dB 4.17e-9

Noisy feedback:

Feedforwad SNR Feedback SNR BLER
0 dB 20 dB 1.16e-4
1 dB 20 dB 1.92e-7

To reproduce the results, please run

python main.py --snr1 [input] --snr2 [input] --train 0 --batchSize 100000

Performance

Noiseless feedback:

1

Noisy feedback:

2

attentioncode's People

Contributors

lynshao avatar

Stargazers

Kim jinwook avatar

Watchers

 avatar

attentioncode's Issues

Directly adding both noises

When we pass signal to receiver in AWGN channel, noise power gets added to signal power. we need to rebalance this power by some scale at receiver, that you calculated by alpha in remark 1, but in code you are directly adding both forward and feedback noises. In reality, transmitter will calculate some scaled version of forward noise added with feedback noise.

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.