Git Product home page Git Product logo

isac's Introduction

Reasoning over the Air: A Reasoning-based Implicit Semantic Communication Framework

Generative adversarial imitation learning-based solution(G-RML) Different from traditional communication solutions, the source encoder of the proposed G-RML does not focus only on sending as much of the useful messages as possible; but, instead, it tries to guide the destination user to learn a reasoning mechanism to map any observed explicit semantics to the corresponding implicit semantics characterized by a set of possible reasoning paths involving the hidden entities and relations that are most relevant to the semantic meaning. By applying G-RML, we prove that the destination user can accurately imitate the reasoning process of the source user and automatically generate the reasoning paths following the same probability distribution as the expert paths. Compared to the traditional semantic communication solutions, our proposed G-RML requires much less communication and computational resources and scales well to the scenarios involving the communication of complex semantic meanings with a large number of concepts and relations.

How to use the code

0. install the environment

pip install -r requirements.txt

1. download the dataset for Inference

download the dataset and unzip in ./SemanticInference FB15K237 NELL-995

2. to train the Semantic Encoder

in ./SemanticEncoder

# run
python train_transe --dim 200 --gpu 1 --dataset FB15K237

2. to train the Semantic Comparator and Interpreter

in ./SemanticInference

# run
python sl_policy.py $relation
python policy_agent.py $relation retrain
python policy_agent.py $relation test
# or you can run the shell script
./pathfinder.sh ${relation_name}

3. to test the model

# run 
python fact_prediction_eval.py $relation
./link_prediction_eval.sh ${relation_name}

If you use our code, please cite the paper

Yong Xiao, Yiwei Liao, Yingyu Li, Guangming Shi, H. Vincent Poor, Walid Saad, Merouane Debbah, and Mehdi Bennis, "Reasoning over the Air: A Reasoning-based Implicit Semantic-Aware Communication Framework," accepted at IEEE Transactions on Wireless Communications (TWC).

isac's People

Contributors

secret2base avatar yiwei-liao 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.